/* ============================================
   MENDI ZSOLT E.V. - WEBOLDAL STÍLUSLAP
   ============================================ */

/* --- ALAP VÁLTOZÓK --- */
:root {
  --color-primary: #C45A2D;
  --color-primary-dark: #9E3F1A;
  --color-primary-light: #E07A4F;
  --color-dark: #2C2218;
  --color-text: #3D3228;
  --color-text-light: #6B5E52;
  --color-bg: #FDFAF6;
  --color-bg-warm: #F5EDE2;
  --color-bg-card: #FFFFFF;
  --color-border: #E0D5C8;
  --color-accent: #8B3A1A;
  --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(44,34,24,0.08);
  --shadow-md: 0 4px 16px rgba(44,34,24,0.1);
  --shadow-lg: 0 8px 32px rgba(44,34,24,0.12);
  --container-max: 1140px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary-dark); }
ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

/* --- SZEKCIÓ FEJLÉCEK --- */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* --- GOMBOK --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: #fff;
}

.btn-large {
  padding: 18px 40px;
  font-size: 17px;
}

.btn-full {
  width: 100%;
}

/* ============================================
   FEJLÉC / NAVIGÁCIÓ
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(253,250,246,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}

.logo:hover { color: var(--color-dark); }

.logo-icon i {
  font-size: 24px;
  color: var(--color-primary);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
  background: var(--color-bg-warm);
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary) !important;
  color: #fff !important;
}

.nav-cta:hover {
  background: var(--color-primary-dark) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(165deg, #3D2E1F 0%, #5A3D26 35%, #7A5234 70%, #4A3422 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,90,45,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  max-width: 680px;
}

.hero-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 19px;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.trust-icon {
  font-size: 18px;
  color: var(--color-primary-light);
  width: auto;
  height: auto;
}

/* ============================================
   RÓLUNK
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}

.about-image-placeholder {
  background: var(--color-bg-warm);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  border: 2px dashed var(--color-border);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-image-placeholder svg {
  width: 120px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.placeholder-text {
  font-size: 14px;
  color: var(--color-text-light);
  font-style: italic;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 18px;
  line-height: 1.3;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--color-text-light);
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   SZOLGÁLTATÁSOK
   ============================================ */
.services {
  background: var(--color-bg-warm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 90, 45, 0.08);
  border-radius: 12px;
}

.service-icon i {
  font-size: 26px;
  color: var(--color-primary);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.service-card p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* ============================================
   MIÉRT MINKET
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  text-align: center;
  padding: 32px 20px;
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 90, 45, 0.08);
  border-radius: 50%;
}

.why-icon i {
  font-size: 22px;
  color: var(--color-primary);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============================================
   MUNKAFOLYAMAT
   ============================================ */
.process {
  background: var(--color-bg-warm);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  margin-bottom: 18px;
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.step p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.step-line {
  width: 60px;
  height: 2px;
  background: var(--color-border);
  margin-top: 28px;
  flex-shrink: 0;
}

/* ============================================
   VÉLEMÉNYEK
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--color-border);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  font-size: 16px;
  color: var(--color-primary);
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-dark);
}

.author-loc {
  font-size: 13px;
  color: var(--color-text-light);
}

/* ============================================
   CTA SÁRKÖ
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #3D2E1F, #5A3D26);
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-text h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.cta-text p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
}

/* ============================================
   KAPCSOLAT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--color-bg-warm);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.contact-icon i {
  font-size: 18px;
  color: var(--color-primary);
}

.contact-item strong {
  display: block;
  font-size: 14px;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 15px;
  color: var(--color-text-light);
}

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

.contact-item a:hover {
  color: var(--color-primary);
}

.contact-business {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.contact-business p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

/* --- FORM --- */
.contact-form {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(196,90,45,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B5E52' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 12px;
}

/* ============================================
   LÁBLÉC
   ============================================ */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   VISSZA AZ ELEJÉRE
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.back-to-top i {
  font-size: 20px;
}

/* ============================================
   RESZPONZÍV
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .step-line {
    display: none;
  }

  .step {
    flex: 0 0 45%;
    margin-bottom: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  /* NAV mobil */
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg);
    box-shadow: var(--shadow-lg);
    transition: right 0.35s ease;
    padding: 88px 24px 24px;
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav a {
    font-size: 17px;
    padding: 12px 16px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* HERO mobil */
  .hero {
    min-height: 85vh;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-desc {
    font-size: 17px;
  }

  .hero-content {
    padding: 100px 0 60px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }

  /* RÓLUNK mobil */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats {
    gap: 24px;
  }

  /* SZOLGÁLTATÁSOK mobil */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* SECTION HEADERS mobil */
  .section-header h2 {
    font-size: 28px;
  }

  /* MIÉRT MINKET mobil */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* FOLYAMAT mobil */
  .step {
    flex: 0 0 100%;
  }

  /* VÉLEMÉNYEK mobil */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* CTA mobil */
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-text h2 {
    font-size: 24px;
  }

  /* KAPCSOLAT mobil */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* LÁBLÉC mobil */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .about-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-number {
    font-size: 28px;
  }

  .contact-form {
    padding: 24px;
  }
}

/* ============================================
   ANIMÁCIÓK - Scroll-ba lépéskor
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
