/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    color: #333;
}

a {
    text-decoration: none;
}

/* HEADER */
header {
    background-color: #293474;
    padding: 15px;
    text-align: center;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

/* =======================
   SLIDER CORREGIDO
======================= */

#slider {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 600px;
    overflow: hidden;
}

/* Contenedor que se mueve */
.slides {
    display: flex;
    height: 100%;
    transition: transform 1.2s ease-in-out;
}

/* CADA SLIDE (CLAVE) */
.slide {
    min-width: 100%;
    height: 100%;
}



/* Imagen */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* CLAVE */
}

.slide-pasta img {
    object-position: center 41%;
}


/* BOTÓN RESERVAR */
.btn-reservar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    background: rgba(45, 34, 25, 0.35); /* más transparente */
    color: #ffffff;

    padding: 15px 40px;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;

    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;

    backdrop-filter: blur(3px); /* efecto vidrio sutil */
    -webkit-backdrop-filter: blur(3px);

    transition: all 0.35s ease;
    z-index: 10;
}


.btn-reservar:hover {
    background: rgba(41, 52, 116, 0.5); /* azul transparente más suave */
    border-color: #ffffff;
    transform: translate(-50%, -50%) scale(1.05);
}



/* BIENVENIDA CON LOGOS */
#bienvenida {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    background-color: #2d2219;
    color: white;
    text-align: center;
}

.bienvenida-texto {
    max-width: 600px;
}

.bienvenida-texto h1 {
    color: #c89717;
    margin-bottom: 15px;
}

/* EFECTO BRILLO LOGOS BIENVENIDA */
.logo-bienvenida {
    position: relative;
    width: 120px;
    opacity: 0.95;
    filter: drop-shadow(0 0 6px rgba(200, 151, 23, 0.4));
    animation: brilloLogo 3s ease-in-out infinite alternate;
}

/* Animación de brillo */
@keyframes brilloLogo {
    0% {
        filter: drop-shadow(0 0 4px rgba(200, 151, 23, 0.3));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 12px rgba(200, 151, 23, 0.8));
        transform: scale(1.03);
    }
}


@media (max-width: 768px) {

    /* Ocultar logo izquierdo en móvil */
    .logo-izq {
        display: none;
    }

    /* Asegurar que el logo derecho quede debajo del texto */
    #bienvenida {
        flex-direction: column;
    }

    .logo-der {
        margin-top: 20px;
    }
}

/* Efecto reflejo (shine) en logos */
.logo-bienvenida {
    position: relative;
    overflow: hidden;
}

.logo-bienvenida::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transform: skewX(-25deg);
    animation: reflejoLogo 4s infinite;
}

@keyframes reflejoLogo {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

/* ESPECIALIDADES */
#especialidades {
    padding: 80px 20px;
    text-align: center;
    background-color: #f8f8f8;
}

#especialidades h2 {
    color: #293474;
    margin-bottom: 10px;
}

.especialidades-sub {
    max-width: 600px;
    margin: 0 auto 50px;
}

.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.especialidad-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.especialidad-card h3 {
    color: #c89717;
    margin-bottom: 10px;
}

.btn-carta {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 36px;
    background-color: #293474;
    color: white;
    border-radius: 50px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .especialidades-grid {
        grid-template-columns: 1fr;
    }
}

/* RESEÑAS */
#resenas {
    padding: 80px 20px;
    background-color: #2d2219;
    color: white;
    text-align: center;
}

#resenas h2 {
    color: #c89717;
    margin-bottom: 50px;
}

.resenas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.resena {
    background-color: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 15px;
    font-style: italic;
}

.resena span {
    display: block;
    margin-top: 15px;
    font-style: normal;
    color: #c89717;
}

/* Responsive */
@media (max-width: 768px) {
    .resenas-grid {
        grid-template-columns: 1fr;
    }
}



/* FOOTER */
footer {
    background-color: #293474;
    color: white;
    text-align: center;
    padding: 20px;
}

/* =======================
   RESPONSIVE
======================= */

@media (max-width: 768px) {

    #slider {
        height: 50vh;
    }
	
	.slide-pasta-verde img {
	/* height: 100%;*/
    object-position: center 90%;
	}

    .btn-reservar {
        font-size: 18px;
        padding: 12px 28px;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }
}



/* =========================================================
   ESTILOS PROFESIONALES PARA CARTA - DISEÑO TARJETAS
========================================================= */

#carta {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#carta h1 {
    font-size: 36px;
    color: #c89717;
    text-align: center;
    margin-bottom: 10px;
}

#carta p {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* Centrar solo los h2 dentro de la carta */
#carta h2 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block; /* asegura que el h2 se comporte como bloque */
}



#carta h3 {
    text-align: center;      /* centra el nombre del plato */
    margin-bottom: 5px;      /* separa un poco del precio o descripción */
}



.menu-section {
    margin-bottom: 50px;
}

