/* ----- RESET & ALAPOK (színek: rgba(45,58,66) = #2D3A42, rgba(237,27,36) = #ED1B24, fehér) ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", sans-serif;
  background-color: #ecf0f4; /* világos háttér, közel fehér */
  color: #2d3a42; /* sötét szürke */
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* az oldal legalább a képernyő magassága */
  margin: 0;
  padding: 0;
  min-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ----- HEADER ----- */
.header {
  background: #2d3a42;
  box-shadow: 0 2px 12px rgba(45, 58, 66, 0.08);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 4px solid #ed1b24;
}

.logo {
  height: 70px;
}

.logo:hover {
  cursor: pointer;
}

.logo span {
  color: #ed1b24;
}

.nav a {
  margin-left: 2rem;
  font-weight: 500;
  color: #ffffff;
  transition: color 0.2s;
}
.nav a:hover {
  color: #ed1b24;
}

/* ----- OLDALAK (JS váltja) ----- */
.page {
  display: none;
  padding: 2rem 1.5rem 4rem;
  max-width: 80%;
  margin: 0 auto;
}
.page.active {
  display: block;
  flex: 1;
}

/* ----- KEZDŐOLDAL (ELADNÉK / VENNÉK) ----- */
.home-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.home-title {
  font-size: 2.8rem;
  font-weight: 300;
  color: #2d3a42;
  margin-bottom: 0.5rem;
}
.home-title strong {
  font-weight: 700;
  color: #ed1b24;
}
.home-sub {
  font-size: 1.2rem;
  color: #5a6a7a;
  margin-bottom: 3rem;
}

.choice-grid {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.choice-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 12px 30px rgba(45, 58, 66, 0.06);
  padding: 3rem 4rem;
  width: 280px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.choice-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(45, 58, 66, 0.1);
  border-color: #ed1b24;
}

.choice-card .icon {
  font-size: 3.8rem;
  display: block;
  margin-bottom: 0.5rem;
}
.choice-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3a42;
}
.choice-card p {
  color: #5a6a7a;
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* ----- AUTÓK LISTÁJA (VENNÉK) ----- */
.buy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.buy-header h1 {
  font-size: 2.2rem;
  font-weight: 300;
  color: #2d3a42;
}
.buy-header h1 strong {
  font-weight: 700;
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.car-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(45, 58, 66, 0.04);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(45, 58, 66, 0.08);
}

.car-image {
  height: 250px;
  background: #eaeef2; /* világos szürke */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #2d3a42;
  font-weight: 300;
}
.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.car-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3a42;
}
.car-details {
  margin: 0.5rem 0 0.25rem;
  color: #5a6a7a;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
.car-details span {
  background: #f0f3f6;
  padding: 0.2rem 0.7rem;
  border-radius: 30px;
  font-size: 0.85rem;
}

.car-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2d3a42;
  margin: 0.75rem 0 0.25rem;
  margin-top: auto;
}
.car-price small {
  font-weight: 400;
  font-size: 1rem;
  color: #5a6a7a;
}

.car-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ----- GOMBOK ----- */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
  text-align: center;
  background: #f0f3f6;
  color: #2d3a42;
}
.btn:hover {
  transform: scale(0.97);
}

.btn-primary {
  background: #2d3a42; /* sötét szürke */
  color: #ffffff;
}
.btn-primary:hover {
  background: #1f2a30;
}

.btn-accent {
  background: #ed1b24; /* piros */
  color: #ffffff;
}
.btn-accent:hover {
  background: #c4141c;
}

