/* Estilos Globales y Fondo Negro */
body {
    background-color: #000000; /* Fondo negro */
    color: #ffffff; /* Color de texto blanco para contraste */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

/* 1. Imagen Grande Inicial (ANCHO COMPLETO) */
.imagen-inicial {
    width: 100%; /* Ocupa el 100% del ancho de la ventana */
    margin: 0;
}

.imagen-inicial img {
    width: 100%; 
    height: 100%;
    display: block;
    object-fit: cover; /* Recorta si es necesario para cubrir el alto definido */
    max-height: auto; /* Altura máxima de la imagen principal */
}

/* Contenedor principal para centrar el resto del contenido */
.contenedor-principal {
    max-width: 1200px; /* Ancho máximo para pantallas grandes */
    margin: 0 auto;
    padding: 20px;
}

/* 2. y 3. Banners (WhatsApp e Instagram) */
.banner {
    margin: 15px 0;
    position: relative;
    
}

.banner a {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%; 
    height: 150px; /* Altura fija para el banner */
    display: block;
    border-radius: 8px;
    overflow: hidden; 
}

.banner img {
    width: 100%;
    height: 100%; 
    display: block;
    /* Para que la imagen se vea COMPLETA sin recortarse */
    object-fit: contain; 
}

/* Texto superpuesto (Overlay) */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Sombra oscura semitransparente */
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.banner a:hover .overlay {
    background-color: rgba(0, 0, 0, 0.7); /* Oscurece al pasar el ratón */
}

/* 4. Mapa de Ubicación */
.ubicacion-mapa {
    margin-top: 50px;
    padding: 20px 0;
}

.ubicacion-mapa h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #00bcd4; 
}

/* Asegura que el iframe (mapa) sea responsivo */
.ubicacion-mapa iframe {
    width: 100%;
    border-radius: 8px;
}

/* --- 5. ESTILOS PARA EL BOTÓN FLOTANTE DE WHATSAPP --- */
.whatsapp-flotante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000; 
}

.whatsapp-flotante a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25D366; 
    border-radius: 50%; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.whatsapp-flotante a:hover {
    transform: scale(1.1); 
}

.whatsapp-flotante img {
    width: 35px;
    height: 35px;
}

/* Media Query para Responsividad en dispositivos más pequeños */
@media (max-width: 768px) {
    .contenedor-principal {
        padding: 10px; 
    }

    .imagen-inicial img {
        max-height: 300px; 
    }

    .banner a {
        height: 80px; /* Banners más pequeños en móviles */
    }

    .overlay {
        font-size: 1.2em; /* Texto más pequeño en móviles */
    }
    
    .whatsapp-flotante a {
        width: 50px;
        height: 50px;
    }
    .whatsapp-flotante img {
        width: 30px;
        height: 30px;
    }
    .whatsapp-flotante {
        bottom: 15px;
        right: 15px;
    }
}