/* assets/css/style.css */
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff9f0;
}

p {
    color: #ffffff;
}

/* Header styles */
.header {
    background-color: rgba(139, 69, 19, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Arial', cursive;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #ffd700;
}

/* Hero section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('assets/img/hero-background.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #fff;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    color: #fff;
}

.feature {
    background: rgba(139, 69, 19, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.feature span {
    font-size: 1rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #ff6b6b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.cta-button:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
}

/* Menu section */
.menu {
    padding: 5rem 1rem;
    background-color: #fff;
}

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

.menu h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #8b4513;
    position: relative;
}

.menu h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #ff6b6b;
    margin: 10px auto;
}

/* Menu section styles in assets/css/style.css */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.menu-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item .img-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5; /* Fallback color while image loads */
}

.menu-item img {
    width: 400px; /* Fixed width */
    height: 300px; /* Fixed height */
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.menu-item:hover img {
    transform: scale(1.05); /* Subtle zoom effect on hover */
}

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

.menu-item h3 {
    color: #8b4513;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.menu-item p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.price {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.3rem;
    display: block;
}

/* About section */
.about {
    padding: 7rem 1rem;
    background-color: #fff9f0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 2rem;
}

.about-content {
    padding-right: 2rem;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #8B4513;
    font-weight: 600;
}

.about-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Contact section */
.contact {
    padding: 5rem 1rem;
    background-color: #fff;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #8b4513;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
    background: #fff9f0;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #8b4513;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff6b6b;
    outline: none;
}

/* Footer */
.footer {
    background-color: #8b4513;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Update the menu-item img styles in assets/css/style.css */

.menu-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.menu-item .img-container {
    width: 100%;
    height: 300px; /* Fixed height */
    overflow: hidden; /* Ensure images don't overflow */
    position: relative; /* For absolute positioning of child if needed */
}

.menu-item img {
    width: 100%;
    height: 300px; /* Fixed height */
    object-fit: cover; /* This is key - maintains aspect ratio while covering area */
    object-position: center; /* Centers the image */
    display: block; /* Removes any extra space below image */
}

/* Media queries */
@media (max-width: 768px) {
    .header {
        background-color: #8B4513;
        padding: 1rem;
    }

    .nav {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .logo {
        font-size: 1.5rem;
        color: #fff;
    }

    .mobile-menu-btn {
        display: none; /* Hide the menu button */
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(139, 69, 19, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        color: #fff;
        font-size: 1.2rem;
        text-decoration: none;
        padding: 0.5rem 1rem;
    }

    /* Intro Mobile Version */

    .hero-content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .hero-content h1 span:first-child {
        display: none; /* Hide "Welcome to" text */
    }

    .hero-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }

    .feature {
        background: rgba(139, 69, 19, 0.8);
        padding: 1.2rem;
        border-radius: 8px;
    }

    /* About Mobile Version */

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .about-content {
        padding-right: 0;
    }

    .about-content h2 {
        font-size: 2.2rem;
        text-align: center;
    }

    .about-image {
        margin: 0 auto;
        max-width: 500px;
    }

    .menu-item {
        margin: 0 1rem;
    }
}