/* Tailwind CSS CDN */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* Premium Automotive Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;800;900&family=Exo+2:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700;1,800;1,900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Custom Properties */
:root {
  /* Colors from brand.json */
  --color-black: #000000;
  --color-dark-gray: #1a1a1a;
  --color-charcoal: #2d2d2d;
  --color-red: #DC2626;
  --color-dark-red: #991B1B;
  --color-light-red: #EF4444;
  --color-white: #FFFFFF;
  --color-off-white: #F9FAFB;
  --color-light-gray: #E5E7EB;
  --color-medium-gray: #9CA3AF;
  --color-gray: #4B5563;
  
  /* Animation properties */
  --duration-fast: 150ms;
  --duration-default: 300ms;
  --duration-slow: 500ms;
  --easing-default: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Theme transition properties */
  --theme-transition-duration: 0.25s;
  --theme-transition-easing: ease-out;
}

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

/* Simple theme transitions */
html {
  transition: all 0.15s ease;
}

body {
  transition: background 0.15s ease;
}

/* Prevent transitions on page load */
.no-transition,
.no-transition *,
.no-transition *::before,
.no-transition *::after {
  transition: none !important;
}



html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* More present website background gradient - dark mode */
  background: linear-gradient(180deg, 
    #000000 0%, 
    #111111 20%, 
    #242424 40%, 
    #1a1a1a 60%, 
    #111111 80%, 
    #000000 100%);
  min-height: 100vh;
}

/* Light mode website background gradient - more present */
[data-theme="light"] body {
  background: linear-gradient(180deg, 
    #ffffff 0%, 
    #f1f5f9 20%, 
    #e5e7eb 40%, 
    #f1f5f9 60%, 
    #f8fafc 80%, 
    #ffffff 100%);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--color-charcoal);
  border-radius: 5px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Header - Transparent by default, blurred background only on scroll */
nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  transition: all 0.3s ease;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: auto !important;
  border-bottom: 1px solid transparent;
}

/* Ensure nav links are clickable */
.nav-link, .mobile-nav-link {
  pointer-events: auto !important;
  cursor: pointer;
  position: relative;
  z-index: 10000;
}

/* Ensure navigation container is above everything */
nav .container {
  position: relative;
  z-index: 10001;
}

/* Ensure header elements don't block navigation */
nav a, nav button {
  pointer-events: auto !important;
  position: relative;
  z-index: 10002;
}

/* Logo visibility on mobile */
nav .flex-shrink-0 a {
  z-index: 10003 !important;
  position: relative !important;
}

nav .flex-shrink-0 img {
  filter: brightness(1.2) !important;
  z-index: 10003 !important;
  position: relative !important;
}

/* Mobile menu button visibility on all devices */
#mobile-menu-button {
  color: white !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border: none !important;
  border-radius: 12px !important;
  z-index: 10003 !important;
  position: relative !important;
}

#mobile-menu-button svg {
  color: white !important;
  fill: none !important;
  stroke: white !important;
}

#mobile-menu-button svg path {
  stroke: white !important;
  fill: none !important;
}

/* Fix mobile menu positioning */
#mobile-menu {
  position: relative;
  z-index: 10000;
  pointer-events: auto !important;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(45, 45, 45, 0.6);
}

/* White theme navigation on scroll */
/* Default dark mode navigation on scroll */
nav.blur-active {
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Dark mode navigation text when scrolled */
nav.blur-active .nav-link,
nav.blur-active a,
nav.blur-active span {
  color: #ffffff !important; /* White text for dark background */
}

nav.blur-active .text-red-600 {
  color: #dc2626 !important; /* Keep red accent */
}

/* Dark mode mobile menu button on scroll */
nav.blur-active #mobile-menu-button {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

nav.blur-active #mobile-menu-button svg {
  stroke: #ffffff !important;
}

nav.blur-active #mobile-menu-button svg path {
  stroke: #ffffff !important;
}

/* Dark mode mobile menu styling when navigation is scrolled */
nav.blur-active #mobile-menu {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none !important;
  border-radius: 0 0 16px 16px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: #ffffff !important;
}

nav.blur-active .mobile-nav-link {
  color: #ffffff !important;
}

nav.blur-active .mobile-nav-link:hover {
  color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.2) !important;
}

