/* Custom styles for Cynda Sells Realty Group */

:root {
    --gold-400: #f5c842;
    --gold-500: #d4a017;
    --gold-600: #b8860b;
    --mint-400: #5eead4;
    --midnight-900: #050a14;
    --midnight-800: #0a1628;
    --midnight-700: #0f1f3a;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(5, 10, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Service card hover */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 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.05);
}

/* Testimonial card hover */
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* FAQ items */
.faq-item {
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(15, 31, 58, 0.6);
}

/* Fade-in animations for below-fold sections */
.fade-in-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #f5c842, #d4a017, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle glow effect */
.glow-gold {
    box-shadow: 0 0 40px rgba(212, 160, 23, 0.15);
}

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

::-webkit-scrollbar-track {
    background: #050a14;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #1e3a5f;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.2;
    }
}
