/* ── Base & Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; min-height: 100vh; }

/* ── Navbar ── */
#navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(78, 205, 196, 0.1);
}
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 20px rgba(13, 27, 42, 0.06);
}

/* ── Animations ── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}
@keyframes float-delay {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delay { animation: float-delay 7s ease-in-out infinite 1s; }
.animate-pulse-slow { animation: pulse-slow 8s ease-in-out infinite; }

/* ── Hero ── */
.hero-content {
    animation: fade-up 0.8s ease-out both;
}
.hero-image {
    animation: fade-up 0.8s ease-out 0.2s both;
}

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

/* ── Menu Cards ── */
.menu-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.menu-card:hover {
    transform: translateY(-4px);
}

/* ── Why Cards ── */
.why-card {
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}
.why-card:hover {
    transform: translateY(-4px);
}

/* ── Mobile Menu ── */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(78, 205, 196, 0.1);
}
.mobile-link:last-of-type {
    border-bottom: none;
}

/* ── Form ── */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
}

/* ── Selection ── */
::selection {
    background: rgba(78, 205, 196, 0.2);
    color: #0D1B2A;
}

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

/* ── 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; }
}
