/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    color: #000000;
}


/* Carrusel */
.carousel-item img {
    max-height: 600px;
    object-fit: cover;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

/* Estilos para el botón de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    position: relative;
}

.whatsapp-icon {
    transition: all 0.3s ease;
}

.whatsapp-text {
    position: absolute;
    right: 100%;
    opacity: 0;
    white-space: nowrap;
    font-size: 16px;
    margin-right: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.whatsapp-float:hover {
    width: 180px;
    background-color: #128c7e;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    right: 50px;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: rotate(10deg);
}

/* Efecto de pulso */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    
    .whatsapp-float:hover {
        width: 50px;
    }
    
    .whatsapp-text {
        display: none;
    }
}

/* Tarjetas de servicios */
.card {
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 4px 8px #e4bb06fd;
}

.card:hover {
    transform: translateY(-10px);
}

/* Secciones */
section {
    padding: 80px 0;
}

/* Footer */
footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-caption h5 {
        font-size: 1rem;
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    
    .whatsapp-icon {
        margin-top: 12px;
    }
}

/* Estilos específicos para la página de servicios */
.hero-services {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../img/services/hero-bg.jpg') center/cover no-repeat;
    position: relative;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-features {
    padding-left: 0;
    list-style-type: none;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: #0d6efd;
    bottom: -10px;
    left: 25%;
}

.section-subtitle {
    color: #6c757d;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-services {
        padding: 80px 0;
    }
    
    .service-img {
        height: 150px;
    }
}