/* --- VARIABLES --- */
:root {
    --color-primary: #e74c3c; /* Rojo Munchies */
    --color-bg: #050505; /* Fondo negro profundo */
    --color-card: #151515; /* Gris oscuro para tarjetas */
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    overflow-x: hidden;
    position: relative;
    /* Añade una viñeta sutil en los bordes para profundizar el contraste */
    background-image: radial-gradient(circle at 80% 20%, rgba(231, 76, 60, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 10% 80%, rgba(231, 76, 60, 0.08) 0%, transparent 40%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- EFECTOS DE LUZ DE FONDO (GLOWS) --- */
.glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

/* Luz ambiental superior izquierda */
.glow-1 {
    top: 5%; 
    left: -5%;
    width: 45vw; 
    height: 45vw;
    background: rgba(231, 76, 60, 0.14);
}

/* El gran reflejo rojo difuso a la derecha (igual que en tu referencia) */
.glow-2 {
    top: 20%; 
    right: -10%;
    width: 50vw; 
    height: 50vw;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.22) 0%, rgba(150, 20, 10, 0.05) 60%, transparent 80%);
}

/* --- ESTILOS PARA LA PÁGINA DEL MENÚ --- */
.menu-header-section {
    text-align: center;
    padding: 60px 0 20px 0;
}

.menu-page-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.menu-page-subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.menu-grid-section {
    padding: 40px 0 80px 0;
}

.menu-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Tarjeta individual del menú */
.menu-item-card {
    background: linear-gradient(145deg, #181818, #0a0a0a);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    border-color: rgba(231, 76, 60, 0.4);
}

.menu-item-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.menu-item-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.menu-item-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.menu-item-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.menu-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.btn-sm-pill {
    background-color: var(--color-primary);
    color: white;
    padding: 8px 22px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.btn-sm-pill:hover {
    background-color: #c0392b;
}

.download-container {
    text-align: center;
    margin-top: 60px;
}

/* --- NAVEGACIÓN --- */
header {
    padding: 30px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    height: 100px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-primary);
}

/* --- BOTONES ESTILO PILL (PÍLDORA) --- */
.btn-pill {
    background-color: var(--color-primary);
    color: white;
    padding: 12px 35px;
    border-radius: 30px; /* Bordes totalmente redondos */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.btn-glow {
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.6);
}

/* --- SECCIÓN HERO --- */
.hero-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 65vh;
    gap: 40px;
    margin-top: 20px;
}

.hero-text-modern h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.highlight {
    color: var(--color-primary);
}

.hero-text-modern p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

/* Animación de la hamburguesa flotando */
.hero-image-modern {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Sombra y reflejo sutil debajo de la hamburguesa flotante */
.floating-burger {
    width: 110%;
    max-width: 600px;
    filter: drop-shadow(0 35px 50px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 30px rgba(231, 76, 60, 0.2));
    animation: float 6s ease-in-out infinite;
    mix-blend-mode: screen; /* Esto hace que el fondo negro de la imagen se vuelva transparente */
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- SECCIÓN DE TARJETAS FLOTANTES --- */
.featured-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 80px 0;
    gap: 60px;
}

.featured-cards {
    display: flex;
    gap: 30px;
}

.food-card {
    background: linear-gradient(145deg, #1f1f1f, #0d0d0d);
    border-radius: 25px;
    padding: 20px;
    width: 240px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.05);
    margin-top: 60px; /* Da espacio para que la imagen sobresalga por arriba */
}

/* Baja la segunda tarjeta para dar el efecto escalonado de la imagen */
.card-stagger {
    transform: translateY(40px);
}

/* Efecto para que la foto parezca recortada y flotando encima de la tarjeta */
.card-img-wrapper {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Hace la foto un círculo perfecto */
    overflow: hidden;
    box-shadow: 0 15px 25px rgba(0,0,0,0.8);
    border: 5px solid #1a1a1a; /* Borde oscuro para mezclar con el fondo */
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    margin-top: 90px; /* Empuja el texto debajo de la imagen saliente */
}

.card-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-info p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

/* Botón cuadrado rojo de "+" en la esquina inferior derecha */
.add-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--color-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.add-btn:hover {
    background-color: #c0392b;
}

.featured-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.featured-text p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- FOOTER MODERNO --- */
.footer-modern {
    background-color: #0b0b0b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 70px 0 20px 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-logo span {
    color: var(--color-primary);
}

.footer-col p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-socials a, .footer-col a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-socials a:hover {
    color: var(--color-primary);
}

.footer-platforms {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.badge {
    background-color: #1f1f1f;
    color: var(--color-text);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    color: #666;
    font-size: 0.8rem;
}

/* Responsivo para el footer en celulares */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-platforms {
        justify-content: center;
    }
    
    .footer-socials {
        align-items: center;
    }
}

/* --- RESPONSIVE BÁSICO PARA MÓVILES --- */
@media (max-width: 900px) {
    .hero-modern, .featured-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text-modern p {
        margin: 0 auto 30px auto;
    }
    
    .nav-links {
        display: none; /* Oculta los links en móvil para mantenerlo limpio por ahora */
    }
    
    .featured-cards {
        flex-direction: column;
        align-items: center;
        gap: 80px;
    }
    
    .card-stagger {
        transform: translateY(0);
    }
}