body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #F1FAEE; /* Gris claro */
    color: #000000; /* Negro profundo */
}

.main-header {
    background-color: #FFFFFF; /* Fondo siempre blanco */
    color: #000000; /* Texto en negro profundo */
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.logo img {
    height: 200px; /* Logo más grande */
    max-height: 200px;
}

/* Menú normal */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    text-decoration: none;
    color: #0A1F44; /* Azul casi negro para links */
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #E63946; /* Rojo eléctrico al pasar el mouse */
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: #0A1F44; /* Azul casi negro */
    cursor: pointer;
}

/* Footer */
.footer {
    background: #4B4B4B; /* Gris grafito */
    color: #FFFFFF;
    text-align: center;
    padding: 20px;
}

.footer a {
    color: #FFFFFF;
    text-decoration: none;
}

.footer a:hover {
    color: #E63946; /* Rojo eléctrico en hover */
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #FFFFFF; /* Fondo blanco */
    border: 2px solid #25D366; /* Borde verde WhatsApp */
    border-radius: 50%;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    text-align: center;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 3px 3px 8px rgba(0,0,0,0.4);
}

/* Banner hero con video */
.hero-banner {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.4); /* Oscurece el video */
    padding: 80px 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #00BFFF; /* Azul eléctrico */
    text-shadow: 2px 2px 4px rgba(75, 75, 75, 0.8); /* Sombra gris grafito */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.6);
}

.btn-primary {
    background-color: #00BFFF; /* Azul eléctrico */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #457B9D; /* Azul acero */
}

.service-detail {
    background-color: #FFFFFF;
    padding: 60px 20px;
}

.text-with-image {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.text-with-image.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
    color: #000000; /* Negro profundo */
}

.text-content h2 {
    color: #0A1F44; /* Azul casi negro */
    margin-bottom: 15px;
    font-size: 2rem;
}

.text-content p {
    color: #4B4B4B; /* Gris grafito */
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.image-content img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ✅ Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .text-with-image {
        flex-direction: column !important;
        text-align: center;
    }

    .text-with-image.reverse {
        flex-direction: column !important;
    }

    .text-content {
        margin-top: 20px;
    }

    .image-content img {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        background-color: #FFFFFF;
        position: absolute;
        top: 80px;
        right: 20px;
        width: 200px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        z-index: 999;
    }

    .main-nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
    }

    .main-nav ul li a {
        font-size: 1rem;
        padding: 10px;
        color: #0A1F44;
    }

    .main-nav ul li a:hover {
        color: #E63946;
    }
}
