/* Custom styles for Ridgewood Dayton */

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

/* Geometric background shapes */
.geo-circle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(22, 101, 52, 0.06) 0%, transparent 70%);
    top: 15%;
    left: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    top: 45%;
    right: -50px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.circle-3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(22, 101, 52, 0.05) 0%, transparent 70%);
    bottom: 20%;
    left: 20%;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-triangle {
    position: fixed;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(22, 101, 52, 0.04);
    top: 60%;
    right: 10%;
    pointer-events: none;
    z-index: 0;
    animation: float-slow 22s ease-in-out infinite;
    transform: rotate(15deg);
}

.geo-square {
    position: fixed;
    width: 120px;
    height: 120px;
    background: rgba(245, 158, 11, 0.04);
    bottom: 30%;
    left: 5%;
    pointer-events: none;
    z-index: 0;
    animation: float-slow 16s ease-in-out infinite;
    transform: rotate(30deg);
    border-radius: 16px;
}

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

/* Mobile menu */
.mobile-link {
    display: block;
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .geo-circle, .geo-triangle, .geo-square {
        animation: none;
    }
    .animate-bounce {
        animation: none;
    }
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure all text is readable */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
