/* Custom Styles for 34 Truck & Auto Repair */

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

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

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(74, 35, 58, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

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

/* Hover Effects */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Button Hover Effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 163, 115, 0.3);
}

/* Image Hover Effects */
img {
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Text Selection */
::selection {
    background-color: #D4A373;
    color: #4A233A;
}

/* Focus States */
a:focus,
button:focus {
    outline: 2px solid #D4A373;
    outline-offset: 2px;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
