/*==========================================
        GOOGLE FONTS & TIPOGRAFÍA
==========================================*/
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

@font-face {
    font-family: 'Abygaer';
    src: url('fonts/abygaer/Abygaer.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Abygaer', sans-serif !important;
    background: #050505 url("fondo1.png") center center/cover no-repeat fixed !important;
    color: white;
    overflow-x: hidden;
}

p,
.subtitulo {
    font-family: 'Poppins', 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}


/*==========================================
                VARIABLES
==========================================*/

:root {
    --gold: #C8A96A;
    --gold-light: #e0c48d;

    --green: #0F2F28;
    --green-dark: #081b17;

    --black: #090909;
    --white: #ffffff;
    --cream: #F5F2EB;

    --glass: rgba(255, 255, 255, .08);

    --shadow: 0 20px 60px rgba(0, 0, 0, .35);

    --transition: .45s ease;

    --radius: 18px;
}


/*==========================================
                    RESET
==========================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


/*==========================================
                    SCROLL
==========================================*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #081414;
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 20px;
}


/*==========================================
                  CONTAINER
==========================================*/

.container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
}


/*==========================================
                    LOADER
==========================================*/

#loader {
    position: fixed;
    inset: 0;
    background: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.loader-content {
    text-align: center;
}

.loader-content img {
    width: 90px;
    margin-bottom: 20px;
}

.loader-content h1 {
    font-family: 'Abygaer', serif;
    font-size: 58px;
    letter-spacing: 8px;
    color: var(--gold);
}

.loader-content span {
    color: white;
    letter-spacing: 12px;
    font-size: 13px;
}


/*==========================================
                    HEADER
==========================================*/

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;

    transition: .4s;

    backdrop-filter: blur(15px);

    background: rgba(6, 18, 15, .35);

    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

nav {
    height: 90px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;

    text-decoration: none;
    color: white;
}

.logo img {
    width: 55px;
    margin-right: 15px;
}

.logo h2 {
    font-family: 'Abygaer', serif;

    font-size: 34px;

    letter-spacing: 3px;

    color: var(--gold);
}

.logo span {
    font-size: 11px;

    letter-spacing: 6px;

    color: white;
}


/*==========================================
            MENÚ NAVEGACIÓN SUPERIOR
==========================================*/

#menu {
    display: flex;

    list-style: none;

    gap: 45px;
}

#menu li a {
    color: white;

    text-decoration: none;

    font-size: 15px;

    transition: var(--transition);

    position: relative;
}

#menu li a::after {
    content: "";

    position: absolute;

    width: 0;

    left: 0;

    bottom: -8px;

    height: 2px;

    background: var(--gold);

    transition: .4s;
}

#menu li a:hover {
    color: var(--gold);
}

#menu li a:hover::after {
    width: 100%;
}


/*==========================================
                BOTONES NAV
==========================================*/

.nav-right {
    display: flex;

    align-items: center;

    gap: 15px;
}

#cart-btn {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    border: none;

    cursor: pointer;

    background: var(--glass);

    color: white;

    font-size: 18px;

    position: relative;

    backdrop-filter: blur(15px);

    transition: .4s;
}

#cart-btn:hover {
    background: var(--gold);

    color: black;
}

#cart-count {
    position: absolute;

    right: -3px;
    top: -3px;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: crimson;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 12px;
}


/*==========================================
                    HERO
==========================================*/

.hero {
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(56, 56, 56, 0.5),
            rgba(56, 56, 56, 0.5)
        ),
        url('fondo1.png') center center/cover no-repeat !important;

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0,0,0,.55),
            rgba(0,0,0,.75)
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    width: 900px;
    max-width: 90%;
}

.mini-title {
    color: var(--gold);

    letter-spacing: 8px;

    font-size: 13px;
}

.hero h1 {
    font-family: 'Abygaer', sans-serif !important;

    font-size: 40px !important;

    line-height: 70px !important;

    color: #ffffff;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    width: 720px;

    max-width: 90%;

    margin: auto;

    color: #ddd;

    line-height: 33px;

    font-size: 18px;
}


/*==========================================
                BOTONES HERO
==========================================*/

.hero-buttons {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 35px;

    margin-top: 40px;

    width: 100%;
}

.fila-superior,
.fila-inferior {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 30px;

    width: 100%;
}

.btn {
    padding: 16px 38px;

    border-radius: 50px;

    text-decoration: none;

    transition: .4s;
}

.btn-gold {
    background: var(--gold);

    color: black;

    font-weight: 600;
}

.btn-gold:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 40px rgba(200,169,106,.35);
}

