/*VIDEOS*/

/*header*/
header {
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px;
    position: relative;
}
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%; /* Margen izquierdo */
    right: 10%; /* Margen derecho */
    height: 3px; /* Grosor fino */
    background: white;
    opacity: 50%;
}
nav {
    flex: 2; /* Ocupa más espacio para centrar */
    display: flex;
    justify-content: center; /* Centrar el menú */
}
nav ul {
    display: flex;
    list-style: none;
    gap: 5rem;
    margin: 0;
    padding: 0;
}
nav a {
    text-decoration: none;
    color: white;
    font-family: 'Cormorant Garamond';
    font-weight: 500;
    font-size: 1.7rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    cursor: pointer;
    transition: all 0.3s ease; /* Transición para todos los efectos */
    display: inline-block; /* Necesario para transform */
}
nav a:hover {
    color: #deb849;
    transform: scale(1.1); /* Efecto de agrandamiento */
    text-shadow: 0 2px 8px rgba(91, 91, 91); /* Sombra sutil para profundidad */
}
.user-menu {
    display: flex;
    justify-content: center;
}
.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}
.user-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.user-icon svg {
    transition: transform 0.3s ease;
}

.user-icon:hover svg {
    transform: scale(1.1);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*foto de fondo*/
.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    z-index: -1;
    overflow: hidden;
}

.image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    position: absolute;
}
.image-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}
/* botones */
.hero-buttons {
    display: flex;
    justify-content: flex-end; /* Alineados a la derecha */
    gap: 1rem;
    margin-top: 0rem;
    padding: 0 2rem;
    position: relative;
    bottom: 50px; 
}
.hero-btn {
    background: #fbecb2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #705228;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.hero-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Iconos */
.heart-icon {
    color: #ff6b6b;
    font-size: 1.1rem;
}
.cart-icon {
    font-size: 1.1rem;
}

/* Versión con íconos SVG (más profesional) */
.hero-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
/*categorías*/
.videos-hero {
    padding: 1rem 2rem 4rem;
    text-align: center;
    height: 80vh; /* Misma altura que el video */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.videos-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: white;
}
.videos-hero .subtitle {
    font-family: 'Cormorant Garamond';
    font-weight: 550;
    font-size: 1.17rem;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    text-align: center;
    margin: 0 auto; /* Esto lo centra */
}
/* SERIES SECTION */
.series-section {
    padding: 0rem 4rem 1rem;
    background-color: #fefefe;
    position: relative;
    z-index: 2;
}
.series-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}
.series-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem; /* Más grande que "Videos" */
    font-weight: 500;
    color: #666; /* Color gris */
    margin: 0;
    white-space: nowrap;
}
.line-left,
.line-right {
    flex: 1;
    height: 2px;
    background-color: #ccc;
}

/* CARRUSEL */
.series-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 4rem;
    background-color: #fefefe;
    position: relative;
    gap: 1rem;
}
.carousel-container {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    display: flex;
    justify-content: center; /* Centra el track */
}
.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    padding: 1rem 0;
}

/* FORMA DE TÚNEL */
.tunnel-shape {
    position: relative;
    width: 350px;
    height: 450px;
    overflow: hidden;
    border-top-left-radius: 160px;
  border-top-right-radius: 160px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}
.tunnel-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.series-card:hover .tunnel-shape img {
    transform: scale(1.05);
}
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.8) 100%);
    padding: 2rem 1rem 1rem;
    text-align: center;
}

.card-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: white;
    font-weight: 300;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
/*Títulos debajo de la imagen*/
.card-title {
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
}
.title-line {
    width: 350px; /* Mismo ancho que la imagen */
    height: 1px;
    background: #ccc;
    margin: 0 auto 1rem auto;
}
.card-title h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 400;
    color: #333;
    margin: 0;
    letter-spacing: 0.5px;
}

/* SERIES CARD - Ajustes para la nueva estructura */
.series-card {
    flex: 0 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Si usas la Opción 1 (enlaces) */
.series-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none; /* Quita el subrayado del enlace */
    color: inherit; /* Mantiene los colores originales */
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Asegurar que los h3 no tengan estilos de enlace */
.series-card h3 {
    text-decoration: none;
    color: inherit;
}
/* Efecto hover para enlaces */
.series-card:hover {
    transform: translateY(-10px);
    text-decoration: none; /* Asegurar que no aparezca subrayado */
}

.series-card:hover h3 {
    color: #666;
    text-decoration: none;
}
/* FLECHAS DEL CARRUSEL */
.carousel-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.carousel-arrow:hover {
    background: white;
    border-color: #ccc;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* SERIES CARD */
.series-card {
    flex: 0 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}
.series-card:hover {
    transform: translateY(-10px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .series-carousel {
        padding: 2rem 1rem;
        gap: 0.5rem;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 2rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
  .tunnel-shape {
        width: 280px;
        height: 360px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}
@media (max-width: 480px) {
    .tunnel-shape {
        width: 250px;
        height: 320px;
    }
    
    .carousel-track {
        gap: 1rem;
    }
}