/* Custom styles for Brenford Real Estate */

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

/* Base text color */
body {
    color: #e8a5be;
}

/* Hero gradient animation */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Pulse animation for decorative orbs */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* Scroll down indicator */
@keyframes scroll-down {
    0% { top: -16px; opacity: 1; }
    100% { top: 48px; opacity: 0; }
}

.animate-scroll-down {
    animation: scroll-down 1.5s ease-in-out infinite;
}

/* Service card hover glow */
.service-card:hover {
    box-shadow: 0 0 40px rgba(212, 160, 23, 0.08);
}

/* Listing card hover glow */
.listing-card:hover {
    box-shadow: 0 0 50px rgba(212, 160, 23, 0.1);
}

/* Testimonial card hover */
.testimonial-card:hover {
    box-shadow: 0 0 40px rgba(212, 160, 23, 0.06);
}

/* Navbar glass effect */
#navbar.scrolled {
    background: rgba(10, 6, 8, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(111, 44, 77, 0.3);
}

/* Mobile menu active state */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Mobile link hover */
.mobile-link {
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-link:hover {
    transform: translateY(-2px);
}

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

::-webkit-scrollbar-track {
    background: #0a0608;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #6b2c4d;
}

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

/* Focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(212, 160, 23, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

/* Select dropdown styling */
select option {
    background: #1c1418;
    color: #e8a5be;
}

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

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(1.75rem, 6vw, 3rem);
    }
}

/* Large screen adjustments */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