.btn-transparent {
    border: 1px solid rgba(255,255,255,.3);

    color: white;
}

.btn-transparent:hover {
    background: white;

    color: black;
}

.btn-sazon {
    display: inline-block;

    padding: 10px 50px;

    background-color: transparent;

    color: #d4af37;

    border: none;

    font-family: 'Abygaer', serif;

    font-size: 10px;

    text-decoration: none;

    text-align: center;

    transition: all 0.3s ease;

    cursor: pointer;
}

.btn-sazon:hover {
    background-color: transparent !important;

    color: #ffffff !important;
}


/*==========================================
                SECCIÓN MENÚ
==========================================*/

.menu-section {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #050505 0%,
            #081b17 100%
        );
}

.section-header {
    text-align: center;

    margin-bottom: 60px;
}

.section-header .subtitle {
    color: var(--gold);

    font-size: 14px;

    letter-spacing: 6px;

    text-transform: uppercase;

    display: block;

    margin-bottom: 10px;
}

.section-header h2 {
    font-family: 'Abygaer', serif;

    font-size: 52px;

    letter-spacing: 2px;

    color: var(--white);
}

.menu-categories {
    display: flex;

    justify-content: center;

    gap: 15px;

    margin-bottom: 30px;

    flex-wrap: wrap;
}

.category-btn {
    background: transparent;

    border: 1px solid rgba(200, 169, 106, 0.3);

    color: var(--white);

    padding: 10px 24px;

    border-radius: 30px;

    font-size: 14px;

    cursor: pointer;

    transition: var(--transition);
}

.category-btn.active,
.category-btn:hover {
    background: var(--gold);

    color: var(--black);

    border-color: var(--gold);

    font-weight: 600;
}

.menu-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: 35px;
}


/*==========================================
                TARJETAS DE PLATOS
==========================================*/

.food-card {
    background: rgba(15, 47, 40, 0.25);

    border: 1px solid rgba(200, 169, 106, 0.15);

    border-radius: var(--radius);

    overflow: hidden;

    transition: var(--transition);

    position: relative;

    backdrop-filter: blur(10px);

    display: flex;

    flex-direction: column;
}

.food-card:hover {
    transform: translateY(-10px);

    border-color: var(--gold);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(200, 169, 106, 0.2);
}

.food-img-wrapper {
    position: relative;

    width: 100%;

    height: 180px;

    overflow: hidden;
}

.food-img-wrapper img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.food-card:hover .food-img-wrapper img {
    transform: scale(1.1);
}

.food-badge {
    position: absolute;

    top: 15px;

    right: 15px;

    background: rgba(9, 9, 9, 0.85);

    border: 1px solid var(--gold);

    color: var(--gold);

    font-size: 12px;

    padding: 6px 14px;

    border-radius: 20px;

    backdrop-filter: blur(5px);

    font-weight: 500;

    letter-spacing: 1px;
}

.food-info {
    padding: 25px;

    display: flex;

    flex-direction: column;

    flex-grow: 1;
}

.food-title {
    font-family: 'Abygaer', serif;

    font-size: 26px;

    color: var(--white);

    margin-bottom: 10px;
}

.food-desc {
    color: #a0a0a0;

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 20px;

    flex-grow: 1;
}

.food-bottom {
    display: flex;

    justify-content: space-between;

    align-items: center;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    padding-top: 18px;
}

.food-price {
    font-family: 'Abygaer', serif;

    font-size: 24px;

    color: var(--gold);

    font-weight: 700;
}

.food-actions {
    display: flex;

    gap: 10px;
}

.btn-card-icon {
    width: 40px;

    height: 40px;

    border-radius: 50%;

    border: 1px solid var(--gold);

    background: transparent;

    color: var(--gold);

    display: flex;

    justify-content: center;

    align-items: center;

    cursor: pointer;

    transition: var(--transition);
}

.btn-card-icon:hover {
    background: var(--gold);

    color: var(--black);
}


/* =========================================================
   SELECTORES DE OPCIONES DEL PLATO
   ========================================================= */

.opciones-plato {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 25px 0 !important;
    text-align: left !important;
}

.opciones-plato label {
    display: block !important;
    color: #C8A96A !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin: 8px 0 2px 0 !important;
}

