/* =========================================================
   RESET
========================================================= */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;

    /* 🟡 Fondo estilo tepos */
    background-image: url('/imagenes/fondos_ventanaS/fondoAtractivos.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}


/* =========================================================
   MENU SUPERIOR (MISMO DISEÑO QUE ATRACTIVOS)
========================================================= */

.menu-superior {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;

    display: flex;
    justify-content: center;
    z-index: 100;

    /* degradado */
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
    backdrop-filter: blur(4px);
}

.menu-container {
    width: 100%;
    max-width: 1450px;
    display: flex;
    justify-content: center;
}

.menu-links {
    list-style: none;
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: center;
}

.menu-links li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 130px;

    color: white;
    text-decoration: none;
    font-size: 16px;

    padding: 4px 10px;
    line-height: 1.2;

    transition: 0.3s;
    position: relative;
}

/* hover texto */
.menu-links li a:hover {
    color: #ffb36d;
    transform: translateY(-2px);
}

/* subrayado degradado */
.menu-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a32bbf,#ff6db7,#ffb36d);
    border-radius: 4px;
    transition: .35s ease;
}

.menu-links li a:hover::after {
    width: 100%;
}

/* botón activo */
.menu-links li a.activo {
    background-color: #9c7a47;      
    color: #ffffff;                 
    padding: 8px 24px;              
    border-radius: 25px;            
    border: 2px solid #e7b57a;      
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.20);
    text-align: center;
    transition: 0.3s ease;
}

/* quitar underline */
.menu-links li a.activo::after {
    display: none;
}


/* LOGO HOME */
.menu-links .home-icon img {
    height: 100px;
    width: 100px;
    object-fit: contain;
    border-radius: 12px;
    transition: 0.3s;
}

.menu-links .home-icon img:hover {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(3px);
    padding: 6px;
}

/* LOGIN */
.menu-links .login-icon img {
    height: 40px;
    width: 40px;
    border-radius: 10px;
    transition: 0.3s;
}

.menu-links .login-icon img:hover {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(3px);
    padding: 6px;
}



/* =========================================================
   CONTENEDOR PRINCIPAL
========================================================= */

.gastro-main {
    margin: 20px auto;
    padding: 10px;
    max-width: 1100px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}


/* =========================================================
   CARDS
========================================================= */

.gastro-card {
    background: rgba(255,255,255,0.9);
    border-radius: 18px;
    overflow: hidden;

    backdrop-filter: blur(6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);

    text-align: center;
    transition: 0.35s;
}

.gastro-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.5);
}

.gastro-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.gastro-card h3 {
    margin: 15px;
    font-size: 22px;
    color: #7c4c25;
}

.gastro-card p {
    margin: 0 15px 20px;
    color: #4a413c;
    font-size: 16px;
}


/* =========================================================
   BOTÓN
========================================================= */

.btn-ir {
    display: block;
    margin: 0 15px 5px;
    padding: 12px;

    background: #ffb36d;
    color: black;
    text-decoration: none;
    font-weight: bold;

    border-radius: 12px;
    transition: 0.3s;
}

.btn-ir:hover {
    background: #a32bbf;
    color: white;
    transform: scale(1.04);
}
/* =========================================================
   TITULO DE SECCIÓN
========================================================= */

.titulo-seccion {
    text-align: center;
    font-size: 42px;
    font-weight: 700;

    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;

    margin-top: 5px;
    margin-bottom: 50px;

    text-shadow: 0 4px 16px rgba(0,0,0,0.6);
}


/* =========================================================
   BOTON VOLVER
========================================================= */

.btn-volver {
    display: inline-block;
    margin: 100px 20x 0;
    padding: 12px 20px;

    font-size: 18px;
    color: white;
    text-decoration: none;

    background: rgba(0,0,0,0.4);
    border: 2px solid #ffb36d;
    border-radius: 12px;

    backdrop-filter: blur(6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transition: .3s;
}

.btn-volver:hover {
    background: #ffb36d;
    color: black;
    transform: translateX(-6px);
}


/* =========================================================
   GRID
========================================================= */

.gastro-section {
    padding: 20px 40px 80px;
}

.gastro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}


/* =========================================================
   CARD
========================================================= */

.gastro-card {
    background: rgba(255,255,255,0.9);
    border-radius: 18px;

    overflow: hidden;
    backdrop-filter: blur(4px);

    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    transition: .35s;
}

.gastro-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.55);
}

.gastro-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}


