/* Custom styles for Garden Square Apartments */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0fdf4;
}
::-webkit-scrollbar-thumb {
    background: #1a2557;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3b5bdb;
}

/* Selection color */
::selection {
    background: #8ce3bc;
    color: #0f1530;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #34c080;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Subtle pattern for mint sections */
.bg-mint-50::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(26, 37, 87, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}
