/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f5f2;
    color: #1a1a1a;
}

/* =========================
   BARRA DE NAVEGACION
========================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.content {
    background-color: #e1ded6;
    min-height: 80px;
    position: relative;
}

.menu {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 20px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
}

.menu .navbar ul li {
    float: left;
}

.menu .navbar ul li a {
    font-size: 18px;
    padding: 20px;
    color: #ffffff;
    display: block;
    font-weight: bold;
}

.menu .navbar ul li a:hover {
    color: #b1aaa4;
}

#menu {
    display: none;
}

.menu-icono {
    width: 25px;
}

.menu label {
    cursor: pointer;
    display: none;
}
/* =========================
   MENÚ MÓVIL
========================= */
@media (max-width: 991px) {

    .content {
        min-height: 70px;
    }

    .menu {
        position: relative;
        top: 0;
        padding: 20px;
    }

    .menu label {
        display: initial;
    }

    .menu .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #e1ded6;
        display: none;
        z-index: 1001;
    }

    .menu .navbar ul li {
        width: 100%;
    }

    #menu:checked ~ .navbar {
        display: block;
    }
}

/* =========================
   VIDEObook
========================= */
#videobook {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Video principal */
.video-principal iframe {
    width: 100%;
    max-width: 900px; /* se puede aumentar según diseño */
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    margin-bottom: 2rem;
}

/* Clips secundarios */
.clips-secundarios {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    justify-items: center;
}

.clip img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.clip:hover {
    transform: scale(1.05);
}

.clip:hover h4 {
    color: #b1aaa4; /* cambia el color al hacer hover */
}

/* =========================
   LIGHTBOX
========================= */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2001;
}

.lightbox .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    cursor: pointer; /* indica que se puede cerrar */
}

.lightbox-content {
    position: relative;
    width: 90vw;
    height: 50vw;
    max-width: 1200px;
    max-height: 675px;
    z-index: 2001;
    border-radius: 10px;
}

.lightbox-content iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95vw;
        height: auto;
        max-width: 95vw;
        max-height: 60vh; /* limita altura para móviles */
    }

    .video-principal iframe {
        max-width: 100%;
    }
}

#videobook h3 {
    margin-bottom: 1.5rem; /* ajusta la distancia a tu gusto */
}