/* 
  Nyíró Autósiskola – Eredeti WordPress (Elementor + Ninja Tables) pixelhű statikus stíluslap
  Nincs WordPress, nincs PHP, nincs lassulás – 100%-os vizuális egyezés az eredetivel.
*/

@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@400;600;700&family=Roboto:wght@300;400;500;600;700&display=swap');

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

body {
  font-family: 'Roboto', sans-serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ========================================================
   1. FEJLÉC TOP SÁV (#FFD67E SÁRGA HÁTTÉR)
   ======================================================== */
.top-header-section {
  background-color: #FFD67E;
  padding: 15px 0 10px 0;
}

.top-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  text-align: center;
}

.top-header-col {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.top-header-title {
  color: #FFFFFF;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.2;
}

.top-header-title a {
  color: #FFFFFF;
}

.icon-framed-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform 0.2s;
}

.icon-framed-circle svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

/* ========================================================
   2. LOGÓ ÉS CÍMEK SZEKCIÓ (#F8F8F8 VILÁGOSSZÜRKE HÁTTÉR)
   ======================================================== */
.brand-section {
  background-color: #F8F8F8;
  padding: 30px 0 25px 0;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.brand-col-left {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.brand-col-right {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.brand-logo-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin: 0 auto 12px auto;
  display: block;
}

.title-gepjarmuvezeto {
  color: #FF7E8B;
  font-family: 'Advent Pro', sans-serif;
  font-size: 33px;
  font-weight: 600;
  margin: 10px 0 6px 0;
  line-height: 1.2;
}

.subtitle-engedely {
  color: #B8B8B8;
  font-family: 'Advent Pro', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin: 4px 0;
  line-height: 1.2;
}

.portrait-img {
  max-width: 360px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
}

/* ========================================================
   3. FŐ TARTALOM + SLIDER SZEKCIÓ
   ======================================================== */
.main-intro-section {
  padding: 40px 0;
  background-color: #FFFFFF;
}

.main-intro-row {
  display: flex;
  align-items: flex-start;
  gap: 35px;
}

.slider-column {
  flex: 0 0 35%;
  min-width: 300px;
}

.intro-text-column {
  flex: 0 0 65%;
  text-align: justify;
}

/* Képslider a tanulóautókról */
.car-slider-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.car-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  background-size: cover;
  background-position: center;
}

.car-slide.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: #FBB92B;
  border: none;
  width: 36px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.65);
}

.slider-btn-prev {
  left: 6px;
}