/* EL SELECT */
.opciones-plato select.select-opcion {
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    box-sizing: border-box !important;

    background: #0b0b0b !important;
    background-color: #0b0b0b !important;

    color: #ffffff !important;

    border: 1px solid #C8A96A !important;
    border-radius: 8px !important;

    padding: 0 45px 0 16px !important;

    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;

    outline: none !important;
    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;

    background-image:
        linear-gradient(45deg, transparent 50%, #ffffff 50%),
        linear-gradient(135deg, #ffffff 50%, transparent 50%) !important;

    background-position:
        calc(100% - 19px) center,
        calc(100% - 13px) center !important;

    background-size:
        6px 6px,
        6px 6px !important;

    background-repeat: no-repeat !important;

    transition: all 0.3s ease !important;
}

.opciones-plato select.select-opcion:hover {
    border-color: #e0c48d !important;
    box-shadow: 0 0 12px rgba(200, 169, 106, 0.15) !important;
}

.opciones-plato select.select-opcion:focus {
    border-color: #e0c48d !important;
    box-shadow: 0 0 0 2px rgba(200, 169, 106, 0.15) !important;
}

/* OPCIONES DEL MENÚ DESPLEGABLE */
.opciones-plato select.select-opcion option {
    background: #0b0b0b !important;
    background-color: #0b0b0b !important;
    color: #ffffff !important;
    padding: 10px !important;
}


/* =========================================================
   VISTA EN COMPUTADOR
   ========================================================= */

@media (min-width: 769px) {

    .opciones-plato {
        max-width: 100% !important;
    }

    .opciones-plato label {
        margin-top: 10px !important;
    }

}


/* =========================================================
   VISTA EN CELULAR
   ========================================================= */

@media (max-width: 768px) {

    .opciones-plato {
        width: 100% !important;
        gap: 6px !important;
    }

    .opciones-plato select.select-opcion {
        height: 50px !important;
        font-size: 14px !important;
    }

}


/*==========================================
            SECCIÓN NOSOTROS / ABOUT
==========================================*/

.about-section {
    padding: 100px 0;

    background: var(--green-dark);

    position: relative;
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.about-img {
    position: relative;

    border-radius: var(--radius);

    overflow: hidden;

    border:
        1px solid rgba(200, 169, 106, 0.2);
}

.about-img img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}


/* Título ABOUT */

body .about-section .about-text h2,
body .about-text h2,
.about-text h2,
.about-text h2 * {
    color: #d4af37 !important;

    -webkit-text-fill-color: #d4af37 !important;
}

.about-text p {
    color: #c8a96a;

    line-height: 1.8;

    margin-bottom: 25px;
}


/*==========================================
            CONTACTO Y RESERVAS
==========================================*/

.contact-section {
    padding: 100px 0;

    background: #050505;
}

.contact-wrapper {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    background: rgba(15, 47, 40, 0.2);

    border:
        1px solid rgba(200, 169, 106, 0.15);

    padding: 50px;

    border-radius: var(--radius);

    backdrop-filter: blur(10px);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;

    padding: 15px 20px;

    background: rgba(255, 255, 255, 0.05);

    border:
        1px solid rgba(200, 169, 106, 0.2);

    border-radius: 8px;

    color: var(--white);

    margin-bottom: 20px;

    font-family: 'Montserrat', sans-serif;

    outline: none;

    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--gold);

    background: rgba(255, 255, 255, 0.08);
}


/*==========================================
                MODAL DEL PLATO
==========================================*/

.modal-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.85);

    backdrop-filter: blur(10px);

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 100000;

    opacity: 0;

    pointer-events: none;

    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;

    pointer-events: all;
}

.modal-card {
    background: #0b1f1a;

    border: 1px solid var(--gold);

    border-radius: var(--radius);

    width: 90%;

    max-width: 850px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    overflow: hidden;

    position: relative;

    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
    position: absolute;

    top: 15px;

    right: 20px;

    background: transparent;

    border: none;

    color: var(--white);

    font-size: 28px;

    cursor: pointer;

    z-index: 10;
}

.modal-img {
    width: 100%;

    height: 100%;

    overflow: hidden;
}

.modal-img img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;
}

.modal-details {
    padding: 40px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.modal-details h3 {
    font-family: 'Cormorant Garamond', serif;

    font-size: 36px;

    color: var(--white);

    margin-bottom: 10px;
}

.modal-details .price {
    font-size: 28px;

    color: var(--gold);

    font-weight: 700;

    margin-bottom: 15px;
}


/*==========================================
            FOOTER
==========================================*/

footer {
    background: #020807;

    border-top:
        1px solid rgba(200, 169, 106, 0.15);

    padding: 60px 0 30px;

    text-align: center;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;

    font-size: 32px;

    color: var(--gold);

    margin-bottom: 15px;
}

.footer-copy {
    color: #777;

    font-size: 13px;

    margin-top: 30px;
}


/*==========================================
        ESTILOS GENERALES ADICIONALES
==========================================*/

.card,
.menu-item {
    background-color: rgba(22, 53, 25, 0.85);
}

.menu,
#menu,
.menu-section {
    background-color: transparent !important;

    background: transparent !important;
}

#elixires .img-plato {
    height: auto;

    aspect-ratio: 1 / 1;

    object-position: center;
}


