/* Custom styles for Mr. Z's website */

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

/* Reveal animation styles */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Ensure text contrast */
.text-slate-900 {
    color: #0f172a;
}

.text-slate-800 {
    color: #1e293b;
}

.text-slate-600 {
    color: #475569;
}

.text-teal-900 {
    color: #134e4a;
}

.text-teal-800 {
    color: #115e59;
}

.text-teal-700 {
    color: #0f766e;
}

.text-teal-400 {
    color: #2dd4bf;
}

.bg-teal-900 {
    background-color: #134e4a;
}

.bg-teal-800 {
    background-color: #115e59;
}

.bg-teal-700 {
    background-color: #0f766e;
}

.bg-teal-50 {
    background-color: #f0fdfa;
}

.bg-teal-100 {
    background-color: #ccfbf1;
}

/* Font family */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

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

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

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
