/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --midnight-950: #060F1F;
    --midnight-900: #0B1D3A;
    --midnight-800: #0F2A4E;
    --midnight-700: #163A66;
    --midnight-600: #1E4D7F;
    --mint-400: #5EEAD4;
    --mint-300: #99F6E4;
    --mint-200: #CFFAFE;
    --mint-100: #E0F2FE;
    --cream-50: #FDF8F0;
    --cream-100: #F9F0E3;
    --warm-200: #E8D5C4;
    --warm-300: #D4B896;
    --text-dark: #0B1D3A;
    --text-mid: #374151;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(11,29,58,0.06);
    --shadow-md: 0 4px 20px rgba(11,29,58,0.08);
    --shadow-lg: 0 8px 40px rgba(11,29,58,0.12);
    --shadow-xl: 0 16px 60px rgba(11,29,58,0.16);
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--cream-50);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--midnight-900); color: var(--mint-300);
    padding: 8px 16px; border-radius: var(--radius-sm); z-index: 9999;
    font-size: 0.875rem; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────────────── */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(253,248,240,0.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(11,29,58,0.06);
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-size: 1.25rem;
    color: var(--midnight-900); font-weight: 400;
}
.logo-icon { color: var(--midnight-900); }

.logo-light { color: var(--white); }
.logo-light .logo-icon { color: var(--mint-300); }

.nav-menu {
    display: flex; align-items: center; gap: 8px;
}
.nav-menu a {
    padding: 8px 16px; border-radius: 100px;
    font-size: 0.9rem; font-weight: 500; color: var(--text-mid);
    transition: all var(--transition);
}
.nav-menu a:hover { color: var(--midnight-900); background: rgba(11,29,58,0.05); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    padding: 8px; border-radius: var(--radius-sm);
}
.nav-toggle:hover { background: rgba(11,29,58,0.05); }
.nav-toggle-bar {
    display: block; width: 22px; height: 2px;
    background: var(--midnight-900); border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Buttons ────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; border-radius: 100px;
    transition: all var(--transition); white-space: nowrap;
}
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.btn-mint {
    background: var(--mint-400); color: var(--midnight-900);
    box-shadow: 0 4px 14px rgba(94,234,212,0.35);
}
.btn-mint:hover {
    background: var(--mint-300); transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94,234,212,0.45);
}

.btn-outline-light {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1); border-color: var(--white);
    transform: translateY(-2px);
}

/* ── Hero ───────────────────────────────────────── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    background: var(--midnight-900);
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(94,234,212,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(30,77,127,0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center; position: relative; z-index: 1;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(94,234,212,0.12); color: var(--mint-300);
    padding: 8px 16px; border-radius: 100px;
    font-size: 0.85rem; font-weight: 500; margin-bottom: 24px;
    border: 1px solid rgba(94,234,212,0.2);
}
.hero-badge svg { opacity: 0.7; }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.15; color: var(--white);
    margin-bottom: 24px;
}
.hero-accent { color: var(--mint-400); font-style: italic; }

.hero-subtitle {
    font-size: 1.1rem; line-height: 1.7;
    color: rgba(255,255,255,0.7); max-width: 480px;
    margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-trust {
    display: flex; gap: 32px; flex-wrap: wrap;
}
.hero-trust-item {
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.6); font-size: 0.9rem;
}
.hero-trust-item svg { color: var(--mint-400); opacity: 0.8; }

/* Hero Images */
.hero-image-wrapper {
    position: relative; height: 620px;
}
.hero-image-main {
    width: 100%; height: 100%; border-radius: var(--radius-xl);
    overflow: hidden; box-shadow: var(--shadow-xl);
}
.hero-image-main img { width: 100%; height: 100%; object-fit: cover; }

.hero-image-float {
    position: absolute; bottom: -20px; left: -40px;
    width: 200px; height: 200px; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-xl);
    border: 4px solid var(--midnight-900);
}
.hero-image-float img { width: 100%; height: 100%; object-fit: cover; }

