/* Custom styles for Washington Apartments */

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

/* Hero geometric animations */
.hero-geo {
    position: absolute;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(224, 79, 79, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(244, 172, 172, 0.15);
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation-delay: -3s;
}

.geo-rect-1 {
    width: 200px;
    height: 200px;
    background: rgba(224, 79, 79, 0.08);
    top: 25%;
    right: 15%;
    transform: rotate(45deg);
    animation-delay: -2s;
}

.geo-stripe-1 {
    width: 4px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(244, 172, 172, 0.2), transparent);
    bottom: 20%;
    right: 35%;
    animation-delay: -4s;
}

.geo-dot-grid {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(244, 172, 172, 0.2) 1px, transparent 1px);
    background-size: 16px 16px;
    bottom: 10%;
    right: 25%;
    animation-delay: -1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(8px) rotate(-1deg); }
}

/* Room card hover effects */
.room-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.room-card:hover {
    transform: translateY(-8px);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(253, 248, 244, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(110, 23, 23, 0.08);
}

/* Mobile menu animations */
.menu-line {
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    width: 1.5rem;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-geo {
        animation: none;
    }
    
    .room-card:hover {
        transform: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

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

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

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

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

/* Selection color */
::selection {
    background: #f9d0d0;
    color: #6e1717;
}
