@charset "utf-8";
/* --- REGLAS GENERALES Y VARIABLES --- */
:root {
    --color-principal: #0f172a; /* Azul pizarra oscuro/elegante */
    --color-acento: #600;    /* Bordo / Ámbar gastronómico */
    --color-texto: #334155;      /* Gris oscuro para lectura fácil */
    --color-claro: #f8fafc;      /* Fondo suave */
    --fuente-titulos: 'Playfair Display', Georgia, serif;
    --fuente-cuerpo: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Asegura que el contenedor del logo no use tipografías de texto si es una imagen */
.logo {
    display: flex;
    align-items: center;
    height: 100%; /* Toma la altura disponible del contenedor */
}

/* Controla el tamaño de la imagen del logo */
.logo img {
    height: 45px;       /* 👈 Esta es la clave. Ajustá este número (ej. 40px, 45px, 50px) para cambiar el tamaño */
    width: auto;        /* 👈 Evita que el logo se estire o se deforme horizontalmente */
    max-height: 100%;   /* No permite que supere el alto de la barra */
    object-fit: contain;/* Mantiene la proporción perfecta de la imagen */
    display: block;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fuente-cuerpo);
    color: var(--color-texto);
    background-color: var(--color-claro);
    line-height: 1.6;
    padding-top: 80px;
}

h1, h2, h3 {
    font-family: var(--fuente-titulos);
    color: var(--color-principal);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- HEADER / NAVEGACIÓN --- */
header {
    background-color: rgba(15, 23, 42, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: var(--fuente-titulos);
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.logo span {
    color: var(--color-acento);
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: #e2e8f0;
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--color-acento);
}

/* Botón de Menú Móvil (Hamburguesa) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), 
                url('menu.jpg') no-repeat center center/cover;
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #cbd5e1;
}

.btn {
    display: inline-block;
    background-color: var(--color-acento);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #b45309;
    transform: translateY(-2px);
}

/* --- SECCIÓN SERVICIOS --- */
.services {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-acento);
    margin: 15px auto 40px auto;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-claro);
    padding: 40px 20px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-principal);
}

/* --- SECCIÓN MENÚ / GALERÍA --- */
.menu-preview {
    padding: 80px 0;
    text-align: center;
}

.menu-subtitle {
    margin-bottom: 40px; 
    color: var(--color-texto);
}

.grid-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.menu-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.menu-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.menu-item:hover img {
    transform: scale(1.1);
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.2));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-item:hover .menu-overlay {
    opacity: 1;
}

.menu-overlay h4 {
    color: #fff;
    font-family: var(--fuente-titulos);
    font-size: 1.2rem;
}

/* --- SECCIÓN CONTACTO --- */
.contact {
    padding: 80px 0;
    background-color: var(--color-principal);
    color: #fff;
}

.contact .section-title {
    color: #fff;
    text-align: center;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.contact-info h3 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 15px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea, select {
    padding: 12px;
    border: 1px solid #334155;
    background-color: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 5px;
    font-family: var(--fuente-cuerpo);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-acento);
    background-color: rgba(255,255,255,0.1);
}

select option {
    background-color: var(--color-principal);
    color: #fff;
}

/* --- FOOTER --- */
footer {
    background-color: #090d16;
    color: #64748b;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

    nav.active {
        right: 0;
    }

    nav a {
        margin-left: 0;
        font-size: 1.2rem;
    }

    /* Animación del icono hamburguesa al abrirse */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}/* CSS Document */

/* --- BOTÓN FLOTANTE DE WHATSAPP --- */
.btn-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* Verde oficial de WhatsApp */
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999; /* Asegura que quede por encima de todo */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Efecto al pasar el mouse por encima */
.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: scale(1.1); /* Se agranda un poquito */
}

/* Tamaño del icono dentro del círculo */
.btn-whatsapp img {
    width: 35px;
    height: 35px;
}

/* Adaptación para pantallas chicas (móviles) */
@media (max-width: 768px) {
    .btn-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .btn-whatsapp img {
        width: 28px;
        height: 28px;
    }
}
/* --- MODAL DE BIENVENIDA --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.85); /* Fondo oscuro semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Por encima de absolutamente todo */
    opacity: 1;
    transition: opacity 0.4s ease;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: aparecerModal 0.5s ease;
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--color-texto);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Animación de entrada suave */
@keyframes aparecerModal {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}