/* ===== AUTOPARTDESK - Premium Auto Parts Store ===== */

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

:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --secondary: #1d3557;
  --accent: #f77f00;
  --dark: #0d1b2a;
  --dark-light: #1b263b;
  --light: #f1faee;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --success: #2ec4b6;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #e63946 0%, #f77f00 100%);
  --gradient-dark: linear-gradient(135deg, #0d1b2a 0%, #1d3557 100%);
  --gradient-hero: linear-gradient(135deg, rgba(13,27,42,0.92) 0%, rgba(29,53,87,0.88) 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-glow: 0 0 30px rgba(230,57,70,0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-right a {
  color: var(--white);
  opacity: 0.8;
  font-size: 14px;
}

.top-bar-right a:hover {
  opacity: 1;
  color: var(--accent);
}

/* ===== HEADER ===== */
.header {
  background: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

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

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

.logo-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--dark);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a {
  padding: 10px 18px;
  font-weight: 500;
  font-size: 15px;
  color: var(--dark);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(230,57,70,0.08);
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  z-index: 100;
  border: 1px solid var(--gray-light);
}

.nav-links .dropdown:hover .dropdown-content {
  display: block;
  animation: fadeInDown 0.3s ease;
}

.nav-links .dropdown-content a {
  display: block;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 6px;
}

.nav-links .dropdown-content a:hover {
  background: var(--light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(230,57,70,0.4);
}

.header-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,57,70,0.5);
}

.header-phone i {
  font-size: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark);
  padding: 5px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: float 15s infinite;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 20%; top: 60%; animation-delay: 2s; }
.hero-particles span:nth-child(3) { left: 30%; top: 40%; animation-delay: 4s; }
.hero-particles span:nth-child(4) { left: 50%; top: 80%; animation-delay: 6s; }
.hero-particles span:nth-child(5) { left: 70%; top: 30%; animation-delay: 8s; }
.hero-particles span:nth-child(6) { left: 80%; top: 70%; animation-delay: 10s; }
.hero-particles span:nth-child(7) { left: 90%; top: 50%; animation-delay: 12s; }
.hero-particles span:nth-child(8) { left: 40%; top: 10%; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  50% { transform: translateY(-200px) translateX(100px); }
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 25px;
  border: 1px solid rgba(255,255,255,0.2);
  animation: fadeInUp 0.8s ease;
}

.hero-badge i { color: var(--accent); }

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 35px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s both;
}

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

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

/* ===== SEARCH BOX ===== */
.search-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.15);
  animation: fadeInUp 0.8s ease 0.6s both;
}

.search-box h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box h3 i { color: var(--accent); }

.search-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.search-form select,
.search-form input {
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.search-form select {
  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='white' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 35px;
  cursor: pointer;
}

.search-form select option {
  background: var(--dark);
  color: var(--white);
}

.search-form select:focus,
.search-form input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,0.15);
}

.search-btn {
  grid-column: 1 / -1;
  padding: 16px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(230,57,70,0.5);
}

/* ===== FEATURES BAR ===== */
.features-bar {
  padding: 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  padding: 30px 25px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
  color: var(--white);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.feature-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230,57,70,0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== PARTS CATEGORIES ===== */
.parts-section { background: var(--white); }

.parts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.part-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
  position: relative;
}

.part-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.part-card-img {
  height: 180px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: var(--secondary);
  position: relative;
  overflow: hidden;
}

.part-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.part-card:hover .part-card-img::after {
  opacity: 0.1;
}

.part-card-body {
  padding: 22px;
}

.part-card-body h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.part-card-body p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 15px;
}

.part-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.part-card-link i {
  transition: var(--transition);
}

.part-card:hover .part-card-link i {
  transform: translateX(5px);
}

/* ===== BRANDS SECTION ===== */
.brands-section {
  background: var(--gradient-dark);
  padding: 80px 0;
}

.brands-section .section-title {
  color: var(--white);
}

.brands-section .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 15px;
}

.brand-card {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px 15px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  cursor: pointer;
}

.brand-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
  border-color: var(--primary);
}

.brand-card span {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  letter-spacing: 0.5px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--light); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 25px;
  box-shadow: 0 8px 25px rgba(230,57,70,0.4);
  position: relative;
}

.step-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.step-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--gradient-primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
}

.cta-content {
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-card {
  background: var(--light);
  padding: 30px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
  border: 1px solid transparent;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 40px;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
}

.testimonial-info h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

.testimonial-info .stars {
  color: var(--accent);
  font-size: 12px;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: var(--gradient-dark);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  color: var(--white);
}

.stat-item h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 42px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 14px;
  opacity: 0.8;
  font-weight: 500;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: var(--light);
  padding: 60px 0;
}

.newsletter-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-md);
}

.newsletter-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.newsletter-text p {
  color: var(--gray);
  font-size: 15px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.newsletter-form input {
  padding: 14px 22px;
  border: 2px solid var(--gray-light);
  border-radius: 50px;
  font-size: 14px;
  width: 320px;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.7;
  margin-top: 15px;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 16px;
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.5;
}

.footer-contact-item a:hover {
  color: var(--primary);
  opacity: 1;
}

.footer-bottom {
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.6;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
  opacity: 1;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(230,57,70,0.4);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(230,57,70,0.6);
}

/* ===== PAGE BANNER ===== */
/* Old page-banner block removed - see new block at line ~1700 */

/* (banner h1 and breadcrumb now handled by .page-banner-with-form rules above) */

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 100px;
  position: relative;
  overflow: hidden;
}

.about-img::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--gradient-primary);
  border-radius: 50%;
  bottom: -50px;
  right: -50px;
  opacity: 0.3;
}

