/* ============================================
   SOLMARA GLOBAL EXPORT INC.
   MAIN WEBSITE STYLES
============================================ */


/* GOOGLE FONTS */

@import url(
    'https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap'
);


/* ============================================
   BRAND COLOURS
============================================ */

:root {
    --solmara-green: #243d2c;
    --solmara-dark: #17261c;
    --solmara-deep: #101b14;
    --solmara-cream: #f6f3eb;
    --solmara-light: #ece7dc;
    --solmara-gold: #c9a45c;
    --solmara-text: #243128;
}


/* ============================================
   RESET
============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--solmara-text);
    background: var(--solmara-cream);
    line-height: 1.7;
}


a {
    text-decoration: none;
    color: inherit;
}


img {
    display: block;
    max-width: 100%;
}


button,
input,
select,
textarea {
    font: inherit;
}


.container {
    width: min(1180px, 90%);
    margin: auto;
}


/* ============================================
   NAVIGATION
============================================ */

.navbar {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    padding: 24px 0;

    color: white;
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;
}


/* LOGO */

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}


.logo img {
    width: 300px;
    height: auto;
}


/* NAVIGATION LINKS */

nav {
    display: flex;
    align-items: center;

    gap: 32px;
}


nav a {
    font-size: 12px;
    font-weight: 500;

    letter-spacing: 0.8px;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


nav a:hover {
    opacity: 0.7;
}


/* NAVIGATION QUOTE BUTTON */

.nav-button {
    border: 1px solid rgba(255, 255, 255, 0.8);

    padding: 11px 22px;

    border-radius: 999px;
}


/* ============================================
   HERO
============================================ */

.hero {
    min-height: 800px;

    display: flex;
    align-items: center;

    position: relative;

    color: white;

    background:
        linear-gradient(
            90deg,
            rgba(17, 36, 24, 0.86),
            rgba(17, 36, 24, 0.60),
            rgba(17, 36, 24, 0.30)
        ),
        url(
            "https://images.unsplash.com/photo-1528825871115-3581a5387919?auto=format&fit=crop&w=2000&q=85"
        )
        center / cover;
}


.hero-content {
    position: relative;

    max-width: 900px;

    padding-top: 90px;
}


/* SMALL SECTION TITLES */

.eyebrow {
    font-size: 10px;

    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 22px;

    opacity: 0.82;
}


/* HERO HEADING */

.hero h1 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(52px, 7vw, 86px);

    font-weight: 400;

    line-height: 1.02;

    letter-spacing: -2px;

    max-width: 900px;

    margin-bottom: 30px;
}


.hero h1 span {
    display: block;

    font-style: italic;
}


/* HERO PARAGRAPH */

.hero-text {
    max-width: 650px;

    font-size: 17px;

    line-height: 1.85;

    margin-bottom: 38px;

    opacity: 0.9;
}


/* ============================================
   BUTTONS
============================================ */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}


.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 29px;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.6px;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        background 0.2s ease;
}


.button:hover {
    transform: translateY(-2px);

    opacity: 0.9;
}


.button.primary {
    background: var(--solmara-gold);

    color: var(--solmara-dark);
}


.button.secondary {
    border: 1px solid rgba(255, 255, 255, 0.8);

    color: white;
}


/* ============================================
   ABOUT
============================================ */

.intro {
    padding: 150px 0;
}


.intro .container {
    max-width: 870px;

    margin-left:
        max(
            5%,
            calc((100% - 1180px) / 2)
        );
}


/* MAIN HEADINGS */

.intro h2,
.section-heading h2,
.origin-section h2,
.quality h2,
.export h2,
.contact h2 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(42px, 5vw, 66px);

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -1.5px;

    margin-bottom: 30px;
}


/* LARGE INTRO TEXT */

.large-text {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 25px;

    line-height: 1.55;

    margin-bottom: 26px;
}


.intro p:not(.eyebrow) {
    margin-bottom: 20px;
}


/* ============================================
   PRODUCTS
============================================ */

.products {
    padding: 140px 0;

    background: var(--solmara-light);
}


.section-heading {
    margin-bottom: 65px;
}


.section-heading > p:last-child {
    max-width: 610px;
}


/* PRODUCT GRID */

.products-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    align-items: stretch;
}


/* PRODUCT CARD */

.product-card {
    background: var(--solmara-green);

    color: white;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    min-height: 660px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.product-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0
        20px
        40px
        rgba(23, 38, 28, 0.17);
}


/* PRODUCT CONTENT */

.product-content {
    padding: 45px 42px 40px;

    flex-grow: 1;
}


