/* =========================================
   1. VARIABLES & RESET
   ========================================= */
   .event-card .card-body {
    display: flex;
    align-items: center;      /* centra verticalmente */
}

.event-card .event-date {
    text-align: center;       /* centra día y mes */
}
:root {
    /* Paleta de Colores - Sala Centuryon Identity */
    --bg-primary: #050505;
    /* Negro Profundo */
    --bg-secondary: #121212;
    /* Negro Panel */
    --bg-tertiary: #1a1a1a;
    /* Negro Elevado */

    --gold-primary: #dba622;
    /* Dorado Base  */
    --gold-dark: #a57a03;
    /* Dorado Sombra */
    --gold-light: #f6e6b4;
    /* Dorado Luz */

    --red-accent: #7C0A01;
    /* Rojo Carmesí  */
    --red-bright: #b30e0e;
    /* Rojo Interacción */

    --text-main: #f0f0f0;
    /* Blanco Roto */
    --text-muted: #888888;
    /* Gris Texto Secundario */

    /* Gradientes de Marca */
    --gradient-gold: linear-gradient(135deg, var(--gold-dark), var(--gold-primary), var(--gold-light), var(--gold-primary));
    --gradient-red: linear-gradient(135deg, var(--red-accent) 0%, var(--red-bright) 100%);
    --gradient-dark-overlay: linear-gradient(to bottom, rgba(5, 5, 5, 0.3), rgba(5, 5, 5, 1));

    /* Tipografía */
    --font-display: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Espaciado y Estructura */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;

    /* Efectos */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-gold-glow: 0 0 20px rgba(219, 166, 34, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

/* Tipografía Base */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Clases de Utilidad */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    color: var(--gold-primary);
}

.text-red {
    color: var(--red-accent);
}

.text-gold-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* =========================================
   2. BOTONES & UI ELEMENTS
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

/* Botón Primario (Rojo - Conversión) */
.btn-primary {
    background: var(--gradient-red);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 10, 1, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 14, 14, 0.6);
}

/* Botón Outline (Dorado - Navegación) */
.btn-outline {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-gold-glow);
}

/* Botón Dorado (Promotores) */
.btn-gold-gradient {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    font-weight: 800;
}

.btn-gold-gradient:hover {
    filter: brightness(1.1);
}

.btn-block {
    display: block;
    width: 100%;
    border-radius: var(--border-radius);

}

/* =========================================
   3. HEADER & NAVEGACIÓN
   ========================================= */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    /* Efecto Glassmorphism */
    border-bottom: 1px solid rgba(219, 166, 34, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.main-nav {
    flex: 1; /* Ocupa el espacio central */
    display: flex;
    justify-content: center; /* Centra los items en la pantalla */
}

/* Estilos para la nueva imagen del logo */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    /* AUMENTADO: De 50px a 70px para que se vea más grande en PC */
    max-height: 100px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    gap: 50px;
}

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold-primary);
}

.nav-link:hover::after {
    width: 100%;
}
/* Separación extra para el botón de Entradas */
.header-actions {
    margin-left: 50px;
}
.mobile-menu-btn {
    display: none;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../images/FotoSala.PNG');
    background-size: cover;
    background-position: center;
    padding-top: var(--header-height);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark-overlay);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-main);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Indicador de Scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gold-primary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold-primary);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

/* =========================================
   5. SECCIONES COMUNES
   ========================================= */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.separator-gold {
    width: 80px;
    height: 3px;
    background: var(--gold-primary);
    margin: 20px auto;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

/* =========================================
   6. EVENTOS GRID (Tickets & Flyers)
   ========================================= */
.events-section {
    background-color: var(--bg-primary);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--bg-secondary);
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold-glow);
}

.card-image-wrapper {
    position: relative;
    height: 400px;
    /* Altura para flyer vertical */
    overflow: hidden;
}

