/* ── Base & Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
button { cursor: pointer; border: none; background: none; }

/* ── Hero ─────────────────────────────────────────── */
.hero-bg {
    position: relative;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(7, 21, 38, 0.55) 0%,
        rgba(13, 33, 55, 0.65) 50%,
        rgba(7, 21, 38, 0.85) 100%
    );
}
.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(7, 21, 38, 0.55) 0%,
        rgba(13, 33, 55, 0.65) 50%,
        rgba(7, 21, 38, 0.85) 100%
    );
}
.hero-content {
    padding-top: 80px;
}
.hero-title {
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

/* ── Hero Animations ──────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.hero-subtitle { animation: fadeInUp 0.8s ease forwards; animation-delay: 0.2s; opacity: 0; }
.hero-title   { animation: fadeInUp 0.8s ease forwards; animation-delay: 0.4s; opacity: 0; }
.hero-description { animation: fadeInUp 0.8s ease forwards; animation-delay: 0.6s; opacity: 0; }
.hero-cta     { animation: fadeInUp 0.8s ease forwards; animation-delay: 0.8s; opacity: 0; }

/* ── Scroll Reveal ────────────────────────────────── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Navbar ───────────────────────────────────────── */
#navbar {
    transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
    background: rgba(7, 21, 38, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0,0,0,0.2);
}
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4A84B;
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-link:hover::after {
    width: 100%;
}

/* ── Product Cards ────────────────────────────────── */
.product-card {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(10, 31, 63, 0.12);
}

/* ── Service Cards ────────────────────────────────── */
.service-card {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s ease;
}

/* ── Mobile Menu ──────────────────────────────────── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-link {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── Focus Styles ─────────────────────────────────── */
input:focus, textarea:focus {
    box-shadow: 0 0 0 4px rgba(212, 168, 75, 0.15);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
        line-height: 1.1;
    }
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 1025px) {
    .hero-title {
        font-size: 5.5rem;
    }
}