.product-content h3 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 39px;

    font-weight: 400;

    line-height: 1.08;

    margin-bottom: 22px;
}


.product-content > p:not(.eyebrow):not(.product-origin) {
    font-size: 14px;

    line-height: 1.85;

    opacity: 0.84;
}


/* PRODUCT ORIGIN */

.product-origin {
    margin-top: 32px;

    font-size: 12px;

    line-height: 1.75;

    opacity: 0.75;
}


.product-origin strong {
    display: inline-block;

    margin-bottom: 3px;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* PRODUCT IMAGES */

.product-image {
    width: 100%;

    height: 270px;

    overflow: hidden;

    position: relative;
}


.product-image img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}


.product-card:hover .product-image img {
    transform: scale(1.04);
}


/* SLIGHT PHOTO OVERLAY */

.product-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(23, 38, 28, 0),
            rgba(23, 38, 28, 0.12)
        );

    pointer-events: none;
}


/* PRODUCT REGION NOTE */

.products-note {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    max-width: 860px;

    margin-top: 55px;

    padding-top: 30px;

    border-top:
        1px solid
        rgba(36, 61, 44, 0.25);
}


.products-note p {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 21px;

    line-height: 1.55;
}


.philippines-mark {
    font-size: 24px;
}


/* ============================================
   ORIGIN / MINDANAO
============================================ */

.origin-section {
    padding: 140px 0;

    background: var(--solmara-cream);
}


.origin-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: start;
}


.origin-text {
    padding-top: 40px;
}


.origin-text p {
    margin-bottom: 25px;

    font-size: 16px;

    line-height: 1.9;
}


/* ============================================
   QUALITY
============================================ */

.quality {
    padding: 150px 0;
}


.features {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 40px;

    margin-top: 80px;
}


.feature {
    border-top:
        1px solid
        rgba(36, 61, 44, 0.45);

    padding-top: 22px;
}


.feature-number {
    font-size: 10px;

    font-weight: 600;

    letter-spacing: 2px;

    margin-bottom: 40px;

    opacity: 0.5;
}


.feature h3 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 27px;

    font-weight: 500;

    margin-bottom: 15px;
}


.feature p {
    font-size: 14px;

    line-height: 1.8;

    opacity: 0.8;
}


/* ============================================
   EXPORT
============================================ */

.export {
    padding: 150px 0;

    background: var(--solmara-green);

    color: white;
}


.export-content {
    max-width: 900px;
}


.export-content > p:not(.eyebrow) {
    max-width: 660px;

    opacity: 0.8;
}


/* EXPORT ROUTE */

.export-route {
    display: flex;

    align-items: center;

    gap: 28px;

    margin-top: 65px;
}


.route-location {
    display: flex;

    align-items: center;

    gap: 17px;
}


.route-icon {
    width: 58px;

    height: 58px;

    border:
        1px solid
        rgba(255, 255, 255, 0.4);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1px;
}


/* GLOBE */

.globe-icon {
    font-size: 28px;

    letter-spacing: 0;
}


.route-location strong {
    display: block;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 21px;

    font-weight: 400;
}


.route-location small {
    display: block;

    margin-top: 3px;

    font-size: 10px;

    letter-spacing: 1px;

    opacity: 0.6;
}


.route-line {
    width: 100px;

    height: 1px;

    background:
        rgba(
            255,
            255,
            255,
            0.35
        );
}


/* ============================================
   CONTACT / REQUEST A QUOTE
============================================ */

.contact {
    padding: 150px 0;

    background: var(--solmara-cream);
}


.contact-container {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 90px;

    align-items: start;
}


/* LEFT CONTACT TEXT */

.contact-intro {
    position: sticky;

    top: 80px;
}


.contact-intro > p:last-child {
    max-width: 500px;

    font-size: 15px;

    line-height: 1.9;
}


/* ============================================
   QUOTE FORM
============================================ */

.quote-form {
    background: var(--solmara-light);

    padding: 55px;
}


.form-heading {
    margin-bottom: 40px;
}


.form-heading h3 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 42px;

    font-weight: 400;

    line-height: 1.1;
}


/* TWO COLUMN ROW */

.form-row {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}


/* FORM FIELD */

.form-group {
    margin-bottom: 22px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


/* INPUTS */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border:
        1px solid
        rgba(36, 61, 44, 0.22);

    background: var(--solmara-cream);

    color: var(--solmara-text);

    padding: 14px 16px;

    border-radius: 3px;

    font-family: "DM Sans", Arial, sans-serif;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* TEXT AREA */

.form-group textarea {
    resize: vertical;

    min-height: 140px;
}


/* FOCUS */

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--solmara-green);

    box-shadow:
        0 0 0 2px
        rgba(36, 61, 44, 0.08);
}


