/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, serif;
    
}
/* Estilos generales */
    




/* Adaptaciones para dispositivos móviles */
@media (max-width: 600px) {
    #group1 {
        height: 60vh; /* Ajustar la altura en móviles */
    }
    
    #group2 h1 {
        font-size: 40px; /* Reducir tamaño de la fuente */
    }
    
    #group2 p {
        font-size: 14px; /* Ajustar tamaño de texto */
    }
    
    #group2 button {
        padding: 8px 16px; /* Reducir padding */
        font-size: 0.9rem; /* Ajustar tamaño de la fuente */
    }

    .about-container {
        flex-direction: column; /* Colocar en columna para mejor legibilidad */
        text-align: center;
    }

    .about-container p {
        margin-right: 0; /* Eliminar margen en móviles */
        margin-bottom: 20px; /* Añadir margen abajo */
        font-size: 1rem; /* Reducir tamaño de fuente */
    }

    .about-image {
        width: 100%; /* Imagen ocupa todo el ancho en móviles */
        max-width: 300px; /* Limitar el tamaño máximo */
    }

    .services-grid {
        flex-direction: column; /* Cambiar a columna */
        align-items: center;
    }

    .service-item {
        width: 90%; /* Ocupa más espacio horizontal en móviles */
        margin-bottom: 20px; /* Espacio entre elementos */
    }

    #contact {
        width: 90%; /* Ajustar ancho para móviles */
    }

    .works-section {
        width: 90%; /* Ajustar ancho en móviles */
    }

    #local {
        flex-direction: column; /* Apilar elementos en móviles */
        align-items: center; /* Centrar contenido */
    }

    .local-info,
    #map-container {
        width: 100%; /* Ocupan todo el ancho en móviles */
        margin-right: 0; /* Eliminar margen */
    }

    h1 {
        font-size: 24px; /* Reducir el tamaño de fuente para móviles */
    }
}

/* Adaptaciones para laptops */
@media (min-width: 769px) and (max-width: 1024px) {
    .about-container {
        flex-direction: row;
        text-align: left;
    }

    .about-image {
        width: 350px; /* Ajustar tamaño de la imagen */
    }

    #group2 h1 {
        font-size: 60px; /* Ajustar tamaño para pantallas medianas */
    }

    .service-item {
        width: 30%; /* Ajustar ancho para laptops */
    }

    #contact {
        width: 60%; /* Ancho ajustado para laptops */
    }

    .works-section {
        width: 75%; /* Ajustar ancho para laptops */
    }

    #local {
        flex-direction: row; /* Mantener diseño en fila */
    }

    .local-info,
    #map-container {
        width: 45%; /* Ajustar tamaño para laptops */
    }
}


.container {
    width: 90%;
    margin: auto;
    padding: 20px 0;
}

/* Grupo 1: Fondo e imagen */
#group1 {
    background: url('./totos/fondo.jpg') no-repeat center center/cover;
    height: 100vh;
    position: relative;
}

#group1 .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

#group2 {
    text-align: center;
    color: #f4f4f4;
}

#group2 h1 {
    font-size: 90px;
    margin-bottom: 1rem;
}

#group2 p {
    font-size: 17px;
}

#group2 button {
    padding: 10px 20px;
    background-color: #ff4500;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

#group2 button:hover {
    background-color: #ff6347;
}


/* Grupo 3: Quiénes somos */

#group3 {
    background-color: white; /* Fondo blanco */
    padding: 50px; /* Espaciado interno */
    text-align: left; /* Centra el texto */
    font-family: 'Times New Roman', Times, serif;
    
}

.about-container {
    display: flex; /* Utiliza flexbox para alinear texto e imagen */
    align-items: center; /* Alinea verticalmente */
    justify-content: center; /* Centra horizontalmente */
    margin: 10px 0; /* Margen arriba y abajo */
    font-family: 'Times New Roman', Times, serif;
}

.about-container p {
    font-size: 1.5rem; /* Aumenta el tamaño de la letra */
    margin-right: 20px; /* Espacio entre el texto y la imagen */
    max-width: 500px; /* Opcional: limita el ancho del párrafo */
}

