/* ═══════════════ GIVFTORIA PUBLIC WEBSITE — SHARED STYLES ═══════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --gv-bg: #0e2f22;
    --gv-bg-alt: #123626;
    --gv-cream: #eef3ea;
    --gv-cream-alt: #e1ebdd;
    --gv-ink: #0e2f22;
    --gv-gold: #cda44d;
    --gv-gold-light: #e3c47c;
    --gv-text: #f3efe4;
    --gv-muted: #a9baac;
    --gv-border: rgba(205,164,77,0.25);
    --gv-radius: 14px;
    --gv-radius-sm: 8px;
    --gv-shadow: 0 24px 50px rgba(4,16,10,.4);
}

html { scroll-behavior: smooth; }

body {
    background: var(--gv-bg);
    color: var(--gv-text);
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

h1, h2, h3, .gv-serif { font-family: 'Playfair Display', serif; }

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

::selection { background: var(--gv-gold); color: var(--gv-ink); }

/* ── LIGHT SECTION THEME (alternating rhythm) ── */

.gv-section.gv-light {
    --gv-bg-alt: var(--gv-cream-alt);
    --gv-text: #16301f;
    --gv-muted: #5c6a54;
    --gv-border: rgba(14,47,34,.15);
    --gv-gold: #b3873c;
    --gv-gold-light: #8a6423;
    background: linear-gradient(160deg, var(--gv-cream) 0%, var(--gv-cream-alt) 100%);
    color: var(--gv-text);
}

/* ── WARM BAND THEME (dark alternating rhythm) ── */

.gv-section.gv-band {
    background: linear-gradient(160deg, var(--gv-bg) 0%, var(--gv-bg-alt) 100%);
}

/* ── HEADER ── */

.gv-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(14,47,34,.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--gv-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 48px;
    flex-wrap: wrap;
    gap: 14px;
    transition: box-shadow .3s ease, padding .3s ease;
}

.gv-header.is-scrolled {
    box-shadow: 0 14px 34px rgba(0,0,0,.32);
    padding-top: 10px;
    padding-bottom: 10px;
}
.gv-logo {
    display: flex;
    align-items: center;
    width: fit-content;
    padding: 0;
    background: #fff;
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-radius-sm);
    box-shadow: 0 6px 16px rgba(0,0,0,.22);
    transition: transform .3s ease, box-shadow .3s ease;
    overflow: hidden;
}

    .gv-logo:hover {
        transform: scale(1.03);
        box-shadow: 0 10px 22px rgba(0,0,0,.3);
    }

    .gv-logo img {
        height: 64px;
        width: auto;
        display: block;
        border-radius: 0;
    }

.gv-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.gv-nav a {
    position: relative;
    font-size: 13.5px;
    letter-spacing: .3px;
    color: var(--gv-text);
    opacity: .85;
    padding-bottom: 4px;
    transition: opacity .2s, color .2s;
}

.gv-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--gv-gold-light);
    transition: width .25s ease;
}

.gv-nav a:hover { opacity: 1; color: var(--gv-gold-light); }

.gv-nav a:hover::after { width: 100%; }

.gv-nav a.active {
    opacity: 1;
    color: var(--gv-gold-light);
    border: 1px solid var(--gv-border);
    background: rgba(205,164,77,.1);
    border-radius: 999px;
    padding: 6px 16px;
}

.gv-nav a.active::after { display: none; }

.gv-header-actions { display: flex; align-items: center; gap: 16px; }

.gv-login-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .4px;
    color: var(--gv-gold-light);
    padding: 8px 4px;
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}

.gv-login-link:hover { border-color: var(--gv-gold-light); }

/* ── MOBILE MENU TOGGLE / DRAWER ── */

.gv-mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gv-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-radius-sm);
    color: var(--gv-text);
    font-size: 19px;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}

.gv-menu-toggle:hover { border-color: var(--gv-gold); color: var(--gv-gold-light); }

