/* Custom styles and overrides */

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

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(13, 5, 13, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 148, 10, 0.1);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-scrolled .menu-line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-scrolled .menu-line-2 {
    opacity: 0;
}
.nav-scrolled .menu-line-3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu transitions */
.mobile-menu-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #f0c040;
}

#mobileMenu.open .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-menu-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu.open .mobile-menu-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-menu-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-menu-link:nth-child(5) { transition-delay: 0.25s; }

/* Service card hover glow */
.service-card:hover {
    box-shadow: 0 0 40px rgba(200, 148, 10, 0.08);
    transform: translateY(-4px);
}

/* Area card hover */
.area-card:hover {
    box-shadow: 0 0 40px rgba(200, 148, 10, 0.1);
    transform: translateY(-4px);
}

/* Testimonial card hover */
.testimonial-card:hover {
    box-shadow: 0 0 40px rgba(200, 148, 10, 0.08);
    transform: translateY(-2px);
}

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

.gold-text {
    background: linear-gradient(
        90deg,
        #c8940a 0%,
        #f0c040 25%,
        #ffe8a0 50%,
        #f0c040 75%,
        #c8940a 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Fade-in animations for scroll sections */
@media (prefers-reduced-motion: no-preference) {
    .fade-in-section {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .fade-in-section.is-hidden {
        opacity: 0;
        transform: translateY(20px);
    }
}

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

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

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

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

/* Selection color */
::selection {
    background: rgba(200, 148, 10, 0.3);
    color: #f5f0f7;
}
