/* ═══════════════════════════════════════════════════════════
   WEBB'S WHIPPING — Dark Luxury Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── VARIABLES ─────────────────────────────────────────── */
:root {
    --bg:         #080808;
    --bg2:        #101010;
    --bg-card:    #151515;
    --gold:       #C9A84C;
    --gold-l:     #e8d08a;
    --gold-d:     #9a7d32;
    --text:       #f0ebe1;
    --muted:      #7a7068;
    --border:     #1e1e1e;
    --font-d:     'Playfair Display', Georgia, serif;
    --font-b:     'Lato', system-ui, sans-serif;
    --mw:         1180px;
    --sp:         clamp(80px, 10vw, 130px);
    --ease:       0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    line-height: 1.65;
    overflow-x: hidden;
}

/* ── CONTAINER ─────────────────────────────────────────── */
.container {
    max-width: var(--mw);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
}

/* ── COMMON TYPOGRAPHY ─────────────────────────────────── */
.label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
}
.section-title {
    font-family: var(--font-d);
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    font-weight: 400;
    line-height: 1.13;
    color: var(--text);
    margin-bottom: 1.1rem;
}
.section-sub {
    color: var(--muted);
    max-width: 520px;
    margin: 0.75rem auto 0;
    line-height: 1.75;
    font-size: 1rem;
}
.body-text {
    color: var(--muted);
    font-size: 1.025rem;
    line-height: 1.8;
    margin-bottom: 1.1rem;
}
.gold-bar {
    width: 44px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 1.75rem;
}
.gold-bar.center { margin-left: auto; margin-right: auto; }
.section-hd { margin-bottom: clamp(40px, 6vw, 72px); }
.text-center { text-align: center; }
.no-photos { color: var(--muted); text-align: center; padding: 4rem 0; }

/* ── SECTION ───────────────────────────────────────────── */
.section { padding: var(--sp) 0; }
.section-dark { background: var(--bg2); }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
    display: inline-block;
    font-family: var(--font-b);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 1rem 2.25rem;
    transition: background var(--ease), color var(--ease), border-color var(--ease);
    cursor: pointer;
}
.btn-gold {
    background: var(--gold);
    color: #060606;
}
.btn-gold:hover { background: var(--gold-l); }
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(240,235,225,0.25);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.4rem 0;
    transition: background var(--ease), padding var(--ease), border-color var(--ease);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(6,6,6,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.85rem 0;
    border-color: var(--border);
}
.nav-container {
    max-width: var(--mw);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.logo-img {
    height: 48px;
    width: auto;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}
.nav-link {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.5rem 0.9rem;
    position: relative;
    transition: color var(--ease);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.9rem;
    right: 0.9rem;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.55rem 1.3rem;
    margin-left: 0.75rem;
    transition: background var(--ease), color var(--ease);
}
.nav-cta:hover { background: var(--gold); color: #060606; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text);
    transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    background: url('../images/hero.jpg') center / cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(
        110deg,
        rgba(4,4,4,0.93) 0%,
        rgba(4,4,4,0.75) 50%,
        rgba(4,4,4,0.28) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 clamp(20px, 5vw, 64px);
    max-width: 660px;
    margin-left: max(calc((100vw - var(--mw)) / 2 + clamp(20px, 5vw, 64px)), clamp(20px, 5vw, 64px));
}
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.6rem;
    /* gap fallback for older Safari */
}
.hero-eyebrow > * + * { margin-left: 1rem; }
.gold-line-h {
    flex-shrink: 0;
    width: 36px;
    height: 1px;
    background: var(--gold);
}
.eyebrow-text {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
}
.hero-title {
    font-family: var(--font-d);
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--text);
    margin-bottom: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.06em;
}
.hero-accent { color: var(--gold); font-style: italic; }
.hero-sub {
    font-size: clamp(0.88rem, 1.4vw, 1.05rem);
    color: var(--muted);
    max-width: 420px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-btns > * + * { margin-left: 1rem; }

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.45;
    transition: opacity var(--ease);
}
.hero-scroll:hover { opacity: 0.9; }
.scroll-label {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}
.scroll-bar {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
    animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.35; }
    50%       { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════ */
.about-section { background: var(--bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
    width: 100%;
    min-height: 320px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.about-img-border {
    position: absolute;
    bottom: -18px;
    right: -18px;
    width: 58%;
    height: 58%;
    border: 1px solid rgba(201,168,76,0.25);
    pointer-events: none;
}
.stats-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.stat-n {
    display: block;
    font-family: var(--font-d);
    font-size: 2.4rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.2rem;
}
.stat-l {
    display: block;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.svc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--ease), border-color var(--ease);
}
.svc-card { cursor: pointer; }
.svc-card:hover { transform: translateY(-5px); border-color: #2a2a2a; }
.svc-card.featured { border-color: rgba(201,168,76,0.22); }
.svc-card.svc-active { border-color: rgba(201,168,76,0.35); }
.svc-learn {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
    transition: opacity var(--ease);
}
.svc-card:hover .svc-learn { opacity: 1; }
.services-wrap { position: relative; }
.svc-gold-line {
    position: absolute;
    bottom: 0;
    height: 2px;
    background: var(--gold);
    transition: left 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
    pointer-events: none;
}

/* Service modal */
.svc-modal {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0,0,0,0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s;
}
.svc-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.svc-modal-inner {
    background: var(--bg-card);
    border: 1px solid #2a2a2a;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(20px);
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
}
.svc-modal.active .svc-modal-inner { transform: translateY(0); }
.svc-modal-close {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 0.25rem;
    transition: color var(--ease);
}
.svc-modal-close:hover { color: var(--text); }
.svc-modal-num {
    font-family: var(--font-d);
    font-size: 0.68rem;
    color: var(--gold);
    opacity: 0.55;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}
.svc-modal-title {
    font-family: var(--font-d);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 1rem;
}
.svc-modal-gold {
    width: 36px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 1.5rem;
}
.svc-modal-body p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.82;
    margin-bottom: 1rem;
}
.svc-modal-body p:last-child { margin-bottom: 0; }
.svc-modal-body h4 {
    font-family: var(--font-d);
    font-size: 1rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 0.4rem;
    margin-top: 1.25rem;
}
.svc-num {
    font-family: var(--font-d);
    font-size: 0.7rem;
    color: var(--gold);
    opacity: 0.55;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}
.svc-icon {
    width: 44px;
    height: 44px;
    color: var(--gold);
    opacity: 0.75;
    margin-bottom: 1.25rem;
}
.svc-title {
    font-family: var(--font-d);
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0.8rem;
}
.svc-text { color: var(--muted); font-size: 0.94rem; line-height: 1.78; }

/* ═══════════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════════ */
.gallery-section { background: var(--bg); }
.gallery-grid {
    columns: 3;
    column-gap: 10px;
}
.gall-item {
    break-inside: avoid;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.gall-item img {
    width: 100%;
    display: block;
    transition: transform 0.55s ease;
}
.gall-overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0,0,0,0.52);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--ease);
    color: var(--gold);
}
.gall-item:hover img { transform: scale(1.05); }
.gall-item:hover .gall-overlay { opacity: 1; }

