/* ---------------- Header ---------------- */
.header {
    background-color: #1a1f36;
    /* Azul oscuro para el menú */
    color: white;

    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);


}

.navegador {
    background-color: #1a1f36;
    /* Azul oscuro para el menú */
    color: rgb(23, 25, 53);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: right;
    text-align: right;
    position: fixed;
    height: 4rem;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    margin-top: 100px;


}



/* Espacio para que la imagen no se mezcle con el menú */  
body {
    padding-top: 90px;
    /* Ajusta según la altura del menú */
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7fc;
}

/* ---------------- Logo ---------------- */
.logo {
    height: 6rem;
    width: 20rem;
}

.logo img {
    height: 6rem;
}

/* ---------------- Menú ---------------- */
.nav__menu {
    list-style: none;
    margin: 10;
    padding: 0;
    display: flex;
    gap: 25px;
    align-items: normal;
}

.nav__menu li {
    position: relative;
}

.nav__menu a {
    text-decoration: none;
    color: rgb(250, 250, 252);
    font-size: 1.2rem;
    padding: 12px 18px;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav__menu a:hover {
    color: #00a6ff;
    /* Celeste llamativo */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* ---------------- Submenú ---------------- */
.nav__menu .is-parent ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1f36;
    list-style: none;
    padding: 0;
    width: 220px;
    box-shadow: 0px 4px 8px rgba(253, 253, 253, 0.3);
}

.nav__menu .is-parent:hover>ul {
    display: block;
}

.nav__menu .is-parent ul li a {
    padding: 12px;
    display: block;
    color: rgb(239, 240, 245); /* Cambia el color de la letra del sub menu */
}

.nav__menu .is-parent ul li a:hover {
    background: #00a6ff;
    color: white;
}

.nav__menu {
    margin-left: auto;
    /* Empuja el menú hacia la derecha */
}

/* ------------ Hero Section ----------*/
.hero {
    width: 100%;
    height: 100vh; /* Ocupa toda la altura de la pantalla */
    padding-top: 6rem;
    padding-bottom: 5rem;
    /*height: 650px;*/
    background: url('../img/fondo.png') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero__carousel {
    text-align: center;
    padding: 10px;
 /*   background: #fff; */
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 10px;
    width: 100%;
    /* height: 650px;*/
    background: url('../img/fondo.png') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  /*  color: white; */
    position: relative;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero__content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 25pxm;
    border-radius: 15px;
    backdrop-filter: blur(5px);
 
    padding-top: 0px; /* Ajusta según sea necesario */
    margin-top: 0px;  /* Asegura que no haya margen extra */
}

.hero__content h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero__content h5 {
    font-size: 1.5rem;
    font-weight: lighter;
    color: #8f9396;
}

/* ---------------- Menú Móvil ---------------- */
.nav__toggle--icon {
    display: none;
    cursor: pointer;
}

.nav__toggle--icon span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 5px 0;
    background: white;
}

/* ---------------- Ajustes generales ---------------- */
.parrafo {
    width: 60%;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #222;
    text-align: right;
}

/* --------- Secciones de contenido --------- */
.sobre_nosotros,
.servicios {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    padding: 30px;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.sobre_nosotros:hover,
.servicios:hover {
    transform: translateY(-5px);
}

.img_sob_nos,
.img_servicios {
    width: 45%;
    border-radius: 12px;
    box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.img_sob_nos:hover,
.img_servicios:hover {
    transform: scale(1.05);
}

/* --------- Footer --------- */
.footer {
    background: #1a1f36;
    color: white;
    text-align: center;
    padding: 20px;
}



.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-toggle span {
    background: white;
    height: 3px;
    margin: 5px 0;
    width: 25px;
}
@media (max-width: 768px) {
    .nav__menu {
        display: none;
        flex-direction: column;
        background: #1a1f36;
    }
    .nav__menu.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .sub-menu {
        display: none;
    }
    .sub-menu.active {
        display: block;
    }
}









/* ======= Ajustes para Pantallas Pequeñas ======= */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .hero {
        height: 500px;
    }

    .hero__content h1 {
        font-size: 2rem;
    }

    .nav__menu {
        position: fixed;
        top: 200;
        left: 00%;
        width: 250px;
        height: 100vh;
        background: #222831;
        flex-direction: column;
        padding-top: 50px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    text-align: left;
    }

    .nav__menu.is-active {
        left: 0;
    }

    .nav__toggle--icon {
        display: block;
    }

    .nav__menu a {
        padding: 15px;
        display: block;
        color: rgb(15, 17, 102);
    }

    .nav__menu .is-parent ul {
        position: static;
        display: none;
        padding-left: 1rem;
    }

    .nav__menu .is-parent.is-active>ul {
        display: block;
    }

    .sobre_nosotros,
    .servicios {
        flex-direction: column;
        text-align: center;
    }

    .img_sob_nos,
    .img_servicios {
        width: 90%;
    }

    .parrafo {
        width: 90%;
        text-align: justify;
    }
}



/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    padding: 30px 30px;
    border-radius: 100%;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}


/*seccion contacto*/
.form--contacto {
    background-color: rgba(237, 237, 238, 0.233);
    color: rgba(240, 248, 255, 0.137);

}


.login-button {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background: url('../img/login2.png') center no-repeat;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0);
    position: relative;
    overflow: hidden;
    gap 10px;
}

/* WhatsApp Button */

.whatsapp-button-nav {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background: url('../img/wp_logo.png') center no-repeat;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0);
    position: relative;
    overflow: hidden;
    gap 10px;

}

/* facebook Button */

.facebook-button-nav {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background: url("../img/facebook.png") center no-repeat;

    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0);
    position: relative;
    overflow: hidden;
    gap 10px;
}

.logo-container h1 {
    margin: 0;
    font-size: 24px;
    color: #333;
}
.fecha-hora {
    color: white;
    font-size: 14px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.productos-carousel {
    margin: 0 auto;
    max-width: 1200px;
}

.producto {
    text-align: center;
    padding: 10px;
}

.producto img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.slick-prev:before, .slick-next:before {
    color: black;
}

.slick-dots li button:before {
    color: black;
}