.btn-outline {
  background: transparent;
  border: 2px solid #2d3a42;
  color: #2d3a42;
}
.btn-outline:hover {
  background: #2d3a42;
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 48px 60px;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 40%,
      rgba(204, 34, 34, 0.07) 0%,
      transparent 65%
    ),
    linear-gradient(160deg, #e8eaee 0%, #f2f4f7 50%, #ede8e8 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 60px,
    rgba(204, 34, 34, 0.06) 60px,
    rgba(204, 34, 34, 0.06) 61px
  );
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeUp 0.9s ease both;
}
.hero-stats-row {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 52px;
}
.hero-stat {
  padding: 20px 40px;
  border-right: 1px solid rgba(30, 37, 48, 0.2);
}
.hero-stat:last-child {
  border-right: none;
}
.hero-stat-num {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: 52px;
  line-height: 1;
  color: #1e2530;
}
.hero-stat-num span {
  color: red;
}
.hero-stat-label {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #5a6a7e;
  margin-top: 6px;
}
.hero-choices {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero {
  padding: 96px 20px 48px;
}
.hero-choices {
  flex-direction: row;
  align-items: stretch;
}

/* ----- MODAL (BESZÁMÍTÁSI AJÁNLAT) ----- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(45, 58, 66, 0.45);
  backdrop-filter: blur(4px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #ffffff;
  max-width: 580px;
  width: 100%;
  border-radius: 32px;
  padding: 2.5rem 2.5rem 2.2rem;
  box-shadow: 0 30px 60px rgba(45, 58, 66, 0.2);
  animation: modalFade 0.25s ease;
}

@keyframes modalFade {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-box h2 {
  font-size: 1.8rem;
  font-weight: 300;
  color: #2d3a42;
  margin-bottom: 0.25rem;
}
.modal-box h2 strong {
  font-weight: 700;
}
.modal-box .sub {
  color: #5a6a7a;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.modal-box .car-ref {
  background: #f0f3f6;
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  display: inline-block;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: #2d3a42;
}

.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2d3a42;
  margin-bottom: 0.25rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid #d0d8e0;
  border-radius: 16px;
  font-size: 1rem;
  background: #fafcfd;
  transition: border 0.2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ed1b24;
}
.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}
.modal-actions .btn {
  flex: 1;
  min-width: 120px;
}

.btn-close-modal {
  background: transparent;
  border: 2px solid #d0d8e0;
  color: #2d3a42;
}
.btn-close-modal:hover {
  background: #f0f3f6;
}

/* ----- RESPONSZIVITÁS ----- */
@media (max-width: 680px) {
  .header {
    padding: 0 1rem;
    height: 60px;
  }
  .logo {
    height: 60px;
  }
  .nav a {
    margin-left: 1rem;
    font-size: 0.9rem;
  }

  .home-title {
    font-size: 2rem;
  }
  .choice-card {
    width: 100%;
    max-width: 300px;
    padding: 2rem 1.5rem;
  }
  .choice-grid {
    gap: 1.5rem;
  }

  .buy-header h1 {
    font-size: 1.6rem;
  }
  .car-grid {
    grid-template-columns: 1fr;
  }

  .modal-box {
    padding: 1.8rem 1.2rem;
  }
  .modal-actions .btn {
    flex: 1 1 100%;
  }
  .hero-stats-row {
    flex-wrap: wrap;
  }

  .hero-stat {
    border-right: none;
  }
}

@media (max-width: 480px) {
  .home-title {
    font-size: 1.6rem;
  }
  .home-sub {
    font-size: 1rem;
  }
  .choice-card .icon {
    font-size: 2.8rem;
  }
  .choice-card h2 {
    font-size: 1.6rem;
  }
}

/* ====== AUTÓ RÉSZLETEK OLDAL – EGYOSZLOPOS (képek felül, leírás alul) ====== */
.car-detail-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

/* Vissza gomb */
.back-button {
  align-self: flex-start;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #2d3a42;
  cursor: pointer;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}
.back-button:hover {
  color: #ed1b24;
}

/* --- KÉPGALÉRIA (teljes szélesség) --- */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 90%;
  margin: auto;
}

.gallery-main {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(45, 58, 66, 0.06);
  aspect-ratio: 4 / 3;
  max-height: 850px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaeef2;
  width: 100%;
}

.gallery-main img {
  width: 100%;
  object-fit:cover;
  object-position: center center;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  color: #2d3a42;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
  z-index: 5;
}
.gallery-nav:hover {
  background: #ffffff;
}
.gallery-nav.prev {
  left: 12px;
}
.gallery-nav.next {
  right: 12px;
}

.image-counter {
  position: absolute;
  bottom: 12px;
  right: 16px;
  background: rgba(45, 58, 66, 0.7);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.25rem 0.8rem;
  border-radius: 30px;
  backdrop-filter: blur(4px);
}

