/* ===================================================================================== */
/* =============================== INDEX.CSS COMPLETO ================================== */
/* ===================================================================================== */

/* ========================================= */
/* RESET */
/* ========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI', sans-serif;
    overflow-x:hidden;
}

/* ===================================================================================== */
/* ===================================== NAVBAR ======================================== */
/* ===================================================================================== */

.navbar-custom{
    background:transparent;
    transition:0.4s;
}

.navbar-scroll{
    background:rgba(0,0,0,0.7);
    backdrop-filter:blur(10px);
}

/* LINKS */

.navbar-nav .nav-link{
    color:#ffffff !important;
    font-weight:500;
    letter-spacing:0.5px;
    transition:0.3s;
    position:relative;
    margin-left:15px;
}

/* HOVER */

.navbar-nav .nav-link:hover{
    color:#ffc107 !important;
}

/* LINEA */

.navbar-nav .nav-link::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:2px;
    background:#ffc107;
    transition:0.3s;
}

.navbar-nav .nav-link:hover::after{
    width:100%;
}

/* LOGOS */

.logo{
    width:90px;
}

.logo-letras{
    width:120px;
    margin-left:5px;
}


/* WHATSAPP */

.icono-whatsapp{
    width:40px;
    height:40px;
    margin-left:20px;
}

/* ===================================================================================== */
/* ======================================= HERO ======================================== */
/* ===================================================================================== */

.hero{
    position:relative;
    width:100%;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    overflow:hidden;
    color:white;
}

/* IMAGEN DE FONDO */

.hero::before{
    content:"";
    position:absolute;
    width:100%;
    height:100%;

    background:url('/images/portada2.png') center center/cover no-repeat;

    animation:zoomHero 15s ease-in-out infinite alternate;

    z-index:1;
}

/* OVERLAY */

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0, 0, 0, 0.068);
    z-index:2;
    transition:0.4s;
}

/* CONTENIDO */

.hero-content{
    position:relative;
    z-index:3;

    margin-left:50px;

    max-width:650px;
}

/* TITULO BLANCO */

.hero h1{
    font-size:70px;
    line-height:1;
    font-weight:300;
    margin-bottom:10px;
}

/* DON CAIZA */

.titulo-doncaiza{
    font-size:120px;
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;

    color:#ffffff;

    line-height:0.9;

    margin-bottom:20px;
}

/* TEXTO */

.hero p{
    font-size:22px;
    margin-bottom:30px;
}

/* BOTON */

.btn-contacto{
    background:#ffc107 !important;
    border:none !important;

    color:#000 !important;

    padding:15px 35px !important;

    border-radius:50px !important;

    font-size:20px !important;

    transition:0.4s;
}

/* HOVER */

.btn-contacto:hover{
    transform:scale(1.05);
}

/* ANIMACION */

@keyframes zoomHero{

    from{
        transform:scale(1);
    }

    to{
        transform:scale(1.1);
    }

}

/* ===================================================================================== */
/* ==================================== RESPONSIVE ===================================== */
/* ===================================================================================== */

@media(max-width:768px){

    .hero{
        justify-content:center;
        text-align:center;
    }

    .hero-content{
        margin-left:0;
        padding:20px;
    }

    .hero h1{
        font-size:45px;
    }

    .titulo-doncaiza{
        font-size:70px;
    }

    .hero p{
        font-size:18px;
    }

}

/* BOTON */

.btn-contacto{
    border-radius:40px !important;
    padding:12px 30px !important;
    transition:0.3s;
}

.btn-contacto:hover{
    transform:scale(1.05);
}



/* ===================================================================================== */
/* ====================================== boton transparente ======================================= */
/* ===================================================================================== */


