/* Custom styles for Kendall Burt Real Estate */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #c49020;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a02e;
}

/* Hero background */
.hero-bg {
    background-image: linear-gradient(to bottom, rgba(4, 10, 20, 0.55) 0%, rgba(4, 10, 20, 0.7) 50%, rgba(4, 10, 20, 0.92) 100%),
        url('https://images.pexels.com/photos/3935350/pexels-photo-3935350.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Gold gradient text */
.gold-gradient-text {
    background: linear-gradient(135deg, #e8bf52 0%, #c49020 50%, #a67518 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gold line divider */
.gold-line {
    background: linear-gradient(90deg, transparent 0%, #c49020 50%, transparent 100%);
    height: 1px;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.4s cubic-bezier(0.25, 0.45, 0.45, 0.94), box-shadow 0.4s ease;
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(196, 144, 32, 0.15);
}

/* Gold button */
.btn-gold {
    background: linear-gradient(135deg, #d4a02e 0%, #c49020 50%, #a67518 100%);
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #e8bf52 0%, #d4a02e 50%, #c49020 100%);
    box-shadow: 0 8px 30px rgba(196, 144, 32, 0.4);
    transform: translateY(-2px);
}

/* Outline gold button */
.btn-outline-gold {
    border: 1.5px solid #c49020;
    transition: all 0.3s ease;
}
.btn-outline-gold:hover {
    background: rgba(196, 144, 32, 0.12);
    box-shadow: 0 0 25px rgba(196, 144, 32, 0.2);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(4, 10, 20, 0.97) !important;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

/* Scroll reveal base state - always visible */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Scroll reveal animation - only when JS is enabled and reduced motion is off */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stat numbers */
.stat-number {
    background: linear-gradient(135deg, #e8bf52 0%, #c49020 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(196, 144, 32, 0.06) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #c49020 !important;
    box-shadow: 0 0 0 3px rgba(196, 144, 32, 0.15);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.45, 0.45, 0.94);
}
.mobile-menu.open {
    transform: translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
    .mobile-menu {
        transform: translateX(100%);
    }
    .mobile-menu.open {
        transform: translateX(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .mobile-menu {
        transform: none;
        transition: none;
    }
    .mobile-menu.open {
        transform: none;
    }
}

/* Selection color */
::selection {
    background: rgba(196, 144, 32, 0.3);
    color: #fff;
}
