/* Olympus Property Management — Custom Styles */

/* Base reset & typography */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #2a0f18;
}
::-webkit-scrollbar-thumb {
    background: #5e2638;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #732d43;
}

/* Selection */
::selection {
    background: #fbbf24;
    color: #2a0f18;
}

/* Smooth focus for accessibility */
:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Nav transition states */
.nav-scrolled {
    background: rgba(42, 15, 24, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Hero image parallax-ish */
.hero-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Button hover animations */
.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%;
}

/* Card hover lift */
.service-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Neighborhood card overlay transition */
.neighborhood-card .overlay {
    transition: opacity 0.4s ease;
}

/* Form input transitions */
input, textarea, select {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Testimonial card hover */
.testimonial-card {
    transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
    transform: translateY(-2px);
}

/* Mobile menu animation */
#mobile-menu {
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Decorative line animation on hover */
.accent-line {
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stat counter animation */
.stat-number {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, #contact, .cta-banner, footer {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