.gv-home-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-radius-sm);
    color: var(--gv-text);
    font-size: 19px;
    transition: border-color .2s, color .2s;
}

.gv-home-btn:hover { border-color: var(--gv-gold); color: var(--gv-gold-light); }

.gv-drawer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 auto;
    gap: 24px;
}

.gv-drawer-close { display: none; }

.gv-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4,14,9,.6);
    backdrop-filter: blur(2px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

/* ── BUTTONS ── */

.btn-gold-outline, .btn-gold-fill {
    border-radius: 999px;
    letter-spacing: 1.1px;
}

.btn-gold-outline {
    display: inline-block;
    position: relative;
    padding: 11px 24px;
    border: 1px solid var(--gv-gold);
    color: var(--gv-gold-light);
    font-size: 12.5px;
    font-weight: 500;
    transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}

.btn-gold-outline:hover {
    background: var(--gv-gold);
    color: var(--gv-ink);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(205,164,77,.28);
}

.btn-gold-fill {
    display: inline-block;
    position: relative;
    overflow: hidden;
    padding: 16px 42px;
    background: linear-gradient(135deg, var(--gv-gold-light), var(--gv-gold));
    color: var(--gv-ink);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--gv-gold);
    text-align: center;
    transition: transform .25s, box-shadow .25s;
    cursor: pointer;
}

.btn-gold-fill::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .6s ease;
}

.btn-gold-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(205,164,77,.32);
}

.btn-gold-fill:hover::before { transform: translateX(120%); }

.btn-gold-fill:disabled, .btn-gold-outline:disabled {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

/* ── SECTION HEADINGS ── */

.gv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    letter-spacing: 3px;
    color: var(--gv-gold-light);
    font-weight: 500;
    margin-bottom: 16px;
}

.gv-divider {
    width: 90px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gv-gold), transparent);
    margin: 26px 0;
}

.gv-divider.centered { margin: 26px auto; }

/* ── PAGE INTRO HERO (small heading block used at the top of inner pages) ── */

.gv-page-hero {
    position: relative;
    text-align: center;
    padding: 84px 24px 60px;
    border-bottom: 1px solid var(--gv-border);
    overflow: hidden;
    background:
        radial-gradient(ellipse 560px 320px at 50% -10%, rgba(205,164,77,.16), transparent 65%),
        radial-gradient(ellipse 420px 260px at 90% 110%, rgba(205,164,77,.08), transparent 60%);
}

.gv-page-hero .gv-eyebrow { justify-content: center; }

.gv-page-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 500;
    line-height: 1.25;
}

.gv-page-hero h1 .accent { color: var(--gv-gold-light); font-style: italic; }

.gv-page-hero p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--gv-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ── SECTION SHELL (shared by inner pages) ── */

.gv-section { position: relative; max-width: 1320px; margin: 0 auto; padding: 90px 48px; border-top: 1px solid var(--gv-border); }

.gv-section h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 500; line-height: 1.25; margin: 6px 0 18px; }

.gv-section p.lead { max-width: 620px; color: var(--gv-muted); font-size: 14.5px; line-height: 1.7; }

.gv-section.gv-light { max-width: none; padding-left: 0; padding-right: 0; }

.gv-section.gv-light > * { max-width: 1320px; margin-left: auto; margin-right: auto; padding-left: 48px; padding-right: 48px; box-sizing: border-box; }

@media (max-width: 640px) {
    .gv-section.gv-light > * { padding-left: 20px; padding-right: 20px; }
}

/* ── REVEAL-ON-SCROLL ── */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1); }

.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes gv-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.reveal.is-visible [class$="-grid"] > *,
.reveal.is-visible [class$="-row"] > *,
.reveal.is-visible [class$="-steps"] > * {
    animation: gv-fade-up .7s cubic-bezier(.16,.84,.44,1) both;
}

