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

body {
    overflow-x: hidden;
}

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #064E3B 0%, #047857 25%, #059669 50%, #34D399 75%, #A7F3D0 100%);
}

/* ── Hero Subtle Pattern ── */
.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.08) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
}

/* ── Visit Section Pattern ── */
.visit-pattern {
    background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* ── Hero Blobs Animation ── */
@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
}

@keyframes float-medium {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 30px) scale(1.03); }
}

.hero-blob-1 {
    animation: float-slow 8s ease-in-out infinite;
}

.hero-blob-2 {
    animation: float-medium 10s ease-in-out infinite;
}

/* ── Navbar Scroll State ── */
nav.scrolled {
    background: rgba(253, 249, 243, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(4, 78, 59, 0.08);
}

nav.scrolled #navbar a span,
nav.scrolled #navbar ul li a {
    color: rgb(6, 78, 59);
}

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

.reveal.visible:nth-child(2) { transition-delay: 100ms; }
.reveal.visible:nth-child(3) { transition-delay: 200ms; }
.reveal.visible:nth-child(4) { transition-delay: 300ms; }

/* ── Mobile Menu Transition ── */
#mobile-menu {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ── Focus Visible ── */
:focus-visible {
    outline: 2px solid #10B981;
    outline-offset: 2px;
}

/* ── Selection ── */
::selection {
    background: rgba(16, 185, 129, 0.2);
    color: #064E3B;
}
