@font-face {
    font-family: 'Adelia';
    src: url('../fonts/adelia.otf') format('opentype'),
    url('../fonts/adelia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'montserrat';
    src: url('../fonts/Montserrat-Italic-VariableFont_wght.ttf') format('opentype'),
    url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


 .banner-section {
     position: relative;
     width: 100%;
     height: 30vh;
     background-image: url('../img/banner/banner-acoal.png');
     background-size: cover;
     background-position: center center; /* Centra la imagen por defecto */
     background-repeat: no-repeat;
 }

/* Overlay */
.banner-section .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.1);
    z-index: 1;
}

/* Para pantallas muy grandes (>= 1400px) */
@media (min-width: 1400px) {
    .banner-section {
        height: 35vh; /* más alto */
        background-position: center 40%; /* mover un poco el foco hacia arriba */
    }
}

/* Para tablets y móviles */
@media (max-width: 768px) {
    .banner-section {
        height: 29vh;
        background-position: center center;
    }
}

@media (max-width: 480px) {
    .banner-section {
        height: 18vh;
        background-position: center center;
    }
}


/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 30px;
    z-index: 1000;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.whatsapp-icon {
    line-height: 1;
}
