@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@500;600&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --primary-green: #3A5F3F;
    --secondary-mint: #AEE1C5;
    --warm-beige: #F3EED9;
    --charcoal: #1F1F1F;
    --white: #FFFFFF;
    --shadow-soft: 0 20px 40px rgba(31, 31, 31, 0.08);
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    color: var(--charcoal);
    background-color: var(--warm-beige);
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

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

header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(243, 238, 217, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 0.08em;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-weight: 500;
}

.nav-links a {
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--primary-green);
    color: var(--white);
}

.theme-toggle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(58, 95, 63, 0.3);
    background: var(--white);
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.theme-toggle .moon {
    display: none;
}

.theme-toggle[data-mode="dark"] .sun {
    display: none;
}

.theme-toggle[data-mode="dark"] .moon {
    display: inline;
}

.theme-toggle:hover {
    transform: translateY(-2px);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--primary-green);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.cta-btn.secondary {
    background: var(--secondary-mint);
    color: var(--charcoal);
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    padding: 4rem 1.5rem;
    background: linear-gradient(120deg, rgba(58,95,63,0.9), rgba(58,95,63,0.7)),
                url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: var(--white);
    gap: 2rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
}

.hero p {
    margin: 1.5rem 0;
    max-width: 480px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.section {
    padding: 4.5rem 1.5rem;
}

.fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-green);
}

.features-grid,
.menu-grid,
.review-grid,
.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.card h3 {
    margin-bottom: 0.5rem;
}

.dishes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dish-card img {
    border-radius: var(--radius-md);
    height: 200px;
    object-fit: cover;
}

.dish-card h4 {
    margin: 0.8rem 0 0.4rem;
    font-family: 'Montserrat', sans-serif;
}

.review-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.review-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.review-card strong {
    color: var(--primary-green);
}

.gallery-slider {
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-slider .swiper-slide img {
    width: 100%;
    border-radius: var(--radius-md);
    height: 360px;
    object-fit: cover;
}

.map-embed iframe {
    width: 100%;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    min-height: 380px;
}

.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 2rem 1.5rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

.footer a {
    color: var(--secondary-mint);
}

.footer-brand p {
    margin-top: 0.8rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.footer-links a {
    font-weight: 500;
}

.footer-contact p {
    margin-top: 0.6rem;
}

.footer-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-note span {
    font-weight: 600;
}

.whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
}

.highlight-banner {
    background: var(--primary-green);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    font-weight: 600;
}

.highlight-banner a {
    color: var(--secondary-mint);
}

/* Menu page */
.menu-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.menu-filter button {
    border: none;
    background: var(--white);
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: background 0.3s;
}

.menu-filter button.active {
    background: var(--primary-green);
    color: var(--white);
}

.menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.menu-item {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.menu-item img {
    height: 180px;
    object-fit: cover;
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item .tag {
    display: inline-block;
    background: var(--secondary-mint);
    color: var(--charcoal);
    border-radius: 999px;
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.menu-item h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.4rem;
}

.menu-item .price {
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 0.8rem;
}

/* About page */
.about-hero {
    background: linear-gradient(135deg, rgba(243,238,217,0.95), rgba(174,225,197,0.95));
    padding: 5rem 1.5rem;
}

.about-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.image-grid img {
    border-radius: var(--radius-md);
    height: 160px;
    object-fit: cover;
}

/* Booking */
.booking-section {
    background: var(--white);
}

.booking-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.booking-form form {
    display: grid;
    gap: 1rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(31, 31, 31, 0.1);
    font-size: 1rem;
}

.booking-form textarea {
    min-height: 120px;
}

.booking-hero {
    color: var(--white);
    background: linear-gradient(120deg, rgba(31,31,31,0.25), rgba(58,95,63,0.85)),
                url('https://images.unsplash.com/photo-1481833761820-0509d3217039?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.booking-hero .card {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.booking-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.booking-meta .card {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-green);
    font-weight: 600;
}

.contact-hero {
    background: linear-gradient(135deg, rgba(243,238,217,0.95), rgba(174,225,197,0.9));
}

.gallery-hero {
    background: linear-gradient(120deg, rgba(58,95,63,0.85), rgba(58,95,63,0.5)),
                url('https://images.unsplash.com/photo-1470337458703-46ad1756a187?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: var(--white);
}

.gallery-hero .card {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
}

.status {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    display: none;
    text-align: center;
}

.status.sending,
.status.success,
.status.error {
    display: block;
}

.status.sending {
    background: rgba(174, 225, 197, 0.3);
    color: var(--primary-green);
}

.status.success {
    background: var(--secondary-mint);
    color: var(--charcoal);
}

.status.error {
    background: #ffdfdf;
    color: #7e1919;
}

/* Gallery page */
.masonry {
    column-count: 3;
    column-gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.masonry-item {
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.masonry-item img {
    width: 100%;
    transition: transform 0.4s ease;
}

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

/* Contact page */
.contact-info {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.instagram-embed iframe {
    width: 100%;
    min-height: 500px;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--secondary-mint);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    margin-top: 1rem;
}

body[data-theme="dark"] {
    background-color: #0f1610;
    color: var(--white);
}

body[data-theme="dark"] header {
    background: rgba(10, 15, 11, 0.92);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

body[data-theme="dark"] .highlight-banner {
    background: rgba(58, 95, 63, 0.7);
}

body[data-theme="dark"] .nav-links a {
    color: var(--white);
}

body[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--secondary-mint);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

body[data-theme="dark"] .card,
body[data-theme="dark"] .menu-item,
body[data-theme="dark"] .booking-form,
body[data-theme="dark"] .contact-card,
body[data-theme="dark"] .review-card {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.45);
    border-color: transparent;
}

body[data-theme="dark"] .review-card strong {
    color: var(--secondary-mint);
}

body[data-theme="dark"] .section-title {
    color: var(--secondary-mint);
}

body[data-theme="dark"] .booking-form input,
body[data-theme="dark"] .booking-form select,
body[data-theme="dark"] .booking-form textarea {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

body[data-theme="dark"] .footer {
    background: #070a07;
}

body[data-theme="dark"] .badge {
    background: rgba(174, 225, 197, 0.2);
    color: var(--secondary-mint);
}

body[data-theme="dark"] .map-embed iframe,
body[data-theme="dark"] .instagram-embed iframe {
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.45);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 0.75rem;
    }

    .nav-actions {
        flex-direction: column;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p,
    .hero-btns {
        margin-left: auto;
        margin-right: auto;
    }

    .masonry {
        column-count: 1;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .masonry {
        column-count: 2;
    }
}
