/* ========== BASE & RESET ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== GEOMETRIC SHAPES ========== */
.geo-circle {
    border-radius: 50%;
    background: currentColor;
}

.geo-circle--sm {
    width: 120px;
    height: 120px;
}

.geo-circle--md {
    width: 240px;
    height: 240px;
}

.geo-circle--lg {
    width: 400px;
    height: 400px;
}

.geo-circle--xl {
    width: 600px;
    height: 600px;
}

.geo-square {
    background: currentColor;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 104px 60px;
    border-color: transparent transparent currentColor transparent;
}

/* ========== MARQUEE ANIMATION ========== */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

/* ========== MOBILE MENU ========== */
.menu-line {
    display: block;
    transition: all 0.3s ease;
}

#menuToggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuToggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuToggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

#mobileMenu.open {
    transform: translateX(0);
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ========== NAVBAR SCROLL STATE ========== */
#navbar.scrolled {
    background: rgba(255, 254, 249, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

/* ========== CUSTOM SELECTION ========== */
::selection {
    background: #059669;
    color: #fffef9;
}

/* ========== FORM FOCUS STYLES ========== */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ========== RESPONSIVE OVERRIDES ========== */
@media (max-width: 768px) {
    .geo-circle--xl {
        width: 300px;
        height: 300px;
    }
    .geo-circle--lg {
        width: 200px;
        height: 200px;
    }
}
