/* ========================================
   RESET Y VARIABLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f5f5f5;
    --accent-color: #ffc107;
    --text-dark: #333;
    --text-light: #fff;
    --transition-speed: 0.4s;
    --header-height: 80px;
    /* Filtros personalizables para el header transparente */
    --header-icon-color: brightness(0) invert(1);
    --header-logo-filter: brightness(0) invert(1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;

}


/* ========================================
   VIDEO PRELOADER / SPLASH SCREEN
   ======================================== */
#video-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

#video-preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

#video-preloader .video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   CONTENIDO PRINCIPAL
   ======================================== */
#main-content {
    opacity: 0;
    transition: opacity 0.5s ease 0.5s;
}

#main-content.fade-in {
    opacity: 1;
}

/* ========================================
   HEADER - TRANSPARENTE CON ANIMACIÓN
   ======================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: all var(--transition-speed) ease;
}

/* Header cuando se hace scroll */
#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}



/* El logo NO cambia de color al hacer scroll
#main-header.scrolled .logo-single {
     Mantiene su color original
}
*/

#main-header.scrolled .btn-img img,
#main-header.scrolled .icon-link img {
    filter: brightness(0);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    transition: all var(--transition-speed) ease;
    position: relative; /* Necesario para el centrado absoluto del logo */
}

/* Botón menú */
.btn-img {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.btn-img:hover {
    transform: scale(1.1);
}

.btn-img img {
    width: 30px;
    height: 30px;
    filter: var(--header-icon-color);
    transition: filter var(--transition-speed) ease;
}

/* Logo */
.logo {
    /* Centrado absoluto para asegurar que no se mueva */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; /* Asegurar que esté sobre otros elementos */
}

.logo-single {
    height: auto;
    width: 105px;         /* <--  */
    object-fit: contain;  /* <-- */
    transition: all var(--transition-speed) ease;
    display: block;
}

/* Añadimos una clase temporal para el efecto de parpadeo suave al cambiar */
.logo-fade {
    opacity: 0;
    transform: scale(0.95);
}

/* Iconos derecha */
.right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-link {
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.icon-link:hover {
    transform: scale(1.1);
}

.icon-link img {
    width: 28px;
    height: 28px;
    filter: var(--header-icon-color);
    transition: filter var(--transition-speed) ease;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* ========================================
   OVERLAY MENÚ HAMBURGUESA (DROP STYLE)
======================================== */

.overlay-coleccion {
    position: fixed;
    inset: 0;

    z-index: 200000; /* 🔥 antes 99999 */

    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);

    visibility: hidden;
    transform: translateY(-100%);
    transition: transform .7s cubic-bezier(.77,0,.18,1),
                visibility 0s linear .7s;
}

#main-header {
    z-index: 1000;
    isolation: isolate; /* 🔥 clave */
}



.overlay-coleccion.active {
    visibility: visible;
    transform: translateY(0);
    transition: transform .7s cubic-bezier(.77,0,.18,1);
}

.overlay-coleccion {
    overflow-y: auto;
    overscroll-behavior: contain;
}


/* ========================================
   CONTENIDO OVERLAY
======================================== */

.overlay-contenido {
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;

    opacity: 0;
    transform: translateY(-30px);
    transition: opacity .5s ease .3s,
                transform .5s ease .3s;
}


.overlay-coleccion {
    pointer-events: auto;
}


.overlay-coleccion.active .overlay-contenido {
    opacity: 1;
    transform: translateY(0);
}


@keyframes overlayFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   BOTÓN CERRAR
======================================== */

.cerrar-overlay {
    position: absolute;
    top: 20px;
    right: 30px;

    background: none;
    border: none;
    color: var(--text-light);
    font-size: 50px;
    cursor: pointer;
    line-height: 1;

    transition: transform .3s ease;
}

.cerrar-overlay:hover {
    transform: rotate(90deg);
}

/* ========================================
   TÍTULO
======================================== */

.titulo-overlay {
    color: var(--text-light);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

/* ========================================
   GRID CATEGORÍAS
======================================== */

.grid-coleccion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* ========================================
   CARDS PROFESIONALES
======================================== */

.grid-coleccion .card {
    text-decoration: none;
    color: var(--text-light);
    cursor: pointer;

    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0.02)
    );
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.12);

    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);

    opacity: 0;
    transform: translateY(30px);
}