/* Hero section setup */
#home {
  margin: 0 !important;
  padding: 0 !important;
  height: 100vh !important;
  width: 100vw !important;
  background: transparent !important;
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  overflow: hidden !important;
  min-height: 100vh !important;
}

/* Add scroll margin to all sections for proper navigation offset */
section[id] {
  scroll-margin-top: 100px;
}

/* Exception: Hero section should start from top */
#home {
  scroll-margin-top: 0;
}

/* Hero video styling */
#hero-video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  margin: 0 !important;
  padding: 0 !important;
  /* Performance optimizations */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}



@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hero background positioning - fallback for image */
#home .absolute:first-child {
  background-position: center center !important;
  background-size: cover;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

/* Hero text visibility - Force display */
#home h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
  color: white !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#home p {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
  color: #e5e7eb !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure hero content is visible */
#home .text-red-600 {
  color: #dc2626 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Force hero content container visibility */
#home .container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Hero content layer force visible */
#home div[style*="z-index: 100"] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force all hero elements visible */
#home .btn {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: white !important;
}

#home .btn-glassmorphism {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#home .stats-container {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#home .counter {
  color: #dc2626 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Navigation */
.nav-link {
  position: relative;
  font-weight: 500;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-red);
  transition: width var(--duration-default) var(--easing-default);
}

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

/* Mobile Menu Animation */
.mobile-menu-open {
  animation: slideDown var(--duration-default) var(--easing-default);
}

/* Mobile menu button hover effect */
#mobile-menu-button {
  transition: all 0.3s ease;
}

#mobile-menu-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

/* Mobile menu icon animation */
#mobile-menu-button svg {
  transition: transform 0.3s ease;
}

#mobile-menu-button .menu-open,
#mobile-menu-button .menu-close {
  transition: opacity 0.3s ease;
}

/* Mobile menu smooth opening animation */
#mobile-menu.mobile-menu-open {
  animation: slideDown 0.3s ease-out forwards;
}

/* Enhanced mobile menu styling */
.mobile-nav-link {
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
  color: white !important;
}

.mobile-nav-link:hover {
  color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.1) !important;
  padding-left: 1.5rem !important;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: #dc2626;
  transition: width 0.3s ease;
}

.mobile-nav-link:hover::before {
  width: 4px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all var(--duration-default) var(--easing-default);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 3rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-red);
  color: var(--color-white);
  border: 2px solid var(--color-red);
}

.btn-primary:hover {
  background-color: var(--color-dark-red);
  border-color: var(--color-dark-red);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(220, 38, 38, 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.3);
}

/* Cards */
.value-card {
  background-color: var(--color-dark-gray);
  border: 1px solid var(--color-charcoal);
  border-radius: 1rem;
  padding: 2rem;
  transition: all var(--duration-default) var(--easing-default);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-red);
  box-shadow: 0 20px 40px -10px rgba(220, 38, 38, 0.3);
}

.brand-card {
  background-color: var(--color-dark-gray);
  border: 1px solid var(--color-charcoal);
  border-radius: 0.75rem;
  padding: 0.5rem;
  margin: 0 0.5rem;
  transition: all var(--duration-default) var(--easing-default);
  overflow: hidden;
  box-sizing: border-box;
  width: auto !important;
}

.brand-card:hover {
  border-color: var(--color-red);
  transform: translateY(-2px);
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  max-width: 2.5rem;
  max-height: 2.5rem;
  opacity: 0.8;
  transition: all var(--duration-default) var(--easing-default);
  filter: brightness(3) contrast(1.2) invert(0.8);
  object-fit: contain;
}

.brand-card:hover .brand-logo {
  opacity: 1;
  filter: brightness(4) contrast(1.3) invert(0.9);
  transform: scale(1.05);
}

/* CLEAN AUTOMOTIVE-THEMED ABOUT SECTION */

/* Sections use transparent background to show website gradient */
#home, #values, #brands, #about, #wholesale, #partner, #contact, footer {
  background: transparent !important;
}

