/* Variables Premium */
:root {
    --espresso: #2C1E16;
    --cream: #FAF6F0;
    --crimson: #8B322C;
    --gold: #C5A059;
    --text-light: #7A6F69;
    --glass-bg: rgba(250, 246, 240, 0.85);
    --shadow-soft: 0 20px 40px rgba(44, 30, 22, 0.08);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background-color: var(--cream); color: var(--espresso); overflow-x: hidden; }
h1, h2, h3, .logo { font-family: 'Playfair Display', serif; }

/* === 1. NAVBAR Y ESTILOS GLOBALES === */
.navbar {
    position: fixed; width: 100%; top: 0; padding: 1rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100; transition: var(--transition);
    background-color: var(--cream);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo { font-size: 2rem; font-weight: 700; color: var(--espresso); }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--espresso); font-weight: 600; transition: color 0.3s; }
.nav-links a:hover { color: var(--crimson); }

.btn-outline { border: 1px solid white; padding: 0.6rem 1.5rem; border-radius: 30px; }

/* --- BOTÓN PEQUEÑO NAVBAR --- */
.btn-solid-small {
    background-color: var(--crimson);
    color: white !important;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(139, 50, 44, 0.2);
}

.btn-solid-small:hover {
    background-color: #7a2a25;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 50, 44, 0.3);
}

.btn-solid-large { background: var(--crimson); color: white; padding: 1rem 2.5rem; border-radius: 50px; text-decoration: none; font-size: 1.1rem; transition: var(--transition); display: inline-block; box-shadow: 0 10px 20px rgba(139, 50, 44, 0.3); }
.btn-solid-large:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(139, 50, 44, 0.4); }

/* Animaciones On Scroll (Añadido por JS) */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- NUEVO HERO MINIMALISTA --- */
.hero-minimal {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background-color: var(--cream);
    overflow: hidden;
    position: relative;
}

.hero-main-logo {
    max-width: 280px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.canva-title {
    font-size: 3.5rem;
    color: var(--espresso);
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: center;
}

.floating-collage {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 300px;
    margin-top: 3rem;
}

.float-img {
    position: absolute;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    border: 4px solid white;
}

/* Posicionamiento del collage para ocultar la baja resolución */
.img-1 { width: 200px; height: 250px; left: 10%; top: -20px; z-index: 2; transform: rotate(-5deg); }
.img-2 { width: 250px; height: 200px; left: 35%; top: 50px; z-index: 3; }
.img-3 { width: 180px; height: 220px; right: 28%; top: -10px; z-index: 1; transform: rotate(5deg); }
.img-4 { width: 220px; height: 220px; right: 5%; top: 30px; z-index: 2; }

/* --- BLOQUE DE TEXTO (Estilo Canva Original) --- */
.canva-text-block {
    background-color: #5d4037; /* Café oscuro de su canva */
    padding: 6rem 5%;
}

.text-block-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.text-content {
    flex: 1;
    color: white;
}

.text-content h2 {
    color: var(--cream);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #e0d8c3;
}

.text-block-image img {
    width: 350px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* --- FOOTER ROJO --- */
.site-footer {
    background-color: #9b2226; /* Rojo de su canva */
    color: var(--cream);
    padding: 5rem 5%;
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--cream);
}

.footer-info p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* --- AJUSTE ÍCONOS DEL FOOTER --- */
.social-icon {
    width: 50px;
    height: 50px;
    border: 2px solid var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--cream);
    color: #9b2226;
    transform: scale(1.1);
}

.footer-mini-logo {
    height: 60px;
    background: white;
    border-radius: 50%;
    padding: 5px;
}

/* === 2. APP DE MENÚ STYLES (E-Commerce Level Up) === */
.app-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; background: var(--cream); position: sticky; top: 0; z-index: 50; }
.back-link { text-decoration: none; color: var(--text-light); font-weight: 500; }
.logo-small { font-size: 1.5rem; font-weight: 700; }
.cart-pill { background: var(--espresso); color: white; border: none; padding: 0.6rem 1.2rem; border-radius: 30px; display: flex; align-items: center; gap: 0.8rem; cursor: pointer; font-family: 'Poppins'; font-weight: 500; transition: transform 0.2s; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.cart-pill:hover { transform: scale(1.05); }

/* Navegación por categorías */
.category-nav { display: flex; gap: 1rem; padding: 1rem 5%; overflow-x: auto; white-space: nowrap; scrollbar-width: none; background: var(--cream); border-bottom: 1px solid rgba(0,0,0,0.05); position: sticky; top: 70px; z-index: 40; }
.category-nav::-webkit-scrollbar { display: none; }
.cat-btn { background: transparent; border: none; font-size: 1.1rem; color: var(--text-light); font-family: 'Playfair Display'; padding: 0.5rem 1rem; cursor: pointer; position: relative; }
.cat-btn.active { color: var(--crimson); font-weight: 700; font-style: italic; }
.cat-btn.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--crimson); }