.slider-btn-next {
  right: 6px;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.slider-dot.active {
  background: #FBB92B;
}

/* Szövegek a slider mellett */
.instructor-heading-main {
  color: #969696;
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 4px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  -webkit-text-stroke: 0.5px #000000;
}

.instructor-subtitle-main {
  color: #969696;
  font-family: 'Roboto', sans-serif;
  font-size: 21px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.intro-p {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #565454;
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: justify;
}

.intro-highlight {
  font-weight: 700;
  color: #333333;
  margin-top: 20px;
  display: block;
}

.instructors-block {
  margin-top: 14px;
  line-height: 1.6;
  font-size: 14px;
  color: #565454;
}

.instructors-block u {
  font-weight: 600;
}

/* ========================================================
   4. MUTATÓIM CÍMSOR SZEKCIÓ (#F8F8F8)
   ======================================================== */
.metrics-title-section {
  background-color: #F8F8F8;
  padding: 30px 0 20px 0;
  text-align: center;
}

.metrics-main-title {
  color: #2B2B2B;
  font-family: 'Roboto', sans-serif;
  font-size: 31px;
  font-weight: 600;
  margin-bottom: 8px;
}

.metrics-subtitle {
  color: #474646;
  font-family: 'Roboto', sans-serif;
  font-size: 21px;
  font-weight: 600;
}

/* ========================================================
   5. ÁRAK CÍMSOR SZEKCIÓ
   ======================================================== */
.prices-title-section {
  padding: 25px 0 10px 0;
  text-align: center;
}

.prices-main-title {
  color: #1E1E1E;
  font-family: 'Roboto', sans-serif;
  font-size: 31px;
  font-weight: 600;
}

/* ========================================================
   6. NINJA TABLES TÁBLÁZATOK (EREDETI STÍLUS)
   ======================================================== */
.tables-section {
  padding: 20px 0 40px 0;
}

.tables-wrapper {
  display: flex;
  flex-direction: column;
  gap: 35px;
  align-items: center;
}

.original-ninja-table {
  width: 100%;
  max-width: 635px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 3px;
  font-family: inherit;
}

.original-ninja-table tr.header-row {
  background: rgb(252, 205, 87);
}

.original-ninja-table tr.header-row td {
  padding: 9px;
  border: 1px solid rgb(0, 0, 0);
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  color: rgb(0, 0, 1);
  line-height: 1.2;
}

.original-ninja-table tr.data-row td {
  padding: 9px;
  border: 1px solid rgb(0, 0, 0);
  font-size: 15px;
  text-align: center;
  line-height: 1.2;
}

.original-ninja-table tr.data-row td.cell-label {
  color: rgb(0, 0, 1);
  font-weight: normal;
  background: #ffffff;
}

.original-ninja-table tr.data-row td.cell-value {
  color: rgb(255, 140, 0);
  font-weight: bold;
  background: #ffffff;
}

.original-ninja-table tr.data-row.bg-white td {
  background: #ffffff;
}

/* ========================================================
   7. VÁLLALKOZÁSI FELTÉTELEK SZEKCIÓ
   ======================================================== */
.terms-section {
  padding: 20px 0 35px 0;
  text-align: center;
}

.terms-link {
  color: #FCCD57;
  font-family: 'Roboto', sans-serif;
  font-size: 19px;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}

.terms-link:hover {
  color: #d9a326;
}

/* ========================================================
   8. LÁBLÉC TÉRKÉP ÉS ELÉRHETŐSÉG (#FFD67E SÁRGA HÁTTÉR)
   ======================================================== */
.footer-contact-section {
  background-color: #FFD67E;
  padding: 30px 0 20px 0;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-map-col {
  flex: 0 0 45%;
  min-width: 300px;
}

.footer-map-col iframe {
  width: 100%;
  height: 290px;
  border: 0;
  border-radius: 4px;
  display: block;
}

.footer-info-col {
  flex: 0 0 50%;
  min-width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-icon-circle svg {
  width: 14px;
  height: 14px;
  fill: #FFFFFF;
}

.footer-info-text {
  color: #FFFFFF;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.footer-info-text a {
  color: #FFFFFF;
}

/* ========================================================
   9. ALSÓ LÁBLÉC SÁV (COPYRIGHT, JOGI, SOCIAL)
   ======================================================== */
.bottom-footer-bar {
  background-color: #FFD67E;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  padding: 25px 0 30px 0;
}

.bottom-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.bottom-footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #54595f;
  font-size: 13px;
  font-weight: 300;
}

.bottom-footer-left a {
  color: #54595f;
}

.bottom-footer-left a:hover {
  text-decoration: underline;
}

.social-icons-list {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.social-icon-link {
  color: rgba(84, 89, 95, 0.73);
  display: inline-flex;
  transition: color 0.2s;
}

.social-icon-link:hover {
  color: #00ce1b;
}

.social-icon-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ========================================================
   RESPONZÍV MEGJELENÉS
   ======================================================== */
@media (max-width: 860px) {
  .main-intro-row {
    flex-direction: column;
  }
  .slider-column {
    width: 100%;
    flex: none;
  }
  .intro-text-column {
    width: 100%;
    flex: none;
  }
  .footer-contact-row {
    flex-direction: column;
  }
  .footer-map-col, .footer-info-col {
    width: 100%;
    flex: none;
  }
  .bottom-footer-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}
