@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background-color: #19325d; /* Color de fondo del men? */
    color: whitesmoke;
    min-height: 75vh;
    display: flex;
    align-items: center;

}

.header .logo-banner-nav {
    display: flex;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu .nav ul li {
    position: relative;
    float: left;
    font-size: 18px;
    padding: 20px;
    margin-right: 10px;
}

.menu .nav ul li a {
    color: whitesmoke;
    font-weight: 600;
    display: block;
}

.menu .nav a:hover {
    color: #e3a72f;
    transition: color 0.3s;
}

.checkbox {
    display: none;
    cursor: pointer;
}

/* .btn-menu {
    width: 25px
} */

.hamburger-lines {
    display: none;
}

/* .nav label {
    cursor: pointer;
    display: none;
} */

.header-content {
    text-align: center;
}

.header-content h1 {
    font-size: 60px;
    line-height: 80px;
    color: whitesmoke;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.header-content p {
    font-size: 16px;
    color: whitesmoke;
    padding: 0 250px;
    margin-bottom: 25px;
}

.btn-1 {
    display: inline-block;
    padding: 11px 35px;
    background-color: #79ba7e;
    color: whitesmoke;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 20px;
}

.whatsapp-button {
    background-color: #34D186; /* Un tono m?s claro que el verde oficial #25D366 */
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-family: sans-serif;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    background-color: #2cbe75;
}

.whatsapp-button .fa-brands {
    margin-right: 8px;
    font-size: 18px;
}

.email-button {
    background-color: #f2bd5c; /* Tono m?s claro que #e3a72f */
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-family: sans-serif;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.email-button:hover {
    background-color: #df9e29;
}

.email-button .fa-solid {
    margin-right: 8px;
    font-size: 18px;
}

.whatsapp-flotante {
    position: fixed;
    bottom: 20px;
    left: 35px;
    background-color: #25D366; /* Color de fondo de WhatsApp */
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    z-index: 1000; /* Asegura que el bot?n est? por encima de otros elementos */
}

.whatsapp-flotante img {
    width: 40px; /* Tama?o del icono */
    height: 40px; /* Tama?o del icono */
}

.info {
    padding: 70px 0;
    background-color: #e1e2e6;
    position: relative;
}

.info-content {
    text-align: center;
}

.info-content h2 {
    font-size: 55px;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    padding: 0 200px 0 100px;
    margin-bottom: 15px;
}

.info-content img {
    float: right;
    padding: 0 0 0 15px;
    height: 350px;
    padding-left: 20px;

}

.txt-p {
    font-size: 15px;
    color: #414247;
    padding: 0 100px;
    margin-bottom: 35px;
}

.elec {
    padding: 100px 0;
    background-color: #e1e2e6;
    position: relative;
}

.elec-content {
    text-align: center;
}

.elec-content h2 {
    font-size: 55px;
    line-height: 70px;
    color: #323337;
    text-transform: uppercase;
    padding: 0 250px;
    margin-bottom: 35px;
}

.elec-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.elec-1 img {
    width: 250px;
}

.elec-1 h3 {
    color: #323337;
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.elec-1 p {
    font-size: 13px;
    color: #414247;
    padding: 1px 20px;
    text-align: justify;
    margin-bottom: 15px;

}

.elec-1 .services-item {
    list-style: none;
    font-size: 12px;
    color: #414247;
    padding: 10px 20px;
    text-align: justify;
}

.form {
    background-image: linear-gradient(
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.7)),
        url(/img/contact.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
}
.form-content {
    width: 900px;
    margin: 0 auto;
    text-align: left;
    padding: 20px;
}
.form-content h2 {
    font-size: 55px;
    line-height: 70px;
    color: #e1e2e6;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.form-content p {
    font-size: 16px;
    color: #c5c5c5;
    margin-bottom: 30px;

}

.form-content label {
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 600;
    color: #c5c5c5;
}

.form-content input, textarea {
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.form-content input[type="submit"] {
    background-color: #4caf50;
    color: white;
    margin-top: 30px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

:focus {
    outline: 3px solid #df9e29
}

.form-content input[type="submit"]:hover {
    background-color: #45a049;
}

.footer {
    padding: 100px 0;
    background-color: #19325d;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.link h3 {
    font-size: 18px;
    color: #df9e29;
    margin-bottom: 15px;
}

.link a {
    font-size: 16px;
    color: #c5c5c5;
    display: block;
    margin-bottom: 15px;
}

.link-land a {
    display: inline-flex;
    justify-content: space-between;
    font-size: 35px;
    padding: 10px;
}

@media screen and (max-width:991px) {
    .menu {
        flex-basis: 48%;
    }

    .menu .logo-banner-nav {
        /* display: none; */
        position: absolute;
        top: 5px;
        right: 15px;
        width: 200px;
        font-size: 1.2rem;
        color: #0e2431;
    }

    /* .menu label {
        display: initial;
    } */

    .checkbox {
        position: absolute;
        display: block;
        height: 32px;
        width: 32px;
        top: 20px;
        left: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .hamburger-lines {
        display: block;
        height: 26px;
        width: 32px;
        top: 17px;
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: absolute;
    }

    .hamburger-lines .line {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #c3c3c3;
    }

    .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.4s ease-in-out;
    }

    .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.4s ease-in-out;
    }

    .menu .nav {
        /* position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #19325d;
        display: none;
        box-shadow: 0 5px 4px rgb(146 161 176 / 15%); */
        padding-top: 120px;
        box-shadow: inset 0 0 2000px #19325d;
        height: 100vh;
        width: 100%;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin-left: -40px;
        padding-left: 50px;
        transition: transform 0.5s ease-in-out;
        text-align: left;
        backdrop-filter: blur(15px);
    }

    .menu .nav li {
        width: 100%;
        margin-bottom: 1.2rem;
        font-size: 16px;
        font-weight: 600;
    }

    
    .menu input[type="checkbox"]:checked ~ .nav {
        /* display: initial; */
        transform: translateX(0);
    }

    .menu input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        /* display: initial; */
        transform: rotate(45deg);
    }

    .menu input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
        /* display: initial; */
        transform: scaleY(0);
    }
    
    .menu input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        transform: rotate(-45deg);
    }

    .header {
        min-height: 0vh;
    }

    .header-content {
        padding: 100px 30px;
    }

    .header-content h1 {
        font-size: 3rem;
    }
    .header-content p {
        padding: 0;
        font-size: 1.1rem;
    }

    .header-contact {
        position: relative;

    }
    .whatsapp-flotante img {
        width:30px;
        height: 30px;
    }
    .info {
        padding: 30px;
    }

    .info-content {
        position: relative;
        justify-content: center;
        align-items: center;
    }
    .info-content h2 {
        padding: 0;
        font-size: 4vw;
        text-align: center;
    }

    .info-content img {
        float: none;
        width: 100%;
        height: 250px;
        object-fit: cover;

    }

    .txt-p {
        padding: 0;
        font-size: 1.1rem;
    }

    .elec {
        padding: 0;
    }

    .elec-content h2 {
        padding: 0;
        font-size: 4vw;
        text-align: center;
    }

    .elec-group {
        flex-direction: column;
        margin-bottom: 0;
    }
    .elec-1 {
        margin-bottom: 25px;
    }

    .form {
        padding: 0;
    }

    .form-content {
        width: 100%;
    }

    .form-content h2 {
        font-size: 4vw;
        margin-bottom: 1px;
    }

    .form-content p {
        font-size: 2.5vw;
    }

    .form-content label {
        font-size: 0.9em;
        margin-bottom: 0;
    }
    .footer {
        padding: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .link h3, a {
        font-size: 4vw;
    }
}

@media screen and (min-width:992px) and (max-width:1079px) {
    .header .header-content h1 {
        padding-top: 100px;
        font-size: 3em;
    }
    .header-content .header-contact {
        padding-bottom: 20px;
    }
}