.hero-stat {
    position: absolute; top: 30px; right: -20px;
    background: var(--white); border-radius: var(--radius-md);
    padding: 16px 24px; box-shadow: var(--shadow-lg);
    text-align: center;
}
.hero-stat-num {
    display: block; font-family: var(--font-display);
    font-size: 1.8rem; color: var(--midnight-900); line-height: 1;
}
.hero-stat-label {
    display: block; font-size: 0.75rem; color: var(--text-light);
    font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
    margin-top: 4px;
}

.hero-wave {
    position: absolute; bottom: -2px; left: 0; right: 0;
    color: var(--cream-50); pointer-events: none;
}
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* ── Section Shared ─────────────────────────────── */
.section-header {
    text-align: center; max-width: 640px; margin: 0 auto 60px;
}
.section-tag {
    display: inline-block;
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--mint-400);
    background: rgba(94,234,212,0.1); border: 1px solid rgba(94,234,212,0.2);
    padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
}
.section-tag-light {
    color: var(--mint-300);
    background: rgba(94,234,212,0.15);
    border-color: rgba(94,234,212,0.25);
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--midnight-900); line-height: 1.2;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.05rem; color: var(--text-light); line-height: 1.7;
}

/* ── Menu Section ───────────────────────────────── */
.menu {
    padding: 100px 0;
    background: var(--cream-50);
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.menu-card-img {
    height: 220px; overflow: hidden;
}
.menu-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-img img { transform: scale(1.05); }
.menu-card-body { padding: 28px; }
.menu-card-label {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--mint-400); margin-bottom: 8px;
}
.menu-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem; color: var(--midnight-900);
    margin-bottom: 10px;
}
.menu-card-desc {
    font-size: 0.95rem; color: var(--text-light); line-height: 1.7;
}

/* ── About Section ──────────────────────────────── */
.about {
    padding: 100px 0;
    background: var(--white);
}
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.about-images { position: relative; }
.about-img-main {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 600px; object-fit: cover; }
.about-img-secondary {
    position: absolute; bottom: -40px; right: -30px;
    width: 260px; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-xl);
    border: 5px solid var(--white);
}
.about-img-secondary img { width: 100%; height: 200px; object-fit: cover; }

.about-accent-box {
    position: absolute; top: -20px; left: -20px;
    background: var(--midnight-900); color: var(--mint-300);
    padding: 20px 24px; border-radius: var(--radius-md);
    display: flex; align-items: center; gap: 12px;
    font-weight: 600; font-size: 0.95rem;
    box-shadow: var(--shadow-lg);
}
.about-accent-box svg { opacity: 0.8; }

.about-content .section-tag { margin-bottom: 16px; }
.about-content .section-title { margin-bottom: 24px; }
.about-text {
    font-size: 1.05rem; color: var(--text-mid); line-height: 1.8;
    margin-bottom: 20px;
}
.about-values { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.about-value {
    display: flex; gap: 16px; align-items: flex-start;
}
.about-value-icon {
    flex-shrink: 0; width: 48px; height: 48px;
    background: rgba(94,234,212,0.1); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--midnight-800);
}
.about-value strong {
    display: block; font-size: 1rem; color: var(--midnight-900);
    margin-bottom: 4px;
}
.about-value p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

/* ── Community Section ──────────────────────────── */
.community {
    padding: 100px 0;
    background: var(--cream-50);
}
.community-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.community-card {
    background: var(--white);
    border-radius: var(--radius-lg); padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid transparent;
}
.community-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(94,234,212,0.3);
}
.community-card-icon {
    width: 60px; height: 60px;
    background: rgba(94,234,212,0.1); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--midnight-800); margin-bottom: 24px;
}
.community-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem; color: var(--midnight-900);
    margin-bottom: 12px;
}
.community-card p {
    font-size: 0.95rem; color: var(--text-light); line-height: 1.7;
}

