/* ================================
   ESTILOS GENERALES (OPTIMIZADO)
================================ */
body {
    margin: 0;
    padding-top: 70px;
    font-family: "Poppins", sans-serif;
    color: #f2f2f2;

    /* FONDO TIPO PATRÓN */
    background-color: #0a0a0a;
    background-repeat: repeat;
    background-size: 280px; /* Ajusta el tamaño del pattern */
    background-attachment: fixed; /* Opcional */
}


/* ================================
   TITULOS
================================ */
.section-title {
    font-family: "Montserrat", sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(255, 0, 20, 0.28);
}

.subsection-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff2b45;
    letter-spacing: 0.7px;
    margin-top: 25px;
    text-transform: uppercase;
}

/* ================================
   PORTADA (LOGO)
================================ */
.header-section {
    padding: 30px 0 10px 0;
    text-align: center;
}

.main-logo {
    width: 260px;
    max-width: 85%;
    border-radius: 18px;
    padding: 12px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255,0,40,0.45);
    box-shadow: 0 0 25px rgba(255,0,0,0.35);
    transition: transform .3s ease;
}
.main-logo:hover {
    transform: scale(1.03);
}

/* ================================
   NAVBAR
================================ */
.navbar {
    background: #0d0d0d !important;
    border-bottom: 2px solid rgba(255, 0, 30, 0.35) !important;
}

.navbar-brand img {
    filter: drop-shadow(0 0 6px rgba(255,0,0,0.45));
}

.nav-link {
    font-weight: 600;
    color: #eee !important;
    transition: 0.3s ease;
}
.nav-link:hover {
    color: #ff2e4d !important;
}

/* Icono menú rojo */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(255,0,0)' stroke-width='3' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-toggler {
    border-color: #ff0000 !important;
}

/* ================================
   DIVISOR
================================ */
.divider {
    height: 5px;
    border-radius: 5px;
    background: linear-gradient(to right, #8b0000, #ff2e4d, #8b0000);
    margin: 40px 0;
}

/* ================================
   PRODUCTOS
================================ */
.product-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.product-name {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
}

.ingredients {
    color: #bbbbbb;
    font-size: 0.9rem;
}

.price {
    color: #ff2e4d;
    font-weight: 800;
    font-size: 1.25rem;
}

/* ================================
   COLLAGE
================================ */
.collage-img {
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    border: 2px solid rgba(255,0,40,0.25);
    height: 160px;
    box-shadow: 0 0 18px rgba(255,0,40,0.20);
    transition: 0.3s ease;
}
.collage-img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(255,0,40,0.35);
}
.collage-img.tall { height: 220px; }
.collage-img.wide { height: 140px; }

/* ================================
   TABLA DE PRECIOS
================================ */
/* ================================
   TABLA DE PRECIOS (MISMO DISEÑO)
   Solo se ajustan los colores del texto
================================ */

/* Contenedor de la tabla (NO SE TOCÓ) */
.full-size-table {
    background: #111;
    border: 2px solid #ff2e4d;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 0 20px rgba(255, 0, 40, 0.25);
}

/* Encabezado — letras amarillas */
.table-header {
    background: #8b0000;
    color: #ffd600 !important;   /* 🔥 AMARILLO */
    font-weight: 800;
}

/* Las celdas después del primer span */
.table-row span:not(:first-child) {
    background: #1a1a1a;
    color: #ffffff !important; /* 🔥 TEXTO BLANCO */
    border: 1px solid #ff2e4d;
    border-radius: 10px;
}

/* Primera celda (TAMAÑO) */
.table-row span:first-child {
    color: #ffd600 !important; /* 🔥 AMARILLO */
    font-weight: 800;
}

/* Texto pequeño de porciones */
.subtext-row span {
    color: #ff2e4d !important; /* 🔥 ROJO */
    font-weight: 700;
    opacity: 0.9;
}


/* ================================
   WHATSAPP PREMIUM
================================ */
.whatsapp-premium-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    background: #25d366;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: 0 0 18px rgba(37,211,102,0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* MODAL */
.premium-modal {
    background: rgba(20,20,20,0.85);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,0,0,0.4);
    color: white;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 0 25px rgba(255,0,0,0.5);
}

/* ================================
   FOOTER
================================ */
footer {
    background: #0d0d0d !important;
    border-top: 3px solid rgba(255, 0, 50, 0.5);
}

footer h4 {
    color: #ff2b45;
    font-weight: 700;
    letter-spacing: 1px;
}

footer p {
    color: #d4d4d4;
}

footer img {
    filter: drop-shadow(0 0 6px rgba(255,0,0,0.4));
    transition: 0.3s ease;
}
footer img:hover {
    transform: scale(1.15);
}

/* ================================
   RESPONSIVE
================================ */
@media(max-width: 992px) {

    /* Oculta encabezados */
    .table-header {
        display: none !important;
    }

    /* Cada fila se vuelve una tarjeta vertical */
    .table-row {
        display: flex;
        flex-direction: column;
        padding: 12px 15px;
        margin-bottom: 15px;
        background: #111;
        border-radius: 12px;
        border: 1px solid #ff2e4d;
        box-shadow: 0 0 10px rgba(255,0,0,0.25);
    }

    /* Estilo de cada celda (span) */
    .table-row span {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        font-size: 1rem;
    }

    /* Aquí ocurre la magia ↓↓↓ */
    .table-row span::before {
        content: attr(data-label); /* ❤️ Muestra el título: Tamaño, Especiales, etc */
        font-weight: 700;
        color: #ffd600; /* Amarillo estilo LMP */
        margin-right: 10px;
    }

    /* Oculta el label para la primera celda */
    .table-row span:first-child::before {
        content: "Tamaño";
    }

    /* Para las filas de texto pequeño (porciones) */
    .subtext-row span {
        text-align: center;
        color: #ff2e4d !important;
        font-weight: 700;
        padding: 0;
    }

    /* Celdas internas (excepto la primera) */
    .table-row span:not(:first-child) {
        background: #1a1a1a;
        color: #fff !important;
        border-radius: 8px;
        border: 1px solid #ff2e4d;
        padding: 6px 10px;
    }
}

