/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--midnight);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: var(--midnight); color: #fff;
    padding: .5rem 1rem; border-radius: 0 0 .5rem .5rem;
    z-index: 200; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ─── Custom Properties ─── */
:root {
    --midnight: #0f2b4c;
    --midnight-light: #1a3f6e;
    --midnight-dark: #091e36;
    --mint: #5fb8a0;
    --mint-light: #b8e6d5;
    --mint-pale: #e0f5ec;
    --surface: #f7faf9;
    --surface-alt: #eef6f2;
    --white: #ffffff;
    --text: #1a2e3d;
    --text-light: #4a6b82;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(15,43,76,0.06);
    --shadow-md: 0 8px 30px rgba(15,43,76,0.10);
    --shadow-lg: 0 16px 50px rgba(15,43,76,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Typography ─── */
h1, h2, h3 { font-family: 'Lora', Georgia, serif; font-weight: 500; line-height: 1.2; }
.text-mint { color: var(--mint); }

/* ─── Layout ─── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 1.75rem; border-radius: 50px;
    font-weight: 600; font-size: .95rem;
    transition: var(--transition); border: 2px solid transparent;
    cursor: pointer; white-space: nowrap;
}
.btn-primary {
    background: var(--midnight); color: var(--white);
    border-color: var(--midnight);
}
.btn-primary:hover { background: var(--midnight-light); border-color: var(--midnight-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
    background: transparent; color: var(--midnight);
    border-color: var(--midnight);
}
.btn-outline:hover { background: var(--midnight); color: var(--white); transform: translateY(-2px); }
.btn-outline-dark {
    background: transparent; color: var(--midnight);
    border-color: var(--midnight);
}
.btn-outline-dark:hover { background: var(--midnight); color: var(--white); transform: translateY(-2px); }
.btn-nav {
    background: var(--mint); color: var(--midnight-dark);
    border-color: var(--mint); padding: .6rem 1.4rem; font-size: .875rem;
}
.btn-nav:hover { background: var(--mint-light); border-color: var(--mint-light); transform: translateY(-1px); }

/* ─── Section Tags ─── */
.section-tag {
    display: inline-block; font-size: .75rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--mint); margin-bottom: .75rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--midnight); margin-bottom: 1.25rem;
}
.section-title--center { text-align: center; }
.section-subtitle {
    text-align: center; color: var(--text-light);
    font-size: 1.1rem; max-width: 520px; margin: 0 auto 3rem;
}

/* ─── Header ─── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(247,250,249,0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15,43,76,0.06);
    transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 1rem; padding-bottom: 1rem;
}
.logo { display: flex; align-items: center; gap: .65rem; }
.logo-mark { flex-shrink: 0; }
.logo-text {
    font-family: 'Lora', serif; font-weight: 600;
    font-size: 1.2rem; color: var(--midnight);
}
.logo-text--light { color: var(--white); }

/* ─── Nav ─── */
.nav-toggle {
    display: none; background: none; border: none;
    cursor: pointer; padding: .5rem; color: var(--midnight);
}
.icon-menu, .icon-close { transition: var(--transition); }
.icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-menu {
    display: flex; align-items: center; gap: 2rem;
}
.nav-menu a {
    font-size: .9rem; font-weight: 500; color: var(--text-light);
    transition: var(--transition); position: relative;
}
.nav-menu a:not(.btn):hover { color: var(--midnight); }
.nav-menu a:not(.btn)::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--mint);
    transition: var(--transition);
}
.nav-menu a:not(.btn):hover::after { width: 100%; }

