/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

/* Navigation */
.nav-logo-text {
    color: #0a1f0f;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #235a32;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.mobile-menu-open #menuIcon {
    opacity: 0;
    scale: 0.75;
}

.mobile-menu-open #closeIcon {
    opacity: 1;
    scale: 1;
}

.mobile-link {
    transition: all 0.3s ease;
}

/* Hero Geometric Shapes */
.hero-geo {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.hero-geo-1 {
    top: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: #fde68a;
    border-radius: 24px;
    transform: rotate(25deg);
    animation: float1 8s ease-in-out infinite;
}

.hero-geo-2 {
    top: 25%;
    right: 8%;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    animation: float2 6s ease-in-out infinite;
}

.hero-geo-3 {
    bottom: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    border: 3px solid #fde68a;
    border-radius: 12px;
    transform: rotate(45deg);
    animation: float3 7s ease-in-out infinite;
}

.hero-geo-4 {
    bottom: 30%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: #86efac;
    border-radius: 50%;
    animation: float1 9s ease-in-out infinite reverse;
}

.hero-geo-5 {
    top: 50%;
    left: 3%;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    transform: rotate(15deg);
    animation: float2 5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(25deg); }
    50% { transform: translateY(-20px) rotate(30deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes float3 {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(50deg) translateY(-25px); }
}

/* Background Geometric Shapes */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.shape-circle-1 {
    top: 15%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: #c6dfca;
    border-radius: 50%;
}

.shape-square-1 {
    top: 40%;
    left: -3%;
    width: 150px;
    height: 150px;
    background: #e3efe7;
    border-radius: 24px;
    transform: rotate(15deg);
}

.shape-circle-2 {
    bottom: 20%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: #e3efe7;
    border-radius: 50%;
}

.shape-triangle-1 {
    bottom: 40%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #c6dfca;
    opacity: 0.3;
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar scroll state */
.nav-scrolled .nav-logo-text {
    color: #0a1f0f;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-geo {
        animation: none;
    }
    
    .animate-marquee {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #235a32;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection */
::selection {
    background: #235a32;
    color: white;
}