.about-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.about-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature i {
  width: 40px;
  height: 40px;
  background: rgba(230,57,70,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--gradient-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
}

.contact-info-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.contact-info-item i {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 18px;
}

.contact-info-item h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.5;
}

.contact-info-item a:hover {
  color: var(--primary);
  opacity: 1;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 30px;
}

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

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(230,57,70,0.1);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

/* ===== PARTS LIST PAGE ===== */
.parts-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.parts-list-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

.parts-list-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.parts-list-card i {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 15px;
}

.parts-list-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.parts-list-card p {
  font-size: 13px;
  color: var(--gray);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .parts-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 38px; }
  .search-form { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .header .container { height: 70px; }
  .hero { min-height: 500px; }
  .hero h1 { font-size: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .parts-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-box { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-content h2 { font-size: 28px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .search-form { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ===== LOADING ANIMATION ===== */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PART DETAIL PAGE ===== */
.part-detail .form-group input:focus,
.part-detail .form-group select:focus,
.part-detail .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(230,57,70,0.1);
}

/* ===== PART LIST RESPONSIVE GRID ===== */
@media (max-width: 1024px) {
  .parts-grid-inner {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .parts-grid-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .category-header h3 {
    font-size: 18px !important;
  }
  .search-filter-bar {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .parts-grid-inner {
    grid-template-columns: 1fr !important;
  }
}

/* ===== QUOTE FORM ===== */
.quote-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 2px solid rgba(230,57,70,0.15);
}

.quote-form-header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 16px 20px;
  text-align: center;
}

.quote-form-header .qfh-icon {
  font-size: 22px;
  margin-right: 8px;
  display: inline;
}

.quote-form-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 2px;
  display: inline;
}

.quote-form-header p {
  font-size: 0.78rem;
  opacity: 0.9;
  margin: 2px 0 0;
}

.quote-form {
  padding: 18px 18px 14px;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quote-field {
  display: flex;
  flex-direction: column;
}

.quote-field label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-field label i {
  color: var(--primary);
  margin-right: 3px;
  font-size: 11px;
}

.quote-field input,
.quote-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #dde1e6;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  background: #f8f9fb;
  color: var(--dark);
  box-sizing: border-box;
}

.quote-field input:focus,
.quote-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
  background: var(--white);
}

.quote-field input::placeholder {
  color: #aab0b8;
}

.quote-submit-btn {
  width: 100%;
  padding: 12px;
  margin-top: 14px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.quote-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,57,70,0.35);
}

.quote-form-note {
  text-align: center;
  font-size: 0.68rem;
  color: var(--gray);
  margin-top: 10px;
}

.quote-form-note i {
  color: var(--success);
  margin-right: 3px;
}

/* ===== HERO + FORM GRID ===== */
.hero .container {
  position: relative;
  z-index: 5;
}

.hero-with-form {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
}

.hero-with-form .hero-content {
  padding-right: 10px;
}

.hero-with-form .hero-content .hero-badge,
.hero-with-form .hero-content h1,
.hero-with-form .hero-content > p {
  text-align: left;
}

/* ===== PAGE BANNER + FORM GRID ===== */
.page-banner {
  background: var(--gradient-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(230,57,70,0.08);
  border-radius: 50%;
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner-with-form {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  padding: 70px 0;
}

.page-banner-with-form .banner-text h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.page-banner-with-form .banner-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-banner-with-form .breadcrumb {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  font-size: 14px;
}

.page-banner-with-form .breadcrumb a {
  color: var(--accent);
}

.page-banner-with-form .breadcrumb a:hover {
  color: var(--white);
}

.page-banner-with-form .breadcrumb span {
  color: rgba(255,255,255,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero-with-form,
  .page-banner-with-form {
    grid-template-columns: 1fr 380px;
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .hero { min-height: auto; }
  .hero-with-form,
  .page-banner-with-form {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 50px 0;
  }
  .hero-with-form .hero-content,
  .page-banner-with-form .banner-text {
    text-align: center;
  }
  .hero-with-form .hero-content .hero-badge,
  .hero-with-form .hero-content h1,
  .hero-with-form .hero-content > p,
  .page-banner-with-form .banner-text h1,
  .page-banner-with-form .banner-text p {
    text-align: center;
  }
  .quote-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  .page-banner-with-form .breadcrumb {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .quote-form-grid {
    grid-template-columns: 1fr;
  }
  .quote-form {
    padding: 14px 14px 10px;
  }
  .quote-form-header {
    padding: 12px 14px;
  }
  .quote-form-header h3 {
    font-size: 1rem;
  }
  .hero-with-form,
  .page-banner-with-form {
    padding: 40px 0;
    gap: 20px;
  }
  .page-banner-with-form .banner-text h1 {
    font-size: 1.5rem;
  }
  .hero h1 {
    font-size: 24px;
  }
  .quote-submit-btn {
    padding: 11px;
    font-size: 13px;
  }
}

/* ===== BANNER GRID RESPONSIVE ===== */
@media (max-width: 992px) {
  .home-hero-grid,
  .site-banner-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
}
@media (max-width: 576px) {
  .home-hero-grid,
  .site-banner-grid {
    padding: 40px 16px !important;
  }
  .home-hero-grid h1,
  .site-banner-grid h1 {
    font-size: 24px !important;
  }
}

/* ===== FORM IN BANNER ===== */
.quote-form-wrapper.in-banner {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border: none;
  overflow: hidden;
  width: 100%;
}

.home-parts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .header-phone-desktop { display: none !important; }
  .top-bar { display: none !important; }
  .home-parts-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }
}

@media (max-width: 480px) {
  .home-parts-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
}