.gallery-thumbnails {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}
.gallery-thumbnails::-webkit-scrollbar {
  height: 6px;
}
.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: #c0c8d0;
  border-radius: 10px;
}
.gallery-thumbnails img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: all 0.2s;
  flex-shrink: 0;
}
.gallery-thumbnails img:hover,
.gallery-thumbnails img.active-thumb {
  border-color: #ed1b24;
  opacity: 1;
}

/* --- AUTÓ INFORMÁCIÓK (teljes szélesség alul) --- */
.car-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

/* Cím és ár nagyobb méretben */
.car-info .car-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3a42;
  line-height: 1.2;
  margin: 0;
}

.car-info .car-price {
  font-size: 2.4rem;
  font-weight: 700;
  color: #2d3a42;
  margin: 0;
}

.car-description,
.car-felszereltseg {
  color: #3e4b55;
  font-size: 1rem;
  line-height: 1.6;
}

/* Gombok */
.car-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ----- SPECIFIKÁCIÓS BLOKKOK (a car-specs-ben) ----- */
.car-specs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.spec-group {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(45, 58, 66, 0.04);
}

.spec-group-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ed1b24;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f3f6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed #e0e5ea;
  padding-bottom: 0.5rem;
  font-size: 0.95rem;
  word-break: normal; /* megakadályozza a betűnkénti törést */
  overflow-wrap: normal;
}

.spec-item dt {
  font-weight: 600;
  color: #2d3a42;
  flex-shrink: 0;
  margin-right: 1rem;
}
.spec-item dd {
  text-align: right;
  color: #4f5b68;
  word-break: normal;
  overflow-wrap: normal;
}

/* Leírás / felszereltség a spec-ek között */
.spec-group .car-description p,
.spec-group .equipment-list p {
  margin: 0;
  color: #3e4b55;
  line-height: 1.6;
  word-break: normal;
}

/* Elérhetőség kiemelt blokk */
.spec-contact {
  background: #f8f9fb;
  border: 1px solid #e0e5ea;
}
.spec-contact .spec-item dd a {
  color: #ed1b24;
  font-weight: 600;
  text-decoration: underline;
}
.spec-contact .spec-item dd a:hover {
  color: #b0141b;
}

/* ----- RESPONZIVITÁS ----- */
@media (max-width: 768px) {
  .spec-list {
    grid-template-columns: 1fr; /* mobilon egyoszloposak a spec-ek */
  }
  .car-info .car-title {
    font-size: 1.6rem;
  }
  .car-info .car-price {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .gallery-main {
    aspect-ratio: 4/3;
  }
  .car-actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* ----- LAPOZÓ GOMBOK (oldalGomb) ----- */
#oldalak {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.oldalGomb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 30px;
  border: 2px solid #d0d8e0; /* világos szürke keret */
  background: #ffffff; /* fehér háttér */
  color: #2d3a42; /* sötét szürke szöveg */
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.oldalGomb:hover {
  background: #f0f3f6; /* világos szürke hover */
  border-color: #2d3a42;
  transform: scale(0.96);
}

.oldalGomb:active {
  transform: scale(0.92);
}

/* Aktív oldal kiemelése */
.oldalGomb.aktiv {
  background: #ed1b24; /* piros háttér */
  border-color: #ed1b24;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(237, 27, 36, 0.3);
}

.oldalGomb.aktiv:hover {
  background: #c4141c;
  border-color: #c4141c;
  transform: none;
}

/* Reszponzív finomítás */
@media (max-width: 480px) {
  .oldalGomb {
    min-width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
    padding: 0 0.5rem;
  }
  #oldalak {
    gap: 0.3rem;
  }
}

.oldalGombNyil {
  font-size: 1.2rem;
  font-weight: 700;
  background: #f0f3f6; /* világos szürke háttér */
  border-color: #d0d8e0; /* világos szürke keret */
  color: #2d3a42; /* sötét szürke szöveg */
}
.oldalGombNyil:hover {
  background: #e0e5ea; /* sötétebb szürke hover */
  border-color: #2d3a42;
  transform: scale(0.96);
  cursor: pointer;
}

#erdekelBtn {
  width: 48%;
  margin: auto;
}
#beszamitBtn {
  width: 48%;
  margin: auto;
}

