@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body{
    font-family: 'Poppins', sans-serif;
}

img{
    max-width: 100%;
}

.container{
max-width: 1100px;
margin: 0 auto;
}

.header{
    background-color: #FAFAFA;
    padding: 150px 0 100px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.menu{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu .navbar ul li{
    position: relative;
    float: left;
}

.menu .navbar ul li a{
    font-size: 18px;
    padding: 20px;
    color: #2c3e50;
    display: block;
}

.menu .navbar ul li a:hover{
   color: #ae8535; 
}  

.logo{
    font-size: 20px;
    font-weight: 800;
    color: #2c3e50;
    text-transform: uppercase;
}

#menu{
    display: none; 
}

.menu-icono{
    width: 25px;
}   

.menu label{
    cursor: pointer;
    display: none;
}

.header-content{
display: flex;
}

.header-txt{
    width: 50%;
}

.header-txt h1{
    line-height: 1;
    color: #2c3e50;
    text-transform: uppercase;
    font-size: 60px;
    margin-bottom: 10px;
}

.header-txt p{
    font-size: 16px;
    color: #818181;
    margin-bottom: 45px;
}

.header-img{
    width: 50%;
}

.btn-1{
    display: inline-block;
    padding: 11px 25px;
    background-color: #ae8535;
    color: #FFFFFF;
    border-radius: 15px;
}

.about{
    padding: 100px 0;
    display: flex;
}

.about-img{
    width: 50%;
}

.about-img img{
    width: 500px;
    border-radius: 15px;
}

.about-txt{
    width: 50%;
    margin-left: 25px;
}

.about-txt h2{
    color: #2c3e50;
    font-size: 50px;
    margin-bottom: 15px;
}

.about-txt h3{
    color: #2c3e50;
    font-size: 50px;
    margin-bottom: 15px;
}

.about-txt p{
    font-size: 16px;
    color: #818181;
}

.mision-txt{
padding: 50px 0 100px 0;
text-align: center;
background-color: #FAFAFA;
}

.mision-txt h2{
   color: #2c3e50;
  font-size: 50px;
  margin-bottom: 15px; 
}
.servicios{
padding: 50px 0 100px 0;
text-align: center;
background-color: #FAFAFA;
}


.servicios h2{
  color: #2c3e50;
  font-size: 50px;
  margin-bottom: 15px;
}

.servicios-content{
    margin-top: 55px;
    display: flex;
    justify-content: space-between;
}

/*--------Esta es para la sección de servicios*/
.servicio-1{
    padding: 25px;
    box-shadow: 0 0 20px rgb(0, 0, 0, 0.1);
    flex-basis: calc(25% - 20px);
}

/*color de los iconos de servicios*/
.servicio-1 i{
    font-size: 30px;
    color: #ae8535;
    margin-bottom: 15px;
}

.servicio-1 h3{
    font-size: 20px;
    color: #2c3e50;
    text-transform: capitalize;
}

/*------------esta será la sección de valores-------*/
.valor-1{
    padding: 25px;
    box-shadow: 0 0 20px rgb(0, 0, 0, 0.1);
    flex-basis: calc(25% - 20px);
}

/*color de los iconos de valores*/
.valor-1 i{
    font-size: 30px;
    color: #ae8535;
    margin-bottom: 15px;
}

.valor-1 h3{
    font-size: 20px;
    color: #323232;
    text-transform: capitalize;
}
/*-----------esta es la parte del formulario-----*/
.formulario {
    padding: 30px 20px;
    margin-top: 0;
    margin-bottom: 0;
}

.whatsapp-container {
    width: 100%;
    padding: 30px 20px;
}

.formulario {
    margin-top: 100px;
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-container {
    padding: 50px;
    width: 500px;
    text-align: center;
    box-shadow: 0 0 20px rgb(0, 0, 0, 0.2);
    border-radius: 20px;
}

.whatsapp-container h2 {
    font-size: 25px;
    color: #2c3e50;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.whatsapp-container p {
    font-size: 16px;
    color: #818181;
    margin-bottom: 30px;
    line-height: 1.6;
}

.whatsapp-icon {
    font-size: 80px;
    color: #25D366;
    margin-bottom: 25px;
}

.btn-whatsapp {
    background-color: #25D366;
    padding: 17px 40px;
    border: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    color: #FFFFFF;
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #20BD5C;
}

.btn-whatsapp i {
    font-size: 22px;
}

.footer {
    padding: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #FFFFFF;
}

.ubicacion-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.ubicacion-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.ubicacion-texto {
    width: 45%;
}

.ubicacion-texto h2 {
    font-size: 38px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.ubicacion-texto .subtitle {
    font-size: 16px;
    color: #818181;
    margin-bottom: 35px;
    line-height: 1.6;
}

.ubicacion-texto .direccion-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ubicacion-texto .direccion-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ubicacion-texto .direccion-item i {
    font-size: 22px;
    color: #ae8535;
    margin-right: 18px;
    margin-top: 3px;
    min-width: 25px;
}

.ubicacion-texto .direccion-item div h3 {
    font-size: 16px;
    color: #323232;
    margin-bottom: 5px;
    font-weight: 600;
}

.ubicacion-texto .direccion-item div p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.ubicacion-texto .direccion-item div a {
    color: #ae8535;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ubicacion-texto .direccion-item div a:hover {
    color: #8a6a2a;
    text-decoration: underline;
}

.ubicacion-mapa {
    width: 55%;
}

.ubicacion-mapa iframe {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid #FFFFFF;
}

.footer-main {
    padding: 60px 0 30px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #FFFFFF;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #ae8535;
}

.footer-about p {
    font-size: 14px;
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #ae8535;
    transform: translateY(-3px);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #bdc3c7;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: #ae8535;
    padding-left: 5px;
}

.footer-contact-info {
    font-size: 14px;
    color: #bdc3c7;
    line-height: 2;
}

.footer-contact-info i {
    color: #ae8535;
    margin-right: 10px;
    width: 20px;
}

.footer-contact-info a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: #ae8535;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
    font-size: 14px;
    margin: 0;
}

.footer-bottom a {
    color: #ae8535;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/*Aquí se empieza con hacer responsivo el sitio*/
@media (max-width:991px) {
    .container {
        width: 100%;
        padding: 0 20px;
        margin: 0 auto;
    }

    .menu{
        padding: 20px;
    }

    .menu label{
        display: initial;
    }

    .menu .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        display: none;
    }

    .menu .navbar ul li{
        width: 100%;
    }

    #menu:checked ~ .navbar{
        display: initial;
    }

    .header{
        min-height: 0vh;
        padding: 80px 20px 50px 20px;
    }

    .header-content{
        flex-direction: column;
    }

    .header-txt{
        text-align: center;
        width: 100%;
        margin-bottom: 25px;
    }

    .header-txt h1{
        font-size: 40px; /* Reduce el tamaño para el celular */
    }

    .header-img{
        width: 100%;
        text-align: center;
    }

    .header-img img{
        width: 100%;
        max-width: 400px; /* Limita el tamaño máximo */
    }

    .about{
        padding: 30px 20px;
        flex-direction: column;
    }

    .about-img{
        width: 100%;
        order: 2;
        text-align: center;
    }

    .about-img img{
        width: 100%;
        max-width: 400px;
    }

    .about-txt{
        width: 100%;
        margin-left: 0;
        text-align: center;
        margin-bottom: 25px;
    }

    .servicios{
        padding: 30px 20px;
    }

    .servicios-content{
        margin-top: 25px;
        flex-direction: column;
    }

    .servicio-1{
        margin-bottom: 20px;
        width: 100%;
    }

    .formulario{
        padding: 30px 20px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .formulario {
        padding: 30px 20px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .whatsapp-container {
        width: 100%;
        padding: 30px 20px;
    }
}

    .ubicacion-section {
    padding: 50px 20px;
}

.ubicacion-content {
    flex-direction: column;
}

.ubicacion-texto {
    width: 100%;
    margin-bottom: 30px;
}

.ubicacion-mapa {
    width: 100%;
}

.ubicacion-mapa iframe {
    height: 300px;
}

.footer-main {
    padding: 40px 20px 20px 20px;
}

.footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-social {
    justify-content: center;
}

.footer-bottom {
    padding: 20px;
}

.footer-bottom p {
    font-size: 12px;
}

/* ============================================== ESTILOS PÁGINA DE PROYECTOS ============================= */

.header-simple {
    background-color: #2c3e50;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-simple .menu {
    position: relative;
}

.header-simple .logo {
    color: #FFFFFF;
}

.header-simple .navbar ul li a {
    color: #FFFFFF;
}

.header-simple .navbar ul li a:hover,
.header-simple .navbar ul li a.active {
    color: #ae8535;
}

.proyectos-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 80px 0 60px 0;
    text-align: center;
    color: #FFFFFF;
}

.proyectos-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.proyectos-hero p {
    font-size: 18px;
    color: #bdc3c7;
}

.proyectos-galeria {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.proyectos-galeria .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.proyecto-card {
    background-color: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proyecto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.proyecto-imagen {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.proyecto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.proyecto-card:hover .proyecto-imagen img {
    transform: scale(1.1);
}

.proyecto-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.proyecto-categoria {
    background-color: #ae8535;
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.proyecto-info {
    padding: 30px;
}

.proyecto-info h3 {
    font-size: 24px;
    color: #323232;
    margin-bottom: 10px;
    font-weight: 600;
}

.proyecto-ubicacion {
    color: #ae8535;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.proyecto-ubicacion i {
    margin-right: 5px;
}

.proyecto-descripcion {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.proyecto-detalles {
    display: flex;
    gap: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.proyecto-detalles span {
    color: #818181;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.proyecto-detalles i {
    color: #ae8535;
    font-size: 16px;
}

/* Responsive para proyectos */
@media (max-width: 991px) {
    .proyectos-hero h1 {
        font-size: 32px;
    }

    .proyectos-hero p {
        font-size: 16px;
    }

    .proyectos-galeria .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .proyecto-imagen {
        height: 250px;
    }

    .proyecto-info {
        padding: 20px;
    }

    .proyecto-info h3 {
        font-size: 20px;
    }
}

/* ================================== SLIDER DE IMÁGENES EN PROYECTOS ======================================= */

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 16px;
}

.slider-btn:hover {
    background-color: #ae8535;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #ae8535;
    width: 12px;
    height: 12px;
}

/* Responsive */
@media (max-width: 991px) {
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 10px;
        height: 10px;
    }
}