html {
    scroll-behavior: smooth;
}

body {
    background-color: #e98a8a;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 70px 0 0 0;
}

/* Barra superior */
.barra-navegacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1f1f1f;
    text-align: center;
    padding: 18px 0;
    z-index: 3000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.barra-navegacion a {
    color: white;
    text-decoration: none;
    margin: 0 24px;
    font-size: 19px;
    font-weight: bold;
}

.barra-navegacion a:hover {
    color: #ffd6d6;
}

/* Portada */
.portada {
    background-image: url("Vitrina1.jpeg");
    background-size: cover;
    background-position: center;
    height: 340px;
    position: relative;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.45);
    width: 100%;
    height: 100%;
    text-align: center;
    color: white;
    padding-top: 90px;
    box-sizing: border-box;
}

.overlay h1 {
    margin: 0;
    font-size: 58px;
}

.overlay p {
    font-size: 28px;
    margin-top: 16px;
}

.boton-portada {
    display: inline-block;
    margin-top: 24px;
    text-decoration: none;
    background-color: #25d366;
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
}

.boton-portada:hover {
    background-color: #1ebd5a;
}

/* Cartel lateral pegado al borde */
.cartel-lateral {
    position: fixed;
    left: 0;
    top: 110px;
    width: 170px;
    z-index: 1200;
}

.cartel-lateral img {
    width: 100%;
    display: block;
    border-radius: 0 14px 14px 0;
    box-shadow: 4px 6px 18px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cartel-lateral img:hover {
    transform: scale(1.02);
}

/* Contenido principal */
.contenedor {
    width: calc(100% - 250px);
    max-width: 1280px;
    margin: 40px 40px 40px 210px;
    text-align: center;
}

.intro {
    font-size: 24px;
    color: #444444;
    margin-bottom: 38px;
}

h2 {
    color: #2e75b6;
    margin-bottom: 25px;
    font-size: 36px;
}

/* Dos cuadros lado a lado */
.seccion-productos {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 35px;
    flex-wrap: nowrap;
    margin-top: 20px;
}

.columna-productos {
    background-color: rgba(255, 255, 255, 0.18);
    width: 560px;
    padding: 25px;
    border-radius: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 860px;
}

.galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 25px;
}

.galeria img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.galeria img:hover {
    transform: scale(1.03);
}

.caja-lista {
    background-color: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.caja-lista h3 {
    color: #1f4e79;
    margin-top: 0;
    margin-bottom: 18px;
    text-align: center;
    font-size: 32px;
}

.caja-lista ul {
    margin: 0 0 24px 0;
    padding-left: 28px;
}

.caja-lista li {
    font-size: 22px;
    color: #333333;
    margin-bottom: 12px;
    line-height: 1.5;
}

.caja-lista .boton {
    align-self: center;
}

.precios-platos {
    text-align: center;
}

.precios-platos p {
    font-size: 24px;
    color: #333333;
    margin-bottom: 16px;
    line-height: 1.5;
}

.boton {
    display: inline-block;
    text-decoration: none;
    background-color: green;
    color: white;
    padding: 14px 20px;
    border-radius: 8px;
    margin-top: 12px;
    font-weight: bold;
    text-align: center;
    font-size: 18px;
}

.boton:hover {
    background-color: #006400;
}

/* Contacto */
.contacto {
    background-color: white;
    margin: 40px auto 0;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
    max-width: 950px;
}

.contacto p {
    font-size: 22px;
    line-height: 1.6;
    color: #333333;
}

/* Pie */
.pie {
    background-color: #1f1f1f;
    color: white;
    text-align: center;
    padding: 28px 15px;
    margin-top: 50px;
}

.pie p {
    margin: 8px 0;
    font-size: 18px;
}

/* WhatsApp fijo */
.whatsapp-fijo {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    font-size: 18px;
}

.whatsapp-fijo:hover {
    background-color: #1ebd5a;
}

/* Modal de imágenes */
.modal {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.contenido-modal {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.15);
}

.cerrar-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
}

/* Ajustes responsivos */
@media (max-width: 1450px) {
    .cartel-lateral {
        width: 145px;
    }

    .contenedor {
        width: calc(100% - 220px);
        margin: 40px 30px 40px 185px;
    }

    .columna-productos {
        width: 520px;
    }

    .galeria img {
        height: 220px;
    }
}

@media (max-width: 1200px) {
    .cartel-lateral {
        position: static;
        width: 220px;
        margin: 20px auto;
    }

    .cartel-lateral img {
        border-radius: 14px;
    }

    .contenedor {
        width: 92%;
        max-width: 1200px;
        margin: 40px auto;
    }

    .seccion-productos {
        flex-wrap: wrap;
    }

    .columna-productos {
        width: 100%;
        min-height: auto;
    }
}

@media (max-width: 800px) {
    .galeria {
        grid-template-columns: 1fr;
    }

    .galeria img {
        height: 300px;
    }

    .barra-navegacion a {
        margin: 0 10px;
        font-size: 15px;
    }

    .overlay h1 {
        font-size: 34px;
    }

    .overlay p {
        font-size: 18px;
    }

    h2 {
        font-size: 28px;
    }

    .caja-lista h3 {
        font-size: 26px;
    }

    .caja-lista li,
    .precios-platos p,
    .contacto p,
    .intro {
        font-size: 18px;
    }

    .whatsapp-fijo {
        font-size: 16px;
        padding: 12px 16px;
    }
}
