/* HEADER */
.header{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    z-index:20;
    padding:25px 0;
    background: #fff; /* asegúrate de tener fondo sólido */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* 👈 sombra debajo */
}

.nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    height:120px;
}

nav{
    flex:1;
    margin-left:40px;
}

.menu{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    list-style:none;
}

.menu a{
    text-decoration:none;
    color:black;
    font-weight:500;
    font-size:15px;
    white-space:nowrap;
    transition:.3s;
}

.menu a:hover{
    color:var(--red);
}

.btn-nav{
    background:var(--red);
    color:white !important;
    padding:10px 25px;
    border-radius:50px;
}

.hero{
    position:relative;
    height:50vh;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    overflow:hidden;
    text-align:center;
}

/* CONTENEDOR SLIDER */
.hero-slider{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:0;
}

/* IMÁGENES */
.slide{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;

    object-fit:cover; /* 👈 llena TODO el espacio */
    object-position:center; /* 👈 centra bien la imagen */

    opacity:0;
    transform:scale(1); /* inicia normal */
    transition:opacity 1.2s ease-in-out, transform 6s ease;
}

.slide.active{
    opacity:1;
    transform:scale(1.15); /* 👈 zoom IN elegante */
}

/* OVERLAY OSCURO */
.hero::after{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.45);
    z-index:1;
}

.hero-text{
    position:relative;
    z-index:2;
    max-width:800px;
}

.hero h1{
    font-size:55px;
    margin-bottom:-55px;
    line-height: 1.1;
}

.hero p{
    font-size:22px;
    font-weight:500;
    background: rgba(255,255,255,0.1);
    padding:12px 25px;
    border-radius:30px;
    display:inline-block;
    backdrop-filter: blur(8px);
    letter-spacing:.5px;
}



