/* Custom styles for Century 21 Lee Real Estate */

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

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

::-webkit-scrollbar-track {
    background: #1c1c1c;
}

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

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

/* Selection color */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #fdfbf7;
}

/* Animation for reveal elements */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Navbar glass effect when scrolled */
.navbar-scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.1);
}

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

.gold-shimmer {
    background: linear-gradient(90deg, #d4a853, #f0d78c, #d4a853);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .gold-shimmer {
        animation: none;
    }
    
    .animate-pulse {
        animation: none;
    }
}

/* Focus visible styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