.flyer-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.event-card:hover.flyer-placeholder {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.event-status {
    background: var(--gold-primary);
    color: var(--bg-primary);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.card-body {
    padding: 25px;
    display: flex;
    gap: 20px;
    padding-bottom: 100px;
}

.event-date {
    text-align: center;
    background: #1a1a1a;
    padding: 10px;
    border-radius: 8px;
    min-width: 70px;
    height: fit-content;
    border: 1px solid #333;
}

.event-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.8rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    font-weight: 600;
}

.event-info {
}

.event-title {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.event-subtitle {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.85rem;
    color: #aaa;
}

.event-meta i {
    width: 20px;
    color: var(--gold-primary);
}

.card-footer {
    padding: 0 25px 25px 25px;

    position: absolute;
    bottom: 10px;
    left: 50px;
}

/* =========================================
   7. ZONA PROMOTORES (UPLOAD UI)
   ========================================= */
.centuryon-form-wrapper {
    /* Variables locales para no afectar al resto de la web */
    --c-bg-card: #141414; /* Gris muy oscuro casi negro */
    --c-border: #333333;
    --c-gold-start: #bf953f;
    --c-gold-mid: #fcf6ba;
    --c-gold-end: #b38728;
    --c-text-main: #f0f0f0;
    --c-text-muted: #888888;
    --c-input-bg: #0a0a0a;

    font-family: 'Montserrat', sans-serif;
    background-color: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: 12px; /* Bordes redondeados suaves */
    padding: 40px;
    max-width: 800px; /* Ancho máximo sugerido */
    margin: 0 auto; /* Centrado */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    color: var(--c-text-main);
}

/* Título con estilo Serif y efecto Dorado */
.centuryon-form-wrapper h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
    margin-top: 0;

    /* Gradiente dorado en el texto */
    background: linear-gradient(to right, var(--c-gold-start), var(--c-gold-mid), var(--c-gold-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.centuryon-form-wrapper .subtitle {
    text-align: center;
    color: var(--c-text-muted);
    font-size: 0.9rem;
    margin-bottom: 35px;
    font-weight: 300;
}

/* Grid del formulario */
.centuryon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas */
    gap: 20px;
}

/* Campos input */
.centuryon-input-group {
    display: flex;
    flex-direction: column;
}

.centuryon-input-group.full-width {
    grid-column: 1 / -1; /* Ocupa todo el ancho */
}

.centuryon-input-group label {
    font-size: 0.8rem;
    color: var(--c-text-muted);
    margin-bottom: 8px;
    margin-left: 5px;
}

.centuryon-input-group input,
.centuryon-input-group textarea {
    background-color: var(--c-input-bg);
    border: 1px solid var(--c-border);
    border-radius: 6px;
    padding: 14px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.centuryon-input-group input:focus,
.centuryon-input-group textarea:focus {
    outline: none;
    border-color: var(--c-gold-start);
    box-shadow: 0 0 8px rgba(191, 149, 63, 0.2);
}

.centuryon-input-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Botón Dorado */
.centuryon-btn {
    grid-column: 1 / -1;
    margin-top: 20px;
    background: linear-gradient(90deg, #c6a664 0%, #e5c580 50%, #c6a664 100%);
    border: none;
    border-radius: 50px; /* Estilo 'Pill' como en la foto */
    padding: 16px;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: transform 0.2s, filter 0.2s;
    box-shadow: 0 4px 15px rgba(198, 166, 100, 0.3);
}

.centuryon-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* --- Estilos para los iconos de la cabecera --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* Separación entre iconos */
    margin-left: 0; /* Los empuja a la derecha */
}

/* Clase específica para estos iconos */
.header-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Estilo Dorado elegante */
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    background: transparent; /* Fondo transparente */
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.header-icon:hover {
    background: var(--gold-primary);
    color: #000; /* Icono negro al pasar el ratón */
    box-shadow: 0 0 10px rgba(219, 166, 34, 0.4);
}

/* Responsive para móviles */
@media (max-width: 600px) {
    .centuryon-grid {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
    }
}

/* =========================================
   8. FOOTER
   ========================================= */
.site-footer {
    background: #000;
    border-top: 4px solid var(--gold-primary);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    /* Reducimos el minmax a 220px para que las columnas quepan antes */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px; /* Reducimos el hueco entre columnas */
    margin-bottom: 60px;
    align-items: start; /* Alinea el contenido arriba */
}

/* Busca si existe .footer-logo y bórralo si quieres, luego añade esto: */

.footer-logo-img {
    width: 220px; /* Un poco más pequeño para que quepan las columnas al lado */
    max-width: 100%; /* VITAL: Evita que la imagen se salga de la pantalla en móviles */
    height: auto;
    margin-bottom: 20px;
    display: inline-block;
}

.brand-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-list i {
    color: var(--gold-primary);
    margin-top: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    border: 1px solid #333;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--gold-primary);
    color: #000;
    transform: translateY(-5px);
}

.payment-methods p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
    margin-top: 20px;
}

.payment-icons {
    font-size: 1.5rem;
    color: #555;
    display: flex;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #555;
}

.legal-links a {
    margin-left: 20px;
    color: #555;
}

.legal-links a:hover {
    color: var(--gold-primary);
}

/* =========================================
   9. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================= */

/* --- VERSIÓN MÓVIL (Hasta 768px) --- */
@media (max-width: 768px) {

    /* 1. Ajuste del fondo (Hero) */
    .hero-section {
        background-position: 75% center !important;
    }

    /* 2. Cabecera y Logo */
    .header-content {
        padding: 0 20px !important;
        justify-content: space-between !important;
    }

    .logo-wrapper {
        flex: 1;
    }

    .logo-img {
        max-height: 60px !important;
    }

    /* 3. OCULTAR LOS TEXTOS DE NAVEGACIÓN EN MÓVIL */
    .main-nav {
        display: none !important;
    }

    /* 4. OCULTAR EL BOTÓN HAMBURGUESA */
    .mobile-menu-btn {
        display: none !important;
    }

    /* Ajustes generales móvil */
    .hero-title { font-size: 2.5rem; }
    .header-actions { margin-left: 0 !important; }

    /* Ajuste título formulario en móvil */
    /* Dentro de @media (max-width: 768px) */

    /* 1. Volvemos a comportamiento de texto normal para que fluya todo junto */
    .centuryon-form-wrapper h2 {
        display: block !important; /* Importante: NO usar flex aquí */
        text-align: center; /* Centramos el texto */
        line-height: 2.5; /* Aumentamos la separación entre líneas para que quepa el logo */
        padding: 0 10px; /* Un poco de margen lateral para que no toque los bordes */
    }

    /* Dentro de @media (max-width: 768px) */
    
    .titulo-img-inline {
        display: inline-block !important;
        
        /* TAMAÑO MÓVIL GRANDE: */
        height: 100px !important; /* Aumentado de 60px a 100px */
        
        width: auto !important;
        vertical-align: middle !important;
        margin: 0 5px !important;
        
        /* ALINEACIÓN MÓVIL: */
        position: relative;
        top: -5px !important; /* Ajuste para que no "baile" respecto al texto */
    }
} /* <--- ¡ESTA LLAVE CIERRA EL MÓVIL! */


/* --- VERSIÓN PC (Desde 769px) --- */
@media (min-width: 769px) {
    /* 1. Contenedor principal */
    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    /* 2. Lado IZQUIERDO (Logo) */
    .logo-wrapper {
        flex: 1;
        display: flex;
        justify-content: flex-start;
    }

    /* 3. Lado DERECHO (Iconos) */
    .header-actions {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        margin-left: 0;
    }

    /* 4. CENTRO (El menú) */
    .main-nav {
        flex: 0 1 auto;
        display: flex;
        justify-content: center;
        width: auto;
    }

    .nav-list {
        display: flex;
        justify-content: center;
        gap: 50px;
        margin: 0;
        padding: 0;
    }
}

/* --- ESTILOS GLOBALES --- */

/* Esto arregla el tamaño de la imagen en el formulario */
.titulo-img-inline {
    display: inline-block;

    /* AUMENTAMOS LA ALTURA:
       Al poner 2.8em, hacemos la imagen casi el triple de alta que el texto.
       Esto permite que la "C" sobresalga y las letras "ENTURYON"
       se vean del mismo tamaño que el resto de la frase. */
    height: 3em;

    width: auto;

    /* ALINEACIÓN: Centramos verticalmente con el texto */
    vertical-align: middle;

    margin: 0 5px;

    /* AJUSTE FINO DE POSICIÓN: */
    position: relative;
    /* Juega con este valor: si ves que ENTURYON está muy arriba, pon 5px.
       Si está muy abajo, pon -10px. -8px suele funcionar bien para centrar la C. */
    top: -8px;
}