/* ─── Hero ─── */
.hero {
    padding-top: 80px; min-height: 100vh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, var(--surface) 0%, var(--mint-pale) 50%, var(--surface) 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(95,184,160,0.15) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; bottom: -10%; left: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(15,43,76,0.05) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center; position: relative; z-index: 1;
    padding: 3rem 0;
}
.hero-content { max-width: 540px; }
.hero-tag {
    display: inline-block; font-size: .8rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--midnight-light); background: rgba(95,184,160,0.15);
    padding: .4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem;
}
.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1; margin-bottom: 1.5rem;
    color: var(--midnight);
}
.hero-headline em { font-style: italic; color: var(--midnight-light); }
.hero-sub {
    font-size: 1.1rem; color: var(--text-light);
    margin-bottom: 2rem; max-width: 460px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-info { display: flex; flex-direction: column; gap: .6rem; }
.hero-info-item {
    display: flex; align-items: center; gap: .6rem;
    font-size: .9rem; color: var(--text-light);
}
.hero-info-item a { color: var(--mint); font-weight: 500; transition: var(--transition); }
.hero-info-item a:hover { color: var(--midnight); }
.icon { flex-shrink: 0; color: var(--mint); }

/* Hero Image Stack */
.hero-visual { position: relative; }
.hero-img-stack { position: relative; }
.hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-img--main { width: 100%; }
.hero-img--main img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 680/860; }
.hero-img--accent {
    position: absolute; bottom: -2rem; left: -3rem;
    width: 55%; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 4px solid var(--white);
}
.hero-img--accent img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
    position: absolute; top: 2rem; right: -1.5rem;
    background: var(--white); color: var(--midnight);
    padding: .75rem 1.25rem; border-radius: var(--radius);
    box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .5rem;
    font-weight: 600; font-size: .85rem;
}
.hero-badge .icon { color: #f5c518; }

/* Hero Wave */
.hero-wave { position: absolute; bottom: 0; left: 0; width: 100%; }
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ─── About ─── */
.about {
    padding: 7rem 0;
    background: var(--surface);
}
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.about-visual { position: relative; }
.about-img-main {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 6/5; }
.about-img-small {
    position: absolute; bottom: -2rem; right: 0;
    width: 50%; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 4px solid var(--white);
}
.about-img-small img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 340/260; }
.about-content { max-width: 480px; }
.about-content .section-title { margin-bottom: 1.5rem; }
.about-content p { color: var(--text-light); margin-bottom: 1.25rem; }
.about-stats {
    display: flex; gap: 1.5rem; margin-top: 2.5rem;
    padding-top: 2rem; border-top: 1px solid rgba(15,43,76,0.08);
}
.stat { flex: 1; }
.stat-number {
    display: block; font-family: 'Lora', serif;
    font-size: 2.25rem; font-weight: 600;
    color: var(--midnight); line-height: 1;
}
.stat-label { font-size: .8rem; color: var(--text-light); margin-top: .35rem; }
.stat-divider {
    width: 1px; background: rgba(15,43,76,0.1); align-self: stretch; margin: .5rem 0;
}

