/* 
  AR OFF-ROAD RIDES - Global Stylesheet
  Luxurious & Sporty Off-Road Theme: Black + Red + White
  Featuring Glassmorphism, Premium Typography, and Custom Animations
*/

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

/* --- Theme Variables --- */
:root {
  --font-sans: 'Inter', sans-serif;
  --font-headings: 'Outfit', sans-serif;

  /* Color Palette */
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #121212;

  --primary-red: #dc2626;
  --primary-red-hover: #b91c1c;
  --primary-red-glow: rgba(220, 38, 38, 0.45);

  --text-white: #ffffff;
  --text-gray-light: #f3f4f6;
  --text-gray-muted: #a3a3a3;
  --text-dark: #1f2937;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-red: rgba(220, 38, 38, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

/* --- Structural Layout Utility --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* --- Glassmorphism Effects --- */
.glass {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
}

.glass-light {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-red {
  background: rgba(220, 38, 38, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(220, 38, 38, 0.25);
}

/* --- Text Gradients & Accents --- */
.gradient-text {
  background: linear-gradient(135deg, var(--text-white) 30%, #ef4444 80%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* --- Custom Keyframes & Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-headings);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--text-white);
  border: none;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  box-shadow: 0 0 25px var(--primary-red-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* --- Sticky Header Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  height: 70px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--primary-red);
  object-fit: cover;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-white);
}

.logo-text span {
  color: var(--primary-red);
}

.logo-tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-gray-muted);
  margin-top: -3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-gray-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icon-link {
  color: var(--text-gray-muted);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon-link:hover {
  color: var(--primary-red);
  transform: scale(1.15);
}

.search-btn-trigger {
  background: none;
  border: none;
  color: var(--text-gray-muted);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

.search-btn-trigger:hover {
  color: var(--text-white);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-smooth);
}

@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: var(--transition-smooth);
    z-index: 1050;
  }

  .nav-links.active {
    right: 0;
  }
}

@media (max-width: 768px) {
  .header .social-icon-link {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo-img {
    width: 32px;
    height: 32px;
  }
  .logo-text {
    font-size: 1.05rem;
  }
  .logo-tagline {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }
  .nav-actions {
    gap: 12px;
  }
}

/* Hamburger active states */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- Search Overlay --- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.search-container {
  width: 100%;
  max-width: 600px;
  padding: 20px;
  position: relative;
  text-align: center;
}

.search-input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  font-size: 2rem;
  font-family: var(--font-headings);
  font-weight: 700;
  padding: 10px 0;
  outline: none;
  text-align: center;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--primary-red);
}

.search-close-btn {
  position: absolute;
  top: -80px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-gray-muted);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-close-btn:hover {
  color: var(--text-white);
}

/* --- Hero Section & Background Slideshow --- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.05);
  transition-property: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  transition-duration: 2s, 8s;
  /* scale zooms out slowly while active */
}

.hero-image {
  width: 100%;
  height: 100%;
  object-position: cover;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.92) 100%);
  z-index: 2;
}

.hero-accent-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.hero-tagline-badge {
  display: inline-block;
  padding: 8px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #f87171;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-gray-light);
  margin-top: 10px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 0.2em;
    margin-bottom: 36px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    gap: 12px;
  }
}

.hero-scroll-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  color: var(--text-gray-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
  animation: bounce 2s infinite;
}

.hero-scroll-btn:hover {
  color: var(--primary-red);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* --- Section Title Header --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-family: var(--font-headings);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary-red);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.75rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.section-title span {
  color: var(--primary-red);
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: var(--primary-red);
  margin: 20px auto 0 auto;
  border-radius: 2px;
}

/* --- Products Catalog Section --- */
.filter-tabs-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-tab {
  padding: 10px 24px;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  color: var(--text-gray-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.filter-tab.active {
  background-color: var(--primary-red);
  color: var(--text-white);
  border-color: var(--primary-red);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Product Cards --- */
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(220, 38, 38, 0.05);
  border-color: rgba(220, 38, 38, 0.25);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 65%;
  /* Aspect ratio aspect-videoish */
  overflow: hidden;
  background-color: #050505;
}

.product-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10, 10, 10, 0.9) 100%);
  z-index: 2;
}

.product-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: var(--primary-red);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  z-index: 10;
}

.product-tag.out-of-stock {
  background-color: #4b5563;
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.product-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
}

.product-card-price {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-red);
  white-space: nowrap;
}

.product-card-desc {
  font-size: 0.875rem;
  color: var(--text-gray-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 44px;
}

.product-mini-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.mini-spec-badge {
  font-size: 0.72rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-gray-light);
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.product-card-actions .btn {
  padding: 10px 16px;
  font-size: 0.75rem;
}

/* --- About Us Section --- */
.about {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.about-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text-content h3 {
  font-size: 1.75rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-paragraph {
  color: var(--text-gray-muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.team-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.02);
}

.team-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition-smooth);
}

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

.team-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-red);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.team-name {
  font-size: 1.2rem;
  font-weight: 700;
}

/* --- Contact Us Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(220, 38, 38, 0.1);
  border: 1px solid var(--border-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--text-gray-light);
}

.contact-details p {
  color: var(--text-gray-muted);
  font-size: 0.95rem;
}

.contact-details a:hover {
  color: var(--primary-red);
}

.map-container {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.contact-form-box {
  padding: 40px;
  border-radius: var(--radius-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-gray-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary-red);
  background-color: rgba(255, 255, 255, 0.05);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* --- Footer --- */