/*==========================================
        SECCIÓN EVENTOS Y SERVICIOS
==========================================*/

.eventos-section {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #050505 0%,
            #081b17 100%
        );

    border-top:
        1px solid rgba(200, 169, 106, 0.15);

    border-bottom:
        1px solid rgba(200, 169, 106, 0.15);
}

.eventos-header {
    text-align: center;

    margin-bottom: 50px;
}

.subtitulo-eventos {
    color: var(--gold);

    font-size: 13px;

    letter-spacing: 4px;

    text-transform: uppercase;

    display: block;

    margin-bottom: 10px;
}

.titulo-eventos {
    font-family: 'Abygaer', serif;

    font-size: 42px;

    color: var(--gold) !important;

    margin-bottom: 15px;
}

.desc-eventos {
    color: #cccccc;

    font-size: 16px !important;

    line-height: 1.6;

    max-width: 700px;

    margin: 0 auto;
}

.eventos-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 35px;

    margin-bottom: 40px;
}

.evento-card {
    background: rgba(15, 47, 40, 0.25);

    border:
        1px solid rgba(200, 169, 106, 0.15);

    border-radius: var(--radius);

    padding: 35px 25px;

    backdrop-filter: blur(10px);

    transition: var(--transition);
}

.evento-card:hover {
    border-color: var(--gold);

    transform: translateY(-8px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(200, 169, 106, 0.2);
}

.icono-evento {
    font-size: 42px;

    margin-bottom: 15px;
}

.evento-card h3 {
    color: var(--gold);

    font-family: 'Abygaer', serif;

    font-size: 26px;

    margin-bottom: 15px;
}

.evento-card p {
    color: #a0a0a0;

    font-size: 14px !important;

    line-height: 1.6;

    margin-bottom: 20px;
}

.lista-servicios {
    list-style: none;

    padding: 0;

    margin: 0;
}

.lista-servicios li {
    color: #dddddd;

    font-size: 14px;

    margin-bottom: 10px;

    font-family: 'Poppins', sans-serif;
}

.eventos-contacto {
    text-align: center;

    margin-top: 30px;
}

.btn-cotizar-evento {
    display: inline-block;

    background: var(--gold);

    color: black;

    text-decoration: none;

    font-weight: 600;

    font-size: 15px;

    padding: 16px 38px;

    border-radius: 50px;

    transition: var(--transition);

    text-transform: uppercase;
}

.btn-cotizar-evento:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 40px rgba(200, 169, 106, 0.35);

    background: var(--gold-light);
}


/*==========================================
                RESPONSIVE DESIGN
==========================================*/

@media (max-width: 900px) {

    .hero h1 {
        font-size: 40px;

        line-height: 50px;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .modal-card {
        grid-template-columns: 1fr;
    }

    .modal-img {
        height: 250px;
    }
}


@media (max-width: 768px) {

    #menu {
        display: none;
    }

    .hero-content {
        width: 100%;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 36px;

        line-height: 45px;
    }

    .hero p {
        font-size: 15px;
    }

    .fila-superior,
    .fila-inferior {
        flex-direction: column;

        gap: 15px;
    }

    .opciones-plato {
        gap: 8px;
    }

    .select-opcion {
        height: 50px;

        font-size: 14px !important;
    }
}

/* Adaptación automática para pantallas móviles */
@media screen and (max-width: 768px) {
  /* 1. Forzar a que ningún contenedor supere el ancho del celular */
  html, body, header, nav, main, section, footer, div {
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* 2. Ajustar imágenes y videos para que no empujen la pantalla */
  img, video, iframe {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 3. Evitar que textos o títulos gigantes fuercen el ancho */
  h1, h2, h3, h4, p, span, a {
    word-break: break-word;
    max-width: 100% !important;
  }
}
@media screen and (max-width: 768px) {
  /* 1. Despeja el contenido para que la barra no lo tape */
  body {
    padding-top: 100px !important; /* Ajusta la distancia según la altura de tu barra */
  }

  /* 2. Opcional: Si prefieres que la barra no se quede pegada arriba al bajar */
  header, nav, .navbar {
    position: relative !important;
  }
}