@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=Poppins:wght@700;800&display=swap');

:root {
  --bg-primary: #050816;
  --bg-secondary: #0f172a;
  --card-bg: rgba(15, 23, 42, 0.92);
  --primary: #06b6d4;
  --primary-glow: rgba(6, 182, 212, 0.45);
  --secondary: #f97316;
  --secondary-glow: rgba(249, 115, 22, 0.45);
  --highlight: #22c55e;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --border: rgba(255, 255, 255, 0.08);
  --font-bebas: 'Bebas Neue', sans-serif;
  --font-poppins: 'Poppins', sans-serif;
  --font-inter: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-inter);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography & Core Elements */
h1, h2, h3, h4 {
  font-family: var(--font-bebas);
  letter-spacing: 2px;
  font-weight: normal;
}

h1 {
  font-size: 4rem;
  line-height: 1;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Common Classes & Layouts */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-orange {
  color: var(--secondary);
}

.text-cyan {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-bebas);
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: 0 0 20px var(--secondary-glow);
}

.btn-glow-orange {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 0 15px var(--secondary-glow);
}

.btn-glow-orange:hover {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
  box-shadow: 0 0 25px var(--secondary-glow);
}

/* Neon Borders */
.neon-border {
  border: 1px solid var(--border);
  position: relative;
}

.neon-border::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 10px rgba(6, 182, 212, 0.15);
  transition: var(--transition);
}

.neon-border:hover::after {
  box-shadow: inset 0 0 20px rgba(6, 182, 212, 0.4);
}

/* Sticky Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 8, 22, 0.75);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--bg-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 1px 0 var(--primary-glow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-poppins);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
}

.nav-logo svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 5px var(--primary));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

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

.nav-link.active {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: var(--transition);
}

/* Road Line Divider */
.road-divider {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary),
    var(--primary) 40px,
    transparent 40px,
    transparent 80px
  );
  box-shadow: 0 0 10px var(--primary-glow);
  margin: 4rem 0;
  opacity: 0.6;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(5,8,22,0.4) 0%, rgba(5,8,22,0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 1.5rem;
  margin-top: 80px;
}

.hero h1 {
  font-size: 5.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Feature Grid / Stats Section */
.stats-banner {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 4rem;
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
  line-height: 1;
}

.stat-item p {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* General Layout Sections */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3.5rem;
}

.section-header p {
  max-width: 600px;
  margin: 0.5rem auto 0 auto;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Card Styling */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.15);
}

.card-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--secondary);
  font-family: var(--font-bebas);
  letter-spacing: 1px;
}

.card-title {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.card-description {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: auto;
}

/* Specs Flex Group (Touring/Care/Gear specific info) */
.specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.spec-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-badge strong {
  color: var(--text-primary);
}

/* Footer style */
footer {
  background: var(--bg-secondary);
  border-top: 2px solid var(--primary);
  box-shadow: 0 -10px 30px rgba(6, 182, 212, 0.1);
  padding: 5rem 0 2rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-info h3 {
  font-family: var(--font-poppins);
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.footer-info p {
  margin-bottom: 1.5rem;
}

.footer-links h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-newsletter h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex-grow: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 4px;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Filter Component (Touring / Gallery / Care pages) */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.6rem 1.5rem;
  font-family: var(--font-bebas);
  font-size: 1.15rem;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: var(--bg-primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Timeline Layout for Events */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--border);
  top: 0; bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 2rem 3rem;
  position: relative;
  background: transparent;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--primary);
  border: 4px solid var(--bg-primary);
  top: 40px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-left {
  left: 0;
}

.timeline-right {
  left: 50%;
}

.timeline-right::after {
  left: -8px;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(5, 8, 22, 0.95);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: -40px; right: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Contact Details Card */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 3rem;
}

.contact-info-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-form-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: #fff;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-inter);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Accordion for FAQ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-family: var(--font-inter);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
}

.faq-icon {
  font-size: 1.5rem;
  transition: var(--transition);
  color: var(--primary);
}

.faq-content {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-content p {
  padding-bottom: 1.5rem;
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-content {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Legal Section layout */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4rem;
}

.legal-content h3 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.legal-content p {
  margin-bottom: 1.25rem;
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-content li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* Responsive Queries */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 1.5rem;
    transition: var(--transition);
    border-top: 1px solid var(--border);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btns .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .timeline::after {
    left: 40px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 0;
  }
  
  .timeline-right {
    left: 0;
  }
  
  .timeline-item::after {
    left: 32px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-content {
    padding: 2rem;
  }
}