/* __________________________________________Fondos_Secciones_____________________________*/
strong{
    color: #00551e;
}

/* ____________________________________________Reset_______________________________*/
* {
    margin: 0;
    padding: 0;
    font-family: 'Sansation', sans-serif;
    box-sizing: border-box;
}


body {
    background-color: #f4f4f4;
    color: #333333b0;
overflow-x: hidden;
}
  
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  

*,
*::before,
*::after {
    box-sizing: border-box;
}

/*____________________________________________Titulos_____________________________________*/

.title {
    color: #1c5739;
    font-weight: bold;
    text-align: center;
    margin: 80px 0px 60px 0px;
}

/* __________________________________________Header_______________________________________*/

/* Contenedor de la imagen */
.fondo {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.overlay {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: black;
    background: rgba(255, 255, 255, 0.6);
    padding: 20px 0 0;
    /* Reducimos padding inferior */
    border-radius: 10px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.color-bar {
    margin-top: 15px;
    height: 10px;
    width: 100%;
    display: flex;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

.color-bar::before {
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, #dfdb02, #dfdb02, #dfdb02, #dfdb02, #1b5301, #1b5301, #1b5301);
    /* Arcoíris */
}

.overlay h1 {
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 800;
}

.overlay p {
    font-size: 1.2em;
}


#video-container .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #ffffff;
    color: #0b6e4f;
    text-decoration: none;
    border-radius: 5px;
}

#video-container .btn:hover {
    background: #0b6e4f;
    color: #fff;
}


/* Estilos del header y navbar */
#menu {
    position: fixed;
    width: 100%;
    transition: background-color 0.3s ease-in-out;
    font-size: 18px;
    z-index: 1000;
}

#menu.transparent {
    background-color: transparent !important;
}

#menu.scrolled {
    background-color: white !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Navbar y enlaces */
#menu .navbar {
    margin-inline: auto;
    padding-left: 10%;
}

#menu .collapse {
    margin-inline: auto;
    padding-left: 50%;
}

#menu .navbar-brand,
#menu .nav-link {
    color: white !important;
    position: relative;
    margin: 0 20px;
    transition: color 0.3s ease-in-out;
}

/* Hover con subrayado animado */
#menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #cdbe00;
    transition: width 0.3s ease-in-out;
}

#menu .nav-link:hover::after {
    width: 100%;
}

#menu .nav-link:hover {
    color: #cdbe00 !important;
}

/* Enlaces al hacer scroll (fondo blanco) */
#menu.scrolled .navbar-brand,
#menu.scrolled .nav-link {
    color: black !important;
}

#menu.scrolled .nav-link:hover {
    color: #00551e !important;
}

#menu.scrolled .nav-link::after {
    background-color: #00551e;
}

/* Ajustes generales del contenido */
.content {
    padding: 100px 10px;
    text-align: center;
}

.content h1,
.content h2 {
    color: #00551e;
}


/* Logo */
a img {
    width: 95px;
}

/* ____________________________________________Footer_______________________________*/

.footer {
    background: #cdbe29;
    background: url('../Img/2.JPG') center/cover no-repeat;
    color: white;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.footer-overlay {
    background-color: rgba(100, 111, 3, 0.7);
    /* Un verde más sólido y elegante */
    padding: 50px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 30px;
}

.footer-logo {
    max-width: 130px;
    height: auto;
}

.footer-info {
    flex: 1;
}

.footer-title {
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-divider {
    width: 50px;
    border: 2px solid #f8c146;
    margin: 10px 0 20px;
}

.footer a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.footer a:hover {
    color: #f8c146;
}

.footer-bottom {
    background-color: #003814;
    padding: 15px 0;
    font-size: 14px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer .social-icon {
    color: #ffffff;
    font-size: 22px;
    transition: color 0.3s, transform 0.3s;
}

.footer .social-icon:hover {
    color: #f8c146;
    transform: scale(1.2);
}

/* ___________________________________Biodiesel premiun img_______________________________________*/
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 150px;
    background-color: #ffffff
}

.logo-img {
    max-width: 90%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}


/* __________________________________________Contacto_______________________________________*/

#contacto {
    margin: 5% 0%;

}

#contacto::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../Img/Fondos_Hojas.jpg') center/cover no-repeat;
    opacity: 0.8;
    z-index: -1;
}

#contacto h2 {
    padding-bottom: 80px;
}