/* Grid de Productos Moderno */
.menu-grid-container { padding: 3rem 5%; max-width: 1400px; margin: 0 auto; }
.menu-category-section { margin-bottom: 4rem; }
.menu-category-section h2 { font-size: 2.5rem; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 0.5rem; margin-bottom: 2rem; color: var(--espresso); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }

.product-card { background: white; border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.02); transition: var(--transition); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.product-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; }
.product-title { font-weight: 600; font-size: 1.1rem; }
.product-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.5; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.product-price { font-weight: 700; color: var(--crimson); font-size: 1.2rem; }
.btn-add-cart { background: var(--cream); border: 1px solid var(--gold); color: var(--gold); width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; transition: all 0.2s; }
.btn-add-cart:hover { background: var(--gold); color: white; }

/* Carrito Premium (Glassmorphism) */
.glass-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.glass-overlay.active { opacity: 1; pointer-events: auto; }

.premium-cart { position: fixed; top: 0; right: -450px; width: 400px; height: 100vh; background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); box-shadow: -10px 0 30px rgba(0,0,0,0.1); z-index: 1000; transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); display: flex; flex-direction: column; }
.premium-cart.open { right: 0; }

.cart-top { padding: 2rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(0,0,0,0.05); }
.close-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-light); }
.cart-items-container { flex: 1; overflow-y: auto; padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed rgba(0,0,0,0.1); padding-bottom: 1rem; }
.cart-item-info strong { display: block; font-size: 0.95rem; }
.cart-item-info small { color: var(--text-light); }
.cart-bottom { padding: 2rem; background: rgba(250,246,240,0.9); border-top: 1px solid rgba(0,0,0,0.05); }
.total-row { display: flex; justify-content: space-between; font-size: 1.2rem; margin-bottom: 1.5rem; }
.btn-checkout { width: 100%; background: var(--espresso); color: white; border: none; padding: 1rem; border-radius: 12px; font-weight: 600; font-size: 1.1rem; cursor: pointer; transition: background 0.3s; }
.btn-checkout:hover:not(:disabled) { background: var(--crimson); }
.btn-checkout:disabled { background: #ccc; cursor: not-allowed; }

/* --- MODAL PASARELA FAKE --- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px);
    z-index: 2000; display: none; align-items: center; justify-content: center;
}

.modal-overlay.active { display: flex; }

.payment-box {
    background: var(--cream); width: 90%; max-width: 450px; border-radius: 20px;
    padding: 2.5rem; box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.payment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.payment-header h2 { color: var(--espresso); font-size: 1.8rem; }

.delivery-options { background: white; padding: 1.5rem; border-radius: 12px; margin-bottom: 1.5rem; border: 1px solid rgba(0,0,0,0.05); }
.delivery-options h3, .card-form h3 { font-family: 'Poppins'; font-size: 1rem; color: var(--text-light); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }

.radio-label { display: block; margin-bottom: 0.8rem; cursor: pointer; font-weight: 500; }

.card-form { background: white; padding: 1.5rem; border-radius: 12px; margin-bottom: 2rem; border: 1px solid rgba(0,0,0,0.05); }
.checkout-input { width: 100%; padding: 1rem; margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 8px; font-family: 'Poppins'; }
.input-row { display: flex; gap: 1rem; }
.half { width: 50%; }

.btn-pay-massive { width: 100%; background: #2ecc71; color: white; border: none; padding: 1.2rem; font-size: 1.2rem; font-weight: 600; border-radius: 12px; cursor: pointer; transition: background 0.3s; }
.btn-pay-massive:hover { background: #27ae60; }


/* === 3. ESTILOS PÁGINA DE ACTIVIDADES (Cultura & Comunidad) === */

.activities-page {
    background-color: var(--cream);
}

.inner-hero {
    padding: 150px 5% 80px;
    background-color: var(--espresso);
    color: var(--cream);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Patrón sutil de fondo para el hero interno */
.inner-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23c5a059" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.5;
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #e0d8c3;
}

/* Evento Principal */
.main-event-section {
    padding: 5rem 5%;
    background-color: white;
}

.event-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.event-image-wrapper {
    flex: 1;
    position: relative;
}

.event-main-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.event-date-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: var(--crimson);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(139, 50, 44, 0.3);
    display: flex;
    flex-direction: column;
    min-width: 90px;
}

.event-date-badge .day { font-size: 2rem; font-weight: 700; line-height: 1; }
.event-date-badge .month { font-size: 1rem; font-weight: 600; text-transform: uppercase; }
.event-date-badge .year { font-size: 0.9rem; opacity: 0.8; }

