/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }

/* ── Section Label ── */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #d95a28;
}

/* ── Nav Links (for light and dark contexts) ── */
.nav-link { color: #faf6f0; }

/* ── Hero Animations ── */
.hero-subtitle {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}
.hero-title {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}
.hero-desc {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}
.hero-cta {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up, .reveal-left, .reveal-right {
        opacity: 0;
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-up { transform: translateY(32px); }
    .reveal-left { transform: translateX(-32px); }
    .reveal-right { transform: translateX(32px); }
    .reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* When JS is disabled, all content is visible by default */
.no-js .reveal-up,
.no-js .reveal-left,
.no-js .reveal-right {
    opacity: 1;
    transform: none;
}

/* ── Scroll Indicator ── */
.scroll-indicator {
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ── Mobile Menu ── */
.mobile-link {
    animation: fadeUp 0.4s ease forwards;
}
.mobile-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-link:nth-child(2) { animation-delay: 0.1s; }
mobile-link:nth-child(3) { animation-delay: 0.15s; }
.mobile-link:nth-child(4) { animation-delay: 0.2s; }

/* ── Navbar Scroll State ── */
.navbar-scrolled .nav-link {
    color: #3a2218;
}
.navbar-scrolled .mobile-menu-bg {
    background: #3a2218;
}

/* ── Menu Items Hover ── */
#menu li:hover {
    border-color: rgba(253, 240, 232, 0.25);
}

/* ── Button Focus ── */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #f9dcc8;
    outline-offset: 2px;
}

/* ── Smooth Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf6f0; }
::-webkit-scrollbar-thumb { background: #d95a28; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c4451e; }
