/* Custom styles for The Bourgeois Team website */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF7F2;
}
::-webkit-scrollbar-thumb {
    background: #d45427;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b83f1c;
}

/* Selection color */
::selection {
    background: #d45427;
    color: #FAF7F2;
}

/* Hero image parallax effect */
.hero-image {
    will-change: transform;
}

/* Mobile menu transitions */
.mobile-link {
    opacity: 1;
}

/* Fade-in animations for scroll reveal (progressive enhancement) */
@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);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(26, 23, 20, 0.08);
}

/* Button hover effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::after {
    left: 100%;
}

/* List card hover */
.listing-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.listing-card:hover {
    transform: translateY(-4px);
}

/* Input focus animations */
input:focus,
textarea:focus,
select:focus {
    border-color: #d45427 !important;
    box-shadow: 0 0 0 3px rgba(212, 84, 39, 0.1);
}

/* Print styles */
@media print {
    #navbar,
    #contactForm,
    .btn-primary {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
