/* Custom styles to complement Tailwind */

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

/* Animation classes for scroll reveal */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-left {
    transform: translateX(-30px);
}

.reveal-right {
    transform: translateX(30px);
}

/* Hidden state for scroll reveal (controlled by JS) */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-left-hidden {
    opacity: 0;
    transform: translateX(-30px);
}

.reveal-right-hidden {
    opacity: 0;
    transform: translateX(30px);
}

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

#mobile-menu.open {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

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

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

::-webkit-scrollbar-thumb {
    background: #FF6B6B;
    border-radius: 5px;
}

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

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image aspect ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure text contrast */
.text-charcoal-700 {
    color: #404040;
}

.text-charcoal-800 {
    color: #2d2d2d;
}

.text-charcoal-900 {
    color: #1a1a1a;
}
