/* Custom styles for Little Village Apartments */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #FAF7F5;
}
::-webkit-scrollbar-thumb {
    background: #dc4960;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #992437;
}

/* Selection color */
::selection {
    background: #dc4960;
    color: white;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(250, 247, 245, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(107, 27, 39, 0.08);
}

/* Hero image hover */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Floating badge animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Pulse animation for status dot */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Mobile menu transitions */
.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #dc4960;
    transition: width 0.3s ease;
}
.mobile-link:hover::after {
    width: 100%;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(220, 73, 96, 0.1);
}

/* Amenity card hover glow */
.group:hover {
    box-shadow: 0 20px 40px rgba(107, 27, 39, 0.15);
}

/* Image aspect ratio helpers */
.aspect-video {
    aspect-ratio: 16 / 9;
}
.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Print styles */
@media print {
    nav, footer, .no-print {
        display: none;
    }
    body {
        color: #1a1a1a;
        background: white;
    }
}

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