
:root {
  --tesla-gold: #FFD700;
  --tesla-dark-gold: #DAA520;
  --tesla-black: #000000;
  --tesla-dark-gray: #1a1a1a;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--tesla-gold);
  color: black;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--tesla-dark-gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--tesla-black);
}

/* Utilities */
.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: var(--tesla-dark-gold) #f1f1f1;
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

/* Hero Gradient Overlay */
.hero-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.3) 100%);
}

/* Service Card Hover */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Marquee Animation */
.marquee-wrapper {
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    width: 250px;
    margin: 0 15px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

/* Lightbox */
#lightbox {
    backdrop-filter: blur(10px);
}

#lightboxImage {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Smooth transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}