/* Clean containers with subtle gradients */
.story-container,
.about-container {
  background: linear-gradient(145deg, 
    rgba(20, 20, 20, 0.8) 0%,
    rgba(35, 35, 35, 0.9) 50%,
    rgba(20, 20, 20, 0.8) 100%);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.story-container:hover,
.about-container:hover {
  border-color: rgba(220, 38, 38, 0.4);
  background: linear-gradient(145deg, 
    rgba(25, 25, 25, 0.9) 0%,
    rgba(40, 40, 40, 0.95) 50%,
    rgba(25, 25, 25, 0.9) 100%);
}

/* Car Image Styling */
.car-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.car-image {
  width: 100%;
  height: auto;
  min-height: 400px;
  object-fit: cover;
  transition: all 0.5s ease;
  filter: brightness(0.9) contrast(1.1);
}

.car-image:hover {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.2);
}

.car-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(220, 38, 38, 0.1) 0%,
    transparent 50%,
    rgba(220, 38, 38, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.car-image-container:hover::before {
  opacity: 1;
}

/* Info Section Styling */
.info-container {
  background: linear-gradient(145deg, 
    rgba(20, 20, 20, 0.8) 0%,
    rgba(35, 35, 35, 0.9) 50%,
    rgba(20, 20, 20, 0.8) 100%);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.info-container:hover {
  border-color: rgba(220, 38, 38, 0.4);
  background: linear-gradient(145deg, 
    rgba(25, 25, 25, 0.9) 0%,
    rgba(40, 40, 40, 0.95) 50%,
    rgba(25, 25, 25, 0.9) 100%);
  transform: translateY(-2px);
}

/* Engine quote styling - cleaner */
.engine-quote {
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.4) 0%,
    rgba(15, 15, 15, 0.6) 100%);
  border-left: 4px solid var(--color-red);
  border-radius: 8px;
  padding: 1.5rem;
}

/* Dashboard-style panels - with gradients */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dashboard-panel {
  background: linear-gradient(135deg, 
    rgba(5, 5, 5, 0.9) 0%,
    rgba(20, 20, 20, 0.9) 100%);
  border: 1px solid rgba(75, 85, 99, 0.4);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.dashboard-panel:hover {
  border-color: rgba(220, 38, 38, 0.5);
  background: linear-gradient(135deg, 
    rgba(10, 10, 10, 0.9) 0%,
    rgba(25, 25, 25, 0.9) 100%);
  transform: translateY(-2px);
}

/* Professional Handwritten SVG Animation */
.handwritten-svg-logo {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
  text-align: center;
  margin: 2rem 0;
}

.handwritten-svg-logo.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.handwritten-svg-logo svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* Professional SVG Path Animation */
.handwritten-svg-logo svg path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  opacity: 0;
}

/* Animate each letter of DRIVENBYFAITH sequentially - smooth and clean */
.handwritten-svg-logo.animate-in svg path:nth-child(1) {
  animation: drawPath 0.25s ease-in-out 0s forwards; /* D */
}

.handwritten-svg-logo.animate-in svg path:nth-child(2) {
  animation: drawPath 0.25s ease-in-out 0.2s forwards; /* R */
}

.handwritten-svg-logo.animate-in svg path:nth-child(3) {
  animation: drawPath 0.2s ease-in-out 0.4s forwards; /* I */
}

.handwritten-svg-logo.animate-in svg path:nth-child(4) {
  animation: drawPath 0.2s ease-in-out 0.6s forwards; /* V */
}

.handwritten-svg-logo.animate-in svg path:nth-child(5) {
  animation: drawPath 0.25s ease-in-out 0.8s forwards; /* E */
}

.handwritten-svg-logo.animate-in svg path:nth-child(6) {
  animation: drawPath 0.25s ease-in-out 1.0s forwards; /* N */
}

.handwritten-svg-logo.animate-in svg path:nth-child(7) {
  animation: drawPath 0.3s ease-in-out 1.2s forwards; /* B */
}

.handwritten-svg-logo.animate-in svg path:nth-child(8) {
  animation: drawPath 0.25s ease-in-out 1.5s forwards; /* Y */
}

.handwritten-svg-logo.animate-in svg path:nth-child(9) {
  animation: drawPath 0.25s ease-in-out 1.75s forwards; /* F */
}

.handwritten-svg-logo.animate-in svg path:nth-child(10) {
  animation: drawPath 0.25s ease-in-out 2.0s forwards; /* A */
}

