/* ============================================
   VARIABLES Y RESET GLOBAL
   ============================================ */

/* Variables de color para cambiar fácilmente después */
:root {
    --color-primario: #ff9e2c;      /* Naranja Garabato */
    --color-fondo: #0a0a0a;          /* Negro profundo */
    --color-fondo-claro: #1a1a1a;    /* Gris oscuro */
    --color-texto: #e0e0e0;          /* Blanco suave */
    --color-texto-secundario: #999;   /* Gris medio */
}

/* Reset: Elimina márgenes y padding predeterminados del navegador */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos base del body */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
    overflow-x: hidden; /* Evita scroll horizontal */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth scroll cuando haces clic en links internos */
html {
    scroll-behavior: smooth;
}


/* ============================================
   NAVEGACIÓN FIJA
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95); /* Semi-transparente */
    backdrop-filter: blur(10px); /* Efecto difuminado */
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000; /* Siempre encima de todo */
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 158, 44, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-primario);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-texto);
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    /* Touch target mínimo */
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--color-primario);
}

.btn-nav-reserva {
    border: 2px solid var(--color-primario);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--color-primario) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-nav-reserva:hover {
    background-color: var(--color-primario);
    color: #000 !important;
    transform: translateY(-2px);
}


/* ============================================
   HERO SECTION (Portada)
   ============================================ */

.hero {
    height: 100vh; /* Ocupa toda la pantalla */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Cambia esta URL por una foto de tu bar */
    background: url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?w=1600') center/cover;
}

/* Capa oscura sobre la foto para que se lea el texto */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(10, 10, 10, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-texto-secundario);
    margin-bottom: 40px;
}

.btn-hero {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-primario);
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Touch target mínimo */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 158, 44, 0.3);
}


/* ============================================
   CONTENEDORES Y SECCIONES GENERALES
   ============================================ */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.section-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--color-texto-secundario);
    font-size: 1.1rem;
    line-height: 1.7;
}


/* ============================================
   SOBRE NOSOTROS
   ============================================ */

.sobre-nosotros {
    background-color: var(--color-fondo-claro);
}


/* ============================================
   MENÚ INTERACTIVO (SPOTLIGHT EFFECT)
   ============================================ */

.menu-section {
    background-color: var(--color-fondo);
    position: relative;
}

.menu-lista {
    position: relative;
    z-index: 2; /* Texto por encima de la imagen */
    max-width: 800px;
    margin: 0 auto;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    cursor: pointer;
    transition: padding-left 0.3s ease, color 0.3s ease;
    /* Touch target mínimo */
    min-height: 60px;
}

.menu-item:hover {
    padding-left: 30px;
}

.menu-item:hover .menu-item-nombre {
    color: var(--color-primario);
}

.menu-item-info {
    flex: 1;
}

.menu-item-nombre {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--color-texto-secundario);
    line-height: 1.5;
}

.menu-item-precio {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primario);
    margin-left: 20px;
}

/* LA MAGIA: Fondo que aparece con hover */
.menu-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0; /* Detrás del texto */
    pointer-events: none; /* No bloquea clics */
    /* Efecto viñeta para que se vea mejor el texto */
    mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
}


/* ============================================
   SECCIÓN RESERVAS
   ============================================ */

.reservas-section {
    background-color: var(--color-fondo-claro);
    text-align: center;
}

.btn-whatsapp {
    display: inline-block;
    padding: 18px 50px;
    background-color: #25D366; /* Verde WhatsApp */
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Touch target mínimo */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}


/* ============================================
   UBICACIÓN Y MAPA
   ============================================ */

.ubicacion-section {
    background-color: var(--color-fondo);
}

.direccion {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--color-texto-secundario);
}

.mapa-container {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 158, 44, 0.2);
    /* Filtro para hacer el mapa oscuro (opcional) */
    filter: grayscale(40%) brightness(0.8);
}


/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #000;
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 158, 44, 0.2);
}

.footer p {
    color: var(--color-texto-secundario);
    font-size: 0.9rem;
    margin: 5px 0;
}


/* ============================================
   ESTILOS PARA LA HOME (index.html)
   ============================================ */

