/* ============================================================
   MOCHI — AERIAL ATTIRE
   style.css

   FONTS USED:
   - Cormorant Garamond (headings, script style)
   - Jost (body, caps labels)
   Both loaded from Google Fonts in index.html

   COLOR PALETTE (matches your PDF):
   --cream:       #F5EDE3   (main background)
   --cream-dark:  #EAE0D5   (alternate sections)
   --pink-blush:  #F2D9CC   (made-for section bg)
   --brown-dark:  #2a1e18   (contact section bg, text)
   --brown-mid:   #5a4035   (body text)
   --brown-light: #8a6a5a   (labels, muted text)
   --gold:        #c0a070   (accents, borders)
============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Jost", sans-serif;
    font-weight: 300;
    background-color: #f5ede3;
    color: #2a1e18;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ── TYPOGRAPHY HELPERS ───────────────────────────────────── */

/* Used for "Mochi" style italic headings (Cormorant serif) */
.script-heading {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: #2a1e18;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* Section title (upright Cormorant, lighter) */
.section-heading {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #2a1e18;
    margin-bottom: 3rem;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    font-family: "Jost", sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.25s,
        color 0.25s,
        border-color 0.25s;
}

/* Dark button — used on light backgrounds (hero) */
.btn-dark {
    background: transparent;
    border: 1px solid #2a1e18;
    color: #2a1e18;
}
.btn-dark:hover {
    background: #2a1e18;
    color: #f5ede3;
}

/* Outline button — used on dark backgrounds (contact) */
.btn-outline {
    background: transparent;
    border: 1px solid #c0a07080;
    color: #2a1e18;
}
.btn-outline:hover {
    background: #f5ede3;
    color: #2a1e18;
}

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 3rem;
    background: rgba(245, 237, 227, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 0.5px solid #c0a07030;
}

.nav-logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: #2a1e18;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #5a4035;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #2a1e18;
}

.nav-links .nav-cta {
    padding: 0.5rem 1.4rem;
    border: 0.5px solid #2a1e18;
    color: #2a1e18;
    transition:
        background 0.2s,
        color 0.2s;
}

.nav-links .nav-cta:hover {
    background: #2a1e18;
    color: #f5ede3;
}

/* Hamburger removed — nav links hide on mobile instead */
.nav-hamburger {
    display: none;
}

/* ── SECTION 1: HERO ──────────────────────────────────────── */
/*
  Left half: your photo
  Right half: brand name + CTA
  Matches PDF page 1 exactly
*/
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    padding-top: 0;
}

/* ═══ IMAGE SLOT 1 ═══
   File: images/hero.jpg
   Container uses aspect-ratio to match your photo exactly —
   change the ratio below if your photo has different proportions.
   Common portrait ratios: 3/4, 2/3, 9/16
═══════════════════════ */
.hero-image {
    overflow: hidden;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: fill;
}

/* Dark gradient overlay — only visible on mobile when text sits on image */
.hero-image-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 5, 20, 0.72) 0%,
        rgba(10, 5, 20, 0.2) 50%,
        transparent 100%
    );
    pointer-events: none;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 5rem;
    background: #f5ede3;
    min-height: 400px;
}

.hero-eyebrow {
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #8a6a5a;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.95;
    color: #2a1e18;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

/* ── SECTION 2: MADE FOR YOU ──────────────────────────────── */
/*
  Left: headline + body text
  Right: two photos side by side
  Matches PDF page 2
*/
.made-for {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
    background: #f0d9cc;
}

.made-for-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 4rem;
}

.made-for-body {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    line-height: 2.2;
    color: #5a4035;
    text-transform: uppercase;
    max-width: 300px;
}

/* ═══ IMAGE SLOTS 2 & 3 ═══
   Files: images/made-for-front.jpg  (left photo)
          images/made-for-back.jpg   (right photo)
   The two photos displayed side-by-side on the right half
═══════════════════════════════ */
.made-for-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
}

.made-img {
    overflow: hidden;
    min-height: 500px;
    position: relative;
}

.made-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.made-img:hover img {
    transform: scale(1.03);
}

/* ── SECTION 3: WHAT WE OFFER ─────────────────────────────── */
/*
  Three columns: Custom Designs / Materials / Regular Updates
  Each with photo on top, title, description below
  Matches PDF page 3
*/
.offers {
    background: #f0ebdf;
    padding: 5rem 4rem;
}

/* ═══ IMAGE SLOTS 4, 5, 6 ═══
   Files: images/offer-designs.jpg   (sketches)
          images/offer-materials.jpg (fabrics)
          images/offer-updates.jpg   (finished pieces)
═══════════════════════════════ */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.offer-card {
    display: flex;
    flex-direction: column;
}

.offer-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #d8cfc5; /* placeholder color while image loads */
}

.offer-img img {
    transition: transform 0.6s ease;
}

.offer-card:hover .offer-img img {
    transform: scale(1.04);
}