footer {
  background: #2d3a42;
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 4px solid #ed1b24;
  margin-top: auto;
}
.footer-logo img {
  height: 80px;
}
.footer-copy {
  font-size: 12px;
  color: gray;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: gray;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-links a:hover {
  color: red;
}

/* ----- KAPCSOLAT OLDAL ----- */
.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

.contact-title {
  font-size: 2.2rem;
  font-weight: 300;
  color: #2d3a42;
  margin-bottom: 2rem;
  text-align: center;
}
.contact-title strong {
  font-weight: 700;
  color: #ed1b24;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-block {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  box-shadow: 0 6px 18px rgba(45, 58, 66, 0.04);
}
.info-block h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3a42;
  margin-bottom: 0.8rem;
  border-bottom: 3px solid #ed1b24;
  padding-bottom: 0.4rem;
  display: inline-block;
}
.info-block p {
  margin: 0.5rem 0;
  color: #2d3a42;
  line-height: 1.6;
}
.info-block a {
  color: #ed1b24;
  text-decoration: none;
}
.info-block a:hover {
  text-decoration: underline;
}
.info-block em {
  color: #5a6a7a;
  font-style: italic;
}

.contact-map {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  box-shadow: 0 6px 18px rgba(45, 58, 66, 0.04);
}
.contact-map h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3a42;
  margin-bottom: 0.8rem;
  border-bottom: 3px solid #ed1b24;
  padding-bottom: 0.4rem;
  display: inline-block;
}
.contact-map iframe {
  width: 100%;
  height: 90%;
  border-radius: 16px;
  margin-top: 0.5rem;
}

/* ----- CSAPAT ----- */
.team-section {
  margin-top: 2.5rem;
}
.team-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2d3a42;
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 3px solid #ed1b24;
  display: inline-block;
  padding-bottom: 0.4rem;
}
.team-section h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.team-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 6px 18px rgba(45, 58, 66, 0.04);
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: 1px solid transparent;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(45, 58, 66, 0.08);
  border-color: #ed1b24;
}

.team-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ed1b24;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  text-transform: uppercase;
}

.team-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3a42;
  margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.9rem;
  color: #5a6a7a;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.team-phone {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2d3a42;
  margin-bottom: 0.3rem;
}
.team-email {
  font-size: 0.85rem;
}
.team-email a {
  color: #ed1b24;
  text-decoration: none;
  word-break: break-all;
}
.team-email a:hover {
  text-decoration: underline;
}

/* ----- RESPONSZIVITÁS ----- */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-map iframe {
    height: 250px;
  }
}

@media (max-width: 600px) {
  .contact-title {
    font-size: 1.8rem;
  }
  .info-block {
    padding: 1rem 1.2rem;
  }
  .contact-map {
    padding: 1rem 1.2rem;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .team-card {
    padding: 1rem 0.8rem;
  }
  .team-avatar {
    width: 55px;
    height: 55px;
    font-size: 1.2rem;
  }
}

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


/* ----- SZŰRŐPANEL ----- */
.filter-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0 2rem;
    box-shadow: 0 6px 18px rgba(45, 58, 66, 0.04);
    border: 1px solid #eef0f2;
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.filter-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #2D3A42;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 2px solid #d0d8e0;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #fafcfd;
    color: #2D3A42;
    transition: border-color 0.2s;
    font-family: inherit;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #ED1B24;
}

.filter-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-range input {
    flex: 1;
}

.filter-range span {
    color: #5a6a7a;
    font-weight: 600;
}

.filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.filter-actions .btn {
    min-width: 120px;
}

.filter-result {
    font-weight: 600;
    color: #2D3A42;
    margin-left: auto;
    font-size: 0.95rem;
}

/* Reszponzív finomhangolás */
@media (max-width: 768px) {
    .filter-section {
        padding: 1rem 1.2rem;
    }
    .filter-row {
        grid-template-columns: 1fr 1fr;
    }
    .filter-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-actions .btn {
        width: 100%;
    }
    .filter-result {
        margin-left: 0;
        text-align: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .filter-row {
        grid-template-columns: 1fr;
    }
    .filter-range {
        flex-wrap: nowrap;
    }
    .filter-range input {
        min-width: 0;
    }
}