/* Custom Styles for MTZ Tires and Wheels */

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

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

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

::-webkit-scrollbar-thumb {
    background: #6e1532;
    border-radius: 5px;
}

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

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

/* Service Card Hover Effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(110, 21, 50, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* Gold Gradient Text */
.text-gradient-gold {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Burgundy Gradient */
.bg-gradient-burgundy {
    background: linear-gradient(135deg, #6e1532 0%, #a11840 100%);
}

/* Button Hover Glow */
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(110, 21, 50, 0.5) !important;
}

/* Image Hover Zoom */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

.img-zoom:hover img {
    transform: scale(1.05);
}

/* Fade In Animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Animation */
.mobile-menu-open #mobile-menu {
    transform: translateX(0);
}

/* Pulse Animation for Badge */
@keyframes pulse-gold {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse-gold {
    animation: pulse-gold 2s ease-in-out infinite;
}

/* Luxury Border Gradient */
.luxury-border {
    position: relative;
}

.luxury-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(110, 21, 50, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Input Focus Animation */
input:focus,
textarea:focus,
select:focus {
    animation: focus-glow 0.3s ease;
}

@keyframes focus-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(110, 21, 50, 0.4);
    }
    100% {
        box-shadow: 0 0 0 4px rgba(110, 21, 50, 0.1);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    #hero h1 {
        font-size: 2.5rem !important;
    }
    
    #hero h1 span {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
