/* Custom styles for D L Painting LLC */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #040B14;
}
::-webkit-scrollbar-thumb {
    background: rgba(226, 194, 87, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(226, 194, 87, 0.5);
}

/* Selection */
::selection {
    background: rgba(226, 194, 87, 0.3);
    color: #F4E285;
}

/* Service cards hover glow */
.service-card:hover {
    box-shadow: 0 0 40px rgba(226, 194, 87, 0.08);
}

/* Gallery items overlay */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 11, 20, 0.3) 0%, transparent 50%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.gallery-item:hover::after {
    opacity: 1;
}

/* Process step hover */
.process-step:hover h3 {
    color: #E2C257;
    transition: color 0.3s ease;
}

/* Navbar transition */
.nav-scrolled {
    background: rgba(4, 11, 20, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(226, 194, 87, 0.1) !important;
}

/* Mobile menu animation */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Form focus animations */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(226, 194, 87, 0.1);
}

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

.hero-gold-text {
    background: linear-gradient(90deg, #F4E285, #E2C257, #C9A227, #E2C257, #F4E285);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Subtle pulse for CTA buttons */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(226, 194, 87, 0.4); }
    50% { box-shadow: 0 0 20px 4px rgba(226, 194, 87, 0.15); }
}

.cta-button {
    animation: pulse-gold 3s ease-in-out infinite;
}

/* Reduced motion */
@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;
    }
}