.reveal.is-visible [class$="-grid"] > *:nth-child(1), .reveal.is-visible [class$="-row"] > *:nth-child(1), .reveal.is-visible [class$="-steps"] > *:nth-child(1) { animation-delay: 0ms; }
.reveal.is-visible [class$="-grid"] > *:nth-child(2), .reveal.is-visible [class$="-row"] > *:nth-child(2), .reveal.is-visible [class$="-steps"] > *:nth-child(2) { animation-delay: 60ms; }
.reveal.is-visible [class$="-grid"] > *:nth-child(3), .reveal.is-visible [class$="-row"] > *:nth-child(3), .reveal.is-visible [class$="-steps"] > *:nth-child(3) { animation-delay: 120ms; }
.reveal.is-visible [class$="-grid"] > *:nth-child(4), .reveal.is-visible [class$="-row"] > *:nth-child(4), .reveal.is-visible [class$="-steps"] > *:nth-child(4) { animation-delay: 180ms; }
.reveal.is-visible [class$="-grid"] > *:nth-child(5), .reveal.is-visible [class$="-row"] > *:nth-child(5), .reveal.is-visible [class$="-steps"] > *:nth-child(5) { animation-delay: 240ms; }
.reveal.is-visible [class$="-grid"] > *:nth-child(6), .reveal.is-visible [class$="-row"] > *:nth-child(6), .reveal.is-visible [class$="-steps"] > *:nth-child(6) { animation-delay: 300ms; }
.reveal.is-visible [class$="-grid"] > *:nth-child(7), .reveal.is-visible [class$="-row"] > *:nth-child(7), .reveal.is-visible [class$="-steps"] > *:nth-child(7) { animation-delay: 360ms; }
.reveal.is-visible [class$="-grid"] > *:nth-child(8) { animation-delay: 420ms; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .reveal.is-visible [class$="-grid"] > *, .reveal.is-visible [class$="-row"] > *, .reveal.is-visible [class$="-steps"] > * {
        transition: none; animation: none; opacity: 1; transform: none;
    }
}

/* ── CONTACT FORM (shared by inner pages) ── */

.gv-contact { text-align: center; }

.gv-contact h2, .gv-contact p.lead { margin-left: auto; margin-right: auto; }

.gv-form {
    max-width: 900px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    text-align: left;
}

.gv-form input, .gv-form textarea, .gv-form select {
    width: 100%;
    background: var(--gv-bg-alt);
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-radius-sm);
    color: var(--gv-text);
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    padding: 15px 16px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.gv-form select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e3c47c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
}

.gv-form select:invalid, .gv-form select option[value=""][disabled] { color: var(--gv-muted); }

.gv-form input::placeholder, .gv-form textarea::placeholder { color: var(--gv-muted); }

.gv-form input:focus, .gv-form textarea:focus, .gv-form select:focus { border-color: var(--gv-gold); box-shadow: 0 0 0 3px rgba(205,164,77,.16); }

.gv-form textarea { grid-column: 1 / -1; min-height: 110px; resize: vertical; }

.gv-form .gv-form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.gv-form .gv-submit { border: none; }

.gv-form-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--gv-gold-light); text-align: center; display: none; }

@media (max-width: 640px) {
    .gv-section { padding: 60px 20px; }
    .gv-form { grid-template-columns: 1fr; }
}

/* ── CLOSING CTA BANNER (links out to the Contact page) ── */

.gv-cta-banner {
    text-align: center;
    background: radial-gradient(ellipse 640px 320px at 50% 50%, rgba(205,164,77,.1), transparent 70%);
    border-top: none;
    padding-top: 40px;
}

.gv-cta-banner h2, .gv-cta-banner p.lead { margin-left: auto; margin-right: auto; }

.gv-cta-banner .btn-gold-fill { margin-top: 30px; }

/* ── PLACEHOLDER IMAGE TILES (no product photography yet) ── */

.gv-placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #163f2e, #0b2419);
    border: 1px solid var(--gv-border);
    border-radius: var(--gv-radius);
}

