/* Nostalgic Auto Garage - Premium Dark Luxury Styles */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0d0709;
    color: #f3f4f6;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Selection Color */
::selection {
    background-color: rgba(217, 119, 6, 0.3);
    color: #fff;
}

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

::-webkit-scrollbar-track {
    background: #1a0f14;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d97706, #92400e);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #fcd34d, #d97706);
}

/* Typography */
.font-serif {
    font-family: 'Cinzel', serif;
}

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

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

/* Gold Gradient Background */
.gold-gradient-bg {
    background: linear-gradient(135deg, #fcd34d 0%, #d97706 100%);
}

/* Plum Gradient */
.plum-gradient {
    background: linear-gradient(180deg, #2d1622 0%, #1a0f14 100%);
}

/* Text Shadow */
.text-shadow-gold {
    text-shadow: 0 0 40px rgba(251, 191, 36, 0.3);
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(217, 119, 6, 0.25);
}

/* Navigation Blur */
.nav-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Hero Overlay */
.hero-overlay {
    background: linear-gradient(180deg, rgba(13, 7, 9, 0.3) 0%, rgba(13, 7, 9, 0.8) 70%, #0d0709 100%);
}

/* Fade In Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pulse Gold Animation */
.pulse-gold {
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(251, 191, 36, 0);
    }
}

/* Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

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

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

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

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .gold-gradient {
        -webkit-text-fill-color: #d97706;
    }
}

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