.dropdown-menu{
    background-color: rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.dropdown-item{
    color: #fff !important;
}

.dropdown-item:hover{
    background-color: rgba(255,255,255,0.15) !important;
    color: #fff !important;
}







/* ==================================== CONTACTO ======================================= */
/* ===================================================================================== */

.contacto{
    padding:100px 20px;
    background:#f8fafc;
}

/* CONTENEDOR */

.contacto-container{
    max-width:650px;
    margin:auto;
}

/* TITULO */

.contacto h2{
    text-align:center;
    font-size:40px;
}

.subtitulo{
    text-align:center;
    margin-bottom:40px;
}

/* FORMULARIO */

.formulario{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* CAMPOS */

.campo{
    margin-bottom:20px;
}

.campo label{
    display:block;
    margin-bottom:8px;
    font-weight:bold;
}

.campo input,
.campo textarea{
    width:100%;
    padding:14px;
    border:1px solid #ccc;
    border-radius:10px;
    outline:none;
}

/* BOTON */

.btn-enviar{
    width:100%;
    padding:15px;
    border:none;
    background:#22c55e;
    color:#fff;
    border-radius:10px;
    font-size:18px;
    transition:0.3s;
}

.btn-enviar:hover{
    background:#16a34a;
}



/* =========================
    SECCION NOSOTROS
========================= */

.nosotros{
    width:100%;
    padding:100px 10%;
    background:#fff;
}

.titulo-principal{
    text-align:center;
    font-size:50px;
    margin-bottom:70px;
    color:#111;
}

/* CONTENIDO */

.contenido-nosotros{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:60px;
    flex-wrap:wrap;
}

/* IMAGEN */

.imagen-nosotros{
    flex:1;
    min-width:320px;
}

.imagen-nosotros img{
    width:100%;
    border-radius:25px;
    object-fit:cover;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

/* TEXTO */

.texto-nosotros{
    flex:1;
    min-width:320px;
}

.texto-nosotros h2{
    font-size:40px;
    margin-bottom:25px;
    color:#111;
}

.texto-nosotros p{
    font-size:18px;
    line-height:1.9;
    color:#444;
}



/* =========================
    HISTORIA
========================= */

.historia{
    width:100%;
    height:650px;

    margin-top:120px;

    background:url('/images/vision.jpg') center/cover no-repeat;

    border-radius:30px;

    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;
}

/* OSCURECER */

.historia::before{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.45);
}

/* RECUADRO */

.historia-box{
    position:relative;
    z-index:2;

    width:80%;
    max-width:750px;

    background:rgba(0, 0, 0, 0.395);

    padding:50px;

    border-radius:25px;

    color:#fff;

    text-align:center;

    backdrop-filter:blur(5px);
}

.historia-box h2{
    font-size:45px;
    margin-bottom:25px;
}

.historia-box p{
    font-size:18px;
    line-height:1.9;
}

/* =========================
    CARRUSEL
========================= */

.carrusel-section{
    width:100%;
    padding:100px 10%;
    background:#f5f5f5;
}

.carrusel-container{

    max-width:1100px;
    margin:auto;

    height:550px;

    background:url('/images/mision.jpg') center/cover no-repeat;

    border-radius:30px;

    position:relative;
    overflow:hidden;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    transition:1s ease;
}

/* OSCURECER */

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
    top:0;
    left:0;
}

/* CONTENIDO */

.contenido-carrusel{
    position:relative;
    z-index:2;

    text-align:center;
    color:#fff;

    padding:20px;
}

.contenido-carrusel h2{
    font-size:55px;
    margin-bottom:25px;
    transition:0.4s;
}

.contenido-carrusel p{
    max-width:800px;
    margin:auto;
    line-height:1.9;
    font-size:20px;
    transition:0.4s;
}

/* BOTONES */

.botones{
    position:relative;
    z-index:2;

    margin-top:40px;

    display:flex;
    gap:20px;
}

.botones button{
    padding:15px 40px;
    border:none;
    border-radius:50px;

    background:#ff9800;

    color:#fff;

    font-size:16px;
    font-weight:bold;

    cursor:pointer;

    transition:0.3s;
}

.botones button:hover{
    background:#e68900;
    transform:translateY(-4px);
}

/* =========================
    RESPONSIVE
========================= */

@media(max-width:768px){

    .titulo-principal{
        font-size:38px;
    }

    .texto-nosotros h2{
        font-size:32px;
    }

    .historia{
        height:auto;
        padding:60px 20px;
    }

    .historia-box{
        width:100%;
        padding:35px;
    }

    .historia-box h2{
        font-size:35px;
    }

    .carrusel-container{
        height:auto;
        padding:80px 20px;
    }

    .contenido-carrusel h2{
        font-size:38px;
    }

    .contenido-carrusel p{
        font-size:17px;
    }

    .botones{
        flex-direction:column;
    }

}



/* ====================================== FOOTER ======================================= */
/* ===================================================================================== */

.footer{
    background:#0f172a;
    color:#fff;
    padding:60px 20px 20px;
}

/* CONTENEDOR */

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:30px;
    max-width:1200px;
    margin:auto;
}

/* TITULOS */

.footer-section h3,
.footer-section h4{
    margin-bottom:20px;
}

/* LINKS */

.footer-section a{
    display:block;
    margin-bottom:10px;
    color:#cbd5e1;
    text-decoration:none;
    transition:0.3s;
}

.footer-section a:hover{
    color:#22c55e;
    transform:translateX(5px);
}

/* FINAL */

.footer-bottom{
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid #334155;
    text-align:center;
}

/* ===================================================================================== */
/* ==================================== RESPONSIVE ===================================== */
/* ===================================================================================== */

@media(max-width:768px){

    .hero{
        justify-content:center;
        text-align:center;
    }

    .hero h1{
        font-size:40px;
    }

    .titulo-doncaiza{
        font-size:65px;
    }

    .nosotros-content{
        flex-direction:column;
    }

    .nosotros-texto{
        padding:40px 25px;
        text-align:center;
    }

    .historia-box{
        width:90%;
        padding:35px;
    }

    .contenido-carrusel h2{
        font-size:40px;
    }

    .contenido-carrusel p{
        font-size:17px;
        padding:0 20px;
    }

    .botones{
        flex-direction:column;
    }

}