/* Alapbeállítások */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 1. Fejléc */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(0, 0, 0, 0.35);
  z-index: 10;
}

.logo {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

nav a:hover, nav a.active {
  text-decoration: underline;
}

.sep {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 8px;
  font-size: 0.85rem;
}

/* 2. Hero Szekció & Slider */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slider konténer és képek */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out; /* Finom áttűnés a képek között */
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
}

.hero-text-block {
  max-width: 550px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-text-block h1 {
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text-block p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.btn-dark {
  display: inline-block;
  background-color: #333333;
  color: #ffffff;
  padding: 12px 28px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.btn-dark:hover {
  background-color: #1a1a1a;
}

/* 3. Soros / Sávos Üdvözlő és Célok Szekció */
.welcome-section {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.welcome-section h2 {
  font-size: 2.2rem;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: bold;
}

.welcome-section .lead-text {
  font-size: 1.05rem;
  color: #555555;
  max-width: 750px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.goals-container {
  max-width: 750px;
  margin: 0 auto 50px auto;
  text-align: left;
}

.goal-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eaeaea;
}

.goal-row:last-child {
  border-bottom: none;
}

.goal-icon {
  font-size: 1.5rem;
  background: #fdf6f0;
  padding: 12px;
  border-radius: 50%;
  line-height: 1;
}

.goal-text h3 {
  font-size: 1.15rem;
  color: #2c3e50;
  margin-bottom: 6px;
}

.goal-text p {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.5;
}

/* Klasszikus Idézet doboz */
.quote-box {
  max-width: 750px;
  margin: 0 auto;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 8px;
  text-align: center;
  border-left: 4px solid #2c3e50;
}

.quote-text {
  font-style: italic;
  color: #555555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.quote-author {
  font-style: normal;
  color: #888888;
  font-size: 0.85rem;
  font-weight: bold;
  display: block;
}

/* 4. Statisztika szekció - lablec.jpg háttérrel */
.stats-section {
  position: relative;
  padding: 90px 20px;
  background-image: url('../images/KEZDOLAP/lablec.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
}

.stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.stats-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.stats-section h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.stats-lead {
  font-size: 0.95rem;
  color: #dddddd;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

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

.stat-item {
  text-align: center;
}

.stat-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #ffffff;
  opacity: 0.95;
}

.stat-title {
  font-size: 0.85rem;
  color: #cccccc;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: bold;
  color: #ffffff;
}

/* 5. Lábléc */
footer {
  text-align: center;
  padding: 30px 20px;
  background-color: #1a1a1a;
  color: #888888;
  font-size: 0.85rem;
}

footer .webnode-credit {
  font-size: 0.75rem;
  color: #666666;
  margin-top: 6px;
}