.gastro-card h3 {
    margin: 15px;
    font-size: 20px;
    color: #7c4c25;
}

.gastro-card p {
    margin: 0 15px 18px 15px;
    color: #4a413c;
    font-size: 15px;
}


/* =========================================================
   BOTON VER MAS
========================================================= */

.btn-ver-mas {
    display: block;
    text-align: center;
    margin: 0 15px 20px;
    padding: 10px;

    background: #ffb36d;
    color: black;
    font-weight: bold;
    text-decoration: none;

    border-radius: 10px;
    transition: 0.3s;
}

.btn-ver-mas:hover {
    background: #a32bbf;
    color: white;
}


/* =========================================================
   MENSAJE VACÍO
========================================================= */

.mensaje-vacio {
    grid-column: 1/-1;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}


/* ================================
   MODAL OVERLAY
================================ */

.modal {
    display:none;
    position:fixed;
    inset:0;
    z-index:9999;

    justify-content:center;
    align-items:center;
    padding:20px;

    background:rgba(0,0,0,0.80);
    backdrop-filter: blur(10px);

    animation: fadeIn .25s ease;
}


/* ================================
   CARD GLASS PREMIUM
================================ */

.modal-pro {
    width:95%;
    max-width:900px;
    max-height:90vh;
    overflow-y:auto;

    padding:30px;

    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.12);

    border:2px solid rgba(255,255,255,0.3);
    border-radius:28px;

    box-shadow:0 20px 45px rgba(0,0,0,0.6);

    color:white;
    animation: zoomIn .25s ease;
}


/* Imagen hero */
.modal-img-pro {
    width:100%;
    height:350px;
    object-fit:cover;
    border-radius:22px;
    margin-bottom:25px;

    box-shadow:0 8px 25px rgba(0,0,0,0.6);
}


/* Título */
.modal-titulo-pro {
    font-size:35px;
    text-align:center;
    text-transform:uppercase;
    color:#ffb36d;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:30px;
}


/* Headers internos */
.modal-info-pro h3 {
    margin-top:25px;
    margin-bottom:10px;

    font-size:20px;
    font-weight:700;
    color:#ffb36d;

    border-left:6px solid #ffb36d;
    padding-left:10px;
}


/* Texto */
.modal-texto-pro {
    font-size:17px;
    line-height:1.6;
    background:rgba(0,0,0,0.35);
    padding:14px 18px;
    border-radius:12px;
    margin-bottom:12px;
    text-align:justify;
}


/* BOTÓN CERRAR */
.cerrar-pro {
    position:absolute;
    top:18px;
    right:28px;

    background:none;
    border:none;
    font-size:32px;
    cursor:pointer;
    color:white;

    transition:.3s;
}
.cerrar-pro:hover {
    color:#ffb36d;
}


/* SCROLLBAR */
.modal-pro::-webkit-scrollbar {
    width:6px;
}
.modal-pro::-webkit-scrollbar-thumb {
    background:#ffb36d;
    border-radius:6px;
}


/* Animaciones */
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
@keyframes zoomIn { from{transform:scale(.85);} to{transform:scale(1);} }

/* =======================================================
   CONTENEDOR
======================================================= */
.gastro-main-options {
    margin: 40px auto;
    padding: 20px;
    max-width: 1100px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* =======================================================
   CARDS
======================================================= */

.gastro-option-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);

    border-radius: 18px;
    overflow: hidden;
    text-align: center;

    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: 0.35s;
}

.gastro-option-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* =======================================================
   IMAGEN
======================================================= */

.gastro-option-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* =======================================================
   TITULO
======================================================= */

.gastro-option-card h3 {
    margin: 18px 12px 8px;
    font-size: 22px;
    font-weight: 700;
    color: #2c2c2c;
}

/* =======================================================
   DESCRIPCIÓN
======================================================= */

.gastro-option-card p {
    margin: 0 20px 18px;
    font-size: 16px;
    color: #444;
    line-height: 1.35;
}

/* =======================================================
   BOTÓN
======================================================= */

.btn-ir {
    display: inline-block;
    margin: 0 auto 20px auto;
    padding: 12px 22px;

    background: #ffb36d;
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 700;

    border: none;
    border-radius: 12px;
    cursor: pointer;

    transition: .3s;
}

.btn-ir:hover {
    background: #a32bbf;
    color: white;
}

/* =======================================================
   TITULO SECCIÓN
======================================================= */

