/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy: #0A1F44;
    --navy-light: #132D5E;
    --navy-dark: #061530;
    --gold: #D4A843;
    --gold-light: #E8C46D;
    --gold-dark: #B8912E;
    --cream: #FFF8EE;
    --cream-dark: #F5EDDF;
    --white: #FFFFFF;
    --text-dark: #1A1A2E;
    --text-muted: #5A5A7A;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(10, 31, 68, 0.10);
    --shadow-lg: 0 12px 48px rgba(10, 31, 68, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

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

.text-gold { color: var(--gold); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--gold);
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 48px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 31, 68, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.15);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(10, 31, 68, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover { color: var(--white); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

/* Geometric shapes */
.geo {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    pointer-events: none;
}

.geo-1 {
    width: 600px;
    height: 600px;
    background: var(--gold);
    top: -200px;
    right: -150px;
}

.geo-2 {
    width: 300px;
    height: 300px;
    background: var(--gold-light);
    bottom: 10%;
    left: -80px;
}

.geo-3 {
    width: 150px;
    height: 150px;
    background: var(--white);
    top: 30%;
    left: 10%;
    border-radius: 30%;
    transform: rotate(45deg);
    opacity: 0.05;
}

.geo-4 {
    width: 200px;
    height: 200px;
    background: var(--gold);
    bottom: -50px;
    right: 20%;
    border-radius: 40%;
    opacity: 0.06;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 168, 67, 0.15);
    border: 1px solid rgba(212, 168, 67, 0.3);
    color: var(--gold-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.hero-badge svg { width: 14px; height: 14px; }

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title .text-gold {
    color: var(--gold);
    display: inline;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* ===== HIGHLIGHT STRIP ===== */
.highlight-strip {
    background: var(--gold);
    padding: 20px 24px;
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy-dark);
}

.highlight-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ===== MENU ===== */
.menu {
    padding: 100px 0;
    background: var(--cream);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.menu-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.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-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold);
    color: var(--navy-dark);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.menu-card-body {
    padding: 24px;
}

.menu-card-body h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.menu-card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.menu-note {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid rgba(212, 168, 67, 0.25);
    border-radius: var(--radius);
    padding: 16px 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.menu-note svg {
    width: 20px;
    height: 20px;
    color: var(--gold-dark);
    flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.04;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images {
    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;
}

.about-img-float {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--navy);
}

.about-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--gold);
    color: var(--navy-dark);
    padding: 16px 20px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
}

.about-badge svg { width: 18px; height: 18px; }

.about-content .section-label { color: var(--gold-light); }
.about-content .section-title { color: var(--white); }

.about-text {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 168, 67, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

.about-feature strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* ===== GALLERY ===== */
.gallery {
    padding: 100px 0 60px;
    background: var(--cream);
}

.gallery .container { margin-bottom: 48px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(4),
.gallery-item:nth-child(6) {
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
    background: var(--cream-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars svg { width: 18px; height: 18px; }

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    background: var(--gold);
    opacity: 0.06;
    top: -100px;
    left: -80px;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    background: var(--gold-light);
    opacity: 0.05;
    bottom: -60px;
    right: 10%;
}

.cta-shape-3 {
    width: 100px;
    height: 100px;
    background: var(--white);
    opacity: 0.04;
    top: 20%;
    right: 25%;
    border-radius: 30%;
    transform: rotate(45deg);
}

.cta .container { position: relative; z-index: 2; }

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    margin: 0 auto 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0 60px;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: rgba(212, 168, 67, 0.12);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gold-dark);
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-item a:hover { color: var(--gold-dark); text-decoration: underline; }

/* Contact Form */
.contact-form-wrap {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form-title {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-group textarea { resize: vertical; }

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius);
    color: #166534;
    font-weight: 600;
}

.form-success svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy-dark);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links strong,
.footer-contact strong {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-contact a {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-contact a:hover { color: var(--gold); }

.footer-contact span {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 31, 68, 0.98);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        transform: translateY(-120%);
        transition: transform 0.4s ease;
        border-bottom: 1px solid rgba(212, 168, 67, 0.15);
    }

    .nav-links.open { transform: translateY(0); }
    .nav-toggle { display: flex; }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-float {
        right: 16px;
        bottom: -24px;
    }

    .about-badge {
        top: -12px;
        left: -8px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(6) {
        aspect-ratio: 4/3;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero { padding: 100px 20px 60px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .stat-divider { width: 40px; height: 1px; }

    .menu-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }

    .highlight-strip { gap: 20px; }
    .highlight-item { font-size: 0.8rem; }

    .contact-form-wrap { padding: 24px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
</style>

<sm-file path="script.js">
(function () {
    'use strict';

    // ---- Nav scroll effect ----
    const nav = document.getElementById('nav');
    let lastScroll = 0;

    function handleScroll() {
        const currentScroll = window.pageYOffset;
        if (currentScroll > 50) {
            nav.classList.add('scrolled');
        } else {
            nav.classList.remove('scrolled');
        }
        lastScroll = currentScroll;
    }

    window.addEventListener('scroll', handleScroll, { passive: true });

    // ---- Mobile menu toggle ----
    const toggle = document.querySelector('.nav-toggle');
    const navLinks = document.querySelector('.nav-links');

    toggle.addEventListener('click', function () {
        const isOpen = navLinks.classList.toggle('open');
        toggle.classList.toggle('active');
        toggle.setAttribute('aria-expanded', isOpen);
    });

    // Close mobile menu when a link is clicked
    navLinks.querySelectorAll('a').forEach(function (link) {
        link.addEventListener('click', function () {
            navLinks.classList.remove('open');
            toggle.classList.remove('active');
            toggle.setAttribute('aria-expanded', 'false');
        });
    });

    // ---- Smooth scroll for anchor links ----
    document.querySelectorAll('a[href^="#"]').forEach(function (anchor) {
        anchor.addEventListener('click', function (e) {
            const target = document.querySelector(this.getAttribute('href'));
            if (target) {
                e.preventDefault();
                const navHeight = nav.offsetHeight;
                const targetPosition = target.getBoundingClientRect().top + window.pageYOffset - navHeight - 20;
                window.scrollTo({
                    top: targetPosition,
                    behavior: 'smooth'
                });
            }
        });
    });

    // ---- Contact form ----
    const form = document.getElementById('contact-form');
    const successMsg = document.getElementById('form-success');

    if (form) {
        form.addEventListener('submit', function (e) {
            e.preventDefault();

            // Simple validation
            const name = document.getElementById('name').value.trim();
            const email = document.getElementById('email').value.trim();
            const message = document.getElementById('message').value.trim();

            if (!name || !email || !message) {
                return;
            }

            // Show success message
            successMsg.hidden = false;
            form.reset();

            // Hide success message after 5 seconds
            setTimeout(function () {
                successMsg.hidden = true;
            }, 5000);
        });
    }

    // ---- Intersection Observer for scroll animations ----
    if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
        const observerOptions = {
            root: null,
            rootMargin: '0px 0px -80px 0px',
            threshold: 0.1
        };

        const observer = new IntersectionObserver(function (entries) {
            entries.forEach(function (entry) {
                if (entry.isIntersecting) {
                    entry.target.style.opacity = '1';
                    entry.target.style.transform = 'translateY(0)';
                    observer.unobserve(entry.target);
                }
            });
        }, observerOptions);

        // Apply to sections below the fold
        const animateElements = document.querySelectorAll(
            '.menu-card, .about-feature, .gallery-item, .testimonial-card, .contact-item'
        );

        animateElements.forEach(function (el, index) {
            el.style.opacity = '0';
            el.style.transform = 'translateY(24px)';
            el.style.transition = 'opacity 0.6s ease ' + (index % 6) * 0.1 + 's, transform 0.6s ease ' + (index % 6) * 0.1 + 's';
            observer.observe(el);
        });
    }
})();
