/* --- 1. ALAPSTÍLUSOK ÉS TIPOGRÁFIA --- */
body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.8;
  background-color: #fff;
  margin: 0;
}

h1,
h2,
h3 {
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

/* --- 2. GLOBÁLIS STRUKTÚRA --- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

section {
  padding: 60px 0;
}

.content-section {
  background-color: #fdfaf3; /* Finom bézs/csontszín */
  border-top: 1px solid #f2eee3;
}

/* --- 3. HERO SZEKCIÓ --- */
.hero-section {
  /* Csak a színátmenet marad, a hibás kép hivatkozást kivettük: */
  background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    )
    center/cover no-repeat;
  padding: 10px 0 60px;
}
.subtitle {
  display: block;
  color: #d4a017;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.section-intro {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 30px auto; /* A '0 auto' középre helyezi a blokkot vízszintesen */
  text-align: center; /* Ez pedig a szöveget magát teszi középre */
}

.text-content-top {
  max-width: 800px;
  margin: 0 auto 60px auto;
  text-align: center;
  font-size: 1.1rem;
}

/* --- 4. KÉTOSZLOPOS ELRENDEZÉS (SPLIT LAYOUT) --- */
.split-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 70px;
  justify-content: space-between;
}

.text-content {
  flex: 1.2;
  text-align: left;
}

.image-content {
  flex: 0.8;
}

.rounded-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* --- 5. KÁRTYÁK ÉS PILLÉREK --- */
.pillars-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.pillar-card {
  background: #fdfaf3;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #f2eee3;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

/* Ikonok stílusa */
.card-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.icon-yin-yang {
  color: #2c3e50;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}
.icon-elements {
  color: #e67e22;
  filter: drop-shadow(0 5px 15px rgba(230, 126, 34, 0.2));
}
.icon-meridians {
  color: #f1c40f;
  filter: drop-shadow(0 5px 15px rgba(241, 196, 15, 0.3));
}

.pillar-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.pillar-card:hover .icon-meridians {
  text-shadow: 0 0 15px rgba(241, 196, 15, 0.4);
}

/* Kártyán belüli listák */
.card-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
  font-size: 0.95rem;
}

.card-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  line-height: 1.4;
  color: #555;
}

