/* Premium Dark Luxury Styles for Dealer Auto Solutions */

:root {
    --teal-500: #0d9488;
    --teal-400: #14b8a6;
    --gold-500: #d4a853;
    --gold-400: #e6c276;
    --slate-900: #0f172a;
    --slate-950: #020617;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--slate-950);
    color: #f8fafc;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* Teal Gradient */
.teal-gradient {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Metallic Border Effect */
.metallic-border {
    border: 1px solid rgba(212, 168, 83, 0.3);
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Card Hover Effects */
.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 rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 168, 83, 0.15);
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, #d4a853 0%, #e6c276 50%, #d4a853 100%);
    color: #0f172a;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(212, 168, 83, 0.4);
    transform: translateY(-3px);
}

/* Secondary Button */
.btn-secondary {
    border: 2px solid #d4a853;
    color: #d4a853;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(212, 168, 83, 0.1);
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.3);
    transform: translateY(-2px);
}

/* Navigation Links */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a853, #e6c276);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #e6c276;
}

.nav-link:hover::after {
    width: 100%;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a853, #0d9488);
    border-radius: 6px;
    border: 2px solid var(--slate-950);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e6c276, #14b8a6);
}

/* Input Focus Styles */
input:focus,
textarea:focus {
    outline: none;
    border-color: #d4a853;
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.2);
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .metallic-border {
        border-width: 1px;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Pulse Animation for CTAs */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 168, 83, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(212, 168, 83, 0);
    }
}

.pulse-gold {
    animation: pulse-gold 2s infinite;
}