/* ── CTA Section ────────────────────────────────── */
.cta {
    padding: 100px 0;
    background: var(--midnight-900);
    position: relative; overflow: hidden;
}
.cta-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(94,234,212,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 10% 20%, rgba(30,77,127,0.4) 0%, transparent 50%);
    pointer-events: none;
}
.cta-inner {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.cta-content { max-width: 480px; }
.cta-content .section-tag { margin-bottom: 20px; }
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--white); line-height: 1.2; margin-bottom: 16px;
}
.cta-text {
    font-size: 1.05rem; color: rgba(255,255,255,0.65);
    line-height: 1.7;
}
.cta-actions {
    display: flex; gap: 16px; flex-wrap: wrap;
}

/* ── Visit Section ──────────────────────────────── */
.visit {
    padding: 100px 0;
    background: var(--white);
}
.visit-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: stretch;
}
.visit-info { display: flex; flex-direction: column; gap: 20px; }
.visit-card {
    display: flex; gap: 20px; align-items: flex-start;
    background: var(--cream-50); border-radius: var(--radius-md);
    padding: 28px; flex: 1;
    transition: all var(--transition);
}
.visit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.visit-card-icon {
    flex-shrink: 0; width: 52px; height: 52px;
    background: var(--midnight-900); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--mint-300);
}
.visit-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem; color: var(--midnight-900);
    margin-bottom: 6px;
}
.visit-card p {
    font-size: 0.95rem; color: var(--text-mid); line-height: 1.7;
}
.visit-card a {
    color: var(--midnight-700); font-weight: 500;
    transition: color var(--transition);
}
.visit-card a:hover { color: var(--mint-400); }

.visit-map {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); min-height: 400px;
}

/* ── Footer ─────────────────────────────────────── */
.footer {
    background: var(--midnight-950); color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}
.footer-inner {
    display: grid; grid-template-columns: 1.5fr 1fr;
    gap: 60px; padding-bottom: 48px;
}
.footer-brand p {
    margin-top: 16px; font-size: 0.95rem; line-height: 1.7;
    max-width: 320px;
}
.footer-links { display: flex; gap: 48px; }
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.1rem; color: var(--white);
    margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    font-size: 0.9rem; transition: color var(--transition);
}
.footer-col a:hover { color: var(--mint-300); }
.footer-col li { font-size: 0.9rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}
.footer-bottom .container {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; }
.footer-bottom a {
    color: var(--mint-300); transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--mint-200); }

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

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner { gap: 40px; }
    .hero-image-wrapper { height: 480px; }
    .about-grid { gap: 48px; }
    .about-img-main img { height: 440px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 72px; left: 0; right: 0;
        background: rgba(253,248,240,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column; padding: 24px;
        border-bottom: 1px solid rgba(11,29,58,0.08);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0; pointer-events: none;
        transition: all var(--transition);
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1; pointer-events: all;
    }
    .nav-menu a { padding: 12px 16px; font-size: 1rem; width: 100%; }

    .hero { padding: 100px 0 80px; min-height: auto; }
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-image-wrapper {
        height: 360px; max-width: 400px; margin: 0 auto;
    }
    .hero-image-float { width: 140px; height: 140px; left: -10px; bottom: -10px; }
    .hero-stat { right: -10px; top: 10px; padding: 12px 16px; }
    .hero-stat-num { font-size: 1.4rem; }

    .menu-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-images { max-width: 480px; margin: 0 auto; }
    .about-img-main img { height: 400px; }
    .about-img-secondary { width: 200px; bottom: -20px; right: -10px; }
    .about-accent-box { top: -10px; left: -10px; padding: 14px 18px; font-size: 0.85rem; }

    .community-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }

    .visit-grid { grid-template-columns: 1fr; }
    .visit-map { min-height: 300px; }

    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-links { flex-direction: column; gap: 24px; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 90px 0 60px; }
    .hero-title { font-size: 1.9rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .menu, .about, .community, .cta, .visit { padding: 64px 0; }
    .section-title { font-size: 1.6rem; }
    .community-card { padding: 28px 24px; }
}
