/* =========================================
   RESETEO GLOBAL
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* =========================================
   BARRA SUPERIOR
========================================= */
.barra-superior {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 42px;
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(212, 160, 23, 0.25);
    z-index: 100;
    display: flex;
    align-items: center;
}

.menu-navegacion {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
}

.menu-navegacion a {
    color: #d4a017;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.85;
}

.menu-navegacion a:hover {
    color: #ffffff;
    opacity: 1;
}

/* =========================================
   LIENZO WEB Y FONDOS
========================================= */
.lienzo-web {
    width: 100%;
    max-width: 1920px;
    margin: 42px auto 0 auto;
}

.seccion-relativa {
    position: relative;
    width: 100%;
    line-height: 0; 
}

.fondo-slice {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
}

/* =========================================
   SECCIÓN 1: CÁMARA
========================================= */
.camara-flotante {
    position: absolute;
    top: 17%;
    left: 0;
    width: 36%;
    transform-origin: top left; 
    animation: microZoom 3s ease-out forwards;
    z-index: 10;
}

@keyframes microZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.015); }
}

/* =========================================
   SECCIÓN 3: TELEVISIÓN Y VIDEO
========================================= */
.contenedor-tv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.marco-tv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 3;
    pointer-events: none;
}

.video-pantalla {
    position: absolute;
    top: 12%;       
    left: 5.5%;     
    width: 74%; 
    height: 76%;    
    object-fit: fill; 
    z-index: 2;
    border-radius: 12px;
}

.flecha-tv {
    position: absolute;
    top: 48%;
    width: 3.2%;
    cursor: pointer;
    z-index: 4;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.8;
}

.flecha-tv:hover {
    opacity: 1;
    transform: scale(1.2);
}

.flecha-izq {
    left: 10.5%;
}

.flecha-der {
    left: 70.8%;
}

/* =========================================
   SECCIÓN 4: SOCIAL MEDIA (CELULAR)
========================================= */
.contenedor-celular {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.marco-alfombra {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 3;
    pointer-events: none; 
}

/* 🎛️ PANEL DE CONTROL CELULAR 🎛️ */
:root {
    --cel-top: 10%;         /* Eje Y (Arriba/Abajo) */
    --cel-left: 50%;      /* Eje X (Izquierda/Derecha) */
    --cel-width: 17%;       /*  Modifica solo este valor para escalar tamaño manteniendo proporción */
    --cel-rotate: -7deg;    /* Rotación para alinear con la mano */
}

.video-vertical {
    position: absolute;
    top: var(--cel-top);       
    left: var(--cel-left);      
    width: var(--cel-width);     
    aspect-ratio: 9 / 16;   /* Mantiene proporción vertical estricta */
    transform: rotate(var(--cel-rotate));    
    object-fit: cover; 
    z-index: 2;
    border-radius: 12px; 
}

.link-celular-invisible {
    position: absolute;
    top: var(--cel-top);       
    left: var(--cel-left);      
    width: var(--cel-width);     
    aspect-ratio: 9 / 16;   /* Mantiene proporción vertical estricta */
    transform: rotate(var(--cel-rotate));     
    z-index: 15;
    cursor: pointer;
}

/* =========================================
   SECCIÓN 5: CONTACTO
========================================= */
.contenedor-contacto {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 10;
}

.img-instagram {
    position: absolute;
    bottom: 10%;     
    left: 73%;      
    transform: translateX(-50%);
    width: 9%;      
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    z-index: 15;
}

.img-instagram:hover {
    transform: translateX(-50%) scale(1.05);
    filter: brightness(1.2);
}

.img-contactus {
    position: absolute;
    top: 68%;       
    left: 12%;       
    width: 25%;     
    cursor: pointer;
    z-index: 15;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.img-contactus:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* =========================================
   VERSIÓN MÓVIL (CELULARES)
========================================= */
@media (max-width: 768px) {
    .menu-navegacion {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        gap: 25px;
        padding-top: 5px;
    }

    .menu-navegacion a {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .menu-navegacion::-webkit-scrollbar {
        display: none;
    }
}