/* ===== Custom Styles for ConsultaPix ===== */

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1A1A2E;
}

::-webkit-scrollbar-thumb {
    background: #00D4AA;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00B894;
}

/* Header Styles */
#header {
    background: transparent;
    transition: all 0.3s ease;
}

#header.scrolled {
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Pulse Animation for Stats */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 170, 0.6);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* FAQ Accordion */
.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* WhatsApp Float Button Animation */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

#whatsapp-float {
    animation: pulse-whatsapp 2s infinite;
}

/* Card Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #00D4AA, #00B894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Divider */
.section-divider {
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #00D4AA, #00B894);
    border-radius: 2px;
}

/* Mobile Menu Animation */
#mobile-menu {
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

#mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    #whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    #whatsapp-float i {
        font-size: 1.75rem;
    }
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #00D4AA;
    outline-offset: 2px;
}

/* Selection Color */
::selection {
    background: #00D4AA;
    color: white;
}

/* Print Styles */
@media print {
    #header,
    #whatsapp-float,
    #mobile-menu {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
}
