/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: #070f18; color: #fff; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Geometric Shapes ─── */
.geo-shape-1 {
    position: absolute;
    top: 12%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.geo-shape-2 {
    position: absolute;
    bottom: 10%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.geo-shape-3 {
    position: absolute;
    top: 40%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: rgba(212, 160, 23, 0.04);
    transform: rotate(45deg);
    pointer-events: none;
}
.geo-shape-4 {
    position: absolute;
    top: 25%;
    left: 5%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(212, 160, 23, 0.1);
    transform: rotate(30deg);
    pointer-events: none;
}
.geo-shape-5 {
    position: absolute;
    bottom: 25%;
    right: 30%;
    width: 60px;
    height: 60px;
    background: rgba(212, 160, 23, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

/* ─── Navbar ─── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
    background: rgba(7, 15, 24, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a017;
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #f0c040 !important; }

/* ─── Mobile Menu ─── */
#mobileMenu.open { opacity: 1 !important; pointer-events: all !important; }
#mobileMenu.closed { opacity: 0 !important; pointer-events: none !important; }
#mobileMenu a { transform: translateY(20px); opacity: 0; transition: all 0.4s ease; }
#mobileMenu.open a { transform: translateY(0); opacity: 1; }
#mobileMenu.open a:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open a:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open a:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open a:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open a:nth-child(5) { transition-delay: 0.3s; }

.menu-line { transition: all 0.3s ease; }
#menuBtn.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
#menuBtn.active .menu-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
#menuBtn.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); width: 24px; }

/* ─── Product Cards ─── */
.product-card { cursor: default; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }

/* ─── Scroll Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Stagger children ─── */
.stagger-children > * { opacity: 0; transform: translateY(20px); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }

/* ─── Custom Selection ─── */
::selection { background: rgba(212, 160, 23, 0.3); color: #fff; }

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

/* ─── Input Autofill ─── */
input:-webkit-autofill, textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px rgba(255,255,255,0.05) inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* ─── Smooth scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #070f18; }
::-webkit-scrollbar-thumb { background: rgba(212, 160, 23, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212, 160, 23, 0.5); }

/* ─── Map filter override ─── */
iframe[title] { border-radius: 1rem; }