.handwritten-svg-logo.animate-in svg path:nth-child(11) {
  animation: drawPath 0.2s ease-in-out 2.25s forwards; /* I */
}

.handwritten-svg-logo.animate-in svg path:nth-child(12) {
  animation: drawPath 0.25s ease-in-out 2.45s forwards; /* T */
}

.handwritten-svg-logo.animate-in svg path:nth-child(13) {
  animation: drawPath 0.3s ease-in-out 2.7s forwards; /* H */
}

/* Draw path animation */
@keyframes drawPath {
  0% {
    stroke-dashoffset: 2000;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* Responsive handwriting */
@media (max-width: 768px) {
  .handwritten-svg-logo svg {
    max-width: 350px;
  }
}

/* Enhanced Hero Section Styles */



/* Enhanced Button Interactions */
.btn-enhanced {
  transition: all 0.3s ease;
}

.btn-enhanced:hover {
  transform: translateY(-2px);
}

.btn-primary.btn-enhanced:hover {
  box-shadow: 0 8px 15px -5px rgba(220, 38, 38, 0.4);
}

.btn-secondary.btn-enhanced:hover {
  box-shadow: 0 8px 15px -5px rgba(255, 255, 255, 0.2);
}

/* Stats Counter Animation */
.stats-container {
  animation: slideUp 1s ease-out 1s both;
}

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

/* Trusted Brands Ticker */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-scroll {
  animation: scroll 45s linear infinite;
  white-space: nowrap;
  width: max-content;
  display: flex;
  align-items: center;
}

/* Ensure logo slider continues seamlessly */
.animate-scroll:hover {
  animation-play-state: paused;
}

/* Logo slider container styling */
.animate-scroll img {
  height: 2rem;
  opacity: 0.9;
  filter: brightness(3) invert;
  transition: all 0.3s ease;
  margin-right: 3rem;
  flex-shrink: 0;
}

/* Hero logo slider specific styling */
#home .animate-scroll img {
  height: 2rem;
  opacity: 0.9;
  filter: brightness(3) invert;
  margin-right: 3rem;
}

/* Debug: Ensure logo slider container is positioned correctly */
#home .absolute.overflow-hidden {
  position: absolute;
  bottom: 5rem; /* 80px from bottom */
  left: 0;
  right: 0;
  z-index: 95;
  display: block;
  visibility: visible;
}

/* Ensure logo slider works globally */
.animate-scroll {
  z-index: 95;
  display: flex;
  visibility: visible;
  opacity: 1;
}

/* Force hero logo slider visibility */
#home .animate-scroll {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 95 !important;
}

.animate-scroll img:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: brightness(3) invert hue-rotate(345deg);
}

/* Brand Section Animations */
@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

@keyframes scroll-left {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-scroll-right {
  animation: scroll-right 25s linear infinite;
  white-space: nowrap;
  display: flex;
  width: max-content;
}

.animate-scroll-left {
  animation: scroll-left 25s linear infinite;
  white-space: nowrap;
  display: flex;
  width: max-content;
}

.brand-logo-small {
  height: 2rem;
  width: auto;
  opacity: 0.6;
  filter: brightness(3) invert;
  transition: all 0.3s ease;
}

.brand-logo-small:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Static Background */
#home .absolute:first-child {
  transform: translateY(80px) scale(1.1);
}

/* Trust Badge Animation */
.animate-fadeIn {
  animation: fadeIn 0.8s var(--easing-default) forwards;
}