.grid-coleccion .card {
    opacity: 0;
    transform: translateY(40px);
    transition: all .6s ease;
}

.overlay-coleccion.active .card {
    opacity: 1;
    transform: translateY(0);
}

.grid-coleccion .card:nth-child(1) { transition-delay: .2s; }
.grid-coleccion .card:nth-child(2) { transition-delay: .3s; }
.grid-coleccion .card:nth-child(3) { transition-delay: .4s; }
.grid-coleccion .card:nth-child(4) { transition-delay: .5s; }


/* estado activo real */
.overlay-coleccion.active .card {
    opacity: 1;
    transform: translateY(0);
}

/* delays limpios */
.overlay-coleccion.active .card:nth-child(1) { transition-delay: .1s; }
.overlay-coleccion.active .card:nth-child(2) { transition-delay: .2s; }
.overlay-coleccion.active .card:nth-child(3) { transition-delay: .3s; }
.overlay-coleccion.active .card:nth-child(4) { transition-delay: .4s; }


/* Delay elegante */
.grid-coleccion .card:nth-child(1) { animation-delay: .1s; }
.grid-coleccion .card:nth-child(2) { animation-delay: .2s; }
.grid-coleccion .card:nth-child(3) { animation-delay: .3s; }
.grid-coleccion .card:nth-child(4) { animation-delay: .4s; }

/* Hover premium */
.grid-coleccion .card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.45);
}

/* ========================================
   IMAGEN
======================================== */

.grid-coleccion .card img {
    width: 100%;
    height: 250px;
    object-fit: cover;

    filter: brightness(0.9);
    transition: transform .5s ease, filter .5s ease;
}

.grid-coleccion .card:hover img {
    transform: scale(1.15);
    filter: brightness(1);
}

/* ========================================
   TEXTO
======================================== */

.grid-coleccion .card h3 {
    padding: 20px;
    text-align: center;

    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* ========================================
   BOTÓN VER
======================================== */

.btn-ver {
    width: 100%;
    padding: 15px;

    background: linear-gradient(
        135deg,
        var(--accent-color),
        #ffb300
    );
    color: var(--text-dark);

    border: none;
    font-weight: bold;
    cursor: pointer;

    text-transform: uppercase;
    letter-spacing: 1px;

    transition: transform .3s ease, box-shadow .3s ease;
}

.btn-ver:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,179,0,0.35);
}


/* ========================================
   CARRUSEL DEL HEADER
   ======================================== */
.header-carrusel {
    /* Eliminamos el fondo para evitar la "raya" */
    background-color: transparent;
    /*padding: 15px 0;*/
    overflow: hidden;
}

#viewport {
    width: 100%;
    overflow: hidden;
}

#track {
    display: flex;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   HERO SECTION CON SLIDER MEJORADO
   ======================================== */
.hero-section {
    /* Eliminado margin-top para que el header transparente se superponga */
    min-height: 100vh;
}

.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Overlay oscuro para mejor legibilidad del texto */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: 0;
}

/* Texto del hero */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.hero-text .text {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1.2;
    margin-bottom: 30px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.boton-coleccion {
    padding: 18px 50px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.boton-coleccion:hover {
    background-color: #ffb300;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.6);
}

/* ========================================
   DOTS DE NAVEGACIÓN
   ======================================== */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--accent-color);
    border-color: var(--text-light);
    transform: scale(1.3);
}



