/* ==========================================================================
   GAZUZA GASTROBAR - HOJA DE ESTILOS DEL CLIENTE
   ========================================================================== 
   1. RESETEO Y GLOBALES
   2. NAVEGACIÓN Y MENÚ
   3. BOTONES Y ETIQUETAS
   4. CABECERA (HERO)
   5. SECCIÓN: LA CARTA
   6. SECCIÓN: SUGERENCIAS Y EVENTOS (CARRUSEL)
   7. SECCIÓN: RESEÑAS Y EXPERIENCIA
   8. FOOTER Y REDES SOCIALES
   9. BANNER DE COOKIES
   10. UTILIDADES Y ANIMACIONES
   ========================================================================== */

/* ==========================================================================
   1. RESETEO Y GLOBALES
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
}

.bg-dark {
    background-color: #0a0a0a;
    background-image: radial-gradient(circle at top right, #1a1a1a, #0a0a0a);
    min-height: auto !important;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.description {
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 20px;
}

/* ==========================================================================
   2. NAVEGACIÓN Y MENÚ
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 25px 5%;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.logo-text { display: flex; flex-direction: column; }
.logo-text strong { font-family: 'Playfair Display', serif; letter-spacing: 2px; }
.logo-text span { font-size: 0.8rem; color: #aaaaaa; }

.nav-links {
    list-style: none;
    display: flex; gap: 20px; align-items: center;
}

.nav-links a {
    color: #ffffff; text-decoration: none; font-size: 0.9rem; transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active { color: #cda87c; }

.btn-reservar-nav {
    border: 1px solid #ffffff; padding: 8px 16px; border-radius: 20px;
}

.menu-hamburguesa {
    display: none; background: none; border: none;
    color: #cda87c; font-size: 2.2rem; cursor: pointer; padding: 0;
}

@media (max-width: 768px) {
    .menu-hamburguesa { display: block; }
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column; align-items: center;
        padding: 20px 0; gap: 20px; display: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    .nav-links.activo { display: flex; }
}

/* ==========================================================================
   3. BOTONES Y ETIQUETAS
   ========================================================================== */
.btn-primary, .btn-secondary {
    padding: 12px 30px; border-radius: 30px; font-size: 1rem;
    cursor: pointer; transition: all 0.3s ease; font-weight: bold;
}