.card-list li::before {
  content: "•";
  color: #d4a017;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

/* --- 6. KIEMELÉSEK ÉS IDÉZETEK --- */
blockquote {
  font-size: 1.4rem;
  font-style: italic;
  color: #1a1a1a;
  border-left: 5px solid #d4a017;
  margin: 40px 0;
  background: #fff;
  padding: 30px 30px 30px 25px;
  border-radius: 0 20px 20px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mission-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  color: #444;
}

.mission-list i {
  color: #d4a017;
  font-size: 1.2rem;
  margin-top: 5px;
}

/* --- 7. CTA (CALL TO ACTION) SZEKCIÓ --- */
.cta-clean-section {
  padding: 100px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.cta-card {
  background-color: #ffffff;
  padding: 60px 40px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 0 auto;
}

.cta-subtitle {
  display: block;
  color: #d4a017;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.cta-title {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 25px;
  font-weight: 700;
}

.cta-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

/* --- FEJLŐDÉSI SZAKASZOK SZÍNE --- */
.master-section {
  background-color: #fdfaf3; /* Ugyanaz a finom bézs, mint a többi tartalomnál */
  border-top: 1px solid #f2eee3;
  border-bottom: 1px solid #f2eee3;
}

/* --- FILOZÓFIA SZEKCIÓ SZÉPÍTVE --- */
.philosophy-section {
  padding: 100px 0;
  background-color: #fcfcfc; /* Nagyon finom szürke háttér */
  text-align: center;
}

/* Díszítő elem stílusa */
.divider {
  margin: 20px auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.divider::before,
.divider::after {
  content: "";
  width: 40px;
  height: 1px;
  background: #d4a017;
  opacity: 0.5;
}

.divider i {
  color: #d4a017;
  font-size: 8px; /* Apró pötty középen */
}

.philosophy-clean-text {
  max-width: 700px; /* Szűkebb konténer az elegánsabb tördelésért */
  margin: 0 auto;
  line-height: 2; /* Szellősebb sorok */
  color: #444;
}

.philosophy-clean-text .lead-text {
  font-size: 1.35rem;
  color: #1a1a1a;
  font-weight: 500;
  margin-bottom: 35px;
}

.philosophy-clean-text p {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

/* Az utolsó mondat kiemelése */
.highlight-quote {
  color: #d4a017 !important;
  font-weight: 600;
  font-size: 1.2rem !important;
  margin-top: 40px;
}

/* --- 9. NAGYMESTER BIO SZEKCIÓ --- */
.master-bio-section {
  padding: 120px 0; /* Bőséges térköz alul-felül */
  background-color: #f6f8f4;
  position: relative;
}

/* Egyedi osztott elrendezés a bio-hoz */
.master-split-layout {
  display: flex;
  align-items: center; /* Függőlegesen középre zár */
  gap: 70px; /* Nagyobb távolság a kép és szöveg között */
}

/* Kép konténer és keret */
.master-image-container {
  flex: 1; /* A kép konténere a szélesség felét foglalja */
  display: flex;
  justify-content: center;
}

.master-img-frame {
  position: relative;
  width: 100%;
  max-width: 420px; /* A kép maximális szélessége */
  aspect-ratio: 4 / 5; /* Elegáns, álló formátum */
  background-color: #fdfaf3; /* Finom bézs "alap" a képnek */
  border-radius: 30px; /* Erős kerekítés a kép alapján */
  padding: 15px; /* Távolság a kerettől */
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.07); /* Mély, finom árnyék */
  border: 1px solid #f2eee3;
}

.master-photo {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Kitölti a keretet, de nem torzít */
  border-radius: 20px; /* A belső kép kerekítése */
}

/* Dekoratív arany pöttyök a kép mögött */
.img-deco-patter {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(#d4a017 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.2;
  z-index: -1; /* A kép mögé kerül */
}

/* Szöveges tartalom finomhangolása */
.master-text-content {
  flex: 1.2; /* A szöveg egy kicsit szélesebb, mint a kép */
  text-align: left;
}

.master-text-content h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
}

.master-text-content .lead-text {
  font-size: 1.25rem;
  color: #1a1a1a;
  line-height: 1.7;
  margin-bottom: 35px;
  font-weight: 500;
}

.bio-details p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.8;
}
.master-bio-section .section-header.centered {
  text-align: center;
  margin-bottom: 60px; /* Távolság a cím és a lenti tartalom között */
}

/* Eltávolítjuk a címet a szöveges részből, mert felkerült középre */
.master-text-content {
  flex: 1.2;
  text-align: left; /* A leírás maga maradhat balra zárt az olvashatóságért */
}

/* Speciális méretezés az 5 szint szekcióhoz */
.master-section .image-content {
  flex: 0.9; /* Megnöveljük a kép helyét (korábban 0.8 volt) */
}

.master-section .text-content {
  flex: 0.8; /* A szövegnek kevesebb helyet hagyunk, így a kép tágulhat */
}

.master-section .rounded-img {
  max-width: 100%; /* Engedjük, hogy kitöltse a rendelkezésre álló helyet */
  transform: scale(
    1
  ); /* Egy extra 10%-os nagyítás, ha még nagyobbat szeretnél */
  transform-origin: center;
}

/* Beginnings Detailed Section Styles */
.beginnings-detailed-section {
  padding: 80px 0;
  color: #4a4a4a;
  line-height: 1.8;
}

.centered {
  text-align: center;
  margin-bottom: 50px;
}

.section-intro {
  max-width: 750px;
  margin: 20px auto 0;
  font-size: 1.15rem;
  font-style: italic;
}

.content-block {
  margin-bottom: 40px;
}

.features-row {
  display: flex;
  gap: 30px;
  margin: 40px 0;
}

.feature-card {
  flex: 1;
  background: #fdfaf7;
  padding: 30px;
  border-radius: 8px;

  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 1.5rem;
  color: #e67e22;
  margin-bottom: 15px;
}

.styled-steps {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.styled-steps li {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 35px;
}

.quote-text {
  font-size: 1.3rem;
  color: #888;
  font-style: italic;
  margin: 40px 0 20px;
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.section-footer-note {
  text-align: center;
}

/* Ikon alapstílus */
.card-icon i {
  font-size: 40px; /* Megnövelt méret a látványért */
  margin-bottom: 20px;
  display: block;
  transition: transform 0.3s ease;
}

/* Arany szín a fa ikonnak */
.icon-gold {
  color: #d4af37; /* Elegáns arany */
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Narancs szín a levél ikonnak */
.icon-orange {
  color: #e67e22; /* Az oldalad fő színe */
  text-shadow: 0 0 10px rgba(230, 126, 34, 0.2);
}

/* Kis ikonok a listához */
.icon-orange-small {
  color: #e67e22;
  font-size: 0.8rem;
  margin-top: 6px;
}

/* Hover effekt: kicsit megmozdul az ikon, ha fölé viszed az egeret */

.styled-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}

/* Konténer a kártyáknak */
.titles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 egyenlő oszlop */
  gap: 20px; /* Távolság a kártyák között */
  margin-top: 30px;
}

/* Egy darab kártya stílusa */
.title-card {
  background: #fdfaf7; /* Enyhe krémszín, mint a feature-card-nál */
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #d4a017; /* Narancs díszcsík az oldalán */
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.title-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.title-card i {
  font-size: 1.2rem;
  color: #d4a017;
  margin-top: 4px;
}

.card-text strong {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-size: 1rem;
}

.card-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #666;
}

/* Az egész blokk kerete és margója */
.master-titles-section {
  margin: 60px 0; /* Alsó és felső margó, hogy elváljon a többi résztől */
  padding: 20px; /* Belső távolság */
}

/* A cím középre igazítása */
.master-titles-section h3 {
  text-align: center;
  margin-bottom: 40px; /* Távolság a cím és a kártyák között */
  font-size: 1.8rem;
  color: #333;
}

/* Ha a kártyákat is szeretnéd kicsit beljebb húzni a szélekről */
.titles-grid {
  max-width: 1000px; /* Korlátozzuk a szélességet, hogy ne nyúljon túl szélesre */
  margin: 0 auto; /* Középre helyezi a rácsot a tartályon belül */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
/* --- Final CTA Section --- */
.final-cta-section {
    padding: 100px 0;
    background-color: #fcfaf7; /* Nagyon halvány krém háttér a szekciónak */
}

.cta-card-premium {
    position: relative;
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
}

/* Hoverre megjelenő finom arany keret */
.cta-card-premium:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.12);
}

/* Dekorációs kör a háttérben */
.cta-deco-circle {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 15px 0;
}

.cta-divider {
    width: 60px;
    height: 3px;
    background: #d4af37;
    margin: 20px auto;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.cta-extra-text {
    font-weight: 600;
    color: #d4af37;
    font-size: 1.1rem;
    margin-bottom: 35px;
}

/* A GOMB - Kapszula forma, mobilon egy soros marad */
.btn-primary-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #d4af37;
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary-gold:hover {
    background-color: #b8962d;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* MOBIL NÉZET - Itt oldjuk meg, hogy kiférjen egy sorba */
@media (max-width: 768px) {
    .final-cta-section {
        padding: 60px 20px;
    }
    
    .cta-card-premium {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .btn-primary-gold {
        width: auto;
        min-width: 280px;
        padding: 15px 20px;
        font-size: 0.85rem; /* Elég kicsi, hogy egy sorba menjen */
        white-space: nowrap; /* Tilos tördelni */
    }
}

/* Mobilnézet: 1 oszlop */
@media (max-width: 768px) {
  .titles-grid {
    grid-template-columns: 1fr;
  }
}
/* Mobil nézet */
@media (max-width: 768px) {
  .features-row {
    flex-direction: column;
  }
}

/* --- Mobilos Nézet --- */
@media (max-width: 992px) {
  .master-bio-section {
    padding: 80px 0;
  }

  .master-split-layout {
    flex-direction: column; /* Mobilon egymás alá kerülnek */
    gap: 50px;
    text-align: center; /* A szöveg is középre kerül */
  }

  .master-image-container,
  .master-text-content {
    flex: 1;
    width: 100%;
  }

  .master-img-frame {
    max-width: 320px; /* Kisebb kép mobilon */
  }

  .master-text-content {
    text-align: center;
  }

  .master-text-content h2 {
    font-size: 2.2rem;
  }
}

/* Reszponzivitás mobilon */
@media (max-width: 768px) {
  .philosophy-clean-text {
    text-align: center; /* Mobilon a sorkizárt helyett jobb a középre zárt */
  }
}

/* --- 8. MOBIL RESPONSIVITY --- */
@media (max-width: 992px) {
  .split-layout {
    flex-direction: column;
    text-align: center;
  }

  .text-content {
    text-align: center;
  }

  h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .cta-card {
    padding: 40px 20px;
    margin: 0 15px;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .mission-list li {
    text-align: left;
  }
}