.event-info {
    flex: 1;
}

.event-category {
    display: inline-block;
    color: var(--crimson);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.event-info h2 {
    font-size: 2.8rem;
    color: var(--espresso);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.event-theme {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.event-info p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

/* Sección de Invitados (Diseño Editorial) */
.guests-section {
    padding: 5rem 5%;
    max-width: 1100px;
    margin: 0 auto;
}

.guest-showcase {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.guest-showcase.reverse {
    flex-direction: row-reverse;
}

.guest-photo {
    flex: 0 0 350px;
}

.guest-photo img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px 0 20px 0;
    box-shadow: -15px 15px 0 var(--gold);
    transition: var(--transition);
}

.guest-showcase.reverse .guest-photo img {
    border-radius: 0 20px 0 20px;
    box-shadow: 15px 15px 0 var(--crimson);
}

.guest-photo:hover img {
    transform: translateY(-10px);
}

.guest-bio {
    flex: 1;
}

.guest-name {
    font-size: 2.5rem;
    color: var(--espresso);
    margin-bottom: 0.2rem;
}

.guest-origin {
    display: block;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.guest-bio p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Tarjeta Invitado Especial */
.special-guest-section {
    background: linear-gradient(135deg, var(--espresso), #4a3320);
    border-radius: 20px;
    padding: 4rem;
    color: white;
    position: relative;
    margin-top: 4rem;
    box-shadow: var(--shadow-soft);
}

.special-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--espresso);
    padding: 0.5rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}

.special-guest-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.special-guest-images {
    flex: 0 0 300px;
    position: relative;
}

.sg-img-main {
    width: 100%;
    border-radius: 12px;
    border: 4px solid rgba(255,255,255,0.1);
}

.sg-img-sub {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    border-radius: 8px;
    border: 4px solid var(--espresso);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.special-guest-bio {
    flex: 1;
}

.special-guest-bio .guest-name {
    color: white;
}

.special-guest-bio .guest-origin {
    color: var(--gold);
}

.special-guest-bio p {
    color: #e0d8c3;
}

.highlight-box {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.highlight-box i {
    font-size: 2rem;
    color: var(--gold);
}

/* Responsividad para Actividades */
@media (max-width: 900px) {
    .text-block-inner { flex-direction: column; text-align: center; }
    .floating-collage { display: none; }
    
    .event-container, .guest-showcase, .guest-showcase.reverse, .special-guest-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .guest-photo {
        flex: auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .guest-photo img {
        box-shadow: 0 15px 0 var(--gold);
    }
    
    .guest-showcase.reverse .guest-photo img {
        box-shadow: 0 15px 0 var(--crimson);
    }
    
    .special-guest-section {
        padding: 3rem 1.5rem;
    }
    
    .sg-img-sub {
        display: none; 
    }
}

/* === MODAL DE DETALLE DE PRODUCTO PREMIUM === */
.product-detail-box {
    background: var(--cream);
    width: 90%;
    max-width: 900px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-btn-round {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.close-btn-round:hover { transform: rotate(90deg); background: var(--crimson); color: white; }

.product-detail-content {
    display: flex;
    flex-wrap: wrap;
}

.product-detail-image {
    flex: 1;
    min-width: 400px;
    height: 500px;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail-info h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--espresso);
}

.product-detail-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.product-detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--crimson);
}

/* Ajuste para que las tarjetas de producto parezcan clickeables */
.product-card {
    cursor: pointer;
}

@media (max-width: 768px) {
    .product-detail-image { min-width: 100%; height: 300px; }
    .product-detail-info { padding: 2rem; }
    .product-detail-info h2 { font-size: 2rem; }
}

/* === SUCCESS SCREEN (RECIBO DIGITAL) === */
.success-box {
    background: var(--cream);
    width: 95%;
    max-width: 500px;
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    animation: modalSlideUp 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.success-logo {
    max-width: 140px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.success-header h2 {
    color: var(--espresso);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.success-header p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.receipt-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Efecto de corte de ticket abajo */
.receipt-card::after {
    content: "";
    position: absolute;
    bottom: -10px; left: 0; width: 100%; height: 20px;
    background-image: radial-gradient(circle, white 5px, transparent 6px);
    background-size: 15px 20px;
    background-position: left bottom;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.receipt-divider {
    border-top: 1px dashed #ccc;
    margin: 1.2rem 0;
}

.receipt-items {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 5px;
}

.receipt-item-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--espresso);
}

.receipt-row.total {
    font-size: 1.3rem;
    color: var(--crimson);
    padding-top: 0.5rem;
}

.receipt-footer-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    font-style: italic;
}