/* Custom styles for Crest Knolls Ridgeway */

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

/* Geometric shapes for hero */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.geo-shape.circle-1 {
    width: 200px;
    height: 200px;
    background: #fbbf24;
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.geo-shape.circle-2 {
    width: 120px;
    height: 120px;
    background: #f472b6;
    border-radius: 50%;
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.geo-shape.circle-3 {
    width: 80px;
    height: 80px;
    background: #34d399;
    border-radius: 50%;
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.geo-shape.square-1 {
    width: 100px;
    height: 100px;
    background: #60a5fa;
    top: 60%;
    right: 5%;
    transform: rotate(45deg);
    animation-delay: 0.5s;
}

.geo-shape.square-2 {
    width: 60px;
    height: 60px;
    background: #fbbf24;
    bottom: 30%;
    right: 20%;
    transform: rotate(20deg);
    animation-delay: 1.5s;
}

.geo-shape.triangle-1 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid #a78bfa;
    top: 40%;
    left: 8%;
    animation-delay: 2.5s;
}

.geo-shape.triangle-2 {
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 60px solid #fb923c;
    bottom: 15%;
    left: 30%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Room cards */
.room-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Amenity cards */
.amenity-card {
    transition: transform 0.3s ease, background 0.3s ease;
}

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

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(250, 250, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

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

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .geo-shape {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .room-card:hover,
    .amenity-card:hover {
        transform: none;
    }
}
