/* ===================================================================
   Shutter Studio — Photography & Custom Gifts
   Theme: warm editorial / elegant, mobile-first
   =================================================================== */

:root {
    --bg:        #faf7f2;
    --bg-muted:  #f1ebe1;
    --surface:   #ffffff;
    --ink:       #20201d;
    --ink-soft:  #5c574e;
    --line:      #e4ddd0;
    --gold:      #c9a24b;
    --gold-dark: #a9842f;
    --wa:        #25d366;
    --wa-dark:   #1da851;
    --shadow:    0 14px 40px rgba(40, 33, 20, 0.10);
    --shadow-sm: 0 6px 18px rgba(40, 33, 20, 0.08);
    --radius:    16px;
    --radius-sm: 10px;
    --maxw:      1180px;
    --serif:     'Cormorant Garamond', Georgia, serif;
    --sans:      'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); }

.section-kicker {
    display: inline-block;
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: .6rem;
}

.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); }

.section-lead {
    max-width: 620px;
    margin: .9rem auto 0;
    color: var(--ink-soft);
    font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--sans);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .02em;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: var(--wa-dark); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: var(--shadow-sm); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

.wa-glyph { font-size: 1.05em; transform: scaleX(-1); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(250, 247, 242, .82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(250, 247, 242, .95); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.brand-mark { color: var(--gold); font-size: 1.1em; }
.brand-text { letter-spacing: .01em; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-size: .92rem; font-weight: 400; color: var(--ink-soft); position: relative; transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:not(.nav-cta).is-active::after,
.nav a:not(.nav-cta):hover::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 100%; height: 2px;
    background: var(--gold);
}
.nav-cta { color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: .3s; border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(rgba(20,16,10,.45), rgba(20,16,10,.45)),
        url("https://images.unsplash.com/photo-1519741497674-611481863552?q=80&w=1600&auto=format&fit=crop") center/cover no-repeat;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 40%, transparent, rgba(0,0,0,.35));
}
.hero-content { position: relative; max-width: 760px; padding-top: 4rem; padding-bottom: 4rem; }
.hero-eyebrow { letter-spacing: .22em; text-transform: uppercase; font-size: .76rem; color: #f0e3c4; margin-bottom: 1rem; font-weight: 500; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.05; color: #fff; }
.hero-sub { margin: 1.4rem 0 2.2rem; font-size: 1.12rem; max-width: 560px; color: #f3eee6; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: #f0e3c4;
}
.hero-scroll::after { content: ""; display: block; width: 1px; height: 34px; background: #f0e3c4; margin: 8px auto 0; animation: scrollPulse 1.8s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.6);} 50% { opacity: 1; transform: scaleY(1);} }

/* ---------- Stat strip ---------- */
.strip { background: var(--ink); color: #fff; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 2.2rem 22px; gap: 1rem; }
.strip-item strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--gold); }
.strip-item span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #cfc7b8; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--muted { background: var(--bg-muted); }
.section-head { text-align: center; margin-bottom: 3rem; }

/* ---------- Service cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.7rem;
    transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon { font-size: 2.2rem; margin-bottom: .8rem; }
.service-card h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.service-card p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Teaser grid ---------- */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.teaser-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 4/5; background: var(--bg-muted); }
.teaser-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.teaser-item:hover img { transform: scale(1.08); }
.teaser-tag {
    position: absolute; left: 12px; bottom: 12px;
    background: rgba(0,0,0,.55); color: #fff;
    font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
    padding: .3rem .7rem; border-radius: 50px; backdrop-filter: blur(4px);
}
.center-cta { text-align: center; margin-top: 2.6rem; }
.muted-note { color: var(--ink-soft); margin-bottom: 1rem; }

/* ---------- Gift cards ---------- */
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.gift-grid--shop { grid-template-columns: repeat(4, 1fr); }
.gift-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.gift-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.gift-media { position: relative; aspect-ratio: 1/1; background: var(--bg-muted); overflow: hidden; }
.gift-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gift-card:hover .gift-media img { transform: scale(1.06); }
.gift-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--gold); color: #fff; font-size: .68rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 50px;
}
.gift-body { padding: 1.1rem 1.1rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.gift-body h3 { font-size: 1.25rem; }
.gift-desc { font-size: .85rem; color: var(--ink-soft); flex: 1; }
.gift-price { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--gold-dark); }
.gift-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .4rem; }
.gift-foot .btn { padding: .6rem 1.1rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 3rem; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.3rem 1rem; text-align: center; }
.step-no {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--ink); color: var(--gold); font-family: var(--serif); font-weight: 700; margin-bottom: .6rem;
}
.step p { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Info card ---------- */
.info-card {
    margin-top: 3rem; text-align: center;
    background: var(--ink); color: #fff;
    border-radius: var(--radius); padding: 2.6rem 1.5rem;
}
.info-card h3 { color: #fff; font-size: 1.7rem; margin-bottom: .5rem; }
.info-card p { color: #d8d1c4; margin-bottom: 1.4rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
    background:
        linear-gradient(rgba(20,16,10,.6), rgba(20,16,10,.6)),
        url("https://images.unsplash.com/photo-1511285560929-80b456fea0bc?q=80&w=1600&auto=format&fit=crop") center/cover fixed no-repeat;
    color: #fff; text-align: center;
}
.cta-inner { padding: clamp(3.5rem, 8vw, 6rem) 22px; }
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; }
.cta-banner p { margin: .8rem 0 2rem; color: #efe9df; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--bg-muted); padding: 3.4rem 0 2.8rem; text-align: center; border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-lead { max-width: 640px; margin: .8rem auto 0; color: var(--ink-soft); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.4rem; }
.filter-btn {
    background: var(--surface); border: 1px solid var(--line);
    padding: .55rem 1.2rem; border-radius: 50px; font-family: var(--sans);
    font-size: .85rem; color: var(--ink-soft); cursor: pointer; transition: .2s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Gallery ---------- */
.gallery { columns: 3; column-gap: 14px; }
.gallery-item {
    break-inside: avoid; margin-bottom: 14px; position: relative;
    border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
    background: var(--bg-muted);
}
.gallery-item img { width: 100%; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
    position: absolute; inset: auto 0 0 0;
    padding: .9rem; color: #fff; font-family: var(--serif); font-size: 1.05rem;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    opacity: 0; transform: translateY(8px); transition: .3s;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-item.is-hidden { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(15,12,8,.94);
    display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lb-figure { max-width: 86vw; max-height: 86vh; text-align: center; }
.lb-figure img { max-width: 86vw; max-height: 78vh; border-radius: 8px; object-fit: contain; }
.lb-figure figcaption { color: #f0e3c4; margin-top: .8rem; font-family: var(--serif); font-size: 1.1rem; letter-spacing: .05em; }
.lb-close { position: absolute; top: 20px; right: 26px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: 0; color: #fff; font-size: 2.4rem; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; transition: background .2s; }
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: start; }
.contact-info h2, .contact-form-wrap h2 { font-size: 1.8rem; margin-bottom: 1.2rem; }
.contact-list { list-style: none; margin-bottom: 1.6rem; }
.contact-list li { padding: .85rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .15rem; }
.ci-label { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.contact-list a, .contact-list span { font-size: 1.05rem; }
.social-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.social-row a { font-size: .85rem; color: var(--ink-soft); border: 1px solid var(--line); padding: .4rem .9rem; border-radius: 50px; transition: .2s; }
.social-row a:hover { border-color: var(--gold); color: var(--ink); }
.social-row--contact { margin-top: 1.4rem; }

.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.form-note { color: var(--ink-soft); font-size: .9rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: .4rem; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%; padding: .8rem 1rem; border: 1px solid var(--line);
    border-radius: var(--radius-sm); font-family: var(--sans); font-size: .92rem;
    background: var(--bg); color: var(--ink); transition: border .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.18);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc7b8; padding: 3.2rem 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 2rem; padding-bottom: 2.4rem; }
.brand--footer { color: #fff; margin-bottom: 1rem; }
.footer-about { font-size: .9rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a, .footer-links span { font-size: .92rem; color: #cfc7b8; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.3rem 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: #9a9384; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 90;
    display: flex; align-items: center; gap: .5rem;
    background: var(--wa); color: #fff; padding: .8rem 1.1rem; border-radius: 50px;
    box-shadow: 0 10px 26px rgba(37,211,102,.45);
    transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float-icon { font-size: 1.3rem; transform: scaleX(-1); }
.wa-float-text { font-size: .9rem; font-weight: 500; }

/* ---------- Image fallback ---------- */
.img-fallback {
    background:
        repeating-linear-gradient(45deg, #efe7d8, #efe7d8 12px, #e7dcc8 12px, #e7dcc8 24px) !important;
    min-height: 180px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-dark); font-size: .78rem; padding: 1rem; text-align: center;
    object-fit: contain;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 980px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .gift-grid, .gift-grid--shop { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .nav {
        position: fixed; inset: 72px 0 auto 0;
        flex-direction: column; align-items: stretch;
        background: var(--bg); padding: 1.2rem 22px 1.8rem;
        gap: .4rem; border-bottom: 1px solid var(--line);
        transform: translateY(-120%); transition: transform .35s ease;
        box-shadow: var(--shadow);
    }
    .nav.open { transform: translateY(0); }
    .nav a { padding: .7rem 0; font-size: 1rem; }
    .nav a:not(.nav-cta).is-active::after, .nav a:not(.nav-cta):hover::after { display: none; }
    .nav-cta { margin-top: .6rem; }
    .nav-toggle { display: flex; }

    .teaser-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery { columns: 2; }
    .gift-grid, .gift-grid--shop { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
    .gift-foot { flex-direction: column; align-items: stretch; }
    .gift-foot .btn { width: 100%; }
}

@media (max-width: 460px) {
    .cards-grid { grid-template-columns: 1fr; }
    .gift-grid, .gift-grid--shop { grid-template-columns: 1fr; }
    .gallery { columns: 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .wa-float-text { display: none; }
}