.offer-title {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.4rem;
    color: #2a1e18;
    margin-bottom: 0.75rem;
}

.offer-desc {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    line-height: 2;
    color: #6a5045;
    text-transform: none;
}

/* ── SECTION 4: WORK WITH MOCHI / CONTACT ─────────────────── */
/*
  Left: text block with contact info + order form button
  Right: full-height photo
  Matches PDF page 4
*/
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    background: #f5ede3;
}

.contact-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5rem 4rem;
    background: #f5ede3;
}

.contact-text .btn-outline {
    align-self: center;
    padding: 0.85rem 2rem;
}

.contact-details {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-label {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8a6a5a;
}

.contact-value {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: #2a1e18;
}

.contact-body {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    line-height: 2;
    text-transform: none;
    color: #5a4035;
    margin-bottom: 2.5rem;
    max-width: 360px;
}

/* ═══ IMAGE SLOT 7 ═══
   File: images/contact.jpg
   Full-height photo on the right side of the contact section
═══════════════════════ */
.contact-image {
    overflow: hidden;
    min-height: 600px;
    position: relative;
}

.contact-image img {
    position: relative;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ── SECTION 5: FAQ ───────────────────────────────────────── */
/*
  Two-column Q&A grid
  Matches PDF page 5
*/
.faq {
    background: #f7f2eb;
    padding: 5rem 4rem;
}

.faq-heading {
    margin-bottom: 3rem;
    font-style: italic;
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3rem);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.faq-item {
    padding: 2.5rem 2rem;
    border-bottom: 0.5px solid #c0a07040;
}

/* Left column items get a right border */
.faq-item:nth-child(odd) {
    border-right: 0.5px solid #c0a07040;
    padding-left: 0;
}

/* Last two items have no bottom border */
.faq-item:nth-last-child(-n + 2) {
    border-bottom: none;
}

.faq-q {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.1rem;
    color: #2a1e18;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.faq-a {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    line-height: 2;
    text-transform: none;
    color: #6a5045;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
    background: #2a1e18;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.footer-logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 300;
    color: #f5ede3;
    letter-spacing: 0.08em;
}

.footer-sub {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8a7060;
}

.footer-ig {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: #c0a070;
    transition: color 0.2s;
}

.footer-ig:hover {
    color: #f5ede3;
}

/* ── RESPONSIVE — TABLET ──────────────────────────────────── */
@media (max-width: 900px) {
    .nav {
        padding: 1.2rem 1.5rem;
    }

    .nav-links {
        gap: 1.2rem;
    }

    .nav-links a {
        font-size: 0.6rem;
    }

    /* Hero — text overlays the image on mobile */
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        position: relative;
    }

    .hero-image {
        min-height: unset;
        position: static;
    }

    .hero-image img {
        position: static;
        width: 100%;
        height: auto;
        object-fit: unset;
        inset: unset;
        display: block;
    }

    .hero-image-overlay {
        display: block;
    }

    .hero-text {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 2.5rem 2rem 3rem;
        align-items: flex-start;
        text-align: left;
        background: transparent;
        min-height: unset;
    }

    .hero-eyebrow {
        color: rgba(255, 255, 255, 0.75);
        font-size: 0.95rem;
    }

    .hero-title {
        color: #ffffff;
        font-size: clamp(3rem, 12vw, 5rem);
        margin-bottom: 1.5rem;
    }

    .btn-dark {
        border-color: rgba(255, 255, 255, 0.7);
        color: #ffffff;
    }

    .btn-dark:hover {
        background: #ffffff;
        color: #2a1e18;
    }

    /* Made for you stacks */
    .made-for {
        grid-template-columns: 1fr;
    }

    .made-for-text {
        padding: 3rem 2rem;
        align-items: center;
        text-align: center;
    }

    .made-for-body {
        max-width: 100%;
    }

    .made-for-images {
        min-height: 400px;
    }

    .made-img {
        min-height: 300px;
    }

    /* Offers stack */
    .offers {
        padding: 3rem 2rem;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .offer-img {
        aspect-ratio: 16 / 9;
    }

    /* Contact stacks */
    .contact {
        grid-template-columns: 1fr;
    }

    .contact-text {
        padding: 3rem 2rem;
    }

    .contact-image {
        min-height: 50vw;
    }

    /* FAQ stacks */
    .faq {
        padding: 3rem 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-item:nth-child(odd) {
        border-right: none;
        padding-left: 0;
    }

    .faq-item:nth-last-child(-n + 2) {
        border-bottom: 0.5px solid #c0a07040;
    }

    .faq-item:last-child {
        border-bottom: none;
    }

    .footer {
        padding: 2rem 1.5rem;
    }
}

/* ── RESPONSIVE — MOBILE ──────────────────────────────────── */
@media (max-width: 560px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .contact-details {
        flex-direction: column;
        gap: 1.5rem;
    }

    .made-for-images {
        grid-template-columns: 1fr;
    }

    .made-img {
        min-height: 350px;
    }
}
