/* RESET Y BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    overflow-x: hidden;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    height: 100vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

/* SECCIONES */
.slide {
    height: 100vh;
    width: 100%;
    position: relative;
    margin-bottom: 2px;
    overflow: hidden;
    scroll-snap-align: start;
}

.full,
.inner-horizontal picture,
.inner-horizontal img,
.inner-horizontal .video-panel {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CARRUSEL HORIZONTAL */
.inner-horizontal {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.inner-horizontal picture,
.inner-horizontal img {
    width: 100vw;
    height: 100vh;
    scroll-snap-align: start;
    flex-shrink: 0;
    object-fit: cover;
}

/* BOTONES CIRCULARES */
.nav-circle {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.75);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 50;
    backdrop-filter: blur(3px);
}

.nav-circle.left { left: 25px; }
.nav-circle.right { right: 25px; }

.nav-circle:hover {
    transform: translateY(-50%) scale(1.2);
}

/* FOOTER */
#site-footer {
    width: 100%;
    background: white;
    padding: 12px 0;
    border-top: 1px solid #ddd;
    text-align: center;
    margin-top: 40px;
}

.footer-content p { margin: 3px 0; }

/* PANEL DE VIDEO */
.inner-horizontal .video-panel {
    display: block;
    flex: 0 0 100vw;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    scroll-snap-align: start;
    object-fit: cover;
    -webkit-user-drag: none;
}

/* ENLACES */
a { color: inherit; text-decoration: none; }

/* --------------------------------------------------- */
/* MENÚ SUPERIOR (ESCRITORIO) */
/* --------------------------------------------------- */
#top-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 6px 0;                                /* barra fina */
    background: rgba(0, 0, 0, 0.08);                /* muy transparente */
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    opacity: 0;                                     /* empieza oculto */
    transition: opacity 0.5s ease;                  /* fade suave */
    z-index: 100;
}

#top-menu ul {
    list-style: none;
    display: flex;
    gap: 12px;
}

#top-menu li { margin: 0; }

/* ✨ AQUI VA TU MENÚ MEJORADO */
#top-menu a {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 1rem;                                /* más grande */
    font-weight: 400;
    padding: 4px 10px;                              /* más aire */
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.75);               /* blanco suave */
    text-decoration: none;
}

/* --------------------------------------------------- */
/* MÓVIL */
/* --------------------------------------------------- */
@media (max-width: 768px) {

    /* Menú fuera completamente */
    #top-menu { 
        display: none !important; 
        opacity: 0 !important;
    }

    /* Carrusel móvil */
    .inner-horizontal {
        display: flex;
        height: 100%;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        background: white !important;
    }

    .inner-horizontal picture,
    .inner-horizontal img,
    .inner-horizontal .video-panel {
        flex: 0 0 100vw !important;
        width: 100vw !important;
        height: 100vh !important;
        min-width: 100vw !important;
        min-height: 100vh !important;
        object-fit: contain !important;
        background-color: white !important;
    }

    .inner-horizontal picture.first-slide,
    .inner-horizontal .video-panel.first-slide {
        object-fit: cover !important;
    }

    .slide {
        width: 100vw !important;
        height: 100vh !important;
        background: white !important;
        overflow: hidden;
    }

    body,
    .slide,
    .inner-horizontal picture,
    .inner-horizontal img,
    .inner-horizontal .video-panel {
        height: 100svh !important;
        min-height: 100svh !important;
    }
}


