/* Base styles and custom utilities */
* {
    scroll-behavior: smooth;
}

body {
    background-color: #0D0610;
}

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

::-webkit-scrollbar-track {
    background: #1A0A28;
}

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

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

/* Selection color */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #F5D060;
}

/* Service card hover animation */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(212, 160, 23, 0.08);
}

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

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

/* Staggered fade-in for grid items */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

/* Mobile menu animations */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scrolled state */
.navbar-scrolled {
    background: rgba(13, 6, 16, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(61, 43, 92, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu button active state */
.menu-btn-active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn-active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-btn-active .menu-line:nth-child(3) {
    width: 20px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Gold shimmer effect for accents */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Pulse animation for CTA buttons */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(212, 160, 23, 0);
    }
}

/* Testimonial card hover */
#reviews .group:hover {
    border-color: rgba(212, 160, 23, 0.3) !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Input focus animations */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card:hover {
        transform: none;
    }
}
