/* ===== Base & Utilities ===== */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Hero Decorative Circles ===== */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: white;
}

.deco-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.deco-circle-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -80px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.deco-circle-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 10%;
    animation: float-slow 12s ease-in-out infinite;
}

.deco-circle-4 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    right: 25%;
    opacity: 0.12;
    animation: float-slow 10s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15px, -20px) scale(1.02); }
    66% { transform: translate(-10px, 15px) scale(0.98); }
}

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

#navbar.scrolled {
    background: rgba(4, 46, 34, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* ===== Menu Cards ===== */
.menu-card {
    transform: translateY(0);
}

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

/* ===== Mobile Menu ===== */
.mobile-link {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Selection ===== */
::selection {
    background: #10b981;
    color: #042e22;
}

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

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

::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #047857;
}
