@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0fd;
    color: #000000;
}

/* Estilos para el logo */
header img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-right: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Aviso flotante en la parte superior derecha */
.aviso-flotante, #aviso-apertura {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: fadeIn 1s ease-in-out;
}

/* Estilos específicos para el aviso de apertura */
#aviso-apertura {
    background: linear-gradient(90deg, #f7d139, #f1b306);
    color: #000;
    font-size: 14px;
    padding: 15px 20px;
}

@media (max-width: 768px) {
    #aviso-apertura {
        top: 5px;
        font-size: 14px;
        padding: 10px 15px;
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.aviso-flotante {
    animation: fadeInOut 8s ease-in-out;
    background: linear-gradient(90deg, #f7d139, #f1b306);
}

/* Estilos del encabezado */
header {
    background-color: #007bff;
    color: white;
    padding: 100px 20px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Estilos de la navegación */
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: rgb(11, 48, 150);
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #fcda19;
}

/* Sección general */
.section {
    padding: 40px 20px;
    text-align: center;
}

.servicios-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

/* Diseño en computadoras */
@media (min-width: 768px) {
    .servicios-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Sección de servicios */
.servicio {
    background: #f8f9fa;
    border: 2px solid #007bff;
    border-radius: 10px;
    padding: 20px;
    margin: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    cursor: pointer;
}

.servicio h3 {
    color: #0a1c4e;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.servicio p {
    color: #061149;
    font-size: 1.2em;
}

.servicio ul {
    color: #080c1d;
    font-size: 1.1em;
}

.servicio:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #e3f2fd;
}

/* Sección oculta de detalles */
.detalles-servicio {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    padding: 0 10px;
}

.servicio.activo .detalles-servicio {
    max-height: 300px;
    padding: 10px;
}

/* Estilos para los iconos de redes sociales */
#redes-sociales a {
    margin: 0 10px;
    font-size: 24px;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

#redes-sociales .fa-facebook:hover {
    color: #0d6efd;
}

#redes-sociales .fa-whatsapp:hover {
    color: #09e02d;
}

#redes-sociales .fa-envelope:hover {
    color: #dd1811;
}

#redes-sociales a:hover {
    transform: scale(1.3);
    transition: transform 0.3s ease-in-out, color 0.3s ease;
}

/* Estilos para la ubicación y contacto */
.textoubicacion {
    color: rgb(49, 47, 168);
    font-weight: bold;
    font-size: 25px;
}

.mapa-contenedor {
    display: inline-block;
    padding: 10px;
    border: 10px solid #007bff;
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 80%;
    height: auto;
}

.mapa-contenedor iframe {
    display: block;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    border: none;
}

/* Ajustes para móviles */
@media (max-width: 600px) {
    .mapa-contenedor {
        border: 5px solid #007bff;
    }
}

#informacion-lavado {
    background-color: #fff;
    padding: 20px;
    margin: 40px auto;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

#informacion-lavado h2 {
    color: #007bff;
    text-align: center;
    font-size: 24px;
    margin-bottom: 15px;
}

#informacion-lavado h3 {
    color: #ff8800;
    margin-top: 15px;
}

#informacion-lavado ul {
    padding-left: 20px;
}

#informacion-lavado ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

@media (max-width: 768px) {
    #informacion-lavado ul li {
        font-size: 14px;
        display: block;
    }

    .servicios-container {
        flex-direction: column;
        align-items: center;
    }

    .servicio {
        width: 90%;
        margin: 10px 0;
    }
}

a:focus, button:focus {
    outline: 3px solid #ffcc00;
}
