/* Custom Styles for Highland Motorsports */

:root {
    --color-burgundy: #722F37;
    --color-burgundy-light: #8B3A42;
    --color-gold: #C5A059;
    --color-gold-light: #E8D5A3;
    --color-stone-950: #0a0a0a;
    --color-stone-900: #171717;
    --color-stone-800: #262626;
}

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

h1, h2, h3, h4, .font-serif {
    font-family: 'Cinzel', serif;
}

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

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

::-webkit-scrollbar-track {
    background: var(--color-stone-950);
}

::-webkit-scrollbar-thumb {
    background: var(--color-stone-800);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Hero Animations */
.hero-subtitle {
    animation: slideUp 0.8s ease forwards 0.2s;
}

.hero-title {
    animation: slideUp 0.8s ease forwards 0.4s;
}

.hero-desc {
    animation: slideUp 0.8s ease forwards 0.6s;
}

.hero-cta {
    animation: slideUp 0.8s ease forwards 0.8s;
}

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

/* Service Card Hover Effects */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(197, 160, 89, 0.1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    transition: transform 0.5s ease;
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

/* Gradient Text Utility */
.text-gradient-gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

/* Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Decorative Lines */
.deco-line {
    position: relative;
}

.deco-line::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

/* 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;
    }
}

/* Print Styles */
@media print {
    nav, .hero-cta, #contact-form, footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .text-stone-100, .text-stone-200, .text-stone-300 {
        color: black;
    }
    
    .text-stone-400, .text-stone-500, .text-stone-600 {
        color: #333;
    }
}
