/* Estilos personalizados para Grupo Cerón */

/* Animaciones suaves */
* {
    transition: all 0.3s ease;
}

/* Animaciones del hero */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes slideInFromLeft {
    0% { 
        opacity: 0; 
        transform: translateX(-100px);
    }
    100% { 
        opacity: 1; 
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% { 
        opacity: 0; 
        transform: translateX(100px);
    }
    100% { 
        opacity: 1; 
        transform: translateX(0);
    }
}

.hero-content {
    animation: slideInFromLeft 1s ease-out;
}

.hero-visual {
    animation: slideInFromRight 1s ease-out 0.3s both;
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

/* Gradiente de texto */
.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Estilos para scroll suave */
html {
    scroll-behavior: smooth;
}

/* Hover effects para botones */
.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Gradiente personalizado */
.gradient-bg {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

/* Sombras personalizadas */
.card-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-shadow:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Estilos para formularios */
.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Estilos para iconos */
.icon-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.125rem !important;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
}

/* WhatsApp floating button */
.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 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

/* Estilo para el loader */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para alertas */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-success {
    color: #065f46;
    background-color: #d1fae5;
    border-color: #a7f3d0;
}

.alert-error {
    color: #991b1b;
    background-color: #fee2e2;
    border-color: #fca5a5;
}

/* Estilos para el menú móvil */
.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}

/* Animaciones para elementos */
.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Estilos para testimonios */
.testimonial-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
}

/* Efectos de hover para links */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Estilos para el footer */
footer a:hover {
    color: #60a5fa !important;
}

/* Estilos para badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
}

.badge-success {
    color: #065f46;
    background-color: #10b981;
}

.badge-warning {
    color: #92400e;
    background-color: #f59e0b;
}

.badge-info {
    color: #1e40af;
    background-color: #3b82f6;
}