/* ===========================================
   SECTIONS - Header, Banner, Home, About, Products, Oil Finder, Contact, Footer
   Dark Futuristic Theme
   =========================================== */

/* ---- Header (Semi-transparent, neon accents) ---- */
.header {
  width: 100%;
  padding: 15px 30px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, rgba(10,10,15,0.85), rgba(10,10,15,0.4));
  color: var(--color-text-light);
  box-shadow: none;
  border-bottom: 1px solid rgba(200,16,46,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.header--scrolled {
  padding: 8px 30px;
  backdrop-filter: blur(16px);
  background: rgba(10,10,15,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 1px 0 rgba(200,16,46,0.15);
  border-bottom: 1px solid rgba(200,16,46,0.2);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
}
.header__logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--radius-md);
  margin-right: 12px;
  filter: drop-shadow(0 0 0px red);
  transition: all var(--transition-normal), filter 0.4s ease;
}
.header__logo-img:hover {
  filter: drop-shadow(0 0 10px red);
}
.header--scrolled .header__logo-img {
  width: 50px;
  height: 50px;
}

.header__brand {
  display: flex;
  flex-direction: column;
}
.header__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.header__subtitle {
  font-size: 12px;
  color: rgba(208,208,208,0.8);
  font-style: italic;
  letter-spacing: 0.5px;
  max-height: 24px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.4s ease;
}
.header--scrolled .header__subtitle {
  max-height: 0;
  opacity: 0;
  margin: 0;
}

/* ---- Navigation ---- */
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  position: relative;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  background-color: #111118;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
  flex-direction: column;
  min-width: 120px;
  padding: 5px 0;
  z-index: 1000;
  border: 1px solid rgba(200,16,46,0.1);
}
.lang-dropdown button {
  width: 100%;
  padding: 8px 12px;
  justify-content: flex-start;
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.lang-dropdown button:hover {
  background-color: rgba(200,16,46,0.15);
  color: var(--color-primary-light);
}

/* ---- Mobile Menu ---- */
.menu-button {
  display: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
.menu-icon {
  width: 28px;
  height: 28px;
  color: var(--color-text-light);
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  background-color: var(--color-surface-dark);
  border-radius: var(--radius-md);
  padding: 10px 0;
  width: 100%;
}

/* ---- Banner (Hero with reference image) ---- */
.banner {
  width: 100%;
  min-height: clamp(380px, 55vw, 620px);
  position: relative;
  background: url('../icons/hero-dark-banner.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 var(--space-xl);
  color: var(--color-text-light);
  overflow: hidden;
}

/* Multi-layer overlay for depth */
.banner__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,12,0.85) 0%, rgba(8,8,12,0.6) 30%, rgba(8,8,12,0.15) 50%, transparent 65%),
    linear-gradient(180deg, rgba(8,8,12,0.4) 0%, transparent 15%, transparent 85%, rgba(8,8,12,0.6) 100%);
  z-index: 1;
}
/* Neon glow accent line at bottom */
.banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c8102e 20%, #ff4444 50%, #c8102e 80%, transparent);
  box-shadow: 0 0 15px rgba(200,16,46,0.5), 0 0 30px rgba(200,16,46,0.2);
  z-index: 3;
}

.banner__content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 20px;
  padding: var(--space-2xl) 0 var(--space-2xl) var(--space-xl);
}
/* Vertical red accent line next to content */
.banner__content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, transparent, #c8102e 30%, #ff4444 50%, #c8102e 70%, transparent);
  box-shadow: 0 0 10px rgba(200,16,46,0.5);
  border-radius: 2px;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

.banner__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.1;
  color: #ffffff;
  text-shadow:
    0 0 40px rgba(255,255,255,0.25),
    0 0 80px rgba(200,16,46,0.15),
    0 2px 4px rgba(0,0,0,0.9);
  animation: textGlow 4s ease-in-out infinite, fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Red accent on a keyword */
.banner__title-accent {
  color: var(--color-primary);
  text-shadow:
    0 0 30px rgba(200,16,46,0.6),
    0 0 60px rgba(200,16,46,0.3);
}

.banner__subtitle {
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.8;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s both;
}
/* Colored highlights within subtitle */
.banner__subtitle-hl {
  color: var(--color-accent);
  font-weight: 700;
}

