/* Fir Avenue Rentals LLC — Custom Styles */

/* Base & Typography */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(254, 253, 248, 0.98) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Service cards */
.service-card {
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: rgba(22, 101, 52, 0.2);
    transform: translateY(-2px);
}

/* Property cards */
.property-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.property-card:hover {
    border-color: rgba(22, 101, 52, 0.15);
}

/* Form styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* Testimonial cards */
.testimonial-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Scroll reveal animations (below-fold only) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .property-card img,
    .service-card img {
        transition: none;
    }
    
    .property-card:hover img {
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.2s ease;
}

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

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

::-webkit-scrollbar-track {
    background: #fdf9f0;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}

/* Selection color */
::selection {
    background: rgba(22, 163, 74, 0.2);
    color: #052e16;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #16a34a;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, #mobile-menu-btn, .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