.hero-home {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?w=1600') center/cover;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-primary {
    background-color: var(--color-primario);
    color: #000;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #000;
}


/* ============================================
   ESTILOS PARA UBICACIÓN
   ============================================ */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.info-card {
    background-color: var(--color-fondo-claro);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-primario);
}

.info-card p {
    color: var(--color-texto-secundario);
    line-height: 1.8;
}

.info-card a {
    color: var(--color-primario);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.info-card a:hover {
    opacity: 0.8;
}


/* ============================================
   ESTILOS PARA RESERVAS
   ============================================ */

.reserva-options {
    margin-top: 50px;
}

.reserva-info {
    margin-top: 30px;
    font-size: 1.1rem;
    color: var(--color-texto-secundario);
}

.reserva-info strong {
    color: var(--color-primario);
}

.reserva-info a {
    color: var(--color-primario);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.reserva-info a:hover {
    opacity: 0.8;
    text-decoration: underline;
}


/* ============================================
   AJUSTES PARA PÁGINAS INTERNAS
   ============================================ */

.menu-section,
.ubicacion-section,
.reservas-section {
    min-height: calc(100vh - 140px);
    padding-top: 140px;
}


/* ============================================
   RESPONSIVE: TABLETS (481px - 768px)
   ============================================ */

@media (max-width: 768px) and (min-width: 481px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .container {
        padding: 0 25px;
    }
}


/* ============================================
   RESPONSIVE: MÓVILES (max-width: 768px)
   ============================================ */

@media (max-width: 768px) {
    
    /* ========== NAVEGACIÓN MÓVIL ========== */
    .navbar {
        padding: 15px 0;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .logo {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    
    .nav-links {
        gap: 12px;
    }
    
    .nav-links a {
        font-size: 0.75rem;
        padding: 8px 6px; /* Área táctil más grande */
    }
    
    .btn-nav-reserva {
        padding: 8px 15px;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
    
    
    /* ========== HERO MÓVIL ========== */
    .hero, .hero-home {
        height: 100vh;
        background-attachment: scroll; /* Quita parallax en móvil */
        background-size: cover;
    }
    
    .hero-content {
        padding: 0 25px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 1.5px;
        margin-bottom: 35px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn-hero {
        width: 100%;
        padding: 16px 20px;
        font-size: 0.9rem;
        text-align: center;
    }
    
    
    /* ========== SECCIONES MÓVIL ========== */
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-text {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    
    /* ========== MENÚ MÓVIL ========== */
    .menu-lista {
        padding: 30px 20px;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 0;
        gap: 10px;
    }
    
    .menu-item:hover {
        padding-left: 10px; /* Menos desplazamiento en móvil */
    }
    
    .menu-item-nombre {
        font-size: 1.2rem;
    }
    
    .menu-item-desc {
        font-size: 0.85rem;
    }
    
    .menu-item-precio {
        font-size: 1.3rem;
        margin-top: 5px;
        margin-left: 0;
    }
    
    /* Desactivar efecto spotlight en móvil */
    .menu-spotlight {
        display: none;
    }
    
    
    /* ========== UBICACIÓN MÓVIL ========== */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
    }
    
    .info-card p {
        font-size: 0.9rem;
    }
    
    .mapa-container {
        border-radius: 6px;
    }
    
    .mapa-container iframe {
        height: 350px;
    }
    
    
    /* ========== RESERVAS MÓVIL ========== */
    .btn-whatsapp {
        width: 90%;
        max-width: 300px;
        padding: 16px 20px;
        font-size: 0.95rem;
    }
    
    .reserva-info {
        font-size: 0.95rem;
        padding: 0 20px;
    }
    
    
    /* ========== FOOTER MÓVIL ========== */
    .footer {
        padding: 35px 20px;
    }
    
    .footer p {
        font-size: 0.85rem;
    }
    
    
    /* ========== PÁGINAS INTERNAS MÓVIL ========== */
    .menu-section,
    .ubicacion-section,
    .reservas-section {
        padding-top: 100px;
        min-height: auto;
    }
}


/* ============================================
   RESPONSIVE: PANTALLAS MUY PEQUEÑAS (< 375px)
   ============================================ */

@media (max-width: 375px) {
    .hero-title {
        font-size: 1.7rem;
    }
    
    .logo {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }
    
    .nav-links a {
        font-size: 0.7rem;
        padding: 8px 4px;
    }
    
    .btn-nav-reserva {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn-hero {
        font-size: 0.85rem;
        padding: 14px 18px;
    }
}


/* ============================================
   MEJORAS DE RENDIMIENTO
   ============================================ */

/* Optimizar animaciones en móvil */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Carga lazy de imágenes de fondo */
@media (max-width: 768px) {
    .hero, .hero-home {
        background-image: url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?w=800');
    }
}
/* ============================================
   BOTÓN WHATSAPP FLOTANTE
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* Animación sutil para llamar la atención */
@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* Tooltip que aparece al pasar el ratón */
.whatsapp-float::before {
    content: "¿Reservamos?";
    position: absolute;
    right: 70px;
    background-color: #fff;
    color: #333;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.whatsapp-float:hover::before {
    opacity: 1;
}

/* Responsive móvil */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
    
    /* En móvil, ocultar el tooltip */
    .whatsapp-float::before {
        display: none;
    }
}
/* ============================================
   BANNER DE COOKIES (RGPD)
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-texto);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    border-top: 2px solid var(--color-primario);
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-texto-secundario);
}

.cookie-text a {
    color: var(--color-primario);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.cookie-btn-accept {
    background-color: var(--color-primario);
    color: #000;
}

.cookie-btn-accept:hover {
    background-color: #ff8c1a;
    transform: translateY(-2px);
}

.cookie-btn-reject {
    background-color: transparent;
    color: var(--color-texto);
    border: 1px solid var(--color-texto-secundario);
}

.cookie-btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-text {
        font-size: 0.85rem;
    }
}
/* ============================================
   REDES SOCIALES EN FOOTER
   ============================================ */

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 158, 44, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--color-primario);
    transition: fill 0.3s ease;
}

.social-link:hover {
    background-color: var(--color-primario);
    transform: translateY(-3px);
}

.social-link:hover svg {
    fill: #000;
}

/* Colores específicos por red social al hover (opcional) */
.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.facebook:hover {
    background-color: #1877f2;
}

.social-link.whatsapp:hover {
    background-color: #25D366;
}

.social-link.instagram:hover svg,
.social-link.facebook:hover svg,
.social-link.whatsapp:hover svg {
    fill: #fff;
}

.footer p {
    margin: 8px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.footer-links a {
    color: var(--color-texto-secundario);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primario);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-social {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .social-link svg {
        width: 22px;
        height: 22px;
    }
}
/* ============================================
   SECCIÓN DE TESTIMONIOS/RESEÑAS
   ============================================ */

.testimonios-section {
    background-color: var(--color-fondo-claro);
    padding: 100px 0;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.testimonio-card {
    background-color: var(--color-fondo);
    padding: 35px;
    border-radius: 10px;
    border: 1px solid rgba(255, 158, 44, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primario);
    box-shadow: 0 10px 30px rgba(255, 158, 44, 0.2);
}

.estrellas {
    font-size: 1.2rem;
    color: var(--color-primario);
}

.testimonio-texto {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-texto-secundario);
    font-style: italic;
    flex: 1;
}

.testimonio-autor {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.testimonio-autor strong {
    color: var(--color-texto);
    font-size: 1rem;
}

.testimonio-autor span {
    color: var(--color-texto-secundario);
    font-size: 0.85rem;
}

.testimonio-cta {
    text-align: center;
    margin-top: 20px;
}

.btn-testimonio {
    display: inline-block;
    padding: 15px 35px;
    background-color: transparent;
    border: 2px solid var(--color-primario);
    color: var(--color-primario);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-testimonio:hover {
    background-color: var(--color-primario);
    color: #000;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .testimonios-section {
        padding: 60px 0;
    }
    
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }
    
    .testimonio-card {
        padding: 25px;
    }
    
    .btn-testimonio {
        width: 90%;
        max-width: 320px;
        font-size: 0.9rem;
    }
}