/* CTA Button — glass morphism with neon edge */
.banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-sm);
  padding: 14px 36px;
  background: linear-gradient(135deg, rgba(200,16,46,0.9), rgba(230,57,70,0.9));
  color: #ffffff;
  font-size: clamp(0.8rem, 1.3vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,68,68,0.3);
  box-shadow:
    0 0 20px rgba(200,16,46,0.4),
    0 0 40px rgba(200,16,46,0.15),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: neonPulse 3s ease-in-out infinite, fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
  position: relative;
  overflow: hidden;
}
/* Shimmer effect on CTA */
.banner__cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  animation: ctaShimmer 4s ease-in-out infinite;
}
.banner__cta:hover {
  box-shadow:
    0 0 30px rgba(200,16,46,0.7),
    0 0 60px rgba(200,16,46,0.3),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(255,68,68,0.5);
}

@keyframes ctaShimmer {
  0%, 100% { left: -60%; }
  50% { left: 120%; }
}

/* ---- Main Content ---- */
.content {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  min-height: 60vh;
}

/* ---- Section ---- */
.section {
  animation: fadeInUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.section__content {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.3),
    0 1px 4px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.03);
  border: 1px solid rgba(200,16,46,0.06);
  background-image: radial-gradient(circle at 50% 0%, rgba(200,16,46,0.03) 0%, transparent 50%);
  position: relative;
}
.section__info {
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--color-text);
}

/* ---- Home Section ---- */
.home-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.home-welcome {
  text-align: center;
  padding: var(--space-md) 0 var(--space-sm);
}
.home-welcome h2 {
  font-size: var(--fs-h1);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}
.black-bold-text {
  font-size: var(--fs-body);
  color: var(--color-text);
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto;
}

/* ---- Showcase Grid (kept for CSS but removed from HTML) ---- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.showcase-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-elevated);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,16,46,0.06);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}
.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.showcase-card__image-wrap {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #161622, #1a1a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  overflow: hidden;
}
.showcase-card__image {
  width: 85%;
  height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.3));
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.showcase-card:hover .showcase-card__image {
  transform: scale(1.08);
}
.showcase-card__caption {
  padding: 10px var(--space-md);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-dark);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---- Home Block (Section Headers) ---- */
.home-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.home-block__header {
  text-align: center;
}
.home-block__title {
  font-size: var(--fs-h2);
  color: var(--color-text-dark);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
}

/* ---- Feature Cards ---- */
.home-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.home-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-surface-elevated);
  border: 1px solid rgba(200,16,46,0.06);
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.3s ease;
  cursor: pointer;
}
.home-feature:hover {
  background: #1a1a2e;
  border-color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(200,16,46,0.15), 0 0 20px rgba(200,16,46,0.05);
  transform: translateY(-2px);
}
.home-feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #c8102e, #e63946);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.home-feature:hover .home-feature__icon {
  transform: scale(1.08);
}

