/* ==========================================================================
   CONFIGURACIÓN GENERAL Y VARIABLES
   ========================================================================== */
:root {
    --primary-color: #e51a22; /* Rojo oficial de SELAH */
    --black-color: #000000;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

 /* Estilos específicos para el nuevo banner de pagos */
        .custom-hero-banner {
            background-image: url('http://dvyconference.com/wp-content/uploads/2026/05/WEB-SELAH-PARA-COMPARTIR.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            width: 100%;
            position: relative;
        }
        
        .custom-hero-overlay {
            /*background-color: rgba(0, 0, 0, 0.55); /* Oscurece sutilmente la imagen para que el texto y logo resalten */
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 60px 10%;
            box-sizing: border-box;
            width: 100%;
            min-height: 260px; /* Mantiene la proporción de altura que ya tenías */
        }

        .banner-logo img {
            max-width: 250px;
            height: auto;
            display: block;
        }

        .banner-title {
            flex: 1;
        }

        .banner-title h1 {
            color: #ffffff;
            font-size: 2.4rem;
            margin: 0;
            text-align: right; /* Empuja el texto a la derecha */
            text-shadow: 2px 2px 8px rgba(0,0,0,0.6); /* Sombra para máxima legibilidad */
        }

        /* Ajuste automático para visualización en celulares */
        @media (max-width: 768px) {
            .custom-hero-overlay {
                flex-direction: column;
                justify-content: center;
                gap: 25px;
                padding: 40px 5%;
            }
            .banner-title h1 {
                text-align: center;
                font-size: 1.8rem;
            }
        }
        
/* =========================================
   BANNER PERSONALIZADO DE PAGOS
   ========================================= */
.custom-hero-banner {
    background-image: url('http://dvyconference.com/wp-content/uploads/2026/05/WEB-SELAH-PARA-COMPARTIR.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
}

.custom-hero-overlay {
    /*background-color: rgba(0, 0, 0, 0.55);*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 10%;
    box-sizing: border-box;
    width: 100%;
    min-height: 260px;
}

.banner-logo img {
    max-width: 250px;
    height: auto;
    display: block;
}

.banner-title {
    flex: 1;
}

.banner-title h1 {
    color: #ffffff;
    font-size: 2.4rem;
    margin: 0;
    text-align: right;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
    .custom-hero-overlay {
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        padding: 40px 5%;
    }
    .banner-title h1 {
        text-align: center;
        font-size: 1.8rem;
    }
}

/* =========================================
   SISTEMA DE AMPLIACIÓN DE MAPA (LIGHTBOX)
   ========================================= */
.mapa-miniatura {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: transform 0.2s;
}

.mapa-miniatura:hover {
    transform: scale(1.02);
}

.mapa-modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.85);
    align-items: center; 
    justify-content: center;
    backdrop-filter: blur(5px);
}

.mapa-modal img {
    max-width: 90%; 
    max-height: 90vh; 
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    cursor: zoom-out;
}

.cerrar-modal {
    position: absolute; 
    top: 20px; 
    right: 40px; 
    color: #ffffff; 
    font-size: 40px; 
    font-weight: bold; 
    cursor: pointer;
    transition: 0.3s;
}

.cerrar-modal:hover { 
    color: #e51a22; 
}



/* ==========================================================================
   BARRA DE NAVEGACIÓN (HEADER)
   ========================================================================== */
.main-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-red {
    color: var(--primary-color);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-search {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.btn-login {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-login:hover {
    opacity: 0.9;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-banner {
    width: 100%;
    background-image: url('http://dvyconference.com/wp-content/uploads/2026/06/Recurso-49.png'); /* Puedes cambiar por fondo grupal */
    background-size: cover;
    background-position: center;
    height: 180px;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay h1 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 0 20px;
}

/* ==========================================================================
   CONTENEDOR DE DOS COLUMNAS (LAYOUT)
   ========================================================================== */
.checkout-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.checkout-grid {
    display: flex;
    gap: 40px;
}

.checkout-left {
    flex: 0 0 62%;
}

.checkout-right {
    flex: 0 0 38%;
    position: sticky;
    top: 90px;
    height: fit-content;
}

/* Elementos del Formulario */
.checkout-left h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--black-color);
}

.form-row {
    display: flex;
    gap: 15px;
}

.input-group {
    flex: 1;
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-dark);
    background-color: var(--bg-light);
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus, .input-group select:focus {
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(229, 26, 34, 0.08);
}

.highlight-select select {
    border: 1px solid var(--primary-color);
    background-color: #fff8f8;
    font-weight: 600;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 25px 0 15px 0;
}

.checkbox-group input {
    margin-top: 3px;
    transform: scale(1.1);
}

.checkbox-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.privacy-notice {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 15px;
}

/* ==========================================================================
   PANEL DERECHO: RESUMEN DE COMPRA
   ========================================================================== */
.summary-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.summary-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--black-color);
    padding-bottom: 8px;
}

.event-mini-profile {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
}

.event-mini-profile img {
    width: 65px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
}

.event-mini-profile h3 {
    font-size: 15px;
    font-weight: 700;
}

.event-tagline {
    font-size: 13px;
    color: var(--text-muted);
}

.details-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.detail-row .label {
    color: var(--text-muted);
    font-weight: 500;
}

.detail-row .value {
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
}

.divider {
    border: none;
    border-top: 1px dashed var(--border-color);
    margin: 8px 0;
}

.detail-row .pricing {
    font-size: 16px;
    color: var(--text-dark);
}

.total-row {
    margin-top: 5px;
}

.total-row .label {
    font-size: 16px;
    color: var(--black-color);
    font-weight: 700;
}

.total-pricing {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 700;
}

/* BOTÓN DE ACCIÓN COMPRA */
.btn-checkout-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 25px;
    transition: background-color 0.3s ease;
}

.btn-checkout-submit:hover {
    background-color: #bd1219;
}

.btn-checkout-submit:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
}

/* ==========================================================================
   FOOTER NEWSLETTER
   ========================================================================== */
.newsletter-banner {
    background: #000000;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    margin-top: 80px;
}

.newsletter-container h2 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    outline: none;
}

.newsletter-form button {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

/* ==========================================================================
   WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 9999;
}

.ws-icon {
    font-size: 20px;
    font-weight: bold;
}

/* ==========================================================================
   RESPONSIVE (OPTIMIZACIÓN MÓVIL)
   ========================================================================== */
   @media (max-width: 900px) {
       .checkout-grid {
           flex-direction: column; /* 🔥 CAMBIO AQUÍ: Flujo natural, formulario arriba y resumen abajo */
           gap: 30px;
       }

       .checkout-left, .checkout-right {
           flex: 0 0 100%;
       }

    .checkout-right {
        position: relative;
        top: 0;
    }

    .nav-links {
        display: none; /* Ocultar links en móvil para limpiar interfaz */
    }
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .hero-banner {
        height: 130px;
    }
    .hero-overlay h1 {
        font-size: 20px;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form button {
        padding: 12px;
    }
    
    
}
