/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
select, input, textarea { font-family: inherit; font-size: inherit; }

/* ─── Custom Properties ─── */
:root {
    --nav-height: 72px;
    --nav-bg: rgba(255,255,255,0.85);
    --nav-scrolled: rgba(255,255,255,0.97);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 3px rgba(10,37,64,0.06), 0 4px 16px rgba(10,37,64,0.04);
    --shadow-md: 0 4px 24px rgba(10,37,64,0.08);
    --shadow-lg: 0 12px 48px rgba(10,37,64,0.12);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Section Layout ─── */
.section-padding { padding: 80px 0; }
@media (min-width: 768px) { .section-padding { padding: 100px 0; } }

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2ea868;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #e0f2e8, #b8e6cc);
    padding: 6px 16px;
    border-radius: 100px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #0A2540;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* ─── Buttons ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0A2540;
    color: #fff;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(10,37,64,0.25);
    text-decoration: none;
}
.btn-primary:hover {
    background: #1a4552;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10,37,64,0.3);
}
.btn-primary svg { transition: transform var(--transition); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    color: #0A2540;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid rgba(10,37,64,0.15);
    transition: all var(--transition);
    text-decoration: none;
}
.btn-secondary:hover {
    background: #fff;
    border-color: #2ea868;
    color: #0A2540;
    transform: translateY(-2px);
}

/* ─── Navbar ─── */
#navbar {
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#navbar.scrolled {
    background: var(--nav-scrolled);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}
#navbar.scrolled .font-display { color: #0A2540; }
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2ea868;
    border-radius: 2px;
    transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Mobile menu */
#mobile-menu { animation: slideDown 0.3s ease; }
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.mobile-nav-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #f0f4f8;
}
.mobile-nav-link:last-child { border-bottom: none; }

/* ─── Hero ─── */
.hero {
    background: linear-gradient(135deg, #f4faf7 0%, #e8f5e9 40%, #f0f4f8 100%);
    position: relative;
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}
.hero-blob-1 {
    width: 500px; height: 500px;
    background: #b8e6cc;
    top: -100px; right: -100px;
    animation: blobFloat 8s ease-in-out infinite;
}
.hero-blob-2 {
    width: 350px; height: 350px;
    background: #d4dfe8;
    bottom: -50px; left: 10%;
    animation: blobFloat 10s ease-in-out infinite reverse;
}
.hero-blob-3 {
    width: 200px; height: 200px;
    background: #e0f2e8;
    top: 40%; left: 45%;
    animation: blobFloat 6s ease-in-out infinite;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

.hero-content { animation: heroFadeUp 0.8s ease both; }
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-image-container { animation: heroFadeUp 0.8s 0.15s ease both; }
.hero-image-float { animation: float 4s ease-in-out infinite; }
.hero-float-1 { animation-delay: 0s; }
.hero-float-2 { animation-delay: 2s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #0A2540;
    opacity: 0.5;
    animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator-text { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; }
.scroll-indicator-arrow { width: 20px; height: 20px; }
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(6px); opacity: 0.8; }
}

/* ─── About ─── */
.about-images { position: relative; }
.about-img-main { box-shadow: var(--shadow-lg); }
.about-img-secondary { box-shadow: var(--shadow-md); border: 4px solid #fff; }

/* ─── Menu ─── */
.menu-tabs { box-shadow: var(--shadow-sm); }
.menu-tab {
    color: #507c88;
    background: transparent;
}
.menu-tab:hover { color: #0A2540; }
.menu-tab.active {
    background: #0A2540;
    color: #fff;
    box-shadow: 0 2px 8px rgba(10,37,64,0.2);
}
.menu-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid transparent;
}
.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #b8e6cc;
}

/* ─── Gallery ─── */
.gallery-item { cursor: default; }
.gallery-img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }

/* ─── Visit Section ─── */
.visit-blob-1 {
    position: absolute;
    width: 400px; height: 400px;
    background: rgba(46,168,104,0.08);
    border-radius: 50%;
    filter: blur(60px);
    top: -100px; left: -100px;
    pointer-events: none;
}
.visit-blob-2 {
    position: absolute;
    width: 300px; height: 300px;
    background: rgba(168,190,200,0.15);
    border-radius: 50%;
    filter: blur(60px);
    bottom: -50px; right: -50px;
    pointer-events: none;
}
.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 500; color: rgba(255,255,255,0.8); }
.hours-time { font-weight: 600; color: #a8e6cc; }

/* ─── Contact Form ─── */
.input-field {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e0e8ef;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    color: #0A2540;
    transition: all var(--transition);
    outline: none;
}
.input-field:focus {
    border-color: #2ea868;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46,168,104,0.1);
}
.input-field::placeholder { color: #a8bec8; }
.input-field option[value=""] { color: #a8bec8; }

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

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

/* ─── Focus visible ─── */
:focus-visible {
    outline: 2px solid #2ea868;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ─── Selection ─── */
::selection { background: #b8e6cc; color: #0A2540; }