/* Glassmorphism Button */
.btn-glassmorphism {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: not-allowed;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-glassmorphism:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Light mode glassmorphism button - matches dark theme for header consistency */
[data-theme="light"] .btn-glassmorphism {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .btn-glassmorphism:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Theme Switcher Styles - DEFAULT TO DARK THEME */
:root {
  /* Dark theme colors - default */
  --bg-primary: #000000;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2d2d2d;
  --text-primary: #ffffff;
  --text-secondary: #e5e7eb;
  --text-tertiary: #9ca3af;
  --border-color: #4b5563;
  --card-bg: #1a1a1a;
  --overlay: rgba(0, 0, 0, 0.5);
}

/* Ensure dark theme is default before JavaScript loads */
html {
  background-color: #000000;
  color: #ffffff;
}

body {
  background-color: #000000;
  color: #ffffff;
}

[data-theme="light"] {
  /* Light theme colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --overlay: rgba(0, 0, 0, 0.05);
}

/* Theme transition - handled by global transition rules above */

/* Footer theme toggle button */
.theme-toggle-footer {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-footer:hover {
  background: var(--bg-tertiary);
  border-color: var(--color-red);
  transform: translateY(-1px);
}

.theme-toggle-footer svg {
  transition: transform 0.2s ease;
}

.theme-toggle-footer:hover svg {
  transform: rotate(15deg);
}

/* Auto theme styles */
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Override body bg-black to use more present website gradient */
body.bg-black {
  background: linear-gradient(180deg, 
    #000000 0%, 
    #111111 20%, 
    #242424 40%, 
    #1a1a1a 60%, 
    #111111 80%, 
    #000000 100%) !important;
}

[data-theme="light"] body.bg-black {
  background: linear-gradient(180deg, 
    #ffffff 0%, 
    #f1f5f9 20%, 
    #e5e7eb 40%, 
    #f1f5f9 60%, 
    #f8fafc 80%, 
    #ffffff 100%) !important;
}

.bg-black:not(body) {
  background-color: var(--bg-primary) !important;
}

.bg-gray-900\/50 {
  background-color: var(--bg-secondary) !important;
}

.text-white {
  color: var(--text-primary) !important;
}

.text-gray-300 {
  color: var(--text-secondary) !important;
}

.text-gray-400 {
  color: var(--text-tertiary) !important;
}

.border-gray-700 {
  border-color: var(--border-color) !important;
}

/* Light theme specific adjustments */
/* Hero overlays maintain dark appearance in both themes for video visibility */

/* Hero section stays dark in both light and dark modes */
/* Removed light mode overrides to maintain consistent dark hero appearance */

/* Light mode brand logos */
[data-theme="light"] .animate-scroll img {
  filter: brightness(0.3) contrast(1.2) invert(0) !important;
  opacity: 0.8 !important;
}

/* Light mode brand logos in Premium Brands section */
[data-theme="light"] .brand-logo {
  filter: brightness(0.4) contrast(1.3) invert(0) !important;
  opacity: 0.9 !important;
}

[data-theme="light"] .brand-card:hover .brand-logo {
  filter: brightness(0.2) contrast(1.4) invert(0) !important;
  opacity: 1 !important;
}

[data-theme="light"] .brand-logo-small {
  filter: brightness(0.4) contrast(1.3) invert(0) !important;
  opacity: 0.7 !important;
}

[data-theme="light"] .brand-logo-small:hover {
  filter: brightness(0.2) contrast(1.4) invert(0) !important;
  opacity: 1 !important;
}

/* Light mode navigation - Enhanced for robust blur */
/* Light theme header blur will be added systematically */

/* Light mode text adjustments */
[data-theme="light"] .text-red-600 {
  color: #DC2626 !important;
}

[data-theme="light"] h1, 
[data-theme="light"] h2, 
[data-theme="light"] h3 {
  color: var(--text-primary) !important;
}

/* Hero text maintains white styling in both light and dark modes */
[data-theme="light"] #home h1,
[data-theme="light"] #home h2,
[data-theme="light"] #home p,
[data-theme="light"] #home .text-red-600,
[data-theme="light"] #home .text-gray-300,
[data-theme="light"] #home .text-gray-400,
[data-theme="light"] #home .counter,
[data-theme="light"] #home .stats-container .text-gray-400 {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Hero red accent text stays red but with proper shadow */
[data-theme="light"] #home .text-red-600 {
  color: #DC2626 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Hero button styling in light mode */
[data-theme="light"] #home .btn-primary {
  background-color: #DC2626 !important;
  color: white !important;
  border-color: #DC2626 !important;
}

[data-theme="light"] #home .btn-primary:hover {
  background-color: #B91C1C !important;
  border-color: #B91C1C !important;
}

[data-theme="light"] #home .btn-secondary {
  background-color: transparent !important;
  color: white !important;
  border: 2px solid white !important;
}

[data-theme="light"] #home .btn-secondary:hover {
  background-color: white !important;
  color: #000000 !important;
}

/* Hero brand logos in white for light mode */
[data-theme="light"] #home .animate-scroll img {
  filter: brightness(0) invert(1) !important;
  opacity: 0.8 !important;
}

/* Light mode red accent text */
[data-theme="light"] .text-red-400 {
  color: #DC2626 !important;
}

/* Light mode form styling */
[data-theme="light"] .contact-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

[data-theme="light"] .form-input {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

[data-theme="light"] .form-label {
  color: var(--text-secondary);
}

[data-theme="light"] .form-input::placeholder {
  color: var(--text-tertiary);
}

/* Light mode checkbox styling */
[data-theme="light"] .checkbox-label {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

[data-theme="light"] .checkbox-label:hover {
  border-color: var(--color-red);
  background-color: var(--bg-tertiary);
}

[data-theme="light"] .form-checkbox {
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

[data-theme="light"] .form-checkbox:checked {
  background-color: var(--color-red);
  border-color: var(--color-red);
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Light mode file input */
[data-theme="light"] .file-input {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

[data-theme="light"] .file-input::-webkit-file-upload-button {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

/* Light mode card styling */
[data-theme="light"] .brand-card,
[data-theme="light"] .story-container,
[data-theme="light"] .about-container,
[data-theme="light"] .info-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

/* Light theme value card styling for consistency */
[data-theme="light"] .value-card {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

[data-theme="light"] .value-card h3,
[data-theme="light"] .value-card h4 {
  color: var(--text-primary);
}

[data-theme="light"] .value-card p,
[data-theme="light"] .value-card ul,
[data-theme="light"] .value-card li,
[data-theme="light"] .value-card div {
  color: var(--text-secondary);
}

[data-theme="light"] .value-card:hover {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: var(--color-red);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(220, 38, 38, 0.3);
}

[data-theme="light"] .dashboard-panel {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
}

/* Light mode button adjustments */
[data-theme="light"] .btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

[data-theme="light"] .btn-secondary:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

/* Light mode scroll indicator */
[data-theme="light"] .animate-bounce svg {
  color: var(--text-tertiary) !important;
}

/* Light mode sections also use transparent background */
[data-theme="light"] #home, 
[data-theme="light"] #values, 
[data-theme="light"] #brands, 
[data-theme="light"] #about, 
[data-theme="light"] #wholesale, 
[data-theme="light"] #partner,
[data-theme="light"] #contact,
[data-theme="light"] footer {
  background: transparent !important;
}

/* Light mode engine quote */
[data-theme="light"] .engine-quote {
  background: linear-gradient(135deg, 
    rgba(248, 250, 252, 0.8) 0%,
    rgba(241, 245, 249, 0.9) 100%);
  border-left: 4px solid var(--color-red);
}

/* Light mode mobile menu */
[data-theme="light"] .mobile-menu-open {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
}

/* Light mode mobile menu button */
[data-theme="light"] #mobile-menu-button {
  color: var(--text-primary);
}

[data-theme="light"] #mobile-menu-button:hover {
  background-color: var(--bg-tertiary);
}

/* Light mode mobile menu container */
[data-theme="light"] #mobile-menu {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

/* Light mode performance motto box */
[data-theme="light"] .bg-gray-900\/50 {
  background-color: var(--bg-tertiary) !important;
}

/* Light mode precision callout */
[data-theme="light"] .bg-gray-900\/40 {
  background-color: var(--bg-tertiary) !important;
}

/* Light mode signature motto */
[data-theme="light"] .bg-gray-900\/60 {
  background-color: var(--bg-secondary) !important;
}

/* Light mode handwritten SVG paths */
[data-theme="light"] .handwritten-svg-logo svg path {
  stroke: var(--text-primary) !important;
}

/* Light mode value card icons */
[data-theme="light"] .bg-red-600\/20 {
  background-color: rgba(220, 38, 38, 0.1) !important;
}

/* Light mode footer */
[data-theme="light"] footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

/* Light mode footer theme toggle */
[data-theme="light"] .theme-toggle-footer {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

[data-theme="light"] .theme-toggle-footer:hover {
  background: var(--bg-tertiary);
  border-color: var(--color-red);
}

/* Light mode any remaining gray backgrounds */
[data-theme="light"] .bg-gray-800 {
  background-color: var(--bg-tertiary) !important;
}

[data-theme="light"] .bg-gray-700 {
  background-color: var(--bg-secondary) !important;
}

/* Light mode TODAY badge fix */
[data-theme="light"] .bg-gray-700.text-white {
  background-color: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color) !important;
}

/* Light mode red banner text - keep white */
[data-theme="light"] .bg-red-600.text-white {
  color: #ffffff !important;
}

[data-theme="light"] .bg-gray-600 {
  background-color: var(--border-color) !important;
}

/* Light mode hover states for mobile menu button */
[data-theme="light"] .hover\\:bg-gray-800:hover {
  background-color: var(--bg-tertiary) !important;
}

/* Light mode border colors */
[data-theme="light"] .border-charcoal {
  border-color: var(--border-color) !important;
}

[data-theme="light"] .border-gray-800 {
  border-color: var(--border-color) !important;
}

/* Light mode FAQ section if it exists */
[data-theme="light"] .faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

/* Light mode contact form additional styling */
[data-theme="light"] .contact-form {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

/* Light mode any remaining dark text on light backgrounds */
[data-theme="light"] .text-gray-500 {
  color: var(--text-secondary) !important;
}

[data-theme="light"] .text-gray-600 {
  color: var(--text-secondary) !important;
}

[data-theme="light"] .text-gray-700 {
  color: var(--text-primary) !important;
}

[data-theme="light"] .text-gray-800 {
  color: var(--text-primary) !important;
}

[data-theme="light"] .text-gray-900 {
  color: var(--text-primary) !important;
}

/* Light mode hover states */
[data-theme="light"] .brand-card:hover,
[data-theme="light"] .story-container:hover,
[data-theme="light"] .about-container:hover,
[data-theme="light"] .info-container:hover {
  border-color: var(--color-red);
  background: var(--bg-tertiary);
}

/* Catalog card hover follows light theme styling */

[data-theme="light"] .dashboard-panel:hover {
  border-color: var(--color-red);
  background: var(--bg-secondary);
}

/* Light mode navigation links */
[data-theme="light"] .nav-link {
  color: var(--text-primary);
}

[data-theme="light"] .mobile-nav-link {
  color: var(--text-secondary);
}

[data-theme="light"] .mobile-nav-link:hover {
  color: var(--text-primary);
  background-color: var(--bg-tertiary);
}

/* Light theme uses light navigation blur for better contrast on light backgrounds */
[data-theme="light"] nav.blur-active {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Light theme navigation text should be dark for light blur background */
[data-theme="light"] nav.blur-active .nav-link,
[data-theme="light"] nav.blur-active a,
[data-theme="light"] nav.blur-active span,
[data-theme="light"] nav.blur-active .mobile-nav-link {
  color: #1a1a1a !important;
}

/* Light theme mobile menu button on scroll */
[data-theme="light"] nav.blur-active #mobile-menu-button {
  background: rgba(0, 0, 0, 0.1) !important;
  color: #1f2937 !important;
}

[data-theme="light"] nav.blur-active #mobile-menu-button svg {
  stroke: #1f2937 !important;
}

[data-theme="light"] nav.blur-active #mobile-menu-button svg path {
  stroke: #1f2937 !important;
}

/* Light theme mobile menu styling when navigation is scrolled */
[data-theme="light"] nav.blur-active #mobile-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none !important;
  border-radius: 0 0 16px 16px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  color: #1f2937 !important;
}

[data-theme="light"] nav.blur-active .mobile-nav-link:hover {
  color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.1) !important;
}

/* Light theme navigation text when NOT blurred stays light */
[data-theme="light"] nav:not(.blur-active) .nav-link,
[data-theme="light"] nav:not(.blur-active) a,
[data-theme="light"] nav:not(.blur-active) span,
[data-theme="light"] nav:not(.blur-active) .mobile-nav-link {
  color: white !important;
}

/* Light theme red accent color - context sensitive */
[data-theme="light"] nav.blur-active .text-red-600 {
  color: #DC2626 !important;
}

[data-theme="light"] nav:not(.blur-active) .text-red-600 {
  color: #DC2626 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .story-container,
  .about-container {
    padding: 1.5rem;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .car-image {
    min-height: 250px;
  }
  
  /* Stack content on mobile */
  .grid.lg\\:grid-cols-2 {
    gap: 2rem;
  }
}

.contact-card {
  padding: 2rem;
  background-color: var(--color-dark-gray);
  border-radius: 1rem;
  border: 1px solid var(--color-charcoal);
  transition: all var(--duration-default) var(--easing-default);
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-red);
}

/* Form Styles */
.form-group {
  margin-bottom: 0;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-light-gray);
  font-size: 0.875rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-dark-gray);
  border: 1px solid var(--color-gray);
  border-radius: 0.5rem;
  color: var(--color-white);
  font-size: 1rem;
  transition: all var(--duration-default) var(--easing-default);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input::placeholder {
  color: var(--color-medium-gray);
}

/* File Input */
.file-input {
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.file-input::-webkit-file-upload-button {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  margin-right: 1rem;
  transition: all var(--duration-default) var(--easing-default);
}

.file-input::-webkit-file-upload-button:hover {
  background-color: var(--color-red);
}

/* Checkbox Styles */
.checkbox-label {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background-color: var(--color-dark-gray);
  border: 1px solid var(--color-charcoal);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all var(--duration-default) var(--easing-default);
}

.checkbox-label:hover {
  border-color: var(--color-red);
}

.form-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  background-color: var(--color-black);
  border: 2px solid var(--color-gray);
  border-radius: 0.25rem;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-checkbox:checked {
  background-color: var(--color-red);
  border-color: var(--color-red);
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Select Dropdown */
select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239CA3AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5rem;
  padding-right: 3rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Textarea */
textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.8s var(--easing-default) forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .btn {
    width: 100%;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Mobile menu improvements */
  #mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: white !important;
    overflow: hidden;
  }
  
  .mobile-nav-link {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 0.5rem 1rem;
    transition: all 0.3s ease;
  }
  
  .mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
  }
  
  /* SIMPLIFIED MOBILE LOGO SLIDER */
  
  /* Logo slider container - simple absolute positioning */
  #home .absolute.overflow-hidden {
    position: absolute !important;
    bottom: 4rem !important; /* 64px from bottom */
    left: 0 !important;
    right: 0 !important;
    z-index: 95 !important;
    display: block !important;
    visibility: visible !important;
  }
  
     /* Logo slider animation - ensure it works */
   .animate-scroll {
     display: flex !important;
     visibility: visible !important;
     opacity: 1 !important;
     z-index: 95 !important;
     animation: scroll 35s linear infinite !important;
   }
  
     /* Logo images - bright and visible */
   .animate-scroll img {
     height: 1.5rem !important; /* 24px */
     margin-right: 1.5rem !important; /* 24px spacing */
     opacity: 1 !important;
     filter: brightness(4) invert(1) !important;
     display: inline-block !important;
     visibility: visible !important;
     flex-shrink: 0 !important;
   }
  
  /* SMALL SCREENS - COMPACT VERSION */
  @media (max-width: 480px) {
    /* Logo slider container - lower position */
    #home .absolute.overflow-hidden {
      bottom: 3rem !important; /* 48px from bottom */
    }
    
         /* Logo images - smaller but visible */
     .animate-scroll img {
       height: 1.25rem !important; /* 20px */
       margin-right: 1rem !important; /* 16px spacing */
       filter: brightness(5) invert(1) !important;
     }
  }
}

/* Loading State */
.btn-loading {
  position: relative;
  color: transparent;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: -0.75rem;
  margin-left: -0.75rem;
  border: 2px solid var(--color-white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success Message */
.success-message {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid #10B981;
  color: #10B981;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  animation: fadeIn var(--duration-default) var(--easing-default);
}

/* Error Message */
.error-message {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid #EF4444;
  color: #EF4444;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  animation: fadeIn var(--duration-default) var(--easing-default);
}

/* Utility Classes */
.text-red-600 {
  color: var(--color-red);
}

.bg-black {
  background-color: var(--color-black);
}

.bg-charcoal {
  background-color: var(--color-charcoal);
}

.border-charcoal {
  border-color: var(--color-charcoal);
}

/* Focus Visible */
*:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  nav, footer, #partner {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* Footer dark background */
footer {
  background: #000000 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}