.menu-section h2 {
    font-size: 28px;
    color: #293474;
    margin-bottom: 20px;
    border-bottom: 2px solid #c89717;
    display: inline-block;
    padding-bottom: 5px;
}

.menu-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.menu-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.menu-card h3 {
    font-size: 20px;
    color: #2d2219;
    margin-bottom: 8px;
}

.menu-card .desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.menu-card .price {
    font-weight: bold;
    font-size: 18px;
    color: #c89717;
    text-align: right;
}

/* BOTONES DE CATEGORÍAS */
.menu-buttons {
    text-align: center;
    margin: 30px 0px 80px 0px;
}

.menu-buttons .menu-btn {
    display: inline-block;
    background-color: #c89717; /* amarillo estilo La Bella Vita */
    color: #2d2219;
    font-weight: bold;
    padding: 10px 25px;
    margin: 5px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-buttons .menu-btn:hover {
    background-color: #293474; /* azul oscuro al pasar ratón */
    color: white;
    transform: scale(1.05);
}


/* NOTAS INFORMATIVAS */
.menu-notes {
    margin-top: 40px;
    padding: 15px;
    border-top: 2px solid #ddd;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.menu-notes p {
    margin: 10px 0;
}

/*///////////////*/
/*//RESPONSIVE//*/
/*///////////////*/
@media (max-width: 768px) {
    .menu-cards {
        grid-template-columns: 1fr; /* una columna en móvil */
    }

    .menu-card .price {
        text-align: left;
    }
}


/* Botón volver arriba solo para la carta */
#carta #scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    background-color: rgba(41, 52, 116, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Se muestra solo al hacer scroll */
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.3s;
}

#carta #scrollTopBtn:hover {
    background-color: rgba(41, 52, 116, 0.9);
}

/* =======================
   HERO CARTA
======================= */

#carta-hero {
    width: 100%;
    height: 60vh;
    max-height: 520px;
    background-image: url("../img/fondo_carta_labellavita.png"); /* cambia por tu imagen */
    background-size: cover;
    background-position: center 13%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carta-hero-overlay {
    background: rgba(45, 34, 25, 0.7); /* #2d2219 en transparente */
    color: white;
    padding: 40px 30px;
    border-radius: 0; /* opcional, ahora ocupa toda la imagen */
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.carta-hero-overlay h1 {
    font-size: 48px;
    color: #c89717;
    margin-bottom: 15px;
}

.carta-hero-overlay p {
    font-size: 20px;
    line-height: 1.6;
}

/* Responsive
@media (max-width: 768px) {
    #carta-hero {
        height: 45vh;
    }

    .carta-hero-overlay h1 {
        font-size: 32px;
    }

    .carta-hero-overlay p {
        font-size: 16px;
    }
} */


/* =======================
   NOSOTROS PAGE
======================= */

/* =======================
   Bibliografía como Tarjeta Premium
======================= */
#nosotros-bibliografia {
    padding: 80px 20px;
    background: #f9f5f0;
    display: flex;
    justify-content: center;
}

.bibliografia-card {
    background: rgba(255, 255, 255, 0.85); /* glassmorphism suave */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    padding: 60px 40px;
    max-width: 900px;
    text-align: justify; 
    position: relative;
}

.bibliografia-card h2 {
    font-size: 38px;
    color: #c89717;
    margin-bottom: 40px;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.bibliografia-texto p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

/* Efecto decorativo (barra superior) */
.bibliografia-card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, #c89717, #293474);
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .bibliografia-card {
        padding: 40px 20px;
    }

    .bibliografia-card h2 {
        font-size: 28px;
    }

    .bibliografia-texto p {
        font-size: 16px;
    }
}


#nosotros-bibliografia h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #c89717;
}

.bibliografia-texto p {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 18px;
}

/* Timeline */
#nosotros-historia {
    padding: 60px 20px;
    background-color: #fff;
}

#nosotros-historia h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #c89717;
}

.timeline {
    list-style: none;
    position: relative;
    padding-left: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #c89717;
    transform: translateX(-50%);
}

.timeline li {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline li:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline li:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline li::before {
    content: '';
    position: absolute;
    top: 25px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #c89717;
    border: 4px solid #fff;
    z-index: 1;
}

.timeline li:nth-child(odd)::before {
    right: -10px;
}

.timeline li:nth-child(even)::before {
    left: -10px;
}

.timeline li p {
    background: #f3f1ee;
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
    /* max-width: 90%; */
	width: auto;
}



/* Ubicación */
#nosotros-ubicacion {
    padding: 60px 20px;
    text-align: center;
    background-color: #fffaf0;
}

#nosotros-ubicacion h2 {
    font-size: 32px;
    color: #c89717;
    margin-bottom: 20px;
}

#nosotros-ubicacion p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #333;
}



/* Botón estilizado */
.btn-mapa {
    display: inline-block;
    padding: 15px 35px;
    font-size: 18px;
    color: white;
    background-color: #293474;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-mapa:hover {
    background-color: #3f4fa8;
    transform: scale(1.05);
}



