:root {
  --blue: #2f9ee8;
  --purple: #9b7cf0;
  --dark: #1f2933;
  --text: #2d3748;
  --muted: #6b7280;
  --light: #f5f7fb;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;

  background:
    radial-gradient(circle at top left, #ffffff 0%, #f4fbff 28%, transparent 58%),
    linear-gradient(135deg, #ffffff 0%, #edf8ff 38%, #d5efff 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Felső sáv */

.top-bar {
  background: #111827;
  color: rgba(255,255,255,0.86);
  font-size: 14px;
}

.top-bar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-bar a {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

/* Fejléc */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(120deg, var(--purple), var(--blue));
  color: var(--white);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
}

.header-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  min-width: 0;
}

.brand-title {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  max-width: 520px;
}

.brand-subtitle {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a {
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-button {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.38);
  padding: 9px 13px;
  border-radius: 999px;
}

.facebook-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1877f2;
  color: #ffffff !important;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.facebook-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

/* Főoldal hero */

.hero {
  background: transparent;
  padding: 74px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 38px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(238, 246, 255, 0.9);
  color: #1565a9;
  font-weight: 800;
  font-size: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 1px solid rgba(47, 158, 232, 0.15);
}

.hero h1,
.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  color: #172033;
  margin-bottom: 20px;
  letter-spacing: -1.4px;
    border-bottom: none;

}

.hero p,
.page-hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 28px;
    border-bottom: none;

}

.hero-card {
  background: transparent;
  border: none;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: none;
}

.countdown-card {
  width: 100%;
  background: linear-gradient(140deg, #1f2937, #334155);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 0;
  box-shadow: var(--shadow);
}

.countdown-label {
  font-size: 14px;
  opacity: 0.78;
  margin-bottom: 8px;
  font-weight: 700;
}

.countdown-time {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.countdown-note {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.76;
}

/* Szekciók */

section {
  padding: 64px 0;
}

.about-section,
.documents,
.contact-section,
.content-section {
  background: transparent;
}

.section-title {
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  color: #172033;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--muted);
  font-size: 17px;
  max-width: 720px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eef6ff;
  color: #1573bd;
  font-size: 22px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 20px;
  color: #172033;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  margin-bottom: 14px;
}

.text-link {
  color: #1573bd;
  font-weight: 800;
}

/* Aloldal hero */

.page-hero {
  background: transparent;
  padding: 64px 0 42px;
  border-bottom: none;

}

.content-box {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
}

.content-box h2 {
  color: #172033;
  font-size: 30px;
  margin-bottom: 14px;
}

.content-box h3 {
  color: #172033;
  font-size: 22px;
  margin: 24px 0 10px;
}

.content-box p,
.content-box li {
  color: var(--muted);
  font-size: 17px;
}

.content-box ul {
  padding-left: 22px;
  margin: 12px 0;
}

/* Dokumentumok */

.document-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.document-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(8px);
}

.document-item strong {
  color: #172033;
  display: block;
}

.document-item span {
  color: var(--muted);
  font-size: 14px;
}

.document-badge {
  background: #eef6ff;
  color: #1573bd;
  font-size: 13px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Galéria */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  min-height: 190px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(155, 124, 240, 0.85), rgba(47, 158, 232, 0.85));
  display: flex;
  align-items: end;
  padding: 20px;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

/* Kapcsolat */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-box {
  background: linear-gradient(140deg, #1f2937, #334155);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-box h2 {
  font-size: 30px;
  margin-bottom: 16px;
}

.contact-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row small {
  display: block;
  opacity: 0.68;
  font-size: 13px;
  margin-bottom: 4px;
}

.contact-row strong {
  font-size: 17px;
}

.map-card {
  background: linear-gradient(140deg, #1f2937, #334155);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.map-card-location {
  margin-bottom: 16px;
}

.map-card-location small {
  display: block;
  opacity: 0.68;
  font-size: 13px;
  margin-bottom: 4px;
}

.map-card-location strong {
  font-size: 17px;
  color: #fff;
}

.map-card .map-box {
  min-height: 320px;
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: none;
  box-shadow: none;
}

.map-card .map-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lábléc */

.site-footer {
  background: #111827;
  color: rgba(255,255,255,0.78);
  padding: 30px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
}

/* Reszponzív */

@media (max-width: 1020px) {
  .header-inner {
    gap: 16px;
  }

  .brand-title {
    max-width: 390px;
    font-size: 18px;
  }

  .main-nav {
    gap: 16px;
    font-size: 15px;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 10px 0;
    gap: 4px;
  }

  .header-inner {
    min-height: 104px;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 82px;
    height: 82px;
  }

  .brand-title {
    font-size: 15px;
    max-width: 230px;
  }

  .brand-subtitle {
    display: none;
  }

  .mobile-menu-button {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    color: #333;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 15px 22px;
    border-bottom: 1px solid var(--border);
    color: #333;
  }

  .nav-button {
    border-radius: 0;
    border: 0;
    background: #f3f4f6;
  }

  .facebook-link {
    width: auto;
    height: auto;
    border-radius: 0;
    background: #1877f2;
    color: #ffffff !important;
    padding: 15px 22px;
    justify-content: flex-start;
  }

  .hero {
    padding: 46px 0 40px;
  }

  .hero p,
  .page-hero p {
    font-size: 17px;
  }

  .countdown-time {
    font-size: 26px;
  }

  section {
    padding: 44px 0;
  }

  .cards,
  .document-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .document-item {
    align-items: flex-start;
    flex-direction: column;
  }

.map-card .map-box,
.map-card .map-box iframe {
  height: 300px;
  min-height: 300px;
}
}

@media (max-width: 430px) {
  .brand-title {
    max-width: 190px;
    font-size: 14px;
  }

  .brand-logo {
    width: 76px;
    height: 76px;
  }
}

