/* --- Importación de la fuente --- */
@import url('https://fonts.googleapis.com/css2?family=League+Gothic&family=Open+Sans:wght@400;700&display=swap');

/* --- Estilos Generales --- */
:root {
    --brand-yellow: #f4af00;
    --background-color: #1a1a1a;
    --text-light: #ffffff;
    --text-medium: #dddddd;
    --text-dark: #ccc;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--background-color);
    background-image: url('concrete-wall.png');
    font-family: 'Open Sans', sans-serif;
    color: var(--text-light);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}

/* --- Contenedor Principal del Menú --- */
.menu-container {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
    box-sizing: border-box;
    margin: 0 auto;
}

/* --- Encabezado y Logo --- */
header { text-align: center; width: 100%; }
.logo-icon { width: 200px; margin-bottom: 1rem; margin-top: 1rem; }

/* --- Barra de Navegación Fija --- */
.sticky-nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.nav-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nav-list::-webkit-scrollbar { display: none; }

.nav-list li a {
    font-family: 'League Gothic', sans-serif;
    text-decoration: none;
    color: var(--text-medium);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-list li a:hover, .nav-list li a.active {
    background-color: var(--brand-yellow);
    color: var(--background-color);
}

/* --- Estilos de las Secciones --- */
.menu-section { margin-bottom: 4rem; }
.section-title, .section-title-alt, .section-subtitle {
    font-family: 'League Gothic', sans-serif;
    font-size: 3rem;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
}
.section-subtitle { margin-top: -1.5rem; font-size: 2.5rem; color: var(--brand-yellow); }

/* --- Estilos de los Platos --- */
.menu-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.item-name {
    font-family: 'League Gothic', sans-serif;
    font-size: 2.2rem;
    color: var(--brand-yellow);
    margin: 0 1rem 0 0;
    letter-spacing: 0.05em;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
    /* Indicador visual de que se puede hacer click */
    text-decoration: underline; 
    text-decoration-color: rgba(244, 175, 0, 0.3);
    text-decoration-thickness: 2px;
}

.item-name:active { color: #fff; transform: scale(0.98); }

.item-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-medium);
    margin: 0;
    text-align: justify;
}

.item-price {
    font-family: 'League Gothic', sans-serif;
    font-size: 2.2rem;
    color: var(--text-light);
    white-space: nowrap;
}

.item-price-options {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.price-option-label {
     font-family: 'Open Sans', sans-serif;
     font-size: 0.8rem;
     color: var(--text-dark);
     text-align: right;
}

/* Etiquetas Nuevo */
.nuevo span {
    background-color: var(--brand-yellow);
    color: #000;
    font-family: 'League Gothic', sans-serif;
    font-size: 1rem;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 5px;
}

/* --- Columnas Bebidas/Extras --- */
.columns-container { display: flex; gap: 2rem; }
.column { flex: 1; min-width: 150px; }
.list-item {
    display: flex;
    justify-content: space-between;
    font-family: 'League Gothic', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.list-item-name { color: var(--brand-yellow); margin-right: 1rem; }
.list-item-price { color: var(--text-light); }

@media (max-width: 480px) {
    .columns-container { flex-direction: column; }
}

/* =========================================
   NUEVOS ESTILOS PARA EL MODAL (FOTO) 
   ========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 99999; /* Encima de todo */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.95); /* Fondo muy oscuro */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show { opacity: 1; }

.modal-content {
    max-width: 90%;
    max-height: 80vh; /* Que no se salga de la pantalla verticalmente */
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(244, 175, 0, 0.2); /* Resplandor amarillo sutil */
    border: 1px solid #333;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content { transform: scale(1); }

/* Botón de cerrar (Cruz Grande) */
.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--brand-yellow);
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
    background: rgba(255,255,255,0.1); /* Fondo semitransparente */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px; /* Centrado vertical */
    backdrop-filter: blur(5px);
}
/* INSTAGRAM */
.instagram-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    /* background-color: #fff;  <- Ya no necesitamos el fondo blanco */
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    /* Quitamos flexbox porque la imagen llenará todo */
    /* display: flex; align-items: center; justify-content: center; */
    padding: 0; /* Aseguramos que no haya espacio interno */
    overflow: hidden; /* ¡Importante! Recorta la imagen cuadrada en forma de círculo */
    transition: transform 0.3s ease;
}

.instagram-btn:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
}

.instagram-btn img {
    width: 100%;  /* La imagen ocupa todo el ancho */
    height: 100%; /* La imagen ocupa todo el alto */
    object-fit: cover; /* Asegura que la imagen cubra el área sin deformarse */
    display: block; /* Elimina espacios extraños debajo de las imágenes */
}
/* WHATSAPP */
.whatsapp-btn {
    position: fixed; /* Fija el botón en la pantalla */
    bottom: 20px;    /* Distancia desde abajo */
    right: 20px;     /* Distancia desde la derecha */
    width: 60px;     /* Ancho del botón */
    height: 60px;    /* Alto del botón */
    background-color: #25d366; /* Color verde oficial de WhatsApp */
    color: #fff;
    border-radius: 50%; /* Hace que sea redondo */
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2); /* Sombra suave */
    z-index: 1000;   /* Asegura que esté por encima de todo */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease; /* Animación suave al pasar el mouse */
}

.whatsapp-btn:hover {
    transform: scale(1.1); /* Crece un poco al pasar el mouse */
    background-color: #20ba5a; /* Cambio ligero de color */
}

.whatsapp-btn img {
    width: 35px;     /* Tamaño del icono SVG dentro del botón */
    height: 35px;
}