/* PLACEHOLDERS */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color:
        rgba(36, 49, 40, 0.45);
}


/* SELECT */

.form-group select {
    cursor: pointer;
}


/* SUBMIT */

.form-submit {
    border: none;

    cursor: pointer;

    margin-top: 8px;

    min-width: 190px;
}


/* STATUS MESSAGE */

.form-status {
    margin-top: 18px;

    font-size: 13px;

    line-height: 1.6;
}


/* HONEYPOT / SPAM FIELD */

.honeypot {
    position: absolute !important;

    left: -9999px !important;

    width: 1px !important;

    height: 1px !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


/* ============================================
   FOOTER
============================================ */

footer {
    padding: 65px 0;

    background: var(--solmara-dark);

    color: white;
}


.footer-container {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 50px;
}


/* FOOTER LOGO */

footer .logo img {
    width: 300px;

    height: auto;

    opacity: 0.45;

    transform: translateX(-20px);
}


footer p {
    max-width: 430px;

    margin-top: -10px;

    font-size: 13px;

    line-height: 1.7;

    opacity: 0.55;
}


.footer-right {
    text-align: right;

    font-size: 10px;

    line-height: 1.8;

    letter-spacing: 0.8px;

    opacity: 0.45;
}


/* ============================================
   MEDIUM SCREENS
============================================ */

@media (max-width: 1000px) {

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .product-card:last-child {
        grid-column: span 2;
    }


    .product-card:last-child .product-image {
        height: 340px;
    }


    .origin-container {
        gap: 60px;
    }

}


/* ============================================
   TABLET
============================================ */

@media (max-width: 900px) {

    .contact-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .contact-intro {
        position: static;
    }

}


@media (max-width: 800px) {

    /* NAVIGATION */

    nav a:not(.nav-button) {
        display: none;
    }


    .navbar {
        padding: 20px 0;
    }


    .logo img {
        width: 200px;
    }


    /* HERO */

    .hero {
        min-height: 730px;
    }


    .hero h1 {
        letter-spacing: -1px;
    }


    /* ORIGIN */

    .origin-container {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .origin-text {
        padding-top: 0;
    }


    /* QUALITY */

    .features {
        grid-template-columns: repeat(2, 1fr);
    }


    /* SECTION SPACING */

    .intro,
    .products,
    .origin-section,
    .quality,
    .export,
    .contact {
        padding: 100px 0;
    }


    /* FOOTER */

    .footer-container {
        flex-direction: column;

        align-items: flex-start;
    }


    .footer-right {
        text-align: left;
    }

}


/* ============================================
   MOBILE
============================================ */

@media (max-width: 600px) {

    /* NAV */

    .navbar {
        padding: 18px 0;
    }


    .nav-container {
        gap: 12px;
    }


    .logo img {
        width: 155px;
    }


    nav {
        gap: 8px;
    }


    .nav-button {
        padding: 9px 14px;

        font-size: 9px;
    }


    /* HERO */

    .hero {
        min-height: 720px;
    }


    .hero-content {
        padding-top: 100px;
    }


    .hero h1 {
        font-size: 49px;

        line-height: 1.04;
    }


    .hero-text {
        font-size: 15px;
    }


    .hero-buttons {
        width: 100%;
    }


    .button {
        width: 100%;
    }


    /* PRODUCTS */

    .products-grid {
        grid-template-columns: 1fr;
    }


    .product-card:last-child {
        grid-column: auto;
    }


    .product-card {
        min-height: 560px;
    }


    .product-content {
        padding: 38px 30px 35px;
    }


    .product-content h3 {
        font-size: 36px;
    }


    .product-image,
    .product-card:last-child .product-image {
        height: 240px;
    }


    .products-note {
        align-items: flex-start;
    }


    .products-note p {
        font-size: 18px;
    }


    /* QUALITY */

    .features {
        grid-template-columns: 1fr;
    }


    /* EXPORT ROUTE */

    .export-route {
        flex-direction: column;

        align-items: flex-start;
    }


    .route-line {
        width: 1px;

        height: 45px;

        margin-left: 29px;
    }


    /* QUOTE FORM */

    .quote-form {
        padding: 38px 28px;
    }


    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .form-heading h3 {
        font-size: 36px;
    }


    .form-submit {
        width: 100%;
    }


    /* FOOTER */

    footer .logo img {
        width: 190px;
    }

}