/* Base Styles */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    position: relative;
    background-image: url('https://github.com/ujvalmech/mother/blob/main/header.jpg?raw=true');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.header-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.header-text {
    position: relative;
    z-index: 1;
}

.header-text h1 {
    margin: 0;
    font-size: 2.5rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

.header-text p {
    margin: 0;
    font-size: 1.25rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

/* Navigation Bar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-logo {
    height: 40px;
    object-fit: contain;
}

.navbar-menu {
    display: flex;
    gap: 20px;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar-menu a:hover {
    color: #ffeb3b;
}

.navbar-toggle {
    display: none;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        padding: 10px;
        gap: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
    }

    .navbar-menu a {
        font-size: 1.25rem;
        text-align: center;
        padding: 10px;
    }
}

/* Sections */
.section {
    padding: 60px 20px;
    text-align: center;
}

.partition-box {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.menu-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.menu-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 250px; /* Reduced width */
    text-align: center;
}

.menu-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.menu-item h3 {
    margin: 10px 0;
}

.menu-item .info {
    padding: 0 10px 10px;
}

/* Testimonials */
.testimonial {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.testimonial-img {
    border-radius: 50%;
    margin-right: 20px;
}

.testimonial-comment {
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
}

.testimonial-rating {
    color: #ffeb3b;
}

/* Contact Us */
.contact-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    margin-right: 20px;
}

.contact-map {
    flex: 1;
    max-width: 500px;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
}

.back-to-home {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #ffeb3b;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    color: #333;
}

/* Mobile View Adjustments */
@media (max-width: 600px) {
    .header-text h1 {
        font-size: 1.5rem;
    }

    .header-text p {
        font-size: 1rem;
    }

    .menu-items {
        flex-direction: column;
    }

    .menu-item {
        max-width: 100%;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .navbar-menu {
        top: 50px;
    }

    .navbar-menu a {
        font-size: 1.25rem;
        padding: 10px;
    }
}
