/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9ed;
}
::-webkit-scrollbar-thumb {
    background: #9bb89b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #729672;
}

/* Geometric background shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    top: -200px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    top: -150px;
    right: -100px;
    animation: float 12s ease-in-out infinite;
}

.shape-circle-4 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    bottom: -80px;
    left: -80px;
    animation: float 9s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 200px;
    height: 200px;
    top: 30%;
    right: 5%;
    border-radius: 2rem;
    animation: spin-slow 20s linear infinite;
}

.shape-square-2 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 5%;
    border-radius: 1.5rem;
    animation: spin-slow 25s linear infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid;
    top: 20%;
    left: 10%;
    animation: float 7s ease-in-out infinite;
}

.shape-dots {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #9bb89b 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    top: 0;
    left: 0;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

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

@keyframes scroll-indicator {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.animate-scroll-indicator {
    animation: scroll-indicator 1.5s ease-in-out infinite;
}

/* Navigation */
.nav-scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(31, 45, 31, 0.08);
}

header {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Mobile menu */
.mobile-link {
    transition: color 0.2s ease, transform 0.2s ease;
}
.mobile-link:hover {
    color: #FF6B35;
    transform: scale(1.05);
}

/* Menu cards */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
    transform: translateY(-4px);
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .animate-marquee,
    .animate-scroll-indicator {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
    .menu-card:hover {
        transform: none;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }
    .shape-circle-2 {
        width: 200px;
        height: 200px;
    }
    .shape-square-1,
    .shape-square-2 {
        display: none;
    }
}
