/* Custom styles for East 4th Street */

/* Ensure all text has proper contrast */
body {
    background-color: #071210;
    color: #faf5eb;
}

/* Selection color */
::selection {
    background-color: #166534;
    color: #fdfbf7;
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

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

/* Remove default date input styling */
input[type="date"] {
    color-scheme: dark;
}

/* Prevent content flash on scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle hover states for interactive elements */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Ensure map iframe doesn't overflow */
iframe {
    max-width: 100%;
}

/* Gold accent line decoration */
.gold-line {
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    height: 1px;
}

/* Emerald glow effect */
.emerald-glow {
    box-shadow: 0 0 40px rgba(22, 101, 52, 0.15);
}

/* Image overlay gradient for text readability */
.img-overlay {
    position: relative;
}
.img-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 18, 16, 0.4) 0%, transparent 50%);
    pointer-events: none;
}
