/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* BODY */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #020617 0%, #0a192f 50%, #0f172a 100%);
    min-height: 100vh;
    color: #e8e8e8;
    line-height: 1.6;
}

/* FONDO ANIMADO */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* EFECTOS GLOW */
.glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.glow-1 { top: 10%; left: -10%; }
.glow-2 { bottom: 20%; right: -10%; }

/* CONTENEDOR */
.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* HEADER */
header {
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.logo-symbol {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: pulse 4s ease-in-out infinite;
}

.logo-img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

header h1 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
header h2 {
    color: #e8e8e8;
}

.subtitle {
    font-size: 1.5rem;
    color: #b8b8b8;
    font-style: italic;
    letter-spacing: 3px;
}

.divider {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 30px auto;
    border: none;
}

/* GRID DE CONFERENCIAS */
.conferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* TARJETAS */
.conference-card {
    background: rgba(10, 25, 47, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.conference-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s;
}

.conference-card:hover::before {
    left: 100%;
}

.conference-card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

/* IMÁGENES */
.image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    transition: transform 0.5s ease;
    display: block;
}

.conference-card:hover .image-container img {
    transform: scale(1.1);
}

.placeholder-img {
    font-size: 5rem;
    color: #d4af37;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* CONTENIDO TARJETA */
.card-content {
    padding: 30px;
    text-align: center;
}

.conference-number {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 0.9rem;
    color: #d4af37;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.conference-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* FECHA */
.conference-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-top: 15px;
}

.date-icon {
    color: #d4af37;
    font-size: 1.2rem;
}

.date-text {
    font-family: 'Cinzel', 'Times New Roman', serif;
    color: #d4af37;
    font-weight: 600;
    letter-spacing: 2px;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* BOTONES */
.map-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    border: 1px solid #d4af37;
    border-radius: 20px;
    color: #d4af37;
    text-decoration: none;
    transition: 0.3s;
}

.map-btn:hover {
    background: #d4af37;
    color: #000;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1ebe5d;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 60px 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-text {
    color: #666;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .conferences-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .logo-symbol {
        font-size: 3rem;
    }
}

/* ===== TEMARIO NIVEL BÁSICO ===== */
.temario-container {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    margin: 2rem 0 3rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.temario-header {
    text-align: center;
    margin-bottom: 2rem;
}

.temario-simbolo {
    font-size: 2.5rem;
    color: #d4af37;
    display: inline-block;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5rem;
}

.temario-titulo {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.temario-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 0.75rem auto;
}

.temario-subtitulo {
    color: #ccc;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    letter-spacing: 1px;
}

.temario-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 2rem;
}

.temario-columna {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.temario-item {
    color: #e0e0e0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    border-left: 2px solid rgba(212, 175, 55, 0.5);
    padding-left: 0.85rem;
    transition: all 0.2s ease;
}

.temario-item:hover {
    border-left-color: #d4af37;
    color: #fff;
    transform: translateX(4px);
}

.temario-num {
    display: inline-block;
    width: 28px;
    font-weight: 700;
    color: #d4af37;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .temario-container {
        padding: 1.5rem;
    }
    .temario-titulo {
        font-size: 1.3rem;
    }
    .temario-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .temario-item {
        font-size: 0.95rem;
    }
}