/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { min-height: 100vh; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #1C1C1E 0%, #2D1F1A 35%, #4A2018 60%, #FF6B4A 100%);
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal, .reveal-tag, .reveal-title, .reveal-subtitle, .reveal-body, .reveal-item, .reveal-card, .reveal-form {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal-tag { transition-delay: 0.05s; }
    .reveal-title { transition-delay: 0.12s; }
    .reveal-subtitle { transition-delay: 0.18s; }
    .reveal-body { transition-delay: 0.24s; }
    .reveal-item { transition-delay: 0.08s; }
    .reveal-card { transition-delay: 0.15s; }
    .reveal-form { transition-delay: 0.2s; }
    .revealed { opacity: 1; transform: translateY(0); }
}

/* ── Hero Animations ── */
@media (prefers-reduced-motion: no-preference) {
    [data-animate] {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .hero-tag { transition-delay: 0.2s; }
    .hero-title { transition-delay: 0.35s; }
    .hero-subtitle { transition-delay: 0.5s; }
    .hero-ctas { transition-delay: 0.65s; }
    .hero-visible [data-animate] { opacity: 1; transform: translateY(0); }
}

/* ── Navbar ── */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FF6B4A;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.navbar-scrolled .nav-link { color: #1C1C1E; }
.navbar-scrolled .nav-link:hover { color: #FF6B4A; }
.navbar-scrolled .nav-hidden { opacity: 1 !important; transition: opacity 0.4s ease 0.1s; }

/* ── Mobile Menu ── */
.mobile-link { position: relative; }
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #FF6B4A;
    transition: width 0.3s ease;
}
.mobile-link:hover::after { width: 100%; }

/* ── Product Cards ── */
.product-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(28, 28, 30, 0.08);
}

/* ── Contact Form ── */
.contact-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.contact-btn:hover::before { opacity: 1; }
.contact-btn:active { transform: scale(0.97); }

/* ── Smooth Section Transitions ── */
section { position: relative; }

/* ── Selection Color ── */
::selection { background: rgba(255, 107, 74, 0.2); color: #1C1C1E; }

/* ── Focus Visible ── */
:focus-visible { outline: 2px solid #FF6B4A; outline-offset: 2px; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F7F7F8; }
::-webkit-scrollbar-thumb { background: #D5D5DA; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #AEAEB8; }
