/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f7fa;
    color: #222;
    line-height: 1.6;
}
.col-50{
    width: 50%;
}

/* Navbar */
#navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #0a2540;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    
}

.logo h1 {
    color: #fff;
    font-size: 2rem;
    letter-spacing: 2px;
}

.logo span {
    color: #007bff;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;

}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #007bff;
    padding-left: 20px;
    transition: all 0.2s ease;
}

.burger {
    display: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

/* Slider */
.slider {
    width: 100%;
    height: 80vh;
    position: relative;
    margin-bottom: 2rem;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;

}

.slide-content {
    background: none;
    color: #fff;
    padding: 2rem 3rem;
    border-radius: 1rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: #1a1a1a 2px 2px 4px;
}

.slide-content h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 6rem;
    color: #ffffff;
}

.slide-content p {
    font-size: 2rem;
}

/* Secciones */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;

    font-size: 6rem;
    color: #0a2540;
    margin-bottom: 5rem;
    text-align: center;
    letter-spacing: 3px;
}
.section-title{
    position: relative;
    display: inline-block;
    text-align: center;
}
.section-title::after{
    content: '';
    position: absolute;
    left: 0px;
    bottom: -10px;
    background-color: #007bff; /* Un color de acento, puedes cambiarlo */
    height: 2px;
    box-sizing: border-box;
    width: 80%;
}
.section-title h2{
    margin: 0px;
    padding: 0px;
}
/* Nosotros */
.nosotros-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
       
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

}
.nosotros-content {
    background: #fff;
    padding: 3rem;
    padding-top: 0px;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.nosotros h2 {
    margin-left: 3rem;
}
.nosotros-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

/* Servicios */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.164);
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.servicio-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 6px 20px rgba(26,188,156,0.15);
}

.servicio-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.servicio-card h3 {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    font-style: normal;
    color: #0a2540;
}

/* Galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.gallery-grid img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
    object-fit: cover;
    height: 180px;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Formulario de contacto */
.form-section {    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
form {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.for h2{
    margin-bottom: 2rem;
}
form input,
form textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    resize: none;
    outline: none;
    transition: border 0.2s;
}

form input:focus,
form textarea:focus {
    border: 1.5px solid #007bff;
}

form button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 0.9rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

form button:hover {
    background: #159c85;
}

/* Botón de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.2);
    z-index: 200;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: scale(1.08);
}

/* ==================
   Footer Styles
   ================== */
.footer {
    background-color: #1a1a1a; /* Un fondo oscuro y elegante */
    padding: 70px 0 0;
    color: #bbbbbb;
    font-family: 'Poppins', sans-serif; /* Asegúrate de tener una fuente similar o impórtala */
}

.footer-container {
    max-width: 1170px;
    margin: auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-col {
    width: 23%;
    padding: 0 15px;
    margin-bottom: 35px;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

/* Línea decorativa bajo los títulos */
.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #007bff; /* Un color de acento, puedes cambiarlo */
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a,
.footer-col ul li {
    font-size: 16px;
    color: #bbbbbb;
    text-decoration: none;
    font-weight: 300;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col ul li i {
    margin-right: 10px;
    color: #007bff; /* Mismo color de acento */
    width: 20px;
    text-align: center;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #1a1a1a;
    background-color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.footer-bottom p {
    font-size: 14px;
    margin: 0;
}

/* --- Responsive Design --- */
@media(max-width: 991px) {
    .footer-col {
        width: 48%; /* Dos columnas en tablets */
    }
}

@media(max-width: 767px) {
    .footer-col {
        width: 100%; /* Una columna en móviles */
    }
}


/* Responsive */
@media (max-width: 900px) {
    .section {
        padding: 3rem 1rem;
        width: 80%;
    }
    .slide-content {
        padding: 1.2rem 1rem;
    }
    .slide-content h2 {
        font-size: 3rem;
    }
    .slide-content p {
        font-size: 1.2rem;
    }   


    .col-100{
        width: 100%;
    }
   .nosotros-section {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 1.5rem;
    }
    .nosotros, .nosotos {
        min-width: 0;
        width: 100%;
    }
    .nosotros-img {
        max-width: 100%;
        margin-bottom: 1rem;
    }
    .nosotros-content {
        font-size: 1rem;
        padding: 1.2rem 0.7rem;
    }
    .col-50, .col-100 {
        width: 100%;
    }
    
}

@media (max-width: 700px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #0a2540;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 180px;
        border-radius: 0.5rem;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        padding: 1rem 0;
        z-index: 999;
        gap: 1.5rem;
    }
    .nav-links.active {
        display: flex !important;
        width: 50%;
        flex-direction: column;
        align-items: center;
        border-bottom: #128c7e 2px solid;
    }
    .burger {
        display: block;
    }
     col-100{
        width: 100%;
    }
    
}

@media (max-width: 500px) {
    .section-title {
        font-size: 1.3rem;
    }
    .slide-content h2 {
        font-size: 1.2rem;
    }
    .slide-content p {
        font-size: 1rem;
    }
     col-100{
        width: 100%;
    }
      
}