.titulo-seccion {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 40px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.45);
}
/* =========================================================
   RESPONSIVE MOVIL GASTRONOMIA
========================================================= */

@media (max-width: 768px){

    /* MENU */
    .menu-superior{
        position: sticky;
        top: 0;
        z-index: 999;
    }

    /* DEGRADADOS LATERALES */
    .menu-superior::before,
    .menu-superior::after{
        content: "";
        position: absolute;
        top: 0;
        width: 70px;
        height: 100%;
        pointer-events: none;
        z-index: 25;
    }

    .menu-superior::before{
        left: 0;
        background: linear-gradient(
            to left,
            rgba(0,0,0,0),
            rgba(0,0,0,.75)
        );
    }

    .menu-superior::after{
        right: 0;
        background: linear-gradient(
            to right,
            rgba(0,0,0,0),
            rgba(0,0,0,.75)
        );
    }

    /* MENU DESLIZABLE */
    .menu-links{
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 20px;
        padding: 10px 20px;
        scrollbar-width: none;
    }

    .menu-links::-webkit-scrollbar{
        display: none;
    }

    .menu-links li{
        flex-shrink: 0;
        width: auto;
    }

    .menu-links li a{
        min-width: auto;
        width: auto;
        white-space: nowrap;
        font-size: 14px;
        padding: 8px 12px;
    }

    .home-icon{
        display: none;
    }

    .login-icon{
        width: auto !important;
    }

    /* TITULO */
    .titulo-seccion{
        font-size: 28px;
        margin-top: 20px;
        margin-bottom: 25px;
        padding: 0 15px;
    }

    /* CONTENEDOR */
    .gastro-section{
        padding: 0 15px 40px;
    }

    .gastro-main,
    .gastro-main-options,
    .gastro-grid{
        grid-template-columns: 1fr;
        gap: 30px;
        justify-items: center;
    }

    /* CARDS */
    .gastro-card,
    .gastro-option-card{
        width: 100%;
        max-width: 420px;
        margin: 0 auto;

        border-radius: 20px;
        overflow: hidden;

        background: rgba(255,255,255,.95);

        box-shadow: 0 8px 25px rgba(0,0,0,.25);
    }

    .gastro-card img,
    .gastro-option-card img,
    .gastro-img{
        width: 100%;
        height: 230px;
        object-fit: cover;
        display: block;
    }

    .gastro-card h3,
    .gastro-option-card h3{
        font-size: 20px;
        margin: 15px 15px 10px;
        text-align: center;
    }

    .gastro-card p,
    .gastro-option-card p{
        font-size: 14px;
        line-height: 1.7;
        padding: 0 15px;
        margin-bottom: 18px;
        text-align: justify;
    }

    /* BOTONES */
    .btn-ir,
    .btn-ver-mas{
        width: 90%;
        max-width: 260px;

        display: block;
        margin: 18px auto 20px;

        padding: 12px;

        font-size: 15px;
        text-align: center;

        border-radius: 14px;
    }

    .btn-volver{
        display: block;
        width: fit-content;
        margin: 25px auto;
    }

    /* MODAL */
    .modal{
        padding: 10px;
    }

    .modal-pro{
        width: calc(100% - 30px);
        max-height: 85vh;
        padding: 20px;
        border-radius: 20px;
    }

    .modal-img-pro{
        height: 220px;
        border-radius: 16px;
    }

    .modal-titulo-pro{
        font-size: 24px;
    }

    .modal-info-pro h3{
        font-size: 17px;
    }

    .modal-texto-pro{
        font-size: 14px;
        line-height: 1.7;
    }

    .cerrar-pro{
        top: 10px;
        right: 15px;
        font-size: 28px;
    }

}


/* =========================================================
   CELULARES PEQUEÑOS
========================================================= */

@media (max-width: 480px){

    .titulo-seccion{
        font-size: 24px;
    }

    .gastro-card,
    .gastro-option-card{
        max-width: 340px;
    }

    .gastro-card img,
    .gastro-option-card img,
    .gastro-img{
        height: 200px;
    }

    .gastro-card h3,
    .gastro-option-card h3{
        font-size: 18px;
    }

    .gastro-card p,
    .gastro-option-card p{
        font-size: 13px;
    }

    .modal-img-pro{
        height: 180px;
    }

    .modal-titulo-pro{
        font-size: 20px;
    }

    .btn-ir,
    .btn-ver-mas{
        width: 90%;
        font-size: 14px;
    }

}