/* ============================================================
   1. CONFIGURACIÓN GLOBAL (SIN SCROLL)
   ============================================================ */
body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Helvetica', 'Arial', sans-serif;
    height: 100vh; /* Altura total de la pantalla */
    display: flex;
    flex-direction: column; /* Apila Header, Hero y Carrusel */
    overflow: hidden; /* Prohibido el scroll en PC */
}

/* ============================================================
   2. HEADER (LOGO BITTCHANNEL)
   ============================================================ */
header { 
    padding: 15px 40px; 
    flex-shrink: 0; /* Que no se achique */
}
.main-logo { height: 50px; width: auto; }

/* ============================================================
   3. HERO SECTION (LA CHICA Y EL TEXTO)
   ============================================================ */
.hero-container {
    display: flex;
    flex: 1; /* Toma todo el espacio central */
    width: 100%;
    max-width: 1366px;
    margin: 0 auto;
    align-items: center; /* Centra el texto verticalmente */
    position: relative;
}

/* Columna Izquierda: Texto y Evento */
.content-left {
    flex: 1;
    padding: 0 50px;
    z-index: 10;
}

.event-box {
    border-left: 4px solid #e91e63;
    padding-left: 20px;
    margin-bottom: 30px;
}

.event-box h2 {
    font-size: 32px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.persuasive-text {
    font-size: 22px;
    line-height: 1.3;
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
}

.location-details {
    font-size: 16px;
    color: #00a8e8; /* Azul tecnológico */
    margin-bottom: 15px;
}

.link-map {
    background: none;
    border: none;
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.7;
    transition: 0.3s;
    display: block;
    padding: 0;
}
.link-map:hover { opacity: 1; }

/* Botones */
.buttons-wrapper { display: flex; gap: 15px; margin-top: 20px; }
.btn {
    padding: 12px 25px;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    transition: 0.3s;
}
.btn:hover { background: #fff; color: #000; }
.btn-primary { border-color: #00a8e8; color: #00a8e8; }
.btn-primary:hover { background: #00a8e8; color: #fff; }

/* Columna Derecha: Imagen2 y Logo Studio */
.visual-right {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end; /* Pega la imagen al borde del carrusel */
}

.image-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floating-logo {
    width: 220px;
    margin-bottom: -30px; /* Se solapa un poco con la cabeza para integrar */
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.person-image {
    height: 75vh; /* Se ajusta dinámicamente al alto de pantalla */
    max-height: 600px;
    width: auto;
    object-fit: contain;
    z-index: 1;
}

/* ============================================================
   4. CARRUSEL (VISIBLE AL CARGAR)
   ============================================================ */
.signals-section {
    background: #0a0a0a;
    padding: 15px 0;
    border-top: 1px solid #222;
    flex-shrink: 0; /* Altura fija abajo */
    overflow: hidden;
}

.section-title {
    text-align: center;
    color: #444;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite; /* Más lento para que se aprecien */
}

.carousel-item {
    width: 250px;
    padding: 0 20px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
}
.carousel-item:hover { transform: scale(1.05); }
.carousel-item img { max-height: 70px; width: auto; filter: grayscale(100%); transition: 0.4s; }
.carousel-item:hover img { filter: grayscale(0%); }

/* ============================================================
   5. MODALES Y ANIMACIONES
   ============================================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-content { background: #111; padding: 25px; border-radius: 10px; position: relative; }
.modal-large { width: 80%; max-width: 1000px; }
.close-btn { position: absolute; top: 10px; right: 20px; font-size: 30px; cursor: pointer; }
.modal-body-grid { display: flex; gap: 20px; }
.video-container { flex: 2; }
.video-container video { width: 100%; border: 1px solid #333; }
.info-container { flex: 1; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Ajustado para el loop infinito del JS */
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ============================================================
   6. RESPONSIVE (CELULARES)
   ============================================================ */
@media (max-width: 768px) {
    body { overflow-y: auto; height: auto; } /* En móvil SÍ permitimos scroll */
    .hero-container { flex-direction: column; padding-top: 20px; }
    .content-left { order: 2; text-align: center; padding: 20px; }
    .visual-right { order: 1; height: 350px; width: 100%; justify-content: center; }
    .person-image { height: 100%; }
    .buttons-wrapper { justify-content: center; }
    .modal-body-grid { flex-direction: column; }
}