/*  diseño iconos redes sociales*/
.social-icon i {
    font-size: 45px;
    transition: 0.3s ease;
    filter: drop-shadow(0 0 6px rgba(255,0,0,0.4));
}

.social-icon:hover i {
    transform: scale(1.2);
    color: #ffffff !important;
}

/* Estado oculto pide ya */
.hide-whatsapp {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* Estado visible pide ya */
.show-whatsapp {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.25s ease;
}

/* ===============================
   CURVAS LATERALES SUPERIORES
================================ */
.curva-superior {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    z-index: -1;
    pointer-events: none;
}

.curva-superior::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: #e60023; /* rojo */
    clip-path: ellipse(85% 100% at 0% 0%);
}

.curva-superior::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: black;
    clip-path: ellipse(85% 100% at 100% 0%);
}

/* ===============================
   CURVAS LATERALES INFERIORES
================================ */
.curva-inferior {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    z-index: -1;
    pointer-events: none;
}

.curva-inferior::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: black;
    clip-path: ellipse(85% 100% at 0% 100%);
}

.curva-inferior::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: #e60023;
    clip-path: ellipse(85% 100% at 100% 100%);
}

/* ================================
   TITULOS / ETIQUETAS AMARILLAS
================================ */
.section-title,
.subsection-title {
    display: inline-block;
    background: #ffd600; 
    color: #000;
    padding: 7px 18px;
    border-radius: 14px;
    font-family: "Montserrat", sans-serif !important;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    border: 2px solid #fff;
}

/* Curvita como etiqueta de menú */
.section-title::before,
.subsection-title::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #ffd600;
    border-radius: 50%;
    border: 2px solid #fff;
}

.section-title {
    font-size: 2rem !important;
    margin-bottom: 20px;
}

.subsection-title {
    font-size: 1.4rem !important;
    margin: 25px 0 10px 0;
}

/* ================================
   PRECIOS - BOLITAS BLANCAS
================================ */
.price {
    display: inline-block;
    background: #ffffff;
    color: #000;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.product-list h3,
.subsection-title {
    background: #ffd600;
    color: #000 !important;
    padding: 6px 15px;
    border-radius: 12px;
    display: inline-block;
    border: 2px solid #fff;
}

/* ====================================
   CUADROS ROJOS ESTILO MENÚ IMPRESO
==================================== */
.caja-roja {
    background: linear-gradient(180deg, #d40000, #a00000);
    border: 3px solid #ff4d4d;
    border-radius: 18px;
    padding: 18px 20px;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    color: white;
}

/* Títulos dentro de la caja (ej: Maicitos, Jugos) */
.caja-roja .subsection-title {
    background: #ffd600 !important;
    color: #000 !important;
    padding: 5px 15px;
    border-radius: 10px;
    border: 2px solid white;
    font-size: 1.4rem !important;
}

/* Texto de ingredientes en blanco suave */
.caja-roja .ingredients {
    color: #ffffff;
}

/* Precios blancos con bolita */
.caja-roja .price {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

/* ====================================
   CUADROS BLANCOS ESTILO MENÚ IMPRESO
==================================== */

.caja-blanca {
    background: #ffffff;
    color: #000000;
    border: 3px solid #000; /* puedes cambiar por #ff2b45 si quieres borde rojo */
    border-radius: 18px;
    padding: 18px 20px;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* TITULOS DENTRO DE CAJA BLANCA */
.caja-blanca .subsection-title {
    background: #ffdd00 !important;
    color: #000 !important;
    padding: 5px 15px;
    border-radius: 10px;
    border: 2px solid #000;
    font-size: 1.4rem !important;
    text-transform: none !important;
}

/* Ingredientes negros/grises */
.caja-blanca .ingredients {
    color: #333;
}

/* Precios en bolitas negras */
.caja-blanca .price {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 2px 8px;
    border-radius: 12px;
}

/* ================================
   TÍTULOS DE PRODUCTOS CON DEGRADADO ROJO
================================ */
/* TÍTULOS DE PRODUCTOS SOLO LETRA CON DEGRADADO */
.titulo-producto-rojo {
    font-weight: 800;
    font-size: 1.25rem;

    /* Color de respaldo si el navegador no soporta degradados en texto */
    color: #d90017;

    /* Degradado SOLO en el texto */
    background: linear-gradient(90deg, #ff0000, #8b0000);

    /* Permite mostrar el degradado en el texto */
    -webkit-background-clip: text;   /* Chrome / Safari */
    background-clip: text;           /* Propiedad estándar */
    -webkit-text-fill-color: transparent;

    letter-spacing: 0.5px;
}

.titulo-visitanos {
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 2.6rem;
    font-weight: 700;

    /* Color de respaldo para navegadores que no soportan background-clip */
    color: #d90017;

    /* Degradado rojo elegante */
    background: linear-gradient(90deg, #ff0000, #ff4d4d, #b30000);

    /* Aplica el degradado SOLO al texto */
    -webkit-background-clip: text;   /* Safari / Chrome */
    background-clip: text;           /* Propiedad estándar */
    -webkit-text-fill-color: transparent; 
}

.main-logo {
    max-width: 500px;   /* tamaño más grande en escritorio */
    width: 100%;
    height: auto;
}

/* Ajuste en pantallas pequeñas */
@media (max-width: 820px) {
    .main-logo {
        max-width: 400px;
    }
}