/* =========================================================================
   ESTILOS GLOBALES - EXPOTECH 2026
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #060411; /* Fondo espacial oscuro */
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* =========================================================================
   HEADER & NAVEGACIÓN (RESPONSIVE DE ALTA PRECISIÓN)
   ========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(6, 4, 17, 0.85); /* Glassmorphism sutil */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(167, 139, 250, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo i {
    color: #00ffaa;
    filter: drop-shadow(0 0 5px rgba(0, 255, 170, 0.5));
}

.logo span {
    color: #a78bfa;
}

/* Menú hamburguesa (Móvil por defecto) */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: #00ffaa;
}

/* Estilo del menú para Móviles (Mobile-First) */
.main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(10, 6, 25, 0.98);
    border-bottom: 1px solid rgba(167, 139, 250, 0.2);
    padding: 20px 0;
    animation: slideDown 0.3s ease-out;
}

.main-nav.show {
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column; /* Apilados verticalmente en celulares */
    align-items: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover, 
.nav-link.active {
    color: #00ffaa;
    background-color: rgba(0, 255, 170, 0.08);
}

/* =========================================================================
   MEDIA QUERY: PANTALLAS GRANDES / ESCRITORIO (REGLA HORIZONTAL)
   ========================================================================= */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: flex !important; /* Forzamos visualización */
        position: static;
        width: auto;
        background: transparent;
        border-bottom: none;
        padding: 0;
    }

    .main-nav ul {
        flex-direction: row; /* Cambio estructural a horizontal en computadoras */
        gap: 25px;
    }

    .nav-link {
        font-size: 15px;
    }
}

@keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* =========================================================================
   SECCIÓN HERO / PORTADA PRINCIPAL
   ========================================================================= */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, #1a0e3c 0%, #060411 75%);
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}

.badge-fecha {
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid #a78bfa;
    color: #a78bfa;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 25px;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 30%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 650px;
    font-size: clamp(15px, 2vw, 18px);
    color: #cbd5e1;
    margin-bottom: 35px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    border: none;
    color: white;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00ffaa 0%, #00b377 100%);
    color: #0c0a0f;
    box-shadow: 0 0 25px rgba(0, 255, 170, 0.6);
    transform: translateY(-2px);
}

.hero-img-container {
    width: 90%;
    max-width: 700px;
    margin-top: 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-img-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================================================
   SECCIÓN PONENTES
   ========================================================================= */
.ponentes {
    padding: 100px 5%;
    text-align: center;
    background-color: #090618;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
}

.section-subtitle {
    color: #a78bfa;
    font-size: 15px;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.speaker-card {
    background: rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(167, 139, 250, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.speaker-card:hover {
    transform: translateY(-10px);
    border-color: #00ffaa;
    box-shadow: 0 10px 30px rgba(0, 255, 170, 0.15);
}

.card-img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.speaker-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.specialty {
    color: #a78bfa;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #94a3b8;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.2s;
}

.social-icons a:hover {
    color: #00ffaa;
    transform: translateY(-3px);
}

/* =========================================================================
   FORMULARIO DE INSCRIPCIÓN
   ========================================================================= */
.inscripcion {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    background: radial-gradient(circle at 50% 80%, #150e30 0%, #060411 70%);
}

.form-container {
    width: 100%;
    max-width: 550px;
    background: rgba(30, 27, 75, 0.3);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.form-header p {
    color: #94a3b8;
    font-size: 14px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #a78bfa;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    background-color: #0c0a18;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: #00ffaa;
    box-shadow: 0 0 10px rgba(0, 255, 170, 0.3);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background-color: #04030a;
    border-top: 1px solid rgba(167, 139, 250, 0.1);
    padding: 40px 5%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
    }
}

.footer-info {
    text-align: center;
    color: #cbd5e1;
    font-size: 13px;
}

@media (min-width: 768px) {
    .footer-info {
        text-align: left;
    }
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-info span {
    color: #64748b;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: rgba(30, 27, 75, 0.6);
    border: 1px solid rgba(167, 139, 250, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: #00ffaa;
    border-color: #00ffaa;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 170, 0.2);
}

/* =========================================================================
   ESTILOS PERSONALIZADOS PARA LAS ALERTAS SWEETALERT2
   ========================================================================= */
.expotech-swal-popup {
    background-color: #0f0d26 !important;
    border: 1px solid rgba(167, 139, 250, 0.3) !important;
    border-radius: 20px !important;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3) !important;
}

.expotech-swal-title {
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

.expotech-swal-text {
    color: #cbd5e1 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
}

.expotech-swal-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%) !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4) !important;
}

.expotech-swal-btn:hover {
    background: linear-gradient(135deg, #00ffaa 0%, #00b377 100%) !important;
    color: #0c0a0f !important;
    box-shadow: 0 0 20px rgba(0, 255, 170, 0.5) !important;
}

.expotech-swal-cancel-btn {
    background-color: transparent !important;
    color: #94a3b8 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 50px !important;
    margin-left: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.expotech-swal-cancel-btn:hover {
    color: #ffffff !important;
    background-color: rgba(255,255,255,0.05) !important;
}