/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .header-top {
        padding: 15px 20px;
    }

    /* Antes estaba así: */
    .logo img {
        height: 40px;
    }
    
    /* 👇👇👇 DÉJALO ASÍ 👇👇👇 */
    .logo-single {
        height: 40px;
    }


    .icon-link img {
        width: 24px;
        height: 24px;
    }

    .hero-text .text {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .boton-coleccion {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .titulo-overlay {
        font-size: 1.8rem;
    }

    .grid-coleccion {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .slider-dots {
        bottom: 20px;
        gap: 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-text .text {
        font-size: 1.5rem;
    }

    .boton-coleccion {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .grid-coleccion {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ANIMACIONES ADICIONALES
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Efecto parallax suave */
.hero-slide {
    transform: scale(1.05);
}

.hero-slide.active {
    animation: zoomOut 10s ease-out forwards;
}

@keyframes zoomOut {
    from {
        transform: scale(1.05);
    }
    to {
        transform: scale(1);
    }
}

/* ========================================
   CARRUSEL DE COLECCIONES 3D
   ======================================== */
#collection-carousel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow: hidden;
    perspective: 1000px;
}

#collection-carousel-overlay.active {
    opacity: 1;
    visibility: visible;
}

#close-collection-carousel {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 50px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: transform 0.3s ease;
}

#close-collection-carousel:hover {
    transform: rotate(90deg);
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    perspective: 1000px; /* Forzar perspectiva aquí */
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-style: preserve-3d; /* Forzar 3D aquí */
}

.carousel-slide {
    /* Revertir a la estructura original */
    perspective: 1000px;
    transition: none; /* La transición se maneja en el track */
    transform-origin: initial;
    transform: initial;
    transform-style: initial; /* Eliminar 3D */
}

.carousel-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.carousel-slide h1.category-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
    z-index: 2;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    margin: 0;
    /* Transición Suave (Opacidad y Escala) */
    transform: scale(1);
    opacity: 1;
    transition: all 0.5s ease-out;
}

.carousel-slide.prev h1.category-title,
.carousel-slide.next h1.category-title {
    transform: scale(0.8);
    opacity: 0;
}

@keyframes slideInTitle {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(20deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.btn-view-category {
    padding: 18px 50px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
    z-index: 2;
    margin-top: 30px;
    animation: slideInButton 0.8s ease-out 0.2s both;
}

@keyframes slideInButton {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.btn-view-category:hover {
    background-color: #ffb300;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.6);
}

/* Botones de navegación */
#prev-category,
#next-category {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 2px solid var(--text-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#prev-category:hover,
#next-category:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

#prev-category {
    left: 30px;
}

#next-category {
    right: 30px;
}

/* Indicadores de posición (opcional) */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator.active {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-slide h1.category-title {
        font-size: 3rem;
        letter-spacing: 3px;
    }

    .btn-view-category {
        padding: 15px 35px;
        font-size: 1rem;
    }

    #prev-category,
    #next-category {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    #close-collection-carousel {
        font-size: 40px;
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-slide h1.category-title {
        font-size: 2rem;
    }

    #prev-category,
    #next-category {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* ========================================
   PERSONALIZACIÓN DE COLORES (TEMA)
   ======================================== */
/* Tema por defecto: Blanco en header transparente
:root {
    --header-icon-color: brightness(0) invert(1);
    --header-logo-filter: brightness(0) invert(1);
}
*/
/* Tema alternativo: Puedes crear otros temas aquí */
/* Ejemplo: Tema oscuro */
/* 
body.dark-theme {
    --header-icon-color: brightness(0);
    --header-logo-filter: brightness(0);
}
*/



/* ========================================
   EAGLE WIPE CINEMÁTICO
======================================== */

#eagle-wipe {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 100000;
    pointer-events: none;

    transform: translateX(-110%);
}

#eagle-wipe svg {
    width: 100%;
    height: 100%;
}

#eagle-wipe path {
    fill: #000;
}

