/* ==========================================================================
   Új Honfoglalók - Modern Eco-Theme CSS Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&family=Playfair+Display:ital,wght@0,600;1,400&display=swap');

:root {
  /* Color Palette - Forest, Water & Earth */
  --bg-dark: #091910;
  --bg-deep: #0e2417;
  --bg-card: rgba(18, 43, 29, 0.65);
  --bg-card-hover: rgba(27, 61, 41, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(82, 183, 136, 0.18);
  --border-highlight: rgba(116, 198, 157, 0.35);

  --primary: #40916c;
  --primary-light: #52b788;
  --primary-bright: #74c69d;
  --primary-glow: rgba(82, 183, 136, 0.3);

  --water-accent: #0096c7;
  --water-light: #48cae4;
  --water-glow: rgba(0, 150, 199, 0.3);

  --earth-warm: #d4a373;
  --earth-gold: #e9c46a;

  --text-main: #f0f7f4;
  --text-muted: #b7e4c7;
  --text-dim: #749c83;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-quote: 'Playfair Display', serif;

  /* Transitions & Shadows */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 25px rgba(82, 183, 136, 0.25);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(30, 81, 53, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(0, 119, 182, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(14, 36, 23, 0.8) 0%, transparent 60%);
  background-attachment: fixed;
}

/* Typography Helpers */
h1, h2, h3, h4, .brand-title {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: #ffffff;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  color: var(--primary-bright);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--water-light);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-bright) 0%, var(--water-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--earth-gold);
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 25, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.8rem 2rem;
  transition: var(--transition);
}

.navbar-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(82, 183, 136, 0.4);
  transition: var(--transition);
}

.brand-logo:hover {
  transform: scale(1.05) rotate(5deg);
}

.brand-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(82, 183, 136, 0.15);
  border: 1px solid var(--border-glass);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--water-accent) 100%);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 150, 199, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(82, 183, 136, 0.5);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Layout & Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-bright);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(82, 183, 136, 0.12);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  color: var(--primary-bright);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-bright) 100%);
  transform: translateY(-3px);
  color: #091910;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-bright);
  transform: translateY(-3px);
}

.btn-facebook {
  background: #1877f2;
  color: #ffffff;
}

.btn-facebook:hover {
  background: #166fe5;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

/* Glass Card Component */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Counter / Goal Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-bright), var(--water-light));
}

.stat-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-bright);
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Manifesto / Szöveg Section */
.manifesto-quote {
  background: linear-gradient(135deg, rgba(14, 36, 23, 0.9) 0%, rgba(0, 50, 75, 0.7) 100%);
  border-left: 4px solid var(--primary-bright);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.quote-lines {
  font-family: var(--font-quote);
  font-size: 1.5rem;
  font-style: italic;
  color: #ffffff;
  line-height: 2;
}

.quote-line {
  display: block;
}

.manifesto-body {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.manifesto-body p {
  margin-bottom: 1.5rem;
}

.world-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}

.example-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1.2rem;
}

.example-box strong {
  color: var(--earth-gold);
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

/* Menu Tabs / Categories Section */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary-light);
  box-shadow: 0 4px 15px rgba(64, 145, 108, 0.4);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.category-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.category-icon {
  width: 80px;
  height: 80px;
  background: rgba(82, 183, 136, 0.12);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

/* YouTube Video Links Section (NO IFRAME / EXTERNAL CARDS ONLY) */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.video-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.video-thumbnail-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.2rem;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  opacity: 0.85;
}

.video-card:hover .video-thumbnail {
  transform: scale(1.05);
  opacity: 1;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 0, 0, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5);
  transition: var(--transition);
}

.video-card:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ff0000;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--primary-bright);
  margin-bottom: 0.5rem;
}

.video-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  flex-grow: 1;
}

/* Join / Form Section */
.join-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control, .form-select, textarea.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(9, 25, 16, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus, textarea.form-control:focus {
  outline: none;
  border-color: var(--primary-bright);
  box-shadow: 0 0 15px var(--primary-glow);
}

.form-select option {
  background: #0e2417;
  color: #ffffff;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-bright);
}

/* Footer */
.footer {
  background: rgba(5, 15, 10, 0.95);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 44px;
  height: 44px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(9, 25, 16, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transition: var(--transition);
  }
  .nav-menu.active {
    left: 0;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .quote-lines {
    font-size: 1.2rem;
  }
  .category-card {
    grid-template-columns: 1fr;
  }
}
