﻿/*nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
    background: rgba(0, 10, 30, 0.2);
    backdrop-filter: blur(2px);
    color: white;
    padding: 12px 0;
    text-align: center;
    transform: translateY(-100%);
    animation: slideDown 1.5s ease forwards;
}*/



@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}



nav .logo {
    font-weight: bold;
    font-size: 1.4rem;
    color: #fff;
}

nav ul {
    list-style: none;
    display: inline-flex;
    gap: 2rem;
    margin: 0;   
    padding: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

    nav a:hover, nav a.active {
        color: #66ccff;
    }

/* ===================== Secciones ===================== */
.ContBase {
    min-height: 100vh;
    width: 100vw;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
    padding-top: 100px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    /* IMPORTANTE */
    background-attachment: scroll;
}


/* Fade-in al hacer scroll */
div[id^='page'] {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

    div[id^='page'].visible {
        opacity: 1;
    }

/* Contenedores adicionales */
.cont {
    width: 100vw;
}

.box {
    background-color: #f2f1df;
}

/* ===================== Botón Scroll Top ===================== */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg,#fff,#999);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    transition: background 0.6s ease, transform 0.3s ease-in-out, box-shadow 0.3s ease;
    z-index: 999;
    opacity: 0.6;
}

    .back-to-top:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 8px 20px rgba(242, 241, 223, 0.5);
        opacity: 0.8;
        background: linear-gradient(135deg,#999, #fff);
    }



.WhatsApp {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg,#25D366,#075E54);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    transition: background 0.6s ease, transform 0.3s ease-in-out, box-shadow 0.3s ease;
    z-index: 999;
    opacity: 0.6;
}

    .WhatsApp:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 8px 20px rgba(242, 241, 223, 0.5);
        opacity: 0.8;
        background: linear-gradient(135deg, #075E54,#25D366);
    }


.btnContacto
{
    background-color: #fff;
    padding: 8px;
    border-radius: 40px;
    text-decoration: none;
    color: #000;
    padding: 9px 40px;
}

#page2 h1 {
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    line-height: 1.1;
}


.position-center {
    top: 75% !important;
}


#page4 h1
{
    font-size: 60px;
}



/*//////////////////////////////////////////*/
#logoImg {
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

    #logoImg.visible1 {
        opacity: 1;
        pointer-events: auto;
    }


.img-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.img-full {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    margin-top: -100px;
}

