/*------------------------------------------------------------------
[Archivo CSS Principal - style.css]

Proyecto: PGS Perú Sitio Web
Autor: IA Gemini

Estilos personalizados y para componentes como Slider y WhatsApp.
-------------------------------------------------------------------*/

/* Estilo para el ancla de desplazamiento suave */
html {
  scroll-behavior: smooth;
}

/* Estilos para el Slider (Hero Section) */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.slide {
    display: none; 
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.slide.active {
    display: flex;
    opacity: 1;
    z-index: 10;
}
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}
.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.dot.active {
    background-color: white;
}


/* Estilos para el botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 640px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    .slider-dots {
        bottom: 15px;
        gap: 8px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
}
