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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    background-color: #fefdf8;
    color: #052e16;
}

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

.shape-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #86efac;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

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

.shape-square-1 {
    width: 180px;
    height: 180px;
    background: #4ade80;
    top: 20%;
    left: 8%;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.shape-square-2 {
    width: 120px;
    height: 120px;
    background: #22c55e;
    bottom: 20%;
    right: 10%;
    transform: rotate(20deg);
    animation: spin-slow 15s linear infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #86efac;
    top: 30%;
    right: 5%;
    animation: float 6s ease-in-out infinite;
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #bbf7d0 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    bottom: 15%;
    left: 15%;
    opacity: 0.3;
}

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

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

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

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

/* Marquee */
.marquee-track {
    animation: marquee 30s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    padding: 0 1rem;
}

/* Menu Cards */
.menu-card {
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
}

/* Navbar */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(20, 83, 45, 0.08);
}

/* Mobile Menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #16a34a;
    transition: width 0.3s ease;
}

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

/* Scroll Reveal */
.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.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.stagger.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.stagger.revealed > *:nth-child(6) { transition-delay: 0.3s; }

.stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Selection */
::selection {
    background: #86efac;
    color: #052e16;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fefdf8;
}

::-webkit-scrollbar-thumb {
    background: #86efac;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #22c55e;
}