#nosotros-valores {
    padding: 60px 20px;
    background-color: #f9f5f0;
    text-align: center;
}

#nosotros-valores h2 {
    color: #c89717;
    font-size: 36px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Contenedor de valores */
.valores-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

/* Cada valor como tarjeta divertida */
.valor {
    background-color: #fff8ec;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    padding: 30px 20px;
    flex: 1 1 220px;
    max-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
}

/* Iconos grandes y llamativos */
.valor-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    background: #c89717;
    color: white;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    transition: transform 0.3s ease, background 0.3s ease;
}

/* Animación divertida al pasar el cursor */
.valor:hover {
    transform: translateY(-10px) rotate(-2deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.valor:hover .valor-icon {
    transform: scale(1.2) rotate(15deg);
    background-color: #293474;
}

/* Títulos y párrafos */
.valor h3 {
    color: #293474;
    font-size: 22px;
    margin-bottom: 12px;
}

.valor p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .valores-container {
        flex-direction: column;
        align-items: center;
    }
}


/* HERO NOSOTROS */
#nosotros-hero {
	width: 100%;
    height: 60vh;
    max-height: 520px;
    background-image: url("../img/nosotros_labellavita.png"); /* cambia por tu imagen */
    background-size: cover;
    background-position: center 40%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nosotros-hero-overlay {
    background: rgba(45, 34, 25, 0.7); /* #2d2219 en transparente */
    color: white;
    padding: 40px 30px;
    border-radius: 0; /* opcional, ahora ocupa toda la imagen */
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nosotros-hero-overlay h1 {
    font-size: 48px;
    color: #c89717;
    margin-bottom: 15px;
}

.nosotros-hero-overlay p {
    font-size: 20px;
    line-height: 1.6;
}

/* Responsive
@media (max-width: 768px) {
    #nosotros-hero {
        height: 45vh;
    }

    .nosotros-hero-overlay h1 {
        font-size: 32px;
    }

    .nosotros-hero-overlay p {
        font-size: 16px;
    }
} */

/* ==============================
   CONTACTO - 4 TARJETAS
============================== */

#contacto {
    padding: 60px 20px;
    background-color: #f9f5f0;
    text-align: center;
}

#contacto h2 {
    font-size: 36px;
    color: #c89717;
    margin-bottom: 50px;
}

/* Imagen logo de contacto centrada y tamaño reducido */
.logo-contacto {
    display: block;
    margin: 10px auto 10px auto; /* centrado y separación */
    max-width: 210px;  /* tamaño más pequeño */
    height: auto;     /* mantiene proporciones */
}


/* Grid 2x2 */
.contacto-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjetas individuales */
.contacto-card {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

/*solo esta tarjeta es flex esto sirve para que las 2 tarjetas superiores sean identicas*/
.contacto-info {
    display: flex;
    flex-direction: column;
}

/*esto sirve para que los botones sean identicos*/
.contacto-info .btn-contacto {
    margin-top: auto;
}



.contacto-card h3 {
    color: #293474;
    font-size: 26px;
    margin-bottom: 20px;
}

.contacto-card p, .contacto-card li {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Botón unificado solo en apariencia */
.btn-contacto {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    background: #293474;
    color: white;
    border-radius: 50px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-contacto:hover {
    background-color: #3f4fa8;
    transform: scale(1.05);
}


/* Formulario */
#form-contacto input,
#form-contacto textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 16px;
    font-family: inherit;
}

#form-contacto button {
    width: 100%;
    cursor: pointer;
}

/* Lista de horario */
.horario {
    list-style: none;
    padding-left: 0;
}

/* Hover tarjeta divertido */
.contacto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* MAPA EN CONTACTO */
.mapa-container {
    margin-top: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.mapa-container iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 15px;
}


/* Responsive */
@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr; /* 1 tarjeta por fila en móvil */
    }
}


/* =======================
   HERO CONTACTO
======================= */

#contacto-hero {
    width: 100%;
    height: 60vh;
    max-height: 520px;
    background-image: url("../img/contacto_labellavita.png"); /* cambia por tu imagen */
    background-size: cover;
    background-position: center 15%; /* parte superior más visible en escritorio */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto-hero-overlay {
    background: rgba(45, 34, 25, 0.7); /* capa transparente */
    color: white;
    padding: 40px 30px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contacto-hero-overlay h1 {
    font-size: 48px;
    color: #c89717;
    margin-bottom: 15px;
}

.contacto-hero-overlay p {
    font-size: 20px;
    line-height: 1.6;
}


/* Responsive para móvil 
@media (max-width: 768px) {
    #contacto-hero {
        background-position: center;
        height: 45vh;
    }

    .contacto-hero-overlay h1 {
        font-size: 32px;
    }

    .contacto-hero-overlay p {
        font-size: 16px;
    }
} */
