/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Scroll Reveal (progressive enhancement) ─────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal-section {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal-section.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Hero Animation ──────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero Gradient ───────────────────────────────────── */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #1A1D23 0%,
        #2C3038 30%,
        #3D4250 50%,
        #4E5460 70%,
        #2C3038 100%
    );
}
.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(26, 29, 35, 0.55) 0%,
        rgba(26, 29, 35, 0.35) 50%,
        rgba(26, 29, 35, 0.65) 100%
    );
}
.hero-image {
    filter: saturate(0.7) contrast(1.05);
}

/* ── Section Label ───────────────────────────────────── */
.section-label {
    font-family: 'Lato', system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #E86B4A;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary {
    box-shadow: 0 4px 20px rgba(232, 107, 74, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 6px 28px rgba(232, 107, 74, 0.45);
    transform: translateY(-1px);
}
.btn-secondary:hover {
    transform: translateY(-1px);
}

/* ── Navbar Transition ───────────────────────────────── */
#navbar.scrolled {
    background: rgba(26, 29, 35, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

/* ── Nav Links Active ────────────────────────────────── */
.nav-link.active {
    color: #FFC4B5 !important;
}

/* ── Mobile Menu ─────────────────────────────────────── */
#mobileMenu.open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* ── Form Focus States ───────────────────────────────── */
input:focus, textarea:focus {
    outline: none;
}

/* ── Smooth Scroll Offset for Anchors ────────────────── */
section[id] {
    scroll-margin-top: 80px;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    .hero-title br {
        display: none;
    }
    section {
        scroll-margin-top: 60px;
    }
}
