/* Custom styles and animations */

:root {
    --burgundy-500: #c72547;
    --burgundy-600: #a01d39;
    --gold-400: #e6c26a;
    --gold-500: #d4af5a;
}

* {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0f;
    color: #ffffff;
}

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

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

.card-float:nth-child(2) {
    animation-delay: 0.15s;
}

.card-float:nth-child(3) {
    animation-delay: 0.3s;
}

.card-float:nth-child(4) {
    animation-delay: 0.45s;
}

/* Service card hover effect */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Glow effects */
.glow-gold {
    box-shadow: 0 0 20px rgba(230, 194, 106, 0.3);
}

.glow-burgundy {
    box-shadow: 0 0 20px rgba(199, 37, 71, 0.3);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #e6c26a 0%, #d4af5a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c72547, #a01d39);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #dc4463, #c72547);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Fade in animation for scroll sections */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button hover effects */
button, a {
    transition: all 0.2s ease;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .card-float {
        animation: none;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
