/* Estilos del Header */
header {
    background-color: #f6faf6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    padding: 5px 10%;
    position: relative;
}

/* Logo */
.header .logo {
    cursor: pointer;
    text-decoration: none;
}

.header .logo img {
    margin-top: 10px;
    height: 70px;
    width: auto;
    transition: all 0.3s;
}

.header .logo img:hover {
    transform: scale(1.2);
}

/* Menú de navegación */
.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    padding: 0 20px;
}

.nav-links li a {
    color: #036eb6;
    text-decoration: none;
}

.nav-links li a:hover {
    color: #d97a7a;
}

/* Botones */
.menu-buttons {
    display: flex;
}

.menu-buttons .btn {
    margin-left: 20px;
    text-decoration: none;
}

.menu-buttons button {
    color: #e8f0f8;
    padding: 9px 25px;
    background: #d97a7a;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.menu-buttons button:hover {
    background-color: #e2f1f8;
    color: #d97a7a;
    transform: scale(1.1);
}

/* Estilo opcional para el menú hamburguesa (si lo utilizas) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    background: #036eb6;
    width: 30px;
    height: 4px;
    margin: 5px;
    border-radius: 5px;
    transition: 0.3s;
}

/* RESPONSIVE: Ocultar el menú y mostrar la hamburguesa */
@media screen and (max-width: 900px) {
    .nav {
        display: none;
        position: absolute;
        top: 85px;
        right: 0;
        background: #f6faf6;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
    }

    .nav-links {
        flex-direction: column;
        padding: 0;
    }

    .nav-links li {
        padding: 10px 0;
    }

    /* Botones dentro del menú hamburguesa */
    .menu-buttons {
        flex-direction: column;
        margin-top: 15px;
    }

    .menu-buttons .btn {
        margin: 10px 0;
    }

    /* Mostrar menú hamburguesa */
    .hamburger {
        display: flex;
    }

    /* Mostrar el menú cuando está activo */
    .nav.active {
        display: flex;
    }
}

.hero-section {

    height: 600px;
    padding: 20px;
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 40px;

    background-image: url('../img/wave_pink.svg');
    /* Ruta a tu imagen SVG */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;

}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contenedor-detalle {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 50px auto;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
}


.texto-detalle {
    padding: 30px;
    max-width: 600px;
}

.texto-detalle h1 {
    font-size: 28px;
    color: #1d293f;
    margin-bottom: 15px;
}

.texto-detalle p {
    font-size: 16px;
    color: #1d293f;
    margin-bottom: 10px;
    line-height: 1.6;
}

.btn-solicitar {
    color: #e8f0f8;
    padding: 9px 25px;
    background: #d97a7a;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.btn-solicitar:hover {
    background-color: #e2f1f8;
    color: #d97a7a;
    transform: scale(1.1);
}

.galeria {
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
}

.galeria h2 {
    font-size: 24px;
    color: #1d293f;
    margin-bottom: 15px;
}

.galeria p {
    font-size: 16px;
    color: #1d293f;
    margin-bottom: 20px;
}

.galeria-imagenes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 0 20px;
}

.galeria-imagenes img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: pointer;
}

.galeria-imagenes img:hover {
    transform: scale(1.05);
}

.imagen-ver-mas {
    position: relative;
}

.imagen-ver-mas .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 10px;
}

.imagen-ver-mas:hover .overlay {
    opacity: 1;
}


footer {
    background-color: #F3F9FF;
    color: #021526;
    padding: 30px 0;
    border-top: 2px solid #ccc;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.container-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-col {
    flex: 1;
    margin: 0 20px;
    min-width: 250px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.footer-col:hover {
    transform: translateY(-5px);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.footer-col h2 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-para {
    font-size: 14px;
    margin-bottom: 20px;
    color: #555;
}

.contact-section {
    display: flex;
    flex-direction: column;
}

.contact-info {
    margin-top: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-icon {
    width: 20px;
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.map-image {
    width: 100%;
    max-width: 300px; /* Aumentar tamaño máximo del mapa */
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.map-image:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}

/* Línea divisoria */
.footer-line {
    margin: 20px auto;
    width: 80%;
    border: 0.5px solid #021526;
    opacity: 0.5;
}

/* Derechos reservados */
.footer-bottom {
    text-align: center;
    padding: 10px 0;
    background-color: #F3F9FF;
    color: #021526;
    font-size: 14px;
    font-weight: 400;
}

.footer-bottom p {
    margin: 0;
}

/* Media Query para dispositivos móviles (máximo 768px) */
@media (max-width: 768px) {
    #detalle-servicio {
        padding: 20px 10px;
    }

    .contenedor-detalle {
        flex-direction: column; /* Coloca la imagen debajo de los párrafos */
        padding: 10px;
        align-items: center; /* Centra el contenido */
    }

    .texto-detalle h1 {
        font-size: 20px; /* Títulos más pequeños */
        text-align: center; /* Centra el título */
    }

    .texto-detalle p {
        font-size: 14px; /* Texto de los párrafos más pequeño */
        text-align: justify; /* Alineación justificada para mejor lectura */
        margin-bottom: 10px;
    }
    .imagen-detalle {
        display: flex;
        justify-content: center; /* Centra la imagen horizontalmente */
        margin-top: 20px; /* Espacio entre los párrafos y la imagen */
    }
    .imagen-detalle img {
        width: 80%; /* Imagen más pequeña */
        margin-top: 20px; /* Espacio entre los párrafos y la imagen */
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s;

    }

    .imagen-detalle img:hover {
        transform: scale(1.02);
    }

    .btn-solicitar {
        padding: 5px 10px;
        font-size: 14px;
        margin-top: 15px;
        display:block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        
    }
}