.footer {
  background-color: #030303;
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand h4 {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-gray-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray-muted);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-nav-col h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-nav-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-red);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: var(--text-gray-muted);
  font-size: 0.9rem;
}

.footer-links-list a:hover {
  color: var(--text-white);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  color: var(--text-gray-muted);
  font-size: 0.9rem;
}

.footer-contact-list i {
  color: var(--primary-red);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-gray-muted);
  font-size: 0.8rem;
}

/* --- Modals Setup (Base UI) --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content-wrapper {
  width: 100%;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content-wrapper {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  transform: rotate(90deg);
}

.modal-scrollable-body {
  overflow-y: auto;
  padding: 40px;
  max-height: calc(90vh - 2px);
}

@media (max-width: 768px) {
  .modal-scrollable-body {
    padding: 24px;
  }
}

/* --- Product Details Modal Styling --- */
.details-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Modal Gallery Carousel */
.details-gallery {
  position: relative;
  width: 100%;
}

.gallery-main-wrapper {
  position: relative;
  width: 100%;
  padding-top: 70%;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: #050505;
}

.gallery-main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition-fast);
}

.gallery-nav-btn:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}

.gallery-prev-btn {
  left: 15px;
}

.gallery-next-btn {
  right: 15px;
}

.gallery-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.gallery-thumb {
  width: 70px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.gallery-thumb:hover {
  opacity: 0.9;
}

.gallery-thumb.active {
  border-color: var(--primary-red);
  opacity: 1;
}

/* Details specs info panel */
.details-info-panel h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.details-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.details-price {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary-red);
}

.details-stock-badge {
  padding: 4px 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background-color: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.details-stock-badge.out-of-stock {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.details-desc-text {
  color: var(--text-gray-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.details-colors-row {
  margin-bottom: 24px;
}

.details-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-gray-light);
  margin-bottom: 8px;
  display: block;
}

.colors-wrapper {
  display: flex;
  gap: 10px;
}

.color-chip {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.8rem;
  color: var(--text-gray-light);
}

.details-features-row {
  margin-bottom: 30px;
}

.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 480px) {
  .features-list {
    grid-template-columns: 1fr;
  }
}

.features-list li {
  font-size: 0.85rem;
  color: var(--text-gray-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.features-list i {
  color: var(--primary-red);
  font-size: 0.8rem;
}

.details-specs-table-wrapper {
  margin-top: 30px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 10px 0;
  font-size: 0.875rem;
}

.spec-name {
  color: var(--text-gray-muted);
  font-weight: 500;
  width: 40%;
}

.spec-val {
  color: var(--text-white);
  font-weight: 600;
}

.details-modal-actions {
  margin-top: 35px;
}

/* --- Buy Now Order Form Modal --- */
.order-form-modal {
  max-width: 650px;
}

.order-form-title {
  font-size: 1.75rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.order-form-subtitle {
  font-size: 0.875rem;
  color: var(--text-gray-muted);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-light);
}

.order-selected-bike-badge {
  background: rgba(220, 38, 38, 0.05);
  border: 1px solid var(--border-red);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.order-bike-name {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-white);
}

.order-bike-price {
  color: var(--primary-red);
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.order-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

@media (max-width: 480px) {
  .order-actions-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.btn-email {
  background-color: #0284c7;
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

.btn-email:hover {
  background-color: #0369a1;
  box-shadow: 0 0 25px rgba(2, 132, 199, 0.4);
  transform: translateY(-2px);
}

/* --- Floating Actions & Call Widgets --- */
.floating-widget-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  pointer-events: none;
}

.floating-widget-bar .float-logo-badge,
.floating-widget-bar .float-action-btn {
  pointer-events: auto;
}

.float-action-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.float-action-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.float-whatsapp {
  background-color: #25d366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.float-call {
  background-color: var(--primary-red);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* --- AI Chatbot Widget (Bottom Right) --- */
.chatbot-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.chatbot-trigger-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary-red);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: auto;
}

.chatbot-trigger-btn:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 0 30px var(--primary-red-glow);
}

.chatbot-trigger-btn .close-icon {
  display: none;
}

.chatbot-trigger-btn.active .chat-icon {
  display: none;
}

.chatbot-trigger-btn.active .close-icon {
  display: block;
}

/* Chat window box */
.chat-window {
  width: 380px;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

@media (max-width: 480px) {
  .chat-window {
    width: calc(100vw - 48px);
    height: 450px;
  }
}

.chat-window.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.chat-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(10, 10, 10, 0.9) 100%);
  border-bottom: 1px solid var(--border-light);
}

.chat-bot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.1rem;
  border: 1px solid var(--border-red);
}

.chat-bot-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.chat-status-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-gray-muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  display: inline-block;
}

.chat-history-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: rgba(5, 5, 5, 0.95);
}

.chat-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.45;
}

.chat-bubble.bot {
  background-color: var(--bg-tertiary);
  color: var(--text-gray-light);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid var(--border-light);
}

.chat-bubble.user {
  background-color: var(--primary-red);
  color: var(--text-white);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.15);
}

/* Typing indicator bubble */
.typing-bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 2px;
  padding: 12px 18px;
  align-self: flex-start;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-gray-muted);
  border-radius: 50%;
}

/* Quick reply selection panel */
.chat-quick-replies-wrapper {
  padding: 12px 16px;
  background-color: rgba(8, 8, 8, 0.98);
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 130px;
  overflow-y: auto;
}

.quick-reply-btn {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  color: var(--text-gray-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.quick-reply-btn:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--text-white);
}