.about-image {
    width: 550px; /* Ajusta el tamaño de la imagen */
    height: auto; /* Mantiene la proporción de la imagen */
    border-radius: 25px;
}








.accordion-container {
    width: 80%;
    max-width: 600px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;

}

.lista11{
    text-align: left    ;
}






.accordion-item {
    border-bottom: 1px solid #eaeaea;
}

.accordion-title {
    background-color: #fff;
    color: #333;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-title:hover {
    background-color: #f4f4f4;
}

.accordion-content {
    display: none;
    background-color: #f9f9f9;
    padding: 15px;
    font-size: 16px;
    color: #666;
}

.icon {
    font-size: 20px;
    color: #b19777; /* color dorado suave */
    transition: transform 0.3s ease;
}

.accordion-item.active .icon {
    transform: rotate(45deg); /* Cambia a "-" cuando se expande */
}

.accordion-item.active .accordion-content {
    display: block;
}










/* Grupo 4: Servicios */
#services {
    text-align: center;
    padding: 50px 0;
    font-size: 25px;
}

.services-grid {
    display: flex;
    justify-content: space-around;
}

.service-item {
    width: 20%;
    text-align: center;
    font-size: 20px;
}

.service-item img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
}







/* Grupo 5: Contacto */

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
}

#contact {
    background-color: white;  
    padding: 30px;
    border-radius: 10px;
    width: 400px; /* Aumenté el ancho aquí */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    color: black;
    font-family: Arial, sans-serif;
}

#contact h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
}

#contact form {
    display: flex;
    flex-direction: column;
}

#contact label {
    margin-top: 10px;
    font-size: 14px;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-radius: 5px;
    background-color: #e0e0e0;
    font-size: 14px;
}

#contact input[type="text"]:focus,
#contact input[type="email"]:focus,
#contact textarea:focus {
    outline: none;
    background-color: #d1e0e0;
}

#contact input[type="submit"] {
    margin-top: 20px;
    padding: 10px;
    background-color: #0066cc;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact input[type="submit"]:hover {
    background-color: #004c99;
}













/* Grupo 5: TRABAJOS REALIZADOS*/
.works-section {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 850px;
    width: 80%;
    margin: 0 auto;
    
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
}

.lista {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.check {
    color: #0029b7;
    font-size: 24px;
    margin-right: 10px;
}


























/* Grupo 7: Dirección */
#local {
    display: flex;          /* Utiliza flexbox para el contenedor */
    justify-content: space-between; /* Espacio entre los elementos */
    align-items: flex-start; /* Alinea verticalmente al inicio */
    background-color: #000;
    width: 100%;
            /* Margen alrededor del contenedor */
}

.local-info {
    flex: 1;               /* Permite que la información del local ocupe espacio */
    margin-right: 10px;    /* Espacio entre la información y el mapa */
    background-color: #000;
text-align: center;
font-size: 20px;
}

#map-container {
    flex: 1;               /* Permite que el mapa ocupe espacio */
    background-color: #000;
}


.Dirección {
    text-align: center;
    font-size: 50px;
    background-color: #000;
}







|
/* Adaptación para pantallas móviles */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* Cada elemento ocupa toda la fila en pantallas pequeñas */
    }
    
    .service-item img {
        width: 80%; /* Ajusta el tamaño de las imágenes para móviles */
    }
}














/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}




#map-container {
    width: 90%;
    max-width: 800px; /* Esto limita el ancho máximo para pantallas grandes */
    margin: 0 auto; /* Centra el contenedor en la pantalla */
    padding: 10px; /* Opcional: añade un poco de espacio alrededor */
}

#map-container iframe {
    width: 100%;
    height: 500px; /* Puedes ajustar esta altura para móviles si es necesario */
    border: 0;
}

@media (max-width: 768px) {
    #map-container iframe {
        height: 300px; /* Reduce la altura para pantallas más pequeñas */
    }
}
