:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-text: #1f2430;
  --color-text-muted: #5a6472;
  --color-primary: #1093a0ff;
  --color-primary-dark: #1d4f8a;
  --color-border: #e2e6ea;
  --color-white: #fff;
  --color-danger: #c0392b;
  --color-success: #2f7d32;
  --color-pastel-blue: #cfe3f7;
  --color-pastel-purple: #e3d9f3;
  --color-pastel-peach: #fbe1d3;
  --color-pastel-mint: #d9f0e3;
  --color-shadow-soft: rgba(0, 0, 0, 0.06);
  --color-column-bg: #f4f4f4;
  --header-height: 90px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  text-align: justify;
}

.container h1,
.container h2,
.container h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  /* color: var(--color-primary); */
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.topbar {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 20px;
  padding: 6px 20px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.topbar-inner a {
  color: inherit;
  text-decoration: none;
}

.topbar-inner a:hover {
  color: var(--color-primary);
}

.phone-contact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.email-contact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.phone-icon,
.email-icon {
  width: 14px;
  height: 14px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  text-decoration: none;
}

.logo-mark {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex: 0 0 auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-subtitle {
  /*font-weight: 700;*/
  font-size: 0.9rem;
  color: var(--color-primary);
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

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

.site-nav a.active {
  color: var(--color-primary);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 96px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-alt), var(--color-bg));
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.hero .lead {
  font-size: 1.15rem;
  text-align: justify;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.slogan-pill {
  display: block;
  width: fit-content;
  margin: 0 auto 24px;
  padding: 12px 20px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 2px 10px var(--color-shadow-soft);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s ease-in-out;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-bg-alt);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.hero-cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section h1
.section h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.tab-button {
  padding: 10px 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--color-text-muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.tab-button:hover,
.tab-button:focus-visible {
  color: var(--color-primary);
}

.tab-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.tab-button.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  text-align: justify;
}

.card h3 {
  margin-top: 0;
  color: var(--color-primary);
}

.team-member {
  display: flow-root;
}

.team-member > img {
  float: left;
  width: min(100%, 280px);
  height: auto;
  margin: 15px 32px 20px 0;
}

.team-member h2 {
  margin: 0;
}

.team-member h4 {
  margin: 4px 0 24px;
}

.team-member p {
  margin: 0 0 20px;
}

.team-member p:last-child {
  margin-bottom: 0;
}

/* GY.I.K. */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  max-width: 700px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px 20px;
  background: var(--color-bg);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item summary:hover {
  color: var(--color-primary);
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--color-text-muted);
}

.faq-more {
  margin-top: 24px;
}

/* Banner cards (4 elemű kártya-slider a hero alatt) */
.banner-cards {
  padding: 0 0 72px;
}

.banner-swiper {
  position: relative;
}

.banner-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.banner-swiper .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

.banner-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 0;
  overflow: hidden;
  border-top: 3px solid var(--color-primary);
}

.banner-card-image {
  aspect-ratio: 16 / 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
}

.pastel-blue {
  background: var(--color-pastel-blue);
}

.pastel-purple {
  background: var(--color-pastel-purple);
}

.pastel-peach {
  background: var(--color-pastel-peach);
}

.pastel-mint {
  background: var(--color-pastel-mint);
}

.banner-card-text {
  padding: 12px 16px 40px;
}

.banner-card-text h3 {
  margin: 0;
  font-size: 1.05rem;
}

.banner-card-text p {
  margin: 4px 0 0;
  font-size: 0.9rem;
}

.banner-card:hover {
  border-color: var(--color-primary-dark);
  box-shadow: 0 2px 10px var(--color-shadow-soft);
}

/* Helyszín */
.map-placeholder {
  margin-top: 24px;
  max-width: 480px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.map-placeholder iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Schedule table */
.schedule {
  border-collapse: collapse;
  margin-top: 24px;
  width: 100%;
  max-width: 480px;
}

.schedule th,
.schedule td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
}

.schedule th {
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Contact */
.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.contact-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

/* Contact form */
.contact-form {
  margin-top: 32px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
}

.required-mark {
  color: var(--color-danger);
}

/* Gyermekek (ismételhető csoport) */
.children-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
}

.child-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg-alt);
}

.child-group .form-row {
  gap: 4px;
}

.child-remove {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.child-remove:hover {
  color: var(--color-danger);
}

.child-remove:disabled {
  visibility: hidden;
}

.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-bg);
  color: var(--color-text);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

.form-row-checkbox {
  flex-direction: row;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 0.95rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.checkbox-label a {
  color: var(--color-primary);
}

.contact-form button[type="submit"] {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font: inherit;
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
}

.form-status.success {
  color: var(--color-success);
}

.form-status.error {
  color: var(--color-danger);
}

/* Hero column block */
.column-container {
  display: flex;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.column {
  flex: 1;
  padding: 15px;
  color: var(--color-text-muted);
  border-radius: 5px; 
}

.column h3 {
  text-align: center;
}

.column p {
  text-align: justify;
}

@media (max-width: 768px) {
  .column-container {
    flex-direction: column;
  }

  .team-member {
    display: flex;
    flex-direction: column;
  }

  .team-member > img {
    max-width: 280px;
    margin: 0 auto 20px;
  }
}

/* Honeypot: elrejtve valódi felhasználók elől, de a DOM-ban marad a botoknak */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Responsive nav */
@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
  }

  .site-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .hero {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
