/* ===================================
  HERO CAROUSEL - ESTILOS COMPLETOS
  =================================== */
:root {
    --color-void: #050505;
    /* Negro Profundo */
    --color-obsidian: #121212;
    /* Gris Oscuro UI */
    --color-pure-white: #FFFFFF;
    --color-subtext: #888888;

    --font-display: 'Inter', sans-serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --space-4: 16px;
    --space-6: 24px;
    --space-12: 48px;
    --space-20: 80px;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

body {
    background-color: var(--color-void);
    color: var(--color-pure-white);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* Contenedor del Hero */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background-color: var(--color-void);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slide Individual */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s var(--ease-out-expo), visibility 1.2s var(--ease-out-expo);
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Imagen de Fondo del Slide */
.carousel-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    opacity: 0.7;
    /* Oscurecimiento para dar contraste al texto */
}

/* Capa Gradiente encima de la imagen */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(5, 5, 5, 0.9) 100%);
    z-index: 1;
}

/* Contenedor Divisor de Contenido */
.carousel-content-split {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-top-left {
    position: absolute;
    top: 140px;
    left: 60px;
    max-width: 650px;
    pointer-events: auto;
    text-align: left;
}

.hero-bottom-right {
    position: absolute;
    bottom: 80px;
    right: 60px;
    max-width: 450px;
    pointer-events: auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Tipografías Creadas */
.carousel-label {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-pure-white);
    margin-bottom: 24px;
}

.carousel-headline {
    font-family: var(--font-display);
    font-size: clamp(64px, 10vw, 120px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.carousel-tagline {
    font-family: var(--font-sans);
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 300;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.carousel-description {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    max-width: 380px;
}

/* Display de Fechas (Reemplazo del precio de Ecommerce) */
.carousel-meta {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: flex-end;
}

.meta-primary {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-pure-white);
}

.meta-secondary {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Botón Premium (Glassmorphism) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFF;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    border-radius: 100px;
}

.btn-primary:hover {
    background: #FFF;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Flechas y Paginación */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    color: #FFFFFF;
}

.carousel-nav:hover {
    background: #FFF;
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav--prev {
    left: 40px;
}

.carousel-nav--next {
    right: 40px;
}

.carousel-pagination {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
}

.pagination-dot.active {
    background: #FFF;
    width: 40px;
    border-radius: 999px;
}

@media (max-width: 1024px) {

    .hero-top-left,
    .hero-bottom-right {
        left: 40px;
        right: auto;
        text-align: left;
        align-items: flex-start;
        position: relative;
        top: auto;
        bottom: auto;
        margin-bottom: 40px;
    }

    .carousel-content-split {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 0 40px 100px;
    }
}

@media (max-width: 768px) {
    .carousel-nav {
        display: none;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}