:root {
    --color-bg: #FDFBF7;
    /* Cream/Ivory */
    --color-text: #1A1A1A;
    /* Dark Grey/Black */
    --color-accent: #800020;
    /* Burgundy */
    --color-accent-light: #A52A2A;
    --color-gold: #D4AF37;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button,
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--color-accent);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Adjust based on logo aspect ratio */
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    color: var(--color-text);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4);
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections General */
section {
    padding: var(--spacing-lg) 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 auto 3rem;
    /* Center the block and add bottom margin */
    position: relative;
    display: table;
    /* Fallback for fit-content */
    width: fit-content;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 0.5rem auto 0;
}

/* Trama / Storytelling */
.trama {
    background-color: #fff;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.trama p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Menu Preview */
.menu-preview {
    background-color: var(--color-bg);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--color-accent);
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.menu-card .price {
    font-weight: bold;
    color: var(--color-accent);
    display: block;
    margin-bottom: 1rem;
}

.allergens {
    font-size: 0.8rem;
    color: #666;
}

.allergens span {
    display: inline-block;
    background: #eee;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    aspect-ratio: 1/1;
    /* Square for consistency, or standard masonry if strictly needed */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Reviews - Infinite Marquee */
.reviews {
    background-color: #f4f4f4;
    text-align: center;
    overflow: hidden;
}

.reviews-marquee {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.reviews-track {
    display: flex;
    gap: 1.5rem;
    animation: marquee-scroll 50s linear infinite;
    width: max-content;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    background: #fff;
    padding: 1.8rem 2rem;
    min-width: 340px;
    max-width: 380px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex-shrink: 0;
    text-align: left;
    border-top: 3px solid var(--color-accent);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.review-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
}

.review-author {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    font-size: 0.9rem;
}

.stars {
    color: var(--color-gold);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}



/* Booking Widget */
.booking-widget {
    background: linear-gradient(135deg, #800020 0%, #4a0012 50%, #2a0008 100%);
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.booking-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    animation: booking-shimmer 8s ease-in-out infinite;
}

@keyframes booking-shimmer {

    0%,
    100% {
        transform: translateX(-10%) translateY(-10%);
    }

    50% {
        transform: translateX(10%) translateY(10%);
    }
}

.booking-widget-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.booking-widget-icon {
    margin-bottom: 1.5rem;
    color: var(--color-gold);
    animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.booking-widget .section-title {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.booking-widget .section-title::after {
    background-color: var(--color-gold);
}

.booking-widget-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.booking-widget-btn {
    background: linear-gradient(135deg, var(--color-gold) 0%, #c9a227 100%);
    color: #1a1a1a;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1.5px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    animation: btn-pulse 2.5s ease-in-out infinite;
    transition: all 0.3s ease;
}

.booking-widget-btn:hover {
    background: linear-gradient(135deg, #e6c240 0%, var(--color-gold) 100%);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

@keyframes btn-pulse {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    }

    50% {
        box-shadow: 0 6px 30px rgba(212, 175, 55, 0.55), 0 0 60px rgba(212, 175, 55, 0.15);
    }
}

.booking-widget-subtext {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Contact */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info,
.map-container {
    flex: 1;
    min-width: 300px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: var(--border-radius);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
}

footer a {
    color: #ccc;
}

footer a:hover {
    color: #fff;
}

.footer-socials {
    margin: 1rem 0;
    font-size: 1.5rem;
}

.footer-socials a {
    margin: 0 0.5rem;
}

/* Mobile Nav */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg);
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }


    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Menu Page Specifics */
.menu-hero {
    height: 50vh;
    /* This needs the background image URL, which might vary per page. 
       Ideally, use inline style or specific class for background image on the element itself,
       but kept here for structure if consistent. 
       Note: The HTML has inline style for bg image usually, but let's keep the base class here.
    */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

.menu-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.menu-hero h1 {
    position: relative;
    z-index: 1;
    font-size: 4rem;
    font-family: var(--font-heading);
}

.scene-header {
    text-align: center;
    margin: 4rem 0 2rem;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scene-header h2 {
    font-size: 2rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scene-header span {
    font-style: italic;
    color: #666;
}

.menu-items {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.dish {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 0.5rem;
}

.dish-info {
    flex: 1;
}

.dish-name {
    font-weight: 600;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.dish-desc {
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.2rem;
}

.dish-price {
    font-weight: 700;
    color: var(--color-accent);
    margin-left: 1rem;
    white-space: nowrap;
}

.allergen-tag {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    background: #eee;
    color: #333;
    text-align: center;
    font-size: 0.7rem;
    margin-left: 5px;
    vertical-align: middle;
}

/* Events Page Specifics */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.event-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.event-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background-color: #ddd;
}

.event-content {
    padding: 1.5rem;
}

.event-date {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
}

.event-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.event-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Google Calendar Button Adjustment */
#gcal-header-btn,
#gcal-hero-btn,
#gcal-booking-widget-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#gcal-header-btn .calendar-scheduling-button,
#gcal-hero-btn .calendar-scheduling-button,
#gcal-booking-widget-btn .calendar-scheduling-button {
    font-family: inherit !important;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* WhatsApp Button */
.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}