/* ========================
   GLOBAL VARIABLES
======================== */
:root {
  --accent: #0C4969;
  --accent-grad: linear-gradient(135deg, #0C4969 0%, rgba(12,73,105,0.35) 100%);
  --text: #ffffff;
  --bg-dark: #121212;
  --bg-dark-grad: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
  --white-08: rgba(255,255,255,0.8);
  --white-06: rgba(255,255,255,0.6);
}

/* ========================
   BASIC RESET
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark-grad);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

/* ========================
   HEADER - THIN VERSION
======================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 6px 0; /* kisebb padding = vékonyabb header */
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-container {
  max-width: 1224px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px; /* kisebb logo */
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: opacity .3s ease;
  opacity: 0.9;
  font-size: 0.9rem; /* kisebb menüpontok */
  padding: 4px 8px; /* opcionális a vastagság csökkentéséhez */
}

.nav-links a:hover {
  opacity: 1;
}

/* ========================
   HERO
======================== */
.hero {
  position: relative;
  min-height: 70vh;
  max-height: 900px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: #000;
  padding-top: 100px; /* header magasságához igazítva */
  box-sizing: border-box;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-placeholder.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.cta-button {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 16px 32px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 8px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: linear-gradient(135deg, #0C4969 0%, rgba(12,73,105,0.35) 100%);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(12,73,105,0.25);
}

/* ========================
   FEATURES
======================== */
.features {
  background: var(--bg-dark-grad);
  padding: 80px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.feature-card {
  display: flex;
  gap: 60px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.feature-card:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-icon img {
  width: 100%;
  max-width: 560px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  filter: grayscale(40%) brightness(1.05) contrast(1.05);
  transition: transform .35s ease;
}

.feature-icon img:hover {
  transform: scale(1.02);
}

.feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-content p {
  color: var(--white-08);
  line-height: 1.4;
  margin-bottom: 24px;
}

/* ========================
   TELEGRAM / COMMUNITY
======================== */
.telegram-channel {
  background: var(--bg-dark-grad);
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.channel-card {
  display: flex;
  gap: 24px;
  background: #0f0f10;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.channel-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.channel-info h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.channel-info p {
  color: var(--white-06);
  line-height: 1.6;
}

/* ========================
   FOOTER
======================== */
.footer {
  background: var(--bg-dark);
  color: var(--text);
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.5rem; margin-bottom: 20px; }
  .hero-content p { font-size: 1.1rem; margin-bottom: 30px; }
  .feature-card { flex-direction: column !important; gap: 30px; text-align: center; }
  .channel-card { flex-direction: column; gap: 20px; text-align: center; }

  /* MENÜPONTOK MÉRETCSÖKKENTÉSE */
  .nav-links a {
    font-size: 0.75rem;
    padding: 3px 6px;
  }

  .logo img {
    height: 45px; /* kisebb logo mobilon */
  }

  .header {
    padding: 4px 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .cta-button, .feature-button, .join-button { padding: 14px 24px; font-size: 1rem; }
  .feature-icon img { max-width: 100%; }

  /* VERY SMALL SCREEN MENÜPONTOK */
  .nav-links a {
    font-size: 0.7rem;
    padding: 2px 4px;
  }

  .logo img {
    height: 40px;
  }

  .header {
    padding: 3px 0;
  }
}
