/* Additional custom styles */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure all text has proper contrast */
.text-midnight-900 {
    color: #0a0f1f;
}

.text-midnight-800 {
    color: #111833;
}

.text-midnight-700 {
    color: #182244;
}

.text-mint-500 {
    color: #22c55e;
}

.text-mint-600 {
    color: #16a34a;
}

.text-mint-400 {
    color: #4ade80;
}

/* Button hover states */
.btn-minimal:hover {
    opacity: 0.9;
}

/* Focus states for accessibility */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 31, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 40;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Ensure images don't cause layout shift */
img {
    max-width: 100%;
    height: auto;
}

/* Custom selection color */
::selection {
    background-color: #4ade80;
    color: #0a0f1f;
}