#contacto form {
    margin: 0px 200px;
    font-weight: bold;
    padding-left: 50px;
}


#contacto img {
    width: 75%;
    margin-left: 90px;
}

#contacto p {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}


/* __________________________________________Core del negocio_______________________________________*/


.biodiesel_Premiun {
    padding: 250px 0px 250px 0px;
    background-color: #00551e;
    position: relative;
    background: url('../Img/Productos/1.jpg') center/cover no-repeat;
    color: white;

    text-align: center;
    z-index: 1;
    overflow: hidden;

}

.biodiesel_Premiun::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Aquí ajustas la opacidad */
    z-index: -1;
}

.biodiesel_Premiun .container-custom img {
    border-radius: 10px;
    width: 85%;
}

.biodiesel_Premiun .content {
    text-align: justify;
}

.biodiesel_Premiun .content p {
    text-align: center;
    font-size: 35px;
    text-transform: uppercase;
}

.biodiesel_Premiun .title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    /* Verde oscuro profesional */
    margin-bottom: 120px;
    text-transform: uppercase;
}

.biodiesel_Premiun strong {
    color: #cdbe00;
}



/*_____________________________________producto______________________________________*/

.producto1,
.producto2,
.producto3 {
    padding: 40px 0px 40px 0px;

}

.producto2 {
   
    background: url('../Img/Prueba2.png') center/cover no-repeat;
    color: #fff;
}

.producto2 strong{
    color: #000;
}

.producto2 .container-custom .row{
    display: flex;
  
}

.container-custom img {
    border-radius: 10px;
    width: 85%;
}

.content {
    text-align: justify;
}

.content p {
    font-size: 1.2rem;
}

.title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a3c2d;
    /* Verde oscuro profesional */
    margin-bottom: 120px;
    text-transform: uppercase;
}

/*_____________________________________Servicios______________________________________*/
.servicio img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}



/* Estilo del contenedor */
.contenedor-imagen {
    display: flex;
    justify-content: center;
    align-items: center;
   
}
.contenedor-imagen #core2{
    display: none;
}
.contenedor-imagen #core1{
    display: inline;
}

/* Estilo de la imagen */
.imagen-core {
    max-width: 90%;
}

/*_____________________________________Responsive______________________________________*/


/* ______________________ Responsive para laptops pequeñas (ancho máximo 1024px) ______________________ */
@media (max-width: 1024px) {
    .palma1 {
        left: 400px;
    }

    .overlay h1 {
        font-size: 1.8em;
    }

    .overlay p {
        font-size: 1em;
    }

    #contacto form {
        margin: 0px 50px;
        padding-left: 20px;
    }

    #contacto img {
        width: 85%;
        margin-left: 30px;
    }

    .biodiesel_Premiun .content p {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .logo-container {
        margin: 80px;
    }
}

/* ______________________ Responsive para tablets y celulares (ancho máximo 768px) ______________________ */
@media (max-width: 768px) {
    .palma1 {
        display: none;
    }

    .title {
        font-size: 2rem;
        margin: 0px 0px;
    }

    .overlay {
        padding: 15px;
    }

    .overlay h1 {
        font-size: 1.5em;
    }

    .overlay p {
        font-size: 0.9em;
    }

    #menu .collapse {
        padding-left: 0;
    }

    #menu .navbar {
        padding-left: 0;
    }

    #contacto form {
        margin: 0px 20px;
        padding-left: 10px;
    }

    #contacto img {
        width: 100%;
        margin-left: 0;
    }

    .biodiesel_Premiun {
        padding: 150px 0;
    }

    .biodiesel_Premiun .content p {
        font-size: 22px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .logo-container {
        margin: 40px;
    }

    .content p {
        font-size: 20px;
        margin: 10px 15px 10px 15px;
    }

    .container-custom #texto {
        margin-left: 0px !important;
    }

    .producto2 .col-md-6 content {
        padding: 0px;
        margin-left: 0px;
        margin-bottom: 120px;
    }

    .producto2 {
   
        background: none;
        color: #000;
    }
    .producto2 strong{
        color: #00551e;
    }

    .contenedor-imagen #core1{
        display: none;
    }
    .contenedor-imagen #core2{
        display: inline;
    }

    
    .fondo{
        height: unset;
    }

.producto2 .container-custom .row{
    flex-direction: column-reverse;
}

}