.btn-primary { background-color: #cda87c; border: none; color: #000000; }
.btn-primary:hover { background-color: #ffffff; }

.btn-secondary { background-color: transparent; border: 1px solid rgba(255, 255, 255, 0.5); color: #ffffff; }
.btn-secondary:hover { border-color: #ffffff; }

.badge {
    border: 1px solid rgba(255, 255, 255, 0.3); padding: 5px 15px;
    border-radius: 20px; font-size: 0.8rem;
}

.tags { font-size: 0.8rem; letter-spacing: 3px; color: #cda87c; }

/* ==========================================================================
   4. CABECERA (HERO)
   ========================================================================== */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../../public/img/fondo.jpg') !important;
    background-attachment: fixed !important; 
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    height: 100vh;
    display: flex; justify-content: center; align-items: center;
    text-align: center; padding: 0 20px;
}

@supports (-webkit-touch-callout: none) {
    .hero-section { background-attachment: scroll !important; }
}

.hero-content {
    max-width: 800px; display: flex; flex-direction: column; align-items: center; gap: 20px;
}

.hero-content h1.main-title { font-size: 5rem; }

.logo-center {
    width: 120px; height: 120px; border-radius: 50%;
    border: 3px solid #ffffff; background-color: #000000;
    display: flex; justify-content: center; align-items: center; overflow: hidden;
}
.logo-center img { width: 80%; animation: flotar 1.5s ease-in-out infinite; }

.hero-buttons { display: flex; gap: 20px; }

@media (max-width: 768px) {
    .hero-content h1.main-title { font-size: 3.5rem !important; }
    .hero-section { padding: 120px 15px 60px !important; }
    .hero-buttons { flex-direction: column; gap: 15px; width: 100%; }
    .hero-buttons button { width: 100%; }
}

/* ==========================================================================
   5. SECCIÓN: LA CARTA
   ========================================================================== */
.carta-section { padding: 40px 20px; min-height: auto; }
.carta-container { max-width: 800px; margin: 0 auto; }
.carta-opciones { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.categoria-desplegable-cliente {
    border: 1px solid rgba(205, 168, 124, 0.3); border-radius: 8px;
    background-color: rgba(25, 25, 25, 0.95); overflow: hidden; margin-top: 15px;
}

.categoria-desplegable-cliente summary {
    font-family: 'Playfair Display', serif; font-size: 1.8rem; color: #cda87c;
    padding: 20px; cursor: pointer; text-align: center; list-style: none; transition: background 0.3s;
}
.categoria-desplegable-cliente summary::-webkit-details-marker { display: none; }
.categoria-desplegable-cliente summary:hover { background-color: rgba(255, 255, 255, 0.05); }

.menu-list-vertical { padding: 0 30px 30px 30px; display: flex; flex-direction: column; gap: 25px; }

.menu-headers {
    display: grid; grid-template-columns: 1fr 65px 65px; gap: 15px;
    padding-bottom: 10px; border-bottom: 1px dashed rgba(205, 168, 124, 0.4);
    margin-bottom: 20px; color: #cda87c; font-family: 'Playfair Display', serif;
    font-weight: bold; font-size: 1.1rem;
}
.mh-precio { text-align: right; }

.menu-item-grid-row {
    display: grid; grid-template-columns: 1fr 65px 65px; gap: 15px; margin-bottom: 25px; align-items: start;
}
.mi-plato-info { display: flex; flex-direction: column; }
.mi-nombre {
    font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700;
    color: #ffffff; line-height: 1.3; margin: 0 0 5px 0; white-space: normal;
}
.mi-precio-col { color: #cda87c; font-weight: bold; font-size: 1rem; text-align: right; padding-top: 2px; }

.mi-plato-info .menu-item-desc { font-size: 0.9rem; color: #aaaaaa; font-style: italic; line-height: 1.4; margin-bottom: 4px; }
.mi-plato-info .menu-item-allergens { font-size: 0.75rem; color: #d9534f; text-transform: uppercase; letter-spacing: 0.5px; }

@media (max-width: 400px) {
    .menu-headers, .menu-item-grid-row { grid-template-columns: 1fr 55px 55px; gap: 10px; }
    .mi-precio-col { font-size: 0.9rem; } .mh-precio { font-size: 0.95rem; }
}

/* ==========================================================================
   6. SECCIÓN: SUGERENCIAS Y EVENTOS (CARRUSEL)
   ========================================================================== */
.tapa-semana-section { padding: 50px 20px 20px 20px; }
#seccion-tapa-semana { padding-bottom: 0 !important; margin-bottom: 0 !important; }

.carrusel-wrapper {
    position: relative; max-width: 1100px; margin: 0 auto; display: flex; align-items: center; padding: 0 40px;
}

.contenedor-sugerencias {
    display: flex; gap: 30px; overflow-x: auto; scroll-behavior: smooth;
    padding: 20px 10px; width: max-content; max-width: 100%; margin: 0 auto;
    -ms-overflow-style: none; scrollbar-width: none;
}
.contenedor-sugerencias::-webkit-scrollbar { display: none; }

.sugerencia-card {
    background: rgba(25, 25, 25, 0.6); border: 1px solid rgba(205, 168, 124, 0.4);
    border-radius: 12px; overflow: hidden; flex: 0 0 320px; 
    display: flex; flex-direction: column; transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sugerencia-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.7); }

.sugerencia-img { width: 100%; height: 250px; object-fit: cover; border-bottom: 2px solid #cda87c; }

.sugerencia-info { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.sugerencia-info h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: #fff; margin-bottom: 15px; }
.sugerencia-info p { color: #ccc; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }

.btn-carrusel {
    background: #cda87c; color: #1e2125; border: none; border-radius: 50%;
    width: 45px; height: 45px; font-size: 1.5rem; cursor: pointer; position: absolute;
    z-index: 10; display: flex; justify-content: center; align-items: center; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.btn-carrusel:hover { background: #e0bc90; transform: scale(1.1); }
.btn-carrusel.prev { left: 0; } .btn-carrusel.next { right: 0; }

@media (max-width: 768px) {
    .carrusel-wrapper { padding: 0 10px; }
    .btn-carrusel { width: 35px; height: 35px; font-size: 1.2rem; }
    .sugerencia-card { flex: 0 0 280px; }
    
    /* ESTA ES LA LÍNEA NUEVA */
    .contenedor-sugerencias {
        width: 100%; /* Obliga a la caja a ocupar toda la pantalla */
        justify-content: center; /* Centra la tarjeta dentro de esa caja grande */
    }
}

/* ==========================================================================
   7. SECCIÓN: RESEÑAS Y EXPERIENCIA
   ========================================================================== */
.reseñas-grid {
    display: grid; gap: 30px; padding: 0 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px; margin: 0 auto;
}
.reseña-card {
    background: #1e2125; padding: 30px; border-radius: 8px; border: 1px solid rgba(205, 168, 124, 0.15);
    text-align: center; transition: transform 0.3s ease;
}
.reseña-card:hover { transform: translateY(-8px); border-color: rgba(205, 168, 124, 0.5); }
.estrellas { color: #cda87c; font-size: 1.2rem; margin-bottom: 15px; letter-spacing: 2px; }
.texto-reseña { font-style: italic; color: #ddd; margin-bottom: 20px; line-height: 1.6; font-size: 1.05rem; }
.autor-reseña { font-weight: bold; color: #fff; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.fuente-reseña { font-size: 0.75rem; color: #888; display: block; margin-top: 5px; }

.experiencia-section { padding: 60px 20px; border-top: 1px solid rgba(205, 168, 124, 0.1); }
.experiencia-container { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 50px; align-items: center; }
.experiencia-texto, .experiencia-imagen { flex: 1; min-width: 300px; }
.foto-experiencia {
    width: 100%; height: 400px; object-fit: cover; border-radius: 8px;
    border: 1px solid #333; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.foto-experiencia:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.7); }

/* ==========================================================================
   8. FOOTER Y REDES SOCIALES
   ========================================================================== */
.footer-section { background-color: #050505; border-top: 1px solid #1a1a1a; padding: 60px 20px 20px 20px; }
.footer-container {
    max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; margin-bottom: 40px;
}
.footer-columna h3 { font-family: 'Playfair Display', serif; color: #cda87c; font-size: 1.3rem; margin-bottom: 20px; }
.footer-columna p { color: #aaaaaa; line-height: 1.6; margin-bottom: 10px; font-size: 0.95rem; }
.footer-bottom { text-align: center; border-top: 1px solid #1a1a1a; padding-top: 20px; color: #666; font-size: 0.8rem; }
.footer-columna a:hover { color: #cda87c !important; text-decoration: underline !important; }

.social-icon { transition: transform 0.3s ease, opacity 0.3s ease; display: inline-block; }
.social-icon:hover { transform: scale(1.2); opacity: 0.8; }
@media (max-width: 600px) { .social-icon img { width: 30px !important; } }

.galeria-section { width: 100%; overflow: hidden; background-color: #050505; }
.galeria-grid { display: flex; width: 100%; }
.galeria-img {
    flex: 1; height: 250px; object-fit: cover; filter: brightness(0.6) grayscale(20%);
    transition: filter 0.4s ease, transform 0.4s ease; cursor: pointer;
}
.galeria-img:hover { filter: brightness(1.1) grayscale(0%); transform: scale(1.05); z-index: 2; }

/* ==========================================================================
   9. BANNER DE COOKIES
   ========================================================================== */
.cookie-banner {
    position: fixed; bottom: -150%; left: 0; width: 100%;
    background-color: rgba(26, 26, 26, 0.98); border-top: 2px solid #cda87c; color: #ccc;
    padding: 20px 5%; z-index: 9999; box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1); display: flex; justify-content: center;
}
.cookie-banner.mostrar { bottom: 0; }
.cookie-content { max-width: 1200px; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 15px; }
.cookie-content p { margin: 0; font-size: 0.95rem; line-height: 1.5; }
.cookie-buttons { display: flex; gap: 15px; white-space: nowrap; }
.btn-cookie-aceptar { background-color: #cda87c; color: #1e2125; border: none; padding: 8px 20px; font-weight: bold; border-radius: 4px; cursor: pointer; transition: 0.3s; }
.btn-cookie-aceptar:hover { background-color: #b59268; }
.btn-cookie-rechazar { background-color: transparent; color: #aaa; border: 1px solid #aaa; padding: 8px 20px; border-radius: 4px; cursor: pointer; transition: 0.3s; }
.btn-cookie-rechazar:hover { color: #fff; border-color: #fff; }

@media (min-width: 768px) {
    .cookie-content { flex-direction: row; text-align: left; justify-content: space-between; }
}

/* ==========================================================================
   10. PÁGINA DE RESERVAS Y FORMULARIOS
   ========================================================================== */
.reserva-hero { text-align: center; padding: 60px 20px 20px; color: #fff; }
.reserva-hero h1 { font-size: 2.5rem; color: #cda87c; margin-bottom: 10px; }
.reserva-hero p { color: #aaa; font-size: 1.1rem; }

.form-container {
    max-width: 800px; margin: 0 auto 60px; background: #1e2125;
    padding: 40px; border-radius: 8px; border-top: 4px solid #cda87c;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) {
    .form-grid { grid-template-columns: 1fr 1fr; }
    .full-width { grid-column: span 2; }
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { color: #ddd; font-weight: bold; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    background: #2a2d32; border: 1px solid rgba(205, 168, 124, 0.3);
    color: #fff; padding: 12px 15px; border-radius: 4px; font-size: 1rem;
    transition: all 0.3s ease; font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: #cda87c; box-shadow: 0 0 8px rgba(205, 168, 124, 0.3);
}
.form-group select:disabled { background: #1a1c1e; color: #666; cursor: not-allowed; border-color: rgba(255,255,255,0.05); }

::-webkit-calendar-picker-indicator { filter: invert(1) sepia(1) saturate(5) hue-rotate(340deg); cursor: pointer; }

.btn-reservar {
    background-color: #cda87c; color: #1e2125; border: none; padding: 15px 30px;
    font-size: 1.1rem; font-weight: bold; border-radius: 4px; cursor: pointer;
    width: 100%; transition: transform 0.2s, background-color 0.3s; margin-top: 10px;
}
.btn-reservar:hover { background-color: #b59268; transform: translateY(-2px); }

.btn-volver { display: inline-block; margin-top: 20px; margin-left: 20px; color: #aaa; text-decoration: none; font-weight: bold; transition: 0.3s; }
.btn-volver:hover { color: #fff; }

#mensaje-exito { display: none; text-align: center; padding: 40px; }
#mensaje-exito h2 { color: #27ae60; margin-bottom: 15px; }
#mensaje-exito p { color: #ddd; font-size: 1.1rem; line-height: 1.6; }