/* Videoleckek.hu – statikus újraépítés */
:root {
  --green: #628f5b;
  --green-dark: #35552f;
  --green-soft: #c2dbbe;
  --green-soft-2: #b1d3ac;
  --green-mint: #d5e8e7;
  --green-pale: #e9fbe5;
  --green-muted: #758775;
  --text: #333;
  --text-soft: #555;
  --white: #fff;
  --footer: #222;
  --max: 1080px;
  --radius: 15px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --font: "Open Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.logo {
  display: inline-block;
  flex-shrink: 0;
  color: #35552f;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  opacity: 1;
  color: #628f5b;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-dark);
  transition: 0.25s ease;
}

.site-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: rgba(0, 0, 0, 0.65);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--green);
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-dark) !important;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  opacity: 1;
}

.btn-green {
  background: var(--green);
  color: var(--white) !important;
}

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

/* Sections */
.section {
  padding: 3.5rem 0;
  position: relative;
}

.section-tight {
  padding: 2rem 0;
}

.section-hero {
  min-height: min(35vh, 280px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(53, 85, 47, 0.55), rgba(53, 85, 47, 0.55)),
    url("../images/video-oktatas-hatter.jpg") center / cover no-repeat;
}

.section-hero h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.section-hero .lead {
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
  color: var(--white);
}

.section-board,
.section-dark {
  color: #f2f2f2;
  background:
    linear-gradient(rgba(12, 20, 12, 0.72), rgba(12, 20, 12, 0.72)),
    url("../images/videoleckek-tabla-zold-1b.png") center / cover no-repeat;
  background-color: #1a2418;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

.section-board h1,
.section-board h2,
.section-board h3,
.section-board p,
.section-board li,
.section-board strong,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark li,
.section-dark strong {
  color: #fff;
}

.section-board .btn,
.section-dark .btn {
  background: #fff;
  color: #35552f !important;
}

.section-soft {
  background: var(--green-mint);
}

.section-soft-2 {
  background: var(--green-soft);
}

.section-soft-3 {
  background: var(--green-soft-2);
}

.section-muted {
  color: #f2f2f2;
  background:
    linear-gradient(rgba(12, 20, 12, 0.72), rgba(12, 20, 12, 0.72)),
    url("../images/videoleckek-tabla-zold-1b.png") center / cover no-repeat;
  background-color: #1a2418;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

.section-muted h1,
.section-muted h2,
.section-muted h3,
.section-muted p,
.section-muted li,
.section-muted strong {
  color: #fff;
}

.section-gray {
  background: #d6d6d6;
}

.section-about {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(198, 198, 198, 0.55)),
    url("../images/oktatovideo-hatterkep1-scaled.jpg") center / cover no-repeat;
  background-blend-mode: luminosity, normal;
}

.underline {
  display: block;
  width: min(220px, 60%);
  margin: 0.4rem auto 1.2rem;
}

.option-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .option-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .option-grid.reverse {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .option-grid.reverse .option-visual {
    order: 2;
  }
}

.option-visual img {
  margin-inline: auto;
  max-height: 340px;
  width: auto;
}

.option-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  margin-bottom: 0.2rem;
}

.option-copy p {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  max-width: 34ch;
  color: #f2f2f2;
}

.option-copy .btn {
  margin-top: 0.5rem;
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.about-photo img {
  border-radius: 14px;
  margin-inline: auto;
  max-width: 320px;
  box-shadow: var(--shadow);
}

.about-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.15rem;
}

.about-copy .role {
  font-size: 1.15rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-copy blockquote {
  margin: 1.2rem 0 0;
  padding-left: 1rem;
  border-left: 4px solid var(--green);
  font-style: italic;
}

/* Inner pages */
.page-hero {
  padding: 3rem 0 2rem;
  background:
    linear-gradient(rgba(213, 232, 231, 0.88), rgba(213, 232, 231, 0.88)),
    url("../images/video-oktatas-hatter.jpg") center / cover no-repeat;
  background-color: var(--green-mint);
}

.page-hero h1,
.page-hero .intro {
  max-width: 40rem;
}

.page-hero .intro {
  font-size: 1.2rem;
}

.content-block {
  max-width: 46rem;
}

.content-block.narrow {
  max-width: 38rem;
}

.stat-list,
.check-list,
.steps {
  padding-left: 1.2rem;
  margin: 0 0 1.25rem;
}

.stat-list li,
.check-list li,
.steps li {
  margin-bottom: 0.45rem;
}

.feature-row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .feature-row {
    grid-template-columns: 180px 1fr;
  }
}

.feature-row img {
  max-width: 180px;
  margin-inline: auto;
}

.split-2 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .split-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.card-plain h3,
.card-plain h2 {
  margin-bottom: 0.5rem;
}

.price-note {
  font-size: 1.15rem;
  font-weight: 700;
}

.center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Contact form */
.contact {
  max-width: 640px;
  margin: 0 auto;
}

.contact h2 {
  text-align: center;
  margin-bottom: 1.25rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .form-grid .half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }
}

.form-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: var(--white);
  color: var(--text);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.form-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.captcha {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.captcha input {
  width: 4rem;
  padding: 0.55rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
  text-align: center;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-message {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  display: none;
}

.form-message.is-visible {
  display: block;
}

.form-message.success {
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1px solid var(--green-soft);
}

.form-message.error {
  background: #fcf0ef;
  color: #8a1f11;
  border: 1px solid #f5c6cb;
}

/* Vlog */
.vlog-list {
  display: grid;
  gap: 1.25rem;
}

.vlog-item {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.vlog-item h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.vlog-item h2 a {
  color: var(--text);
}

.vlog-item h2 a:hover {
  color: var(--green);
  opacity: 1;
}

.meta {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.excerpt {
  color: var(--text-soft);
}

.post-content {
  max-width: 46rem;
  margin: 0 auto;
}

.post-content h2,
.post-content h3 {
  margin-top: 1.5rem;
}

.post-content ul,
.post-content ol {
  padding-left: 1.25rem;
}

.post-content img {
  margin: 1rem auto;
}

.post-content iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  display: block;
  margin: 1rem 0;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.5rem 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

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

  .site-nav {
    position: absolute;
    inset: 72px 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.5rem 1rem 1rem;
    display: none;
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0.25rem;
  }

  .option-copy {
    text-align: center;
  }

  .option-copy p {
    max-width: none;
    margin-inline: auto;
  }

  .form-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .form-bottom .btn {
    width: 100%;
  }
}
