/* Alkatrészellátás oldal stílusai */

/* Hero szekció */
.service-hero.spare-parts-hero {
  position: relative;
  min-height: 90vh;
  background-color: #f5f5f7;
  overflow: hidden;
}

.spare-parts-hero .hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(173, 255, 47, 0.05) 0%,
    rgba(10, 10, 10, 0.05) 100%
  );
  z-index: 1;
}

.spare-parts-hero .hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 90vh;
  position: relative;
  z-index: 2;
  align-items: center;
}

.spare-parts-hero .hero-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

.spare-parts-hero h1 {
  font-family: var(--regular-text);
  font-size: 4rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.spare-parts-hero .hero-subtitle {
  font-family: var(--regular-text);
  font-size: 2rem;
  color: #555;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.spare-parts-hero .hero-description {
  font-family: var(--regular-text);
  font-size: 1.2rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.spare-parts-hero .hero-cta-container {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1rem;
}

.spare-parts-hero .hero-cta {
  font-family: var(--regular-text);
  font-size: 1.1rem;
  font-weight: 600;
  background-color: var(--primary-light);
  color: black;
  border: none;
  border-radius: 30px;
  padding: 18px 36px;
  margin-top: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.spare-parts-hero .hero-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.spare-parts-hero .hero-secondary-link {
  color: #1a1a1a;
  text-decoration: none;
  font-family: var(--regular-text);
  font-size: 1.2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  margin-top: 0;
  line-height: 1;
  padding: 18px 18px;
  border: 2px solid transparent;
  border-radius: 30px;
  box-sizing: border-box;
}

.spare-parts-hero .hero-secondary-link .arrow-icon {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  line-height: 1;
  display: inline-block;
}

.spare-parts-hero .hero-secondary-link:hover {
  padding: 18px 18px;
  border: 2px solid var(--primary-light);
  border-radius: 30px;
}

.spare-parts-hero .hero-secondary-link:hover .arrow-icon {
  transform: translateX(5px);
}

.spare-parts-hero .hero-image-container {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spare-parts-hero .hero-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  object-fit: cover;
  z-index: 1;
}

.process-step p {
  font-family: var(--regular-text);
  line-height: 1.3;
  font-weight: 500;
  color: #555;
}

/* Reszponzív stílusok */
@media (max-width: 1200px) {
  .spare-parts-hero h1 {
    font-size: 3.2rem;
  }

  .spare-parts-hero .hero-description {
    font-size: 1.1rem;
    max-width: 95%;
  }
}

@media (max-width: 768px) {
  .spare-parts-hero {
    min-height: auto;
    padding: 4rem 0;
  }

  .spare-parts-hero .hero-content-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2rem;
  }

  .spare-parts-hero .hero-text-container {
    text-align: center;
    padding: 0;
  }

  .spare-parts-hero h1 {
    font-size: 2.8rem;
  }

  .spare-parts-hero .hero-subtitle {
    font-size: 1.5rem;
  }

  .spare-parts-hero .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .spare-parts-hero .hero-cta-container {
    justify-content: center;
  }

  .spare-parts-hero .hero-image-container {
    order: -1;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .spare-parts-hero h1 {
    font-size: 2.2rem;
  }

  .spare-parts-hero .hero-subtitle {
    font-size: 1.3rem;
  }

  .spare-parts-hero .hero-description {
    font-size: 1rem;
  }

  .spare-parts-hero .hero-cta-container {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .spare-parts-hero .hero-cta,
  .spare-parts-hero .hero-secondary-link {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 1rem;
  }

  .spare-parts-hero .hero-secondary-link:hover {
    padding: 15px 20px;
  }
}

.parts-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.part-category {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.part-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.part-category h3 {
  color: #c4161c;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.part-category-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
}

/* Készletinformáció szekció */
.stock-availability {
  background-color: #f5f5f5;
  padding: 40px 0;
}

.stock-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stock-availability .contact-subtitle {
  font-family: var(--regular-text);
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 0.5rem;
  text-align: center;
}

.stock-availability .contact-title {
  font-family: var(--regular-text);
  font-size: 2.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
  text-align: center;
}

.stock-availability .contact-title .highlight {
  color: var(--primary-light);
}

.stock-availability .contact-description {
  font-family: var(--regular-text);
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2.5rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.stock-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.stock-badge {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  min-width: 200px;
  text-align: center;
}

.badge-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #c4161c;
  margin-bottom: 10px;
}

/* Rendelési folyamat */
.ordering-process {
  margin: 60px 0;
  padding: 40px 0;
}

.ordering-process .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ordering-process .contact-subtitle {
  font-family: var(--regular-text);
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 0.5rem;
  text-align: center;
}

.ordering-process .contact-title {
  font-family: var(--regular-text);
  font-size: 2.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
  text-align: center;
}

.ordering-process .contact-title .highlight {
  color: var(--primary-light);
}

.ordering-process .contact-description {
  font-family: var(--regular-text);
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2.5rem;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 40px;
  gap: 20px;
}

.process-step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: #c4161c;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-weight: bold;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -10%;
  width: 20%;
  height: 2px;
  background-color: #ddd;
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}

/* Responsive kiegészítés */
@media (max-width: 992px) {
  .stock-badges {
    gap: 15px;
  }

  .stock-badge {
    min-width: 180px;
  }
}

.process-step h3 {
  font-size: 1.45rem;
  font-family: var(--regular-text);
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a1a1a;
}
