/* ===== Base & Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: rgba(196, 154, 46, 0.3);
    color: #fff;
}

/* ===== Nav ===== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: #C49A2E;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover {
    color: #C49A2E !important;
}

/* ===== Header scroll state ===== */
#site-header.scrolled {
    background: rgba(5, 13, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#site-header.scrolled .hamburger-line {
    background: #fff;
}

/* ===== Mobile Menu ===== */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.open .mobile-link {
    animation: mobileLinkIn 0.4s ease forwards;
    opacity: 1;
}

#mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }

@keyframes mobileLinkIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Hamburger ===== */
.hamburger-line {
    background: #fff;
}

#mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

#mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* ===== Hero ===== */
.hero-bg {
    will-change: transform;
}

.hero-img {
    will-change: transform;
}

.hero-headline {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.hero-ctas {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Section Labels ===== */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C49A2E;
    position: relative;
    padding-left: 2rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.2rem;
    height: 1px;
    background: #C49A2E;
}

/* ===== Section Titles ===== */
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

/* ===== Section Body ===== */
.section-body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
}

/* ===== Product Cards ===== */
.product-card {
    will-change: transform, opacity;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 154, 46, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(196, 154, 46, 0.1);
}

.product-card:hover .aspect-\[4\/3\] img {
    transform: scale(1.1);
}

/* ===== Scroll Reveal (below fold only) ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal-left {
        opacity: 0;
        transform: translateX(-30px);
    }

    .reveal-right {
        opacity: 0;
        transform: translateX(30px);
    }

    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }
}

/* ===== Decorative Divider ===== */
.gold-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #C49A2E, transparent);
}

/* ===== Button Focus ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #C49A2E;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .section-title {
        font-size: 1.75rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .hero-headline {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-headline {
        font-size: 4.5rem;
    }
}
