/* Global Styles */
:root {
    --primary-color: #8B4513;
    /* SaddleBrown - Strong Brown for headers */
    --secondary-color: #FAEBD7;
    /* AntiqueWhite - Light section bg */
    --accent-color: #D2691E;
    /* Chocolate - Lively accent */
    --text-color: #3E2723;
    /* Dark Brown - Main text */
    --bg-color: #FFF8DC;
    /* Cornsilk - Main bg */
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Removed for Overlay Experiment */

/* Hero Logo Overlay */
.hero-logo-overlay {
    position: absolute;
    top: 5px;
    /* Reduced by 50% from 50px */
    left: 20px;
    z-index: 10;
}

.hero-logo-overlay img {
    height: 70px;
    /* Increased by 50% from 40px */
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(47, 27, 12, 0.9);
    z-index: 1000;
    padding: 10px 0;
    backdrop-filter: blur(5px);
    display: none;
}

.mobile-menu ul {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.mobile-menu a {
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.mobile-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    height: 100vh;
    /* Full viewport height */
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-message {
    background-color: rgba(255, 248, 220, 0.6);
    /* Light background for message */
    padding: 10px 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(139, 69, 19, 0.2);
    margin-bottom: 30px;
    max-width: 800px;
}

.hero-message h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: none;
}

.hero-message p {
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 400;
}

.btn-online-order {
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.4);
    display: inline-block;
}

.btn-online-order:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
}

/* About Section */
#about {
    background-color: var(--secondary-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 300;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Menu Slider */
#dishes {
    background-color: var(--bg-color);
}

.menu-slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.menu-slides-wrapper {
    display: flex;
    overflow: hidden;
}

.menu-slide {
    display: none;
    min-width: 100%;
    justify-content: center;
    padding: 20px;
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

.menu-card {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.menu-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-bottom: 4px solid var(--primary-color);
}

.menu-card h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin: 20px 0 10px;
    font-family: var(--font-heading);
}

.menu-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    padding-bottom: 30px;
}

/* Navigation Buttons */
.menu-prev,
.menu-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 69, 19, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(139, 69, 19, 0.2);
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    z-index: 10;
    transition: all 0.3s;
}

.menu-prev:hover,
.menu-next:hover {
    background: var(--primary-color);
    color: #fff;
}

.menu-prev {
    left: -60px;
}

.menu-next {
    right: -60px;
}

/* Dots */
.menu-dots-container {
    text-align: center;
    padding-top: 30px;
}

.menu-dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.menu-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Yelp Section */
#yelp {
    background-color: var(--secondary-color);
}

.yelp-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.yelp-slider {
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.yelp-slide {
    display: none;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 20px;
}

.yelp-slide.active {
    display: block;
}

.stars {
    color: #d32323;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.yelp-slide p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.8;
}

.author {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.verified {
    display: block;
    font-size: 0.8rem;
    color: #999;
    font-weight: normal;
    margin-top: 5px;
}

.slider-prev-yelp,
.slider-next-yelp {
    background: none;
    border: none;
    color: #888;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0 10px;
    transition: color 0.3s;
}

.slider-prev-yelp:hover,
.slider-next-yelp:hover {
    color: var(--primary-color);
}

/* Gallery Section */
#gallery {
    background-color: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    height: 300px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
#contact {
    background-color: var(--secondary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--text-color);
}

.contact-info strong {
    color: var(--primary-color);
}

.social-links {
    margin-top: 40px;
}

.social-links a {
    font-size: 2rem;
    margin-right: 25px;
    color: #888;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-map iframe {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
#main-footer {
    background-color: #2F1B0C;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #4e342e;
}

.footer-logo h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-info p {
    color: #ccc;
    margin-bottom: 5px;
}

.footer-links {
    margin: 30px 0;
}

.footer-links a {
    margin: 0 15px;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright p {
    font-size: 0.8rem;
    color: #888;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 5px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close:hover {
    color: var(--primary-color);
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    user-select: none;
    background: rgba(0, 0, 0, 0.3);
}

.next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.prev {
    left: 0;
    border-radius: 0 5px 5px 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--primary-color);
}

/* Popup Modal */
.popup-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.popup-content {
    position: relative;
    background-color: #fff;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.popup-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .menu-prev {
        left: 10px;
    }

    .menu-next {
        right: 10px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-message h1 {
        font-size: 2.5rem;
    }

    .hero-message {
        width: 90%;
        padding: 20px;
    }

    .hero-cta {
        top: calc(30% + 220px);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-menu ul {
        gap: 15px;
    }

    .mobile-menu a {
        font-size: 0.8rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-message h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu {
        display: none;
    }

    /* Hide sticky menu on very small screens if needed, or adjust */
}