/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

.cover-section {
    text-align: center;
    padding: 20px 0;
}

.cover-text {
    margin-bottom: 20px;
}

.cover-text h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin: 0;
}

.cover-text p {
    font-size: 1.2em;
    color: #555;
}

.cover-images {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.cover-image {
    max-width: 50%;
    width: 850px;
    height: 700px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cover-images {
        flex-direction: column;
    }

    .cover-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    width: 150px;
    height: auto;
    margin-right: 10px;
}

.navbar .logo h1 {
    font-size: 1.5em;
    margin: 0;
}

.navbar .contact-info {
    display: flex;
    align-items: center;
}

.navbar .contact-info a {
    width: 70px;
}

.navbar .contact-info img {
    width: 60%;
}

.navbar .contact-info p {
    margin: 0;
    font-size: 1.2em;
    margin-left: 10px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    color: white;
    text-align: center;
    padding: 20px 10px;
}

.header h1 {
    font-size: 2.5em;
    margin: 0;
}

.header p {
    font-size: 1.2em;
    margin-top: 10px;
}

/* Slider de Imágenes */
.slider {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* Animación suave */
}

.slide {
    min-width: 100%;
    height: 600px;
    object-fit: cover;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    color: white;
    text-align: center;
    padding: 20px 10px;
}

.header h1 {
    font-size: 2.5em;
    margin: 0;
}

.header p {
    font-size: 1.2em;
    margin-top: 10px;
}

/* Explicación General */
.explanation {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.explanation h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
}

.explanation p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Servicios */
.services {
    background-color: #f4f4f4;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service {
    background-color: white;
    width: calc(33% - 20px);
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .service {
        width: calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    .service {
        width: 100%;
    }
}

.service:hover {
    transform: translateY(-10px);
}

.service img {
    max-width: 100%;
    height: 22rem;
    border-radius: 8px;
    margin-bottom: 15px;
}

.service h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.service p {
    font-size: 1em;
    color: #555;
}

.product-video {
    max-width: 100%;
    height: 27rem;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #000;
    /* Fondo negro por si el video no carga */
}

/* Nueva Sección: Agua Filtrada y Bomba a Presión */
.water-system {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.water-system h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
}

.water-system p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 20px;
}

.water-system ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 1em;
    color: #555;
}

.maps {
    display: flex;
}

.maps iframe {
    width: 1920px;
    height: 300px;
}

.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.contact-item {
    width: 45%;
    text-align: center;
    padding: 10px;
}

.contact-item a {
    width: 70px;
}

.contact-item img {
    width: 3rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    color: white;
    text-align: center;
    padding: 20px 10px;
}

.footer p {
    font-size: 1em;
}