/* Vary icon gradient colors by nth-child */
.home-feature:nth-child(1) .home-feature__icon {
  background: linear-gradient(135deg, #c8102e, #e63946);
}
.home-feature:nth-child(2) .home-feature__icon {
  background: linear-gradient(135deg, #0c8e91, #4db6ac);
}
.home-feature:nth-child(3) .home-feature__icon {
  background: linear-gradient(135deg, #e6850a, #f0a830);
}
.home-feature:nth-child(4) .home-feature__icon {
  background: linear-gradient(135deg, #4338ca, #6366f1);
}

.home-feature__text {
  flex: 1;
  min-width: 0;
}
.home-feature__text h4 {
  font-size: var(--fs-body);
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--color-text-dark);
}
.home-feature__text p {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.home-feature__arrow {
  flex-shrink: 0;
  font-size: 24px;
  color: var(--color-text-muted);
  transition: color 0.3s ease, transform 0.3s ease;
  font-weight: 300;
}
.home-feature:hover .home-feature__arrow {
  color: var(--color-primary);
  transform: translateX(3px);
}

/* ---- Home Final ---- */
.home-final-text {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  font-style: italic;
  padding: var(--space-sm) 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---- About Section ---- */
.about-page {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

/* About Hero */
.about-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.about-hero__badge {
  display: inline-block;
  padding: 6px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(200,16,46,0.12);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  animation: badgePulse 3s ease-in-out infinite;
}
.about-hero__title {
  font-size: var(--fs-h1);
  color: var(--color-text-dark);
  margin: 0 0 var(--space-md);
  font-weight: 800;
  line-height: 1.2;
}
.about-hero__subtitle {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Mission Statement */
.about-mission {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background:
    linear-gradient(135deg, rgba(200,16,46,0.06) 0%, rgba(200,16,46,0.10) 50%, rgba(200,16,46,0.05) 100%);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.about-mission__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c8102e, #e63946);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-mission__text {
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--color-text);
  margin: 0;
  font-style: italic;
  quotes: none;
}

/* Stats Row */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.about-stat {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-surface-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200,16,46,0.06);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.about-stat:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 32px rgba(200,16,46,0.15),
    0 4px 8px rgba(0,0,0,0.3);
  border-color: rgba(200,16,46,0.2);
}
.about-stat__number {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
  transition: color 0.35s ease, transform 0.35s ease;
}
.about-stat:hover .about-stat__number {
  color: var(--color-primary-light);
  transform: scale(1.05);
}
.about-stat__label {
  display: block;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Value Proposition Cards */
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.about-value {
  padding: var(--space-xl);
  background: var(--color-surface-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200,16,46,0.06);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.about-value::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #e63946);
  opacity: 0.3;
  transition: opacity 0.35s ease;
}
.about-value:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 20px rgba(200,16,46,0.1);
}
.about-value:hover::before {
  opacity: 1;
}
.about-value__icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(200,16,46,0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}
.about-value__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0 0 8px;
}
.about-value__desc {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Gallery Section */
.about-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.about-gallery__header {
  text-align: center;
}
.about-gallery__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0 0 6px;
}
.about-gallery__subtitle {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin: 0;
}

/* ---- Products Grid ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  padding: var(--space-md) 0;
}

/* ---- Oil Finder Section ---- */
.oil-finder-section {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: var(--space-lg);
}

.oil-finder-section .white-bg-text {
  text-align: center;
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.oil-finder-section .vehicle-search-text {
  font-size: var(--fs-small);
  margin-bottom: var(--space-md);
}

/* Tab switcher */
.oil-finder-header {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.vehicle-option {
  padding: 14px 36px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--fs-body);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid rgba(255,255,255,0.08);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  letter-spacing: 0.4px;
  user-select: none;
}
.vehicle-option:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 18px rgba(200,16,46,0.2);
  transform: translateY(-2px);
  background: rgba(200,16,46,0.08);
}
.vehicle-option.active {
  background: linear-gradient(135deg, #c8102e 0%, #e63946 100%);
  color: var(--color-text-light);
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(200,16,46,0.35);
  transform: translateY(-1px);
}

/* Category cards grid */
.categories-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-lg);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-width: 130px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.category-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 22px rgba(200,16,46,0.2);
  transform: translateY(-3px);
}
.category-card.active {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, rgba(200,16,46,0.06), rgba(200,16,46,0.12));
  box-shadow: 0 6px 24px rgba(200,16,46,0.25);
  transform: translateY(-1px);
}
.category-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
}
.category-card:hover img,
.category-card.active img {
  transform: scale(1.1);
}
.category-name {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}

/* Dropdowns */
.dropdowns-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 500px;
  margin: 0 auto var(--space-lg);
}

.dropdowns-container select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-body);
  font-family: var(--font-primary);
  background: var(--color-surface);
  color: var(--color-text);
  appearance: none;
  cursor: pointer;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238888a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.dropdowns-container select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200,16,46,0.15);
}
.dropdowns-container select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Search button */
.search-button {
  display: block;
  margin: 0 auto var(--space-lg);
  padding: 12px 36px;
  font-size: var(--fs-body);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: 0.5px;
}
.search-button.enabled {
  background: linear-gradient(135deg, #c8102e 0%, #e63946 100%);
  color: var(--color-text-light);
  box-shadow: 0 4px 15px rgba(200,16,46,0.3);
}
.search-button.enabled:hover {
  box-shadow: 0 6px 25px rgba(200,16,46,0.45);
  transform: translateY(-2px);
}
.search-button.disabled {
  background: #1e1e30;
  color: #555;
  cursor: not-allowed;
}

/* Vehicle Search container */
.vehicle-search-container {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.search-input-container {
  position: relative;
  display: flex;
  gap: var(--space-sm);
}

.search-input {
  flex: 1;
  padding: 14px 18px 14px 44px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-body);
  font-family: var(--font-primary);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238888a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
}
.search-input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200,16,46,0.15);
}
.search-input::placeholder {
  color: var(--color-text-muted);
}

.search-input-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, #c8102e 0%, #e63946 100%);
  color: var(--color-text-light);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--fs-body);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.search-input-btn:hover {
  box-shadow: 0 4px 15px rgba(200,16,46,0.35);
  transform: translateY(-1px);
}