/* ─── LIGHTBOX ─────────────────────────────────────────── */
.lightbox {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 9999;
    background: rgba(3,3,3,0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lb-img-wrap { max-width: 90vw; max-height: 90vh; }
.lb-img-wrap img {
    max-width: 90vw;
    max-height: 86vh;
    object-fit: contain;
    display: block;
}
.lb-close {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    width: 44px; height: 44px;
    background: none;
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: border-color var(--ease), color var(--ease);
}
.lb-close:hover { border-color: var(--gold); color: var(--gold); }
.lb-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px;
    background: none;
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
    transition: border-color var(--ease), color var(--ease);
}
.lb-nav:hover { border-color: var(--gold); color: var(--gold); }
.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }

/* ═══════════════════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════════════════ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}
.review-stars {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.22em;
    margin-bottom: 1.25rem;
}
.review-quote {
    font-family: var(--font-d);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    border: none;
    padding: 0;
    flex: 1;
    margin-bottom: 1.5rem;
}
.review-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}
.reviewer-name {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--gold);
}
.reviewer-src {
    font-size: 0.68rem;
    color: var(--muted);
    letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact-section { background: var(--bg); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}
.contact-methods { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color var(--ease), background var(--ease);
}
.contact-card:hover {
    border-color: rgba(201,168,76,0.35);
    background: rgba(201,168,76,0.05);
}
.contact-icon {
    width: 40px; height: 40px;
    color: var(--gold);
    flex-shrink: 0;
}
.contact-lbl {
    display: block;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.2rem;
}
.contact-val {
    display: block;
    font-family: var(--font-d);
    font-size: 1.2rem;
    color: var(--text);
    overflow-wrap: break-word;
    word-break: break-word;
}
.contact-img-col img {
    width: 100%;
    min-height: 300px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 4.5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 0.9rem; }
.footer-tag {
    color: var(--muted);
    font-size: 0.83rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    max-width: 240px;
}
.footer-social { display: flex; gap: 0.7rem; }
.footer-soc-link {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid var(--border);
    color: var(--muted);
    transition: border-color var(--ease), color var(--ease);
}
.footer-soc-link svg { width: 17px; height: 17px; }
.footer-soc-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-hdg {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.1rem;
}
.footer-ul li { margin-bottom: 0.55rem; }
.footer-ul a, .footer-contact-item a {
    color: var(--muted);
    font-size: 0.88rem;
    transition: color var(--ease);
}
.footer-ul a:hover, .footer-contact-item a:hover { color: var(--gold); }
.footer-contact-item { margin-bottom: 0.5rem; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--muted); }
.admin-link { font-size: 0.78rem; color: var(--border); transition: color var(--ease); }
.admin-link:hover { color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   SCROLL-IN ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.72s ease, transform 0.72s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-grid        { grid-template-columns: 1fr; }
    .about-img-wrap    { max-width: 460px; margin: 0 auto; }
    .about-img         { min-height: 260px; aspect-ratio: 4 / 3; }
    .contact-grid      { grid-template-columns: 1fr; }
    .contact-img-col   { display: none; }
}

@media (max-width: 860px) {
    .services-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .svc-modal-inner { padding: 2rem 1.5rem; }
    .reviews-grid  { grid-template-columns: 1fr; }
    .footer-grid   { grid-template-columns: 1fr 1fr; }
    .footer-brand  { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .nav-toggle  { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        top: 0; right: 0; bottom: 0; left: 0;
        background: rgba(6,6,6,0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.75rem;
        z-index: 1000;
    }
    .nav-links.open  { display: flex; }
    .nav-link        { font-size: 1rem; letter-spacing: 0.22em; }
    .nav-cta         { margin-left: 0; }
    .gallery-grid    { columns: 2; }
    .footer-grid     { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom   { flex-direction: column; text-align: center; }
}

@media (max-width: 500px) {
    .gallery-grid  { columns: 1; }
    .stats-row     { flex-direction: column; gap: 1.5rem; }
    .hero-btns     { flex-direction: column; }
    .hero-content  { margin-left: 0; }
}