/* ACTIVACIÓN */
body.eagle-transition #eagle-wipe {
    animation: eagleWipe 1.2s cubic-bezier(.77,0,.18,1) forwards;
}

@keyframes eagleWipe {
    0% {
        transform: translateX(-110%);
    }
    40% {
        transform: translateX(0);
    }
    60% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(110%);
    }
}


/* ===== NUESTROS DROPS ===== */

.drops {
    background: #f9f9f7;
    color: #ffffff;
    padding: 50px 0;
    overflow: hidden;
}

.drops-titulo {
    text-align: center;
    font-size: 48px;
    margin-bottom: 50px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #000;
}
/* ===== TITULO NUESTROS DROPS - ANIMACION ===== */
.drops-titulo {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Cuando entra en pantalla */
.drops-titulo.show {
    opacity: 1;
    transform: translateY(0);
}


/* ===== CONTENEDOR HORIZONTAL ===== */

.drops-track {
    display: flex;
    width: 100%;
    height: 70vh;
}

/* ===== ITEM ===== */

.drop-item {
    position: relative;
    flex: 1;
    overflow: hidden;
    transition: flex 0.6s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
/* ===== ENTRADA POR SCROLL - DROPS ===== */
.drop-item {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.drop-item.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* ===== IMAGEN ===== */

.drop-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

/* ===== TEXTO CATEGORIA (FIJO) ===== */

.drop-categoria {
    position: absolute;
    bottom: 25px;
    right: 30px;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
    z-index: 3;
    pointer-events: none;
}

/* ===== TEXTO CENTRAL TIPO CARRUSEL ===== */

.drop-marquee {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
}


.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 12s linear infinite;
}

.marquee-track span {
    font-size: clamp(48px, 6vw, 110px);
    font-weight: 700;
    letter-spacing: 6px;
    margin-right: 80px;
    color: #000;
    opacity: 0.30;
    text-transform: uppercase;
}



/* ===== EFECTOS HOVER ===== */

/* Todos se encogen */
.drops-track:hover .drop-item {
    flex: 0.85;
}

/* Activo */
.drop-item:hover {
    flex: 1.6;
    z-index: 2;
}

/* Imagen activa */
.drop-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.drop-item.is-disabled {
    cursor: default;
}

.drop-item.is-disabled:hover img {
    filter: brightness(0.96);
}

/* Mostrar texto carrusel */
.drop-item:hover .drop-marquee {
    opacity: 1;
}

/* ===== ANIMACIÓN TEXTO ===== */

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .drops-track {
        flex-direction: column;
        height: auto;
    }

    .drop-item {
        height: 60vh;
    }
}


/* ========================================
   SECCIÓN VIDEO CONTACTO
======================================== */
.header-trigger {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px; /* 🔥 SOLO 1px */
    pointer-events: none;
}


.contact-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.contact-video-section video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ========================================
   EFECTO PARTIDO (TEMPORAL)
======================================== */

.reveal-layer {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: repeat(4, 1fr); /* 👈 HORIZONTAL */
    z-index: 5;
    pointer-events: none;
}

.reveal-layer span {
    background: black;
    transform: scaleY(1);
    transform-origin: top;
    transition: transform 1.2s ease;
}

/* Activación por scroll */
.reveal-on-scroll.active .reveal-layer span {
    transform: scaleY(0);
}

.reveal-on-scroll.active .reveal-layer span:nth-child(1){ transition-delay: .1s; }
.reveal-on-scroll.active .reveal-layer span:nth-child(2){ transition-delay: .25s; }
.reveal-on-scroll.active .reveal-layer span:nth-child(3){ transition-delay: .4s; }
.reveal-on-scroll.active .reveal-layer span:nth-child(4){ transition-delay: .55s; }


@keyframes revealTemp {
    to {
        transform: scaleX(0);
    }
}

/* ========================================
   TEXTO CONTACTO (CTA)
======================================== */

.contact-cta {
    position: absolute;
    bottom: 60px;
    right: 60px;
    z-index: 10;

    font-size: 48px;
    font-weight: 600;
    color: white;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    letter-spacing: 2px;
    line-height: 1.1;

    transition: color 1.4s ease, background-color 1.4s ease;
}

@media (max-width: 768px) {
    .contact-cta {
        bottom: 30px;
        right: 20px;
        left: 20px;

        font-size: 1.8rem;
        text-align: left;
        line-height: 1.15;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .contact-cta {
        font-size: 1.5rem;
    }
}

.contact-video-section.active .contact-cta {
    animation: fadeUp .8s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.contact-cta:hover {
    background: white;
    color: black;
    border-color: white;
}


/* HEADER TRANSPARENTE SOLO CUANDO ESTÁ SOBRE EL VIDEO */
#main-header.over-video {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}


/* ================= PRODUCTOS ================= */
/* ===============================
   SIMPLE PRODUCTS (LOOKBOOK)
================================ */

.simple-products-section {
  background-color: #f9f9f7;
  padding: 0 115px 250px 115px;
  overflow: hidden;
}

/* Fondo fijo */
.simple-products-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

/* Grid */
.simple-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3vw;
}

.simple-products-grid a {
    text-decoration: none;
}

@media (max-width: 1100px) {
  .simple-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .simple-products-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
.simple-card {
  text-align: center;
  color: #000;
}

/* Imagen */
.simple-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.simple-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .5s ease, transform .6s ease;
}

/* Hover effect */
.simple-img .img-back {
  opacity: 0;
  transform: scale(1.03);
}

.simple-card:hover .img-front {
  opacity: 0;
}

.simple-card:hover .img-back {
  opacity: 1;
  transform: scale(1);
}

/* Texto */
.simple-name {
  margin-top: 18px;
  font-size: 22px;
  text-transform: lowercase;
}

.simple-price {
  font-size: 18px;
  opacity: .8;
}

/* ================= TITULO NUEVOS LANZAMIENTOS ================= */

.simple-products-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  color: #000;
  letter-spacing: 2px;
  font-family:  'Helvetica Neue', Arial, sans-serif;

  /* estado inicial (animación) */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

/* cuando entra en pantalla */
.simple-products-title.show {
  opacity: 1;
  transform: translateY(0);
}

/* responsive */
@media (max-width: 768px) {
  .simple-products-title {
    font-size: 2rem;
    margin-bottom: 50px;
  }
}
/* ================= ANIMACIÓN SCROLL PRODUCTOS ================= */

/* Estado inicial */
.simple-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

/* Cuando entra en pantalla */
.simple-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= CONTACTO MODERNO ================= */

.contact-modern {
  padding: 140px 8vw;
  background: #d6d6d6;
}

.contact-title {
  text-align: center;
  font-size: 3rem;
  letter-spacing: 6px;
  margin-bottom: 80px;
}

/* Caja */
.contact-box {
  max-width: 1200px;
  margin: auto;
  background: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px;
}

/* Info */
.contact-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.contact-sub {
  margin-bottom: 20px;
  font-weight: 500;
}

.contact-socials {
  display: flex;
  gap: 20px;
  font-size: 1.8rem;
}

.info_link-contacto {
    text-decoration: none;
    padding: 5px;

}

.contact-btn {
    background: #000;
    color: #fff;
    border-radius: 5px;
    border: none;
    padding: 14px;
    font-size: 1rem;
    cursor: pointer;
    transition: background .35s ease, color .35s ease;
    font-size: 1rem;
    margin-top: 60px;
    border: none;
}

.contact-btn:hover {
    background: #d4af37;
    color: #000;
}

/* Form */
.contact-form label {
  font-size: .9rem;
  margin-top: 20px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid black;
  padding: 10px 0;
  font-size: 1rem;
  background: transparent;
}

.contact-form textarea {
  resize: none;
  height: 80px;
}

.contact-form button {
  margin-top: 40px;
  background: #d4aa00;
  border: none;
  padding: 14px;
  font-size: 1rem;
  cursor: pointer;
}

.contact-socials {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #000;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.3rem;
  text-decoration: none;

  transition: transform .35s ease, background .35s ease;
}

.social-btn:hover {
  transform: translateY(-6px) scale(1.08);
  background: #d4af37; /* dorado Urban Eagles */
  color: black;
}


/* ================= ANIMACIÓN ================= */

.reveal-contact {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  transition: all 1s ease;
}

.reveal-contact.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-box {
    grid-template-columns: 1fr;
    padding: 50px;
  }

  .contact-title {
    font-size: 2.2rem;
  }
}



/* ===== CHAT FLOTANTE ===== */
.chat-float {
    fill: white;
    width: 50px;
    height: 50px;
    padding: 3px;
    background-color: #4dc247;
    border-radius: 50%;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    box-shadow: 2px 2px 11px rgba(0,0,0,0.7);
    position: fixed;
    bottom: 20px;
    right : 20px;
    z-index: 10;
}

.chat-float:hover {
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 15px 40px #4dc247;
}

.chat-icon {
    animation: pulse 3s infinite;
}


/* ===== FOOTER ===== */
.footer {
    background: #000;
    padding: 60px 20px 30px; /* Reduje un poco el padding superior */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out 1.5s both;
}

.footer-container {
    max-width: 1200px; /* Un poco más estrecho para mejor lectura */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    align-items: start; /* Mantiene todos los títulos alineados arriba */
}

.footer-column h3 {
    font-size: 1.1rem; /* Títulos más pequeños como pediste */
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    color: #ffd700;
    white-space: nowrap; /* Evita que el título se rompa en dos líneas */
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px; /* Espaciado limpio sin usar <br> */
}

.footer-column a {
    color: #ddd;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #ffd700;
    padding-left: 5px; /* Efecto sutil en lugar de transform pesado */
}

/* Contenedor del Mapa Responsivo */
.map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* Esto mantiene una proporción 4:3 */
    height: 0;
    border-radius: 10px;
    overflow: hidden;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    transition: transform 0.3s ease;
}

