@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --bg-color: #fcfbf8; /* Tono crema de vuestra carta */
    --primary-color: #2a3a29; /* Verde oscuro elegante */
    --accent-color: #d4af37; /* Dorado sutil */
    --text-color: #222;
    --border-color: #e5e0d8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

h5 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    color: #363636;   
    font-size: 0.9rem; 
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(42, 58, 41, 0.8), rgba(42, 58, 41, 0.8)), url('assets/img/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 60px;
}

.hero h1 {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 4px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #b5952f;
}

/* Carta con Tabs */
.menu-section {
    padding: 5rem 5%;
    max-width: 900px;
    margin: 0 auto;
}

.menu-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 3rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    border-radius: 30px;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.menu-category {
    display: none;
    animation: fadeIn 0.5s;
}

.menu-category.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-category h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.promo-text {
    background: #f0ece1;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.95rem;
}

.menu-list {
    list-style: none;
}

.menu-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 1rem;
}

.price {
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    margin-left: 15px;
}

.mt-2 {
    margin-top: 2rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.menu-grid h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

/* Destacados */
.highlights-section {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--primary-color);
    color: #fff;
}

.highlight-box {
    flex: 1;
    min-width: 300px;
    padding: 4rem 5%;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.highlight-box h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 4rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-content h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #fff;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .menu-list li { flex-direction: column; }
    .price { margin-left: 0; margin-top: 5px; }
}

.social-link {
    color: #ccc; 
    text-decoration: none; 
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-color); 
}

.contact-info p {
    margin-bottom: 8px;
}

/* Diseño para los botones de Llamar y WhatsApp */
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap; /* Para que en móviles se pongan uno debajo de otro si no caben */
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-btn:hover {
    transform: scale(1.05); /* El botón crece un poquito al pasar el ratón */
    filter: brightness(1.1);
}

.call-btn {
    background-color: var(--accent-color); /* Color dorado de la web */
    color: #1a1a1a;
}

.wa-btn {
    background-color: #25D366; /* Verde oficial de WhatsApp */
    color: #fff;
}

/* Estilos para los alérgenos */
.item-info {
    display: flex;
    flex-direction: column;
}

.allergens {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
    font-style: italic;
}

/* ---- ESTILOS ESCRITORIO (Desplegable) ---- */
.lang-selector-desktop {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    text-transform: uppercase;
    color: #1a1a1a; /* Pon el color de tus enlaces de navegación */
    margin-left: 15px;
}

.lang-selector-desktop label {
    font-weight: 500;
}

.lang-dropdown {
    background-color: transparent;
    border: none;
    color: var(--accent-color);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.lang-dropdown option {
    background-color: #fff;
    color: #1a1a1a;
    text-transform: initial;
}

/* ---- ESTILOS MÓVIL (Botones ES | EN) ---- */
.lang-selector-mobile {
    display: none; /* Por defecto (en ordenador) está oculto */
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-left: auto;
    margin-right: 15px;
}

.lang-btn {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.lang-btn.active {
    opacity: 1;
}

.separator {
    color: #1a1a1a;
    font-weight: 300;
}

/* ---- MEDIA QUERY (Aquí ocurre el cambio de pantalla) ---- */
@media (max-width: 768px) {
    /* En móviles, ocultamos el desplegable */
    .lang-selector-desktop {
        display: none;
    }
    /* En móviles, mostramos los botones ES | EN */
    .lang-selector-mobile {
        display: flex;
    }
}

/* Estilo del menú desplegable "invisible" */
.lang-dropdown {
    background-color: transparent;
    border: none; /* ¡Fuera el recuadro! */
    color: var(--accent-color); /* Mantiene tu color dorado para que destaque */
    font-family: inherit;
    font-size: 1rem; /* Asegúrate de que coincida con el font-size de tus enlaces */
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    outline: none; /* Quita el borde azul que sale a veces al hacer clic */
}

/* Efecto al pasar el ratón */
.lang-dropdown:hover {
    opacity: 0.7;
}

/* Las opciones que se ven al desplegar la lista */
.lang-dropdown option {
    background-color: #fff;
    color: #1a1a1a;
    text-transform: initial; /* Para que las opciones dentro de la caja se lean normal (Español / English) */
}

.texto-centrado {
    text-align: center; 
    max-width: 80%;     
}