.gv-placeholder-img i { color: var(--gv-gold); opacity: .55; }

/* ── FAQ ACCORDION (shared by inner pages) ── */

.faq-item { border-bottom: 1px solid var(--gv-border); padding: 20px 0; }

.faq-item .faq-q {
    position: relative;
    cursor: pointer;
    padding-right: 34px;
    font-weight: 500;
    font-size: 14.5px;
    margin-bottom: 0;
    transition: color .2s;
}

.faq-item .faq-q:hover { color: var(--gv-gold-light); }

.faq-item .faq-q::after {
    content: "+";
    position: absolute;
    right: 0;
    top: -2px;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--gv-gold-light);
    transition: transform .3s ease;
    transform-origin: center;
}

.faq-item.is-open .faq-q::after { transform: rotate(135deg); }

.faq-item .faq-a {
    font-size: 13px;
    color: var(--gv-muted);
    line-height: 1.7;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height .4s ease, opacity .35s ease, margin-top .35s ease;
}

.faq-item.is-open .faq-a { max-height: 600px; opacity: 1; margin-top: 12px; }

/* ── FOOTER ── */

.gv-footer {
    position: relative;
    padding: 64px 48px 0;
    border-top: 1px solid var(--gv-border);
}

.gv-footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gv-gold), transparent);
}

.gv-footer-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    text-align: left;
    padding-bottom: 48px;
}

.gv-footer-brand .tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 17px;
    color: var(--gv-gold-light);
    margin-bottom: 12px;
}

.gv-footer-brand p {
    font-size: 12.5px;
    color: var(--gv-muted);
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 22px;
}

.gv-footer-social { display: flex; gap: 10px; }

.gv-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gv-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gv-gold-light);
    font-size: 15px;
    transition: border-color .2s, color .2s, background-color .2s, transform .2s;
}

.gv-footer-social a:hover { border-color: var(--gv-gold); background: var(--gv-gold); color: var(--gv-bg); transform: translateY(-3px); }

.gv-footer-col .footer-heading {
    font-size: 11px;
    letter-spacing: 1.6px;
    font-weight: 600;
    color: var(--gv-gold-light);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.gv-footer-col a, .gv-footer-col .footer-line {
    display: block;
    font-size: 13px;
    color: var(--gv-muted);
    margin-bottom: 13px;
    transition: color .2s, transform .2s;
}

.gv-footer-col a:hover { color: var(--gv-gold-light); transform: translateX(3px); }

.gv-footer-bottom {
    border-top: 1px solid var(--gv-border);
    padding: 22px 0;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11.5px;
    color: var(--gv-muted);
}

@media (max-width: 900px) {
    .gv-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .gv-footer { padding: 48px 20px 0; }
    .gv-footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .gv-footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 640px) {
    .gv-header { padding: 14px 20px; flex-wrap: nowrap; }

    .gv-menu-toggle { display: inline-flex; }

    .gv-home-btn { display: inline-flex; }

    .gv-drawer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        flex: none;
        gap: 26px;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: var(--gv-bg);
        padding: 90px 28px 28px;
        transform: translateX(-100%);
        transition: transform .35s cubic-bezier(.16,.84,.44,1);
        z-index: 110;
        overflow-y: auto;
        border-right: 1px solid var(--gv-border);
        box-shadow: 30px 0 60px rgba(0,0,0,.35);
    }

    .gv-drawer.open { transform: translateX(0); }

    .gv-drawer-close {
        display: block;
        position: absolute;
        top: 18px;
        right: 18px;
        background: transparent;
        border: none;
        color: var(--gv-text);
        font-size: 22px;
        cursor: pointer;
    }

    .gv-nav { flex-direction: column; align-items: flex-start; gap: 18px; }

    .gv-header-actions { flex-direction: column; align-items: flex-start; gap: 16px; }

    .gv-nav-overlay { display: block; }

    .gv-nav-overlay.open { opacity: 1; pointer-events: auto; }
}
