/* Custom Styles & Animations */

:root {
    --color-teal-900: #134e4a;
    --color-teal-600: #0d9488;
    --color-slate-900: #0f172a;
    --color-slate-50: #f8fafc;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-slate-50);
    color: #1e293b;
}

/* Animation Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Utility Classes */
.reveal-up {
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.reveal-left {
    animation: fadeInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.reveal-right {
    animation: fadeInRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.reveal-scale {
    animation: scaleIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

/* Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Mobile Menu Styles */
#mobile-menu {
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-teal-600);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    nav, #mobile-menu-btn, .reveal-up, .reveal-left, .reveal-right, .reveal-scale {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-slate-900, .bg-teal-900, .bg-teal-800 {
        background: #333 !important;
        color: white !important;
    }
}
