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

:root {
    --primary-color: #D92027; /* Bright Red */
    --secondary-color: #FFD700; /* Gold */
    --accent-color: #00A1B1; /* Teal */
    --background-color: #FFF8F0; /* Creamy White */
    --text-color: #333333;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 248, 240, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 10px 50px;
}

.logo img {
    width: 180px;
    transition: width 0.3s ease;
}

.header.scrolled .logo img {
    width: 150px;
}

.main-nav {
    flex-grow: 1;
    text-align: center;
}

.main-nav ul {
    list-style: none;
    display: inline-flex;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    z-index: 1001;
}


/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(217, 32, 39, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
}
.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?q=80&w=2670&auto=format&fit=crop') no-repeat center center/cover;
}

.hero-content h1 {
    font-family: var(--heading-font);
    font-size: 5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.scrolling-icon {
    position: absolute;
    bottom: 30px;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* General Section Styling */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
}

/* About Section */
.about-section {
    background-color: white;
}
.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}
.about-image { flex: 1; }
.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.about-text { flex: 1.2; }
.about-text .section-title { text-align: left; }

/* Diagonal Shapes for transitions */
.diagonal-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    background-color: var(--background-color);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.diagonal-shape-rev {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    background-color: var(--background-color);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}


/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}
.menu-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}
.menu-card h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    color: var(--primary-color);
}
.menu-images {
    text-align: center;
}
.menu-images h3 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 40px;
}
.menu-images img {
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


/* --- REVISED CSS FOR A SINGLE, LARGE IMAGE --- */

.gallery-grid {
    /* Center the single item within the grid container */
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item {
    /* Allow the image to take up most of the container's width */
    width: 100%;
    max-width: 1200px; /* Adjust this value to control the max size */
    
    /* Keep these styles for the cool hover effect and rounded corners */
    overflow: hidden;
    border-radius: 15px; /* Slightly larger radius for a bigger image */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Optional: Add a nice shadow */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block; /* Removes any extra space below the image */
}

.gallery-item:hover img {
    transform: scale(1.05); /* A more subtle zoom for a large image */
}


/* Testimonials Section */
.testimonials-section {
    background-color: var(--accent-color);
    color: white;
    text-align: center;
}
.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-card p {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 20px;
}
.testimonial-card h4 {
    font-size: 1.2rem;
    font-weight: 500;
}


/* Contact Section */
.contact-section {
    padding-bottom: 200px; /* Space for diagonal shape */
}
#contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#contact-form input, #contact-form textarea {
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#contact-form input:focus, #contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(217, 32, 39, 0.2);
}


/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.about-image.animate-on-scroll { transform: translateX(-100px); }
.about-text.animate-on-scroll { transform: translateX(100px); }
.about-image.is-visible, .about-text.is-visible { transform: translateX(0); }

.gallery-item.animate-on-scroll:nth-child(odd) { transform: rotate(-5deg) scale(0.8); }
.gallery-item.animate-on-scroll:nth-child(even) { transform: rotate(5deg) scale(0.8); }
.gallery-item.is-visible { transform: rotate(0) scale(1); }


/* ============== RESPONSIVE STYLES ============== */

/* Tablets */
@media (max-width: 1024px) {
    .header { padding: 15px 30px; }
    .main-nav ul { gap: 25px; }
    .hero-content h1 { font-size: 4rem; }
    .section-title { font-size: 2.5rem; }
    .about-content { flex-direction: column; gap: 40px; }
    .about-text .section-title { text-align: center; }
    .gallery-grid { grid-template-rows: repeat(2, 200px); }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .header { padding: 15px 20px; }
    .header-right { display: none; }
    .logo img { width: 140px; }
    .header.scrolled .logo img { width: 120px; }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%; /* Start off-screen */
        width: 100%;
        height: 100vh;
        background-color: var(--background-color);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: left 0.5s ease;
    }

    .main-nav.is-open {
        left: 0; /* Slide in */
    }

    .main-nav ul {
        flex-direction: column;
        gap: 30px;
    }

    .main-nav a { font-size: 2rem; }
    .mobile-menu-toggle { display: block; }
    .mobile-menu-toggle .fa-times { display: none; }
    .mobile-menu-toggle.is-active .fa-bars { display: none; }
    .mobile-menu-toggle.is-active .fa-times { display: block; }

    section { padding: 80px 0; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.2rem; }
    .about-text p { font-size: 1rem; }
    .menu-grid { grid-template-columns: 1fr; }
    .testimonial-card p { font-size: 1.2rem; }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery-item, .gallery-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        height: 250px;
    }
    .contact-section { padding-bottom: 120px; }
    .diagonal-shape, .diagonal-shape-rev { height: 100px; }
}