/* ─── Menu ─── */
.menu {
    padding: 7rem 0;
    background: var(--surface-alt);
}
.menu-tabs {
    display: flex; justify-content: center; gap: .5rem;
    margin-bottom: 3rem; flex-wrap: wrap;
}
.menu-tab {
    background: var(--white); border: 2px solid transparent;
    color: var(--text-light); font-weight: 600; font-size: .9rem;
    padding: .65rem 1.5rem; border-radius: 50px; cursor: pointer;
    transition: var(--transition); font-family: 'Inter', sans-serif;
}
.menu-tab:hover { color: var(--midnight); border-color: var(--mint-light); }
.menu-tab.active {
    background: var(--midnight); color: var(--white);
    border-color: var(--midnight);
}
.menu-panel { display: none; }
.menu-panel.active { display: block; }
.menu-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.menu-card {
    background: var(--white); border-radius: var(--radius);
    padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    border: 1px solid rgba(15,43,76,0.04);
}
.menu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.menu-card-icon {
    flex-shrink: 0; width: 52px; height: 52px;
    background: var(--mint-pale); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.menu-card-body h3 {
    font-family: 'Inter', sans-serif; font-size: 1rem;
    font-weight: 700; color: var(--midnight); margin-bottom: .35rem;
}
.menu-card-body p { font-size: .875rem; color: var(--text-light); line-height: 1.6; }
.menu-note {
    text-align: center; color: var(--text-light);
    font-size: .875rem; margin-top: 2.5rem; font-style: italic;
}

/* ─── Gallery ─── */
.gallery {
    padding: 7rem 0;
    background: var(--surface);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}
.gallery-item {
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item--wide { grid-column: span 6; }
.gallery-item:not(.gallery-item--wide) { grid-column: span 6; }
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item:nth-child(2) img { aspect-ratio: 400/400; }
.gallery-item:nth-child(3) img { aspect-ratio: 400/400; }
.gallery-item:nth-child(4) img { aspect-ratio: 400/500; }
.gallery-item:nth-child(5) img { aspect-ratio: 400/500; }
.gallery-item:nth-child(6) img { aspect-ratio: 800/450; }
.gallery-item:nth-child(1) img { aspect-ratio: 800/450; }

/* ─── Visit ─── */
.visit {
    padding: 7rem 0;
    background: var(--midnight);
    color: var(--white);
}
.visit-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: start;
}
.visit .section-tag { color: var(--mint-light); }
.visit .section-title { color: var(--white); }
.visit-info > p { color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; font-size: 1.05rem; }
.visit-details { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
.visit-detail { display: flex; gap: 1rem; align-items: flex-start; }
.visit-detail .icon { color: var(--mint); margin-top: .2rem; }
.visit-detail strong {
    display: block; font-size: .75rem; text-transform: uppercase;
    letter-spacing: .08em; color: var(--mint-light); margin-bottom: .25rem;
}
.visit-detail span, .visit-detail a {
    color: rgba(255,255,255,0.85); font-size: .95rem; line-height: 1.6;
}
.visit-detail a:hover { color: var(--mint-light); }
.visit-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-outline-light {
    background: transparent; color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn-outline-light:hover { background: var(--white); color: var(--midnight); border-color: var(--white); transform: translateY(-2px); }
.visit-map {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); min-height: 420px;
}
.map-placeholder { width: 100%; height: 100%; min-height: 420px; }

/* ─── Footer ─── */
.site-footer { background: var(--midnight-dark); color: rgba(255,255,255,0.7); }
.footer-inner {
    display: grid; grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem; padding: 4rem 1.5rem;
}
.footer-brand p { margin-top: 1rem; font-size: .9rem; line-height: 1.7; }
.footer-links strong, .footer-contact strong {
    display: block; font-size: .75rem; text-transform: uppercase;
    letter-spacing: .1em; color: var(--mint); margin-bottom: 1rem;
}
.footer-links ul, .footer-contact ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a, .footer-contact a {
    font-size: .9rem; transition: var(--transition);
    display: flex; align-items: center; gap: .5rem;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--mint-light); }
.footer-links .icon, .footer-contact .icon { color: var(--mint); flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem;
}
.footer-bottom-inner {
    display: flex; justify-content: space-between; align-items: center;
    font-size: .8rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: .5rem;
}

/* ─── Mobile Nav ─── */
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 0; right: 0;
        width: 280px; height: 100vh;
        background: var(--white);
        flex-direction: column; align-items: stretch;
        padding: 5rem 2rem 2rem; gap: 0;
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu a {
        padding: .875rem 0; font-size: 1rem;
        border-bottom: 1px solid rgba(15,43,76,0.06);
    }
    .nav-menu a:not(.btn)::after { display: none; }
    .nav-menu .btn-nav {
        margin-top: 1rem; text-align: center; justify-content: center;
        border-radius: 50px;
    }
    .nav-overlay {
        position: fixed; inset: 0; background: rgba(15,43,76,0.4);
        z-index: 90; opacity: 0; pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .nav-overlay.active { opacity: 1; pointer-events: all; }
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-content { order: 2; }
    .hero-visual { order: 1; max-width: 400px; margin: 0 auto; }
    .hero-img--accent { left: -1rem; bottom: -1.5rem; width: 50%; }
    .hero-badge { right: -0.5rem; top: 1rem; }
    .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-visual { max-width: 480px; }
    .visit-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .visit-map { min-height: 300px; }
    .map-placeholder { min-height: 300px; }
    .gallery-item--wide, .gallery-item:not(.gallery-item--wide) { grid-column: span 12; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .about-stats { flex-direction: column; gap: 1.25rem; }
    .stat-divider { width: 100%; height: 1px; margin: 0; }
    .menu-tabs { gap: .4rem; }
    .menu-tab { padding: .5rem 1rem; font-size: .8rem; }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .gallery-item img { transition: none; }
}
