/* Custom styles beyond Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    /* Prevent horizontal scroll */
    overflow-x: hidden;
}

/* Animation Classes */
.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

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

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

.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered animation delays for children */
.reveal-up:nth-child(1) { transition-delay: 0ms; }
.reveal-up:nth-child(2) { transition-delay: 100ms; }
.reveal-up:nth-child(3) { transition-delay: 200ms; }

/* Navbar Glass Effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Image Aspect Ratios */
img {
    max-width: 100%;
    height: auto;
}
