/* General Styling */
:root {
    --primary-color: #A58B70; /* Muted brown */
    --secondary-color: #D4B892; /* Lighter beige/brown */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #f9f9f9;
    --bg-dark: #222;
    --accent-color: #6C523B; /* Darker brown for accents */
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    margin-bottom: 15px;
}

h1 {
    font-size: 3.5em;
    text-shadow: 2px 2px 4px var(--shadow);
}

h2 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 5px;
}

p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    color: var(--text-light); /* Keep text light on hover */
}

section {
    padding: 80px 0;
}

/* Header & Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    font-weight: bold;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.navbar .nav-list {
    list-style: none;
    display: flex;
}

.navbar .nav-list li {
    margin-left: 30px;
}

.navbar .nav-list a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.navbar .nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar .nav-list a:hover::after,
.navbar .nav-list a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.8em;
    cursor: pointer;
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    /* IMPORTANT: Replace 'YOUR_BACKGROUND_IMAGE_FILENAME.jpg' with your actual hero background image path */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/YOUR_BACKGROUND_IMAGE_FILENAME.jpg') no-repeat center center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 150px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.hero-content {
    max-width: 800px;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    min-width: 400px; /* Ensure image doesn't get too small */
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px var(--shadow);
}

.about-content {
    flex: 1;
}

/* Menu Section */
.menu {
    background-color: var(--secondary-color);
    padding-bottom: 80px;
}

.menu h2 {
    color: var(--text-light);
}

.menu h2::after {
    background-color: var(--text-light);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.menu-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.menu-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.menu-item h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.menu-item p {
    font-size: 0.9em;
    color: #666;
    flex-grow: 1; /* Allows paragraph to take available space */
}

.menu-item .price {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--accent-color);
    margin-top: 15px;
    display: block; /* Ensures price is on its own line */
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    padding: 30px;
    text-align: center;
    border-top: 5px solid var(--primary-color);
}

.testimonial-item p {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.testimonial-item span {
    font-weight: bold;
    color: var(--accent-color);
}

/* Contact Section */
.contact {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.contact h2 {
    color: var(--text-light);
}

.contact h2::after {
    background-color: var(--text-light);
}

.contact p {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    margin-top: 40px;
}

.contact-form {
    flex: 1 1 500px; /* Allows form to grow/shrink, takes at least 500px */
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

.contact-info {
    flex: 1 1 300px; /* Allows info to grow/shrink, takes at least 300px */
    padding: 40px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-info p {
    text-align: left;
    margin-bottom: 10px;
    color: var(--text-light);
}

.contact-info a {
    color: var(--primary-color);
}

.contact-info a:hover {
    color: var(--secondary-color);
}

.social-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.8em;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}


/* Footer */
.footer {
    background-color: var(--accent-color);
    color: var(--text-light);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .navbar {
        display: none; /* Hide desktop nav by default on smaller screens */
        flex-direction: column;
        position: absolute;
        top: 80px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 999;
    }

    .navbar.active {
        display: flex; /* Show when active */
    }

    .navbar .nav-list {
        flex-direction: column;
        text-align: center;
    }

    .navbar .nav-list li {
        margin: 15px 0;
    }

    .navbar .nav-list a {
        font-size: 1.1em;
        color: var(--text-dark);
    }

    .menu-toggle {
        display: block; /* Show burger icon */
    }

    .hero h1 {
        font-size: 2.8em;
    }

    .hero p {
        font-size: 1.1em;
    }

    .about .container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        min-width: unset;
        margin-bottom: 30px;
    }

    .about-content {
        max-width: 600px;
    }

    .contact-form,
    .contact-info {
        flex: 1 1 100%; /* Make them stack */
        margin-bottom: 30px; /* Add space between stacked items */
    }

    .contact-form:last-child,
    .contact-info:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 2.2em;
    }
    section {
        padding: 60px 0;
    }
    .hero {
        padding: 100px 20px;
    }
    .menu-item {
        padding: 20px;
    }
    .testimonial-item {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.8em;
    }
    .header {
        padding: 15px 0;
    }
    .logo {
        font-size: 1.5em;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .form-group input,
    .form-group textarea {
        font-size: 0.9em;
    }
}