/* Custom Styles for Club Car Wash */

:root {
    --brand-dark: #050806;
    --brand-surface: #0d1410;
    --brand-gold: #d4af37;
    --brand-goldlight: #f3cf55;
    --brand-offwhite: #f4f7f5;
}

body {
    background-color: var(--brand-dark);
    color: var(--brand-offwhite);
}

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

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

::-webkit-scrollbar-track {
    background: var(--brand-dark);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-gold);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4af37 0%, #f3cf55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gold Gradient Border */
.gold-border-gradient {
    position: relative;
    background: var(--brand-surface);
    border-radius: 0.5rem;
}

.gold-border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.5rem;
    padding: 1px;
    background: linear-gradient(135deg, #d4af37, #1a4d2e);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Navbar Glass Effect */
.nav-scrolled {
    background: rgba(5, 8, 6, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Mobile Menu Link Hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--brand-gold);
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Button Hover Glow */
button:hover, a:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Map Inversion for Dark Theme */
.map-dark {
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}