/* Type suggestions dropdown */
.type-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  max-height: 220px;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  z-index: 100;
  margin-top: 4px;
}

.type-suggestion {
  padding: 10px 16px;
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: var(--fs-small);
  color: var(--color-text);
}
.type-suggestion:hover {
  background: rgba(200,16,46,0.1);
  color: var(--color-primary-light);
}
.type-suggestion:last-child {
  border-bottom: none;
}

/* Search results */
.search-results {
  margin-top: var(--space-lg);
}

.search-results-line {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  border-radius: 2px;
  margin-bottom: var(--space-lg);
  box-shadow: 0 0 10px rgba(200,16,46,0.3);
}

.result-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  animation: fadeInUp 0.4s ease;
}

/* Vehicle info card */
.vehicle-info {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(200,16,46,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.vehicle-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #c8102e, #e63946);
  border-radius: 2px 0 0 2px;
}
.vehicle-info > img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: var(--radius-md);
  padding: 8px;
  filter: brightness(0) invert(1);
}
.vehicle-text h3 {
  font-size: var(--fs-h2);
  color: var(--color-text-dark);
  margin-bottom: 4px;
}
.vehicle-text p {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
}

/* Equipment info */
.equipment-info {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  width: 100%;
  margin-top: var(--space-sm);
}
.equipment-card {
  background: rgba(200,16,46,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  border-left: 3px solid var(--color-primary);
}
.equipment-card h4 {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.equipment-card p {
  font-size: var(--fs-body);
  color: var(--color-text-dark);
  font-weight: 700;
}

/* Accordions */
.accordion {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  overflow: hidden;
  border: 1px solid rgba(200,16,46,0.06);
  transition: box-shadow var(--transition-normal);
}
.accordion:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.accordion.open {
  box-shadow: 0 4px 16px rgba(200,16,46,0.15);
  border-color: rgba(200,16,46,0.15);
}

.accordion__header {
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-normal);
  user-select: none;
}
.accordion__header:hover {
  background: rgba(200,16,46,0.08);
}
.accordion__header h4 {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--color-text-dark);
}
.accordion__chevron {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  transition: transform var(--transition-normal);
  line-height: 1;
}

.accordion__body {
  padding: 0 18px 16px;
}

/* Component sections inside accordion */
.comp-section {
  margin-bottom: var(--space-md);
}

.props-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(200,16,46,0.12), rgba(200,16,46,0.06));
  color: var(--color-primary-light);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(200,16,46,0.2);
}

/* Oil cards grid */
.oils-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-md);
}

.oil-card {
  background: linear-gradient(135deg, #111118 0%, #161622 100%);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  border: 1px solid rgba(200,16,46,0.06);
  transition: all 0.3s ease;
  cursor: default;
}
.oil-card:hover {
  border-color: rgba(200,16,46,0.25);
  box-shadow: 0 4px 12px rgba(200,16,46,0.15);
  transform: translateY(-2px);
}
.oil-card img {
  width: 60px;
  height: 80px;
  object-fit: contain;
  margin-bottom: var(--space-sm);
}
.oil-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-dark);
  word-break: break-word;
  line-height: 1.3;
}

/* Section separator */
.section-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,16,46,0.3), transparent);
  margin: var(--space-md) 0;
}

/* Empty state */
.empty-note {
  text-align: center;
  padding: var(--space-xl);
  color: var(--color-text-muted);
  font-size: var(--fs-body);
  font-style: italic;
}

/* Inline loading spinner for results */
.oil-finder-section .loading-overlay {
  position: relative;
  display: flex;
  justify-content: center;
  padding: var(--space-2xl);
  background: none;
  width: auto;
  height: auto;
  z-index: auto;
}
.oil-finder-section .spinner {
  width: 40px;
  height: 40px;
  position: relative;
}
.oil-finder-section .spinner .ring {
  display: block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(200,16,46,0.15);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.oil-finder-section .spinner .center {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ---- Contact Section ---- */
.contact-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.contact-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(200,16,46,0.06);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-red-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.4),
    0 0 0 1px rgba(200,16,46,0.15);
}
.contact-card:hover::before {
  transform: scaleX(1);
}
.contact-card img {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  filter: brightness(0) invert(1) drop-shadow(0 3px 8px rgba(0,0,0,0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}
/* Preserve colored icons (WhatsApp) */
.contact-card img[src*="whats"] {
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.3));
}
.contact-card:hover img {
  transform: scale(1.15);
}
.contact-card a {
  color: var(--color-primary-light);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-card a:hover {
  color: var(--color-primary);
}
.contact-card-label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  letter-spacing: 0.2px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: var(--fs-small);
  font-weight: 500;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
}
.social-link:hover {
  color: var(--color-primary-light);
  transform: translateY(-5px);
  background: rgba(200,16,46,0.08);
}
.social-link img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: linear-gradient(135deg, #161622, #1a1a2e);
  padding: 4px;
}
/* Invert dark/black-only icons for visibility on dark theme */
.social-link img[src*="tiktok"],
.social-link img[src*="thread"] {
  filter: invert(1);
  background: none;
}
.social-link:hover img {
  box-shadow: 0 8px 24px rgba(200,16,46,0.3);
  transform: scale(1.1);
}

