/* Custom Styles for The Tatcave */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal Animation (Progressive Enhancement - hidden by default, shown via JS) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: always show content if JS is disabled or prefers-reduced-motion */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #115e59;
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 2px;
}

/* Selection Color */
::selection {
    background-color: #0f766e;
    color: white;
}

/* Image Loading Placeholder */
img {
    background-color: #e2e8f0;
}

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

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Form Input Focus */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

/* Print Styles */
@media print {
    header,
    footer,
    #contact-form,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-teal-950,
    .bg-slate-900 {
        background: #fff !important;
        color: #000 !important;
    }
}
