:root {
    --beige: #F5F1E9;
    --beige-dark: #cfc1a7;
    --white-glow: rgba(245, 241, 233, 0.9);
    --olive: #8C9464;
    --brown-dark: #4A3728;
    --brown-light: #8D735B;
    --white: #FFFFFF;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background-color: var(--beige); color: var(--brown-dark); }
h1, h2, h3 { font-family: 'Lora', serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

/* NAVIGATION */
nav { background: var(--white); padding: 10px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 25px;
}

.nav-brand-wrapper, .nav-socials { flex: 1; }

.nav-brand { 
    display: inline-block; 
    width: fit-content; 
    text-decoration: none; 
}
.nav-logo { height: 80px; display: block; }

.nav-links { 
    display: flex; 
    list-style: none; 
    flex: 2; 
    justify-content: space-evenly; 
}
.nav-links a { text-decoration: none; color: var(--brown-dark); font-weight: 600; font-size: 1.1rem; transition: var(--transition); }
.nav-links a:hover { color: var(--olive); }

.nav-socials { display: flex; justify-content: flex-end; gap: 20px; }
.nav-socials a { color: var(--brown-dark); font-size: 1.4rem; transition: var(--transition); }
.nav-socials a:hover { color: var(--olive); transform: translateY(-2px); }

/* HAMBURGER MENU (Default hidden on desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--brown-dark);
}

/* HERO */
.hero { 
    height: 85vh; 
    background: url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1500&q=80') center/cover; 
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-overlay { background: rgba(0,0,0,0.3); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.hero-content { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero-title { 
    display: inline-block; 
    padding: 15px 45px; 
    font-size: 5rem; 
    color: var(--beige-dark); 
    border-radius: 4px; 
    margin-bottom: 25px;
}
.hero-tagline { color: var(--white); font-size: 1.6rem; margin-bottom: 35px; text-shadow: 2px 2px 10px rgba(0,0,0,0.4); }
.hero-btn-wrap { width: 100%; display: flex; justify-content: center; }
.btn-primary { background: var(--olive); color: var(--white); padding: 16px 45px; text-decoration: none; border-radius: 4px; font-weight: bold; transition: var(--transition); }
.btn-primary:hover { transform: translateY(-3px); background: var(--brown-light); }

/* SECTIONS */
.info-bar { background: var(--brown-dark); color: var(--beige); display: flex; justify-content: center; gap: 60px; padding: 30px; }
.info-item i { color: var(--olive); display: block; text-align: center; margin-bottom: 5px; }

/* MENU SECTION */
.menu-section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 3rem; color: var(--brown-dark); margin-bottom: 10px; }
.section-header p { color: var(--brown-light); font-style: italic; }

/* Group Grid Desktop */
.menu-groups-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.menu-group { background: rgba(255, 255, 255, 0.5); padding: 30px; border-radius: 20px; border: 1px solid rgba(0,0,0,0.05); }
.breakfast-group { background-color: #fcfaf5; } /* Light cream tint */
.lunch-group { background-color: #f7f8f2; } /* Light olive tint */

.group-header-mobile { display: none; justify-content: space-between; align-items: center; cursor: pointer; padding: 10px 0; border-bottom: 2px solid var(--olive); margin-bottom: 20px; }
.group-header-mobile h3 { font-size: 1.8rem; color: var(--brown-dark); }

/* Categories */
.menu-category { margin-bottom: 15px; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.category-header { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: background 0.3s; }
.category-header:hover { background: #fafafa; }
.category-header span { font-family: 'Lora', serif; font-size: 1.2rem; font-weight: 700; color: var(--brown-dark); }
.category-header i { font-size: 0.8rem; transition: transform 0.4s; color: var(--olive); }

.category-items { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); padding: 0 25px; }
.menu-category.active .category-items { max-height: 2000px; padding: 10px 25px 30px 25px; transition: max-height 0.5s ease-in; }
.menu-category.active .category-header i { transform: rotate(180deg); }

.menu-item { padding: 15px 0; border-bottom: 1px solid #f0f0f0; }
.menu-item:last-child { border-bottom: none; }
.item-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.item-name { font-weight: 600; color: var(--brown-dark); font-size: 1rem; }
.item-price { font-weight: 400; color: var(--olive); font-size: 0.95rem; }
.item-desc { font-size: 0.85rem; color: var(--brown-light); font-weight: 300; }

.about-section { padding: 100px 0; background: var(--white); }
.about-flex { display: flex; align-items: center; gap: 80px; flex-wrap: wrap; }
.about-text h2 { font-size: 2.8rem; margin: 15px 0; }
.about-image img { width: 100%; border-radius: 8px; box-shadow: 20px 20px 0 var(--olive); }

.map-section { padding: 100px 0; text-align: center; }
.map-wrapper { border: 10px solid var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); margin-top: 30px; }

.contact-section { padding: 100px 0; background-color: var(--beige); }
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; margin-top: 40px; }
.info-block { margin-bottom: 30px; }
.info-block i { color: var(--olive); font-size: 1.5rem; margin-bottom: 10px; }
.info-block h3 { font-size: 1.2rem; color: var(--brown-dark); margin-bottom: 5px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid rgba(74, 55, 40, 0.2); border-radius: 4px; background: var(--white); font-family: 'Montserrat', sans-serif; font-size: 1rem; outline: none; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(140, 148, 100, 0.1); }
.contact-form .btn-primary { border: none; cursor: pointer; align-self: flex-start; }

footer { background: var(--brown-dark); color: var(--beige); padding: 80px 0 40px; text-align: center; }
.footer-logo { font-size: 2.5rem; color: var(--olive); margin-bottom: 20px; }
.whatsapp-btn { background: #25D366; color: white; padding: 15px 30px; display: inline-block; text-decoration: none; border-radius: 5px; font-weight: bold; }
.social-icons { font-size: 1.8rem; margin-top: 20px; }
.social-icons a { color: var(--beige); margin: 0 15px; }

/* LANGUAGE SWITCHER STYLES */

@media (min-width: 969px) {
    .lang-switcher-container {
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
    }
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    /*margin-left: 15px;*/
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-btn {
    cursor: pointer;
    padding: 2px 4px;
    color: var(--brown-light);
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--olive);
}

.lang-btn.active {
    color: var(--olive);
    border-bottom: 2px solid var(--olive);
}

/* MOBILE RESPONSIVE LOGIC */
@media (max-width: 968px) {
    /* 1. Hide the horizontal Navigation Links */
    .nav-links { display: none; }
    
    /* 2. Show the Hamburger Icon */
    .hamburger { display: block; }
    
    /* 3. TRANSFORM SOCIAL ICONS INTO FLOATING BUTTONS */
    .nav-socials {
        display: flex;
        position: fixed;
        right: 15px;
        top: 110px; 
        flex-direction: column;
        /* Increased visibility: 20% dark tint for contrast on light backgrounds */
        background: rgba(0, 0, 0, 0.2); 
        padding: 15px 10px;
        border-radius: 50px;
        z-index: 1100;
        gap: 20px;
        /* Frosted glass effect */
        backdrop-filter: blur(8px); 
        -webkit-backdrop-filter: blur(8px);
        /* Subtle border to define the shape on any background */
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    /* Adjust icon size inside the floating bubble */
    .nav-socials a {
        font-size: 1.5rem;
        /* Pure white icons */
        color: #FFFFFF; 
        display: flex;
        justify-content: center;
        /* ADDING A TEXT SHADOW: This is the secret for visibility on light colors */
        text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
        transition: var(--transition);
    }


    .nav-socials a:hover {
        transform: scale(1.1);
        color: var(--olive);
    }

    /* Mobile Menu Dropdown Styles */
    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }
    
    .nav-links.active li { margin: 15px 0; }
    
    /* General Mobile Adjustments */
    .hero-title { font-size: 2.8rem; padding: 10px 25px; }
    .menu-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .info-bar { flex-direction: column; gap: 20px; }
    
    /* Ensure the brand wrapper doesn't push the hamburger too far */
    .nav-brand-wrapper { flex: 0; } 
    .nav-container { justify-content: space-between; }

    .lang-switcher {
        margin: 20px 0 10px 0;
        justify-content: center;
        font-size: 1.1rem;
    }

    .lang-switcher-container {
        margin: 20px 0 10px 0;
        display: flex;
        justify-content: center;
        width: 100%;
        border-top: 1px solid #eee; /* Adds a nice separator at the bottom of the menu */
        padding-top: 20px;
    }

    @media (max-width: 992px) {
    .menu-groups-container { grid-template-columns: 1fr; gap: 20px; }
    .hero-title { font-size: 3.5rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
}

/* Mobile specific menu behavior */
@media (max-width: 768px) {
    .group-header-mobile { display: flex; }
    .menu-group { padding: 15px; margin-bottom: 10px; }
    .group-content { display: none; padding-top: 15px; }
    .menu-group.active-group .group-content { display: block; }
    .menu-group.active-group .group-header-mobile i { transform: rotate(180deg); }
}
}