.map-wrapper:hover iframe {
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .contenido-contacto {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .distribuidores {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(3rem, 8vw, 6rem);
    }
}

@media (max-width: 768px) {
    .fila {
        grid-template-columns: 1fr;
    }

    .hero-contacto {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-line {
        width: 150px;
    }

    .seccion-contacto {
        padding: 60px 20px;
    }

    .cuadro-info {
        padding: 30px;
    }

    .form-title {
        font-size: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-column iframe {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 0.1em;
    }

    .item__titulo {
        font-size: 2rem;
    }

    .cuadro-info h2 {
        font-size: 1.5rem;
    }

    .form-title {
        font-size: 1.8rem;
    }
}


/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== SELECCIÓN DE TEXTO ===== */
::selection {
    background: #ffd700;
    color: #000;
}

::-moz-selection {
    background: #ffd700;
    color: #000;
}



/* ===== SELECCIÓ INICIO DE SESION/CERRAR SESION ===== */


.modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 300001;
}

.modal.active{
  opacity: 1;
  pointer-events: auto;
}

.modal-content{
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 320px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
  animation: slideUp .3s ease;
}

@keyframes slideUp{
  from{transform:translateY(40px);opacity:0;}
  to{transform:translateY(0);opacity:1;}
}

.modal-content h2{
  margin-bottom: 16px;
  font-size: 20px;
}

.modal-content button{
  display: block;
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.btn-login{
  background: #111;
  color: #fff;
}

.btn-register{
  background: #eee;
  color: #111;
}

.close{
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  font-weight: bold;
}



