/* Custom Styles for Master Tech Auto Body */

/* Font Families */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

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

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slide-down {
    animation: slideDown 0.8s ease-out forwards;
    opacity: 0;
}

.animation-delay-200 {
    animation-delay: 200ms;
}

.animation-delay-300 {
    animation-delay: 300ms;
}

.animation-delay-400 {
    animation-delay: 400ms;
}

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

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

::-webkit-scrollbar-track {
    background: #0f1410;
}

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

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

/* Selection Color */
::selection {
    background: #c9a227;
    color: #0f1410;
}

/* Input Autofill Style */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #141a14 inset !important;
    -webkit-text-fill-color: #f0f2eb !important;
}

/* Focus Visible Styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #c9a227;
    outline-offset: 2px;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .font-cinzel {
        line-height: 1.2;
    }
}

/* Print Styles */
@media print {
    nav,
    #back-to-top,
    button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .text-\[\#f0f2eb\],
    .text-\[\#c9a227\] {
        color: black !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
