/* Estilos generales */
body {
    font-family: 'Roboto', 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fafafa;
    line-height: 1.6;
}

/* Estilos del encabezado */
header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 1em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .logo img {
    height: 80px;
}

nav {
    display: flex;
    align-items: center;
}

nav .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

nav .hamburger .bar {
    height: 4px;
    width: 25px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.3s;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1em;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5em 1em;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 5px;
}

nav ul li a:hover {
    color: #007BFF;
    background-color: #f0f0f0;
}

/* Sección de héroe */
.hero {
    position: relative;
    margin-top: 80px; /* Altura del header */
    text-align: center;
    color: white;
    height: 70vh;
}

.hero-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2em;
    border-radius: 10px;
    max-width: 90%;
}

.hero h2 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.cta-button {
    display: inline-block;
    margin-top: 1em;
    padding: 0.75em 1.5em;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* Resumen de servicios */
.services-summary {
    text-align: center;
    padding: 4em 2em;
    background-color: #fff;
}

.services-summary h2 {
    font-size: 2.5em;
    margin-bottom: 1.5em;
    font-weight: 700;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
}

.service {
    width: calc(25% - 2em);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: white;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service img {
    width: 100%;
    height: auto;
}

.service p {
    padding: 0 1em 1em;
}

.service h3 {
    margin: 0.5em 0;
    padding: 0 1em;
    font-size: 1.5em;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.details-link {
    display: inline-block;
    margin-top: 2em;
    padding: 0.75em 1.5em;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.details-link:hover {
    background-color: #0056b3;
}

/* Estilos del pie de página */
footer {
    text-align: center;
    padding: 2em;
    background-color: #333;
    color: white;
}

footer a {
    color: #007BFF;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.whatsapp-btn {
    display: inline-block;
    margin-left: 10px; /* Ajusta el margen según tu diseño */
}

.whatsapp-btn img {
    width: 40px; /* Ajusta el tamaño del logo según tu diseño */
    height: auto;
}


/* Estilos responsivos */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        text-align: center;
    }

    nav ul li a {
        padding: 1em;
        width: 100%;
        display: block;
    }

    nav .hamburger {
        display: flex;
    }

    .hero-content {
        padding: 1em;
    }

    .hero h2 {
        font-size: 2em;
    }

    .services-container {
        flex-direction: column;
        gap: 1em;
    }

    .service {
        width: 100%;
    }

    .service img {
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5em;
    }

    .cta-button,
    .details-link {
        padding: 0.5em 1em;
    }

    .service h3 {
        font-size: 1.2em;
    }

    .services-summary h2 {
        font-size: 2em;
    }
}




