/* ── Base & Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

img { max-width: 100%; height: auto; display: block; }

/* ── Geometric Decorations ── */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
}
.geo-circle-1 {
    width: 400px; height: 400px;
    background: #f5a623;
    top: -100px; right: -100px;
    animation-delay: 0s;
}
.geo-circle-2 {
    width: 200px; height: 200px;
    background: #db2777;
    bottom: 10%; left: 5%;
    animation-delay: -3s;
}
.geo-circle-3 {
    width: 120px; height: 120px;
    background: #f5a623;
    top: 40%; right: 15%;
    animation-delay: -5s;
}
.geo-circle-4 {
    width: 500px; height: 500px;
    background: #f5a623;
    bottom: -200px; left: -200px;
    animation-delay: -2s;
}
.geo-tri {
    position: absolute;
    width: 0; height: 0;
    opacity: 0.06;
    animation: spin 20s linear infinite;
}
.geo-tri-1 {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #f5a623;
    top: 20%; left: 3%;
}
.geo-tri-2 {
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 138px solid #db2777;
    bottom: 15%; right: 5%;
    animation-direction: reverse;
}
.geo-diamond {
    position: absolute;
    width: 80px; height: 80px;
    background: #f5a623;
    opacity: 0.06;
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}
.geo-diamond-1 {
    top: 60%; right: 10%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Navbar ── */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(107, 16, 56, 0.08);
}
#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(107, 16, 56, 0.1);
}
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f5a623;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

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

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal:not(.revealed) {
    opacity: 1;
    transform: translateY(30px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf2f8; }
::-webkit-scrollbar-thumb { background: #9d174d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #6b1038; }

/* ── Selection ── */
::selection {
    background: #f5a623;
    color: #4a0a26;
}
