/* Custom Styles for Alma C Bargamento */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #020c1b;
}

::-webkit-scrollbar-thumb {
    background: #1a365a;
    border-radius: 5px;
}

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

/* Selection color */
::selection {
    background: rgba(226, 176, 60, 0.3);
    color: #f6d365;
}

/* Animation delays for blob animation */
.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #f6d365;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #0a192f 25%, #112240 50%, #0a192f 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

img[src] {
    animation: none;
    background: none;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Smooth card hover effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Glow effects for gold elements */
.shadow-gold-500\\:10:hover {
    box-shadow: 0 20px 40px rgba(226, 176, 60, 0.1);
}

/* Text gradient animation */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.text-gradient {
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}
