/* ===== ALAP BEÁLLÍTÁSOK ÉS VÁLTOZÓK ===== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 200px;
}

.container {
  max-width: 1100px;
}

/* ===== GOMBOK ===== */

.btn-large {
  font-size: 1.1rem;
  padding: 15px 35px;
}

/* ===== NAVIGÁCIÓ ===== */

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  height: 44px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--bs-primary);
}

/* ===== SZEKCIÓK STÍLUSA ===== */

/* Hero Szekció */

.header-section {
  background: linear-gradient(rgba(0, 18, 25, 0.5), rgba(0, 18, 25, 0.5)), url('../../assets/img/bg.jpg?h=6a20f028a5f0e3ea2d43451d77f37ca6') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.header-section .subtitle {
  max-width: 950px;
}

/* Probléma Szekció */

.problem-section {
  background-color: var(--white);
}

.problem-section p {
  max-width: 900px;
}

/* Megoldás Szekció */

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-10px);
}

/* Célcsoport Szekció */

.audience-card {
  padding: 1.5rem;
}

/* Árazás Szekció */

.pillar {
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #ffffff;
}

.pillar h5 {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* CTA Szekció */

.cta-section h2, .cta-section p {
  color: var(--white);
}

/* Lábléc */

.main-footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 2rem 0;
}

.main-footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.main-footer a {
  color: var(--white);
  text-decoration: none;
}

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

.logo-footer {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

/* ===== RESZPONZIVITÁS ===== */

@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    margin-top: 15px;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .nav-menu li {
    margin: 5px 0;
  }
}

@media (max-width: 768px) {
  .main-nav .btn {
    margin-top: 15px;
  }
}

/* ===== FUNKCIÓK SZEKCIÓ ===== */

.features-section {
  background-color: var(--white);
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem auto;
  background-color: #eaf6f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--secondary-color);
}

.feature-item h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.95rem;
  color: #555;
}

/* Opcionális: lebegő effektus a funkciókra */

.feature-item {
  border: 1px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.07);
  border-color: #eee;
}

.feature-item:hover .feature-icon {
  background-color: var(--accent-color);
}

.feature-item:hover .feature-icon svg {
  color: var(--white);
}

/* Igazítás kisebb képernyőkön, ha a 3-as osztás túl sűrű lenne */

/* ===== MÓDOSÍTOTT ÖSSZEHASONLÍTÓ SZEKCIÓ ===== */

#comparison-section {
  padding: 3rem 0;
  background-color: var(--bg-color);
}

#comparison-section .section-intro {
  margin-bottom: 2rem;
}

/* Ezzel a szabállyal minden sor háttere fehér lesz a táblázat törzsében */

/* === JAVÍTOTT KÓD A SORELVÁLASZTÁSHOZ === */

.comparison-table th, .comparison-table td {
  font-size: 0.9rem;
}

.comparison-table th, .comparison-table td {
  padding: 12px 15px;
  text-align: left;
}

.comparison-table th {
  border: none;
}

.comparison-table td {
  border: none;
  border-bottom: 1px solid #ddd;
}

.comparison-table tr:last-child td {
  border-bottom: 1px solid #ddd;
}

.comparison-table th {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
}

.comparison-table td small {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
}

/* --- JAVÍTÁS ITT KEZDŐDIK --- */

/* A flexbox tulajdonságokat a belső div-re helyezzük */

.cell-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.cell-good {
  color: #28a745;
}

.cell-bad {
  color: #dc3545;
}

.cell-content svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* A lenyitás logikája */

/* Alapból elrejti a 3. sor utáni összes sort */

/* Amikor a táblázat megkapja az 'is-expanded' osztályt, minden sor látható lesz */

.comparison-table.is-expanded tbody tr {
  display: table-row;
}

/* --- JAVÍTÁS ITT ÉR VÉGET --- */

/* Lenyitó gomb stílusa */

.toggle-button-wrapper {
  text-align: center;
  margin-top: -1px;
}

.toggle-table-btn {
  width: 100%;
  background-color: var(--white);
  border: 1px solid #ddd;
  border-top: 1px dashed #ccc;
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 0 0 8px 8px;
}

.toggle-table-btn:hover {
  background-color: #f7f7f7;
}

#comparison-section .panel-note {
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 2rem;
  color: #555;
}

/* ===== Fejléc Akciók és Nyelvválasztó ===== */

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

.lang-link {
  text-decoration: none;
  color: #888;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 5px;
  transition: color 0.3s ease;
}

.lang-link:hover {
  color: var(--text-color);
}

/* Az aktív nyelv stílusa */

.lang-link.active {
  color: var(--primary-color);
  cursor: default;
}

.lang-separator {
  color: #ccc;
  margin: 0 5px;
  font-size: 1rem;
}

/* Reszponzivitás: mobilon is jól nézzen ki */

@media (max-width: 768px) {
  .header-actions {
    margin-top: 15px;
    flex-direction: column;
    gap: 15px;
  }
}

