@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    background: #fff;
    padding-top: 90px; /* Para compensar el menú fijo */
}

/* MENÚ FIJO */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: #fff;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu .logo img {
    height: 80px;
}

.menu .navbar {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu .navbar ul {
    display: flex;
    gap: 60px;
}

.menu .navbar ul li a {
    color: #5a8d23;
    font-weight: 600;
    font-size: 20px;
    position: relative;
    transition: all 0.1s ease;
}

.menu .navbar ul li a:hover {
    color: #5a8d23;
    border-bottom: 3px solid #66b413;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    color: #5a8d23;
    cursor: pointer;
}

.menu-toggle img {
    height: 35px;
    width: 35px;
}

/* Estilos para el botón flotante de WhatsApp */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: all 0.3s ease;
}

.float-wa:hover {
    background-color: #128C7E;
}

.banner-servicio {
    position: relative;
    width: 100%;
    height: 650px;
    background-image: url('img/electrico_img.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Raleway", sans-serif;
    font-weight: 100; /* Peso más delgado */
  }
  
  .banner-overlay {
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 250px;
  }
  
  .banner-text {
    color: white;
    text-align: right;
    max-width: 800px;
    font-family: "Raleway", sans-serif;
    font-weight: 100; /* Peso más delgado */
  }
  
  .subtitulo {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-right: 190px;
    opacity: 0.9;
    font-family: "Raleway", sans-serif;
    font-weight: 100; /* Peso más delgado */
  }
  
  .banner-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 100; /* Peso más delgado */
    letter-spacing: 8px;
    text-decoration: underline;
    text-decoration-color: #fff;
    text-decoration-thickness: 4px;
    text-underline-offset: 7px;
  }
  
  .banner-text .electrico {
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 100; /* Peso más delgado */
    padding-right: 120px;
    letter-spacing: 8px;
    text-decoration: underline;
    text-decoration-color: #fff;
    text-decoration-thickness: 4px;
    text-underline-offset: 7px;
}
  
  .btn-llamar {
    display: inline-block;
    background-color: #76a934;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 10px; /* Borde redondeado */
    font-size: 14px;
    transition: background-color 0.3s;
    border: 2px solid #ffffff; /* Borde blanco y suave */
}

.btn-llamar:hover {
    background-color: #5c8d28;
    border: 2px solid #76a934; /* Cambiar borde al pasar el ratón */
}

/* SECCIÓN PORTADA */
.seccion-portada {
    display: flex;
    flex-direction: row-reverse; /* Imagen a la izquierda en pantallas grandes */
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    padding: 90px 20px 0;
    flex-wrap: wrap;
    background: #f7f7f7;
}

.imagen-fondo img {
    max-width: 100%; /* Asegura que la imagen no se desborde del contenedor */
    width: 100%; /* Ajusta el ancho de la imagen al 100% del contenedor */
    height: auto; /* Mantiene la proporción original de la imagen */
    margin-bottom: -5px; /* Empuja la imagen contra el footer */
    object-fit: cover; /* Asegura que la imagen se ajuste sin distorsionarse */
}

.contenido-texto {
    align-self: flex-start; /* Sube el texto */
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 40px;
    max-width: 600px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-left: 4px solid #5a8d23;
}

.contenido-texto h2 {
    font-size: 35px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.barra {
    display: inline-block;
    width: 10px;
    height: 40px;
    background: #5a8d23;
    margin-right: 10px;
    vertical-align: middle;
}

.contenido-texto h2 strong {
    font-weight: bold;
    color: #000;
}

.contenido-texto h2 .verde {
    color: #5a8d23;
    font-weight: 600;
}

.contenido-texto p {
    font-size: 20px;
    color: #222;
    line-height: 1.6;
}


/* Footer Styles */
.footer {
    background-color: #76a934;
    padding: 40px 20px;
    color: #000000;
    text-align: center;
  }


  .footer-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  
  .footer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 20px;
    flex: 1;
    min-width: 250px;
  }
  
  .footer-box i {
    font-size: 36px;
    margin-bottom: 15px;
    color: #030303;
  }
  
  .footer-box p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
  }
  
  .footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
  }
  
  .footer-social i {
    font-size: 24px;
    color: #030303;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .footer-social i:hover {
    transform: translateY(-5px);
    color: #F4F4F4;
  }
  
  
  
  /* Responsive */
  @media (max-width: 768px) {
    .banner-overlay {
      justify-content: center;
      padding: 40px 20px;
    }
  
    .banner-text {
      text-align: center;
    }
  
    .banner-text h1 {
      font-size: 20px;
    }
  }

  @media screen and (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .text-content {
        padding-right: 0;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .bars {
        position: relative;
        margin-bottom: 15px;
    }
    
    .text-content h2, 
    .text-content h3, 
    .text-content p {
        margin-left: 0;
    }
    
    .quienes-somos {
        padding: 30px 15px;
    }
    
    .seccion-portada {
        flex-direction: column;
        align-items: center;
        padding: 60px 20px;
    }
    
    .imagen-fondo img {
        margin-bottom: 20px;
    }
    
    .contenido-texto {
        max-width: 90%;
        box-shadow: none;
        padding: 20px;
    }
}

@media screen and (max-width: 992px) {
    .menu {
        padding: 0 20px;
    }
    
    .menu .navbar ul {
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .menu .navbar {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .menu .navbar.active {
        display: flex;
    }
    
    .menu .navbar ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 10px 0;
    }
    
    .menu .navbar ul li {
        text-align: center;
        padding: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
}

@media screen and (max-width: 576px) {
    .menu {
        padding: 0 15px;
        height: 70px;
    }
    
    .menu .logo img {
        height: 60px;
    }
    
    .text-content h2 {
        font-size: 24px;
    }
    
    .text-content h3 {
        font-size: 18px;
    }
    
    .text-content p {
        font-size: 14px;
    }
    
    .float-wa {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}



