/* Additional custom styles */

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Custom animations */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-8px);
    }
    70% {
        transform: translateY(-4px);
    }
    90% {
        transform: translateY(-2px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Custom hover effects */
.group:hover .group-hover\:translate-x-1 {
    transform: translateX(0.25rem);
}

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.hover\:transform:hover {
    transform: translateY(-0.5rem);
}

/* Focus states for accessibility */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Custom transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Custom shadows */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    .text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
    
    .text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
}

/* Smooth transitions for section visibility */
section {
    transition: opacity 0.3s ease-in-out;
}

/* Custom gradient backgrounds */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

/* WhatsApp button pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

#whatsapp-btn {
    animation: pulse 2s infinite;
}

#whatsapp-btn:hover {
    animation: none;
}

/* Form input focus states */
input:focus,
textarea:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Loading states for dynamic content */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Ensure proper contrast for accessibility */
.text-yellow-500 {
    color: #f59e0b;
}

.bg-yellow-500 {
    background-color: #f59e0b;
}

/* Print styles */
@media print {
    .fixed {
        position: static !important;
    }
    
    .shadow-lg,
    .shadow-xl {
        box-shadow: none !important;
    }
    
    .bg-gradient-to-br,
    .bg-gradient-to-r {
        background-image: none !important;
        background-color: #ffffff !important;
        color: #000000 !important;
    }
}