/* ---- Footer (Dark + Neon) ---- */
.footer {
  background: linear-gradient(180deg, #0a0a12 0%, #060609 100%);
  color: var(--color-text-light);
  padding: 0;
  margin-top: auto;
  border-top: 1px solid rgba(200,16,46,0.3);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(200,16,46,0.8), transparent);
  box-shadow: 0 0 10px rgba(200,16,46,0.5);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 0.9fr 0.9fr;
  gap: var(--space-2xl);
  padding: var(--space-3xl) 0 var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__col-title {
  font-size: var(--fs-body);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}
.footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(200,16,46,0.4);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.footer__logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 0 8px rgba(200,16,46,0.4));
}
.footer__brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer__tagline {
  font-size: var(--fs-small);
  color: rgba(200,16,46,0.8);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.3px;
}

.footer__desc {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 0;
}

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-md);
}

.footer__contact-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.footer__link {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: var(--fs-small);
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: block;
}
.footer__link:hover {
  color: var(--color-primary-light);
  padding-left: 4px;
}

.footer__nav-link {
  padding: 5px 0;
}

.footer__social-icons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer__social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(200,16,46,0.1);
}
.footer__social-link:hover {
  background: linear-gradient(135deg, rgba(200,16,46,0.25), rgba(230,57,70,0.2));
  border-color: rgba(200,16,46,0.4);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(200,16,46,0.3);
}
.footer__social-link svg {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}
.footer__social-link:hover svg {
  color: #fff;
}

.footer__bottom {
  padding: var(--space-lg) 0 var(--space-xl);
  text-align: center;
}

.footer__copyright {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.3px;
}

/* ===== Certification Section ===== */
.home-certifications {
  text-align: center;
  padding: var(--space-xl) 0;
}
.home-certifications__title {
  font-size: var(--fs-h2);
  color: var(--color-text-dark);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.home-certifications__subtitle {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-normal);
}
.cert-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.cert-badge {
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-surface-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200,16,46,0.08);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.cert-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #e63946);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.cert-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(200,16,46,0.15), 0 0 20px rgba(200,16,46,0.05);
}
.cert-badge:hover::before {
  transform: scaleX(1);
}
.cert-badge__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(200,16,46,0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.cert-badge:hover .cert-badge__icon {
  background: linear-gradient(135deg, #c8102e, #e63946);
  color: #fff;
  transform: scale(1.1);
}
.cert-badge__label {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}
.cert-badge__desc {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: var(--line-height-normal);
}

/* ===== ASTM Standards Strip ===== */
.astm-strip {
  background: linear-gradient(135deg, #0d0d18, #111122, #151530);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
  color: var(--color-text-light);
  margin-top: var(--space-lg);
  border: 1px solid rgba(200,16,46,0.08);
}
.astm-strip__title {
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-md);
}
.astm-strip__items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.astm-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.astm-item:hover {
  border-color: rgba(200,16,46,0.5);
  background: rgba(200,16,46,0.1);
  box-shadow: 0 0 15px rgba(200,16,46,0.15);
}
.astm-item__code {
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--color-primary-light);
}
.astm-item__name {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ===== About Quality Section ===== */
.about-quality {
  text-align: center;
  padding: var(--space-xl) 0;
}
.about-quality__title {
  font-size: var(--fs-h2);
  color: var(--color-text-dark);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.about-quality__subtitle {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-normal);
}

/* ===== Footer Certification Badges ===== */
.footer__cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.footer__cert-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(200,16,46,0.9);
  border: 1px solid rgba(200,16,46,0.3);
  border-radius: var(--radius-full);
  background: rgba(200,16,46,0.08);
}
