/* Custom styles and overrides */

html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

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

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

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(214, 158, 46, 0.3); }
    50% { box-shadow: 0 0 40px rgba(214, 158, 46, 0.6); }
}

/* Apply animations */
.floating {
    animation: float 6s ease-in-out infinite;
}

.glow-effect {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Service card hover effect */
.group:hover .group-hover\:bg-gold-500\/30 {
    background-color: rgba(246, 224, 94, 0.3);
}

/* Geometric shape animations */
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate-slow {
    animation: rotate-slow 20s linear infinite;
}

/* Text gradient effect */
.text-gradient {
    background: linear-gradient(135deg, #f6e05e 0%, #d69e2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
}

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

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
    transition: all 0.3s ease;
}

/* Image lazy loading placeholder */
img {
    background: linear-gradient(90deg, #112240 0%, #1a365d 50%, #112240 100%);
    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;
}
