/* Custom styles for Glenwood Acres Homeowners */

/* Geometric shapes in hero */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: #34d399;
    top: -200px;
    right: -150px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: #6ee7b7;
    bottom: -80px;
    left: -60px;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    background: #a7f3d0;
    top: 40%;
    left: 10%;
}

.geo-rect {
    position: absolute;
    opacity: 0.06;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    background: #34d399;
    top: 20%;
    left: 5%;
    transform: rotate(45deg);
}

.geo-rect-2 {
    width: 80px;
    height: 80px;
    background: #6ee7b7;
    bottom: 25%;
    right: 8%;
    transform: rotate(30deg);
}

.geo-triangle {
    position: absolute;
    opacity: 0.07;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #a7f3d0;
    top: 60%;
    right: 15%;
    transform: rotate(-15deg);
}

.geo-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(110, 231, 183, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* CTA section circles */
.cta-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.cta-circle-1 {
    width: 200px;
    height: 200px;
    background: #6ee7b7;
    top: -60px;
    left: 10%;
}

.cta-circle-2 {
    width: 140px;
    height: 140px;
    background: #34d399;
    bottom: -40px;
    right: 15%;
}

.cta-circle-3 {
    width: 80px;
    height: 80px;
    background: #a7f3d0;
    top: 30%;
    right: 5%;
}

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

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

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

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .animate-bounce {
        animation: none;
    }
}
