/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  overflow-y: scroll;
}

/* CSS Grid: tartalom teljes szélességben, a right-accent fullwidth overlay */
body {
  font-family: Calibri, 'Segoe UI', sans-serif;
  background-color: #575756;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  position: relative;
}

/* ===== JOBB OLDALI ARCULATI ELEM ===== */
/* AKK alapján: paralelogramma alakú teal sáv, clip-path-szal */
/* grid-column: 1 / -1 → teljes szélességű layer, z-index: 0 = tartalom mögött */
.right-accent {
  grid-column: 1 / -1;
  grid-row: 1 / 4;
  position: relative;
  z-index: 0;
  pointer-events: none;
}

/* Teal: bal él átlós (76%→86%), jobb él a képernyő széléig (100%) */
.right-accent::after {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #2c8bab 0%, #7ac8ce 100%);
  clip-path: polygon(90% 0%, 100% 0%, 100% 100%);
  pointer-events: none;
}

/* Piros csík */
.right-accent::before {
  content: '';
  position: fixed;
  inset: 0;
  background: #d00000;
  clip-path: polygon(80.43% 0%, 81.11% 0%, 91.11% 100%, 90.43% 100%);
  z-index: 1;
  pointer-events: none;
}

/* ===== HEADER ===== */
.site-header {
  grid-column: 1;
  grid-row: 1;
  background-color: transparent;
  padding: 24px 23.8% 24px 120px;
  position: relative;
  z-index: 2;
}

.header-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: inline-block;
}

.logo {
  height: 90px;
  width: auto;
  min-width: 100px;
  display: block;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: Calibri, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 2px 6px;
  transition: color 0.2s;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  color: #ffffff;
}

.lang-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
  user-select: none;
}

/* ===== MAIN ===== */
.site-main {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.content-wrapper {
  width: 100%;
}

/* ===== TEXT CONTENT ===== */
.text-content {
  padding: 51px calc(23.8% + 140px) 64px 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.body-text {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: #ffffff;
}

/* ===== BUTTONS ===== */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.btn {
  display: inline-block;
  padding: 10px 28px;
  font-family: Calibri, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  border: 2px solid #2c8bab;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.btn:hover {
  background-color: #2c8bab;
  color: #ffffff;
}

.btn .no-caps {
  text-transform: none;
}

/* ===== FOOTER ===== */
.site-footer {
  grid-column: 1;
  grid-row: 3;
  background-color: transparent;
  padding: 32px 28% 32px 120px;
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}

.footer-inner p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  body {
    display: flex;
    flex-direction: column;
  }

  .right-accent::after,
  .right-accent::before {
    display: none;
  }

  .btn {
    border-color: rgba(44, 139, 171, 0.75);
  }

  .button-group {
    align-items: flex-start;
  }

  .site-header {
    padding: 16px 24px;
  }

  .text-content {
    padding: 48px 24px;
  }

  .site-footer {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 36px;
  }

  .body-text {
    font-size: 17px;
  }

  .button-group {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }
}
