/* RESET */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #020617;
  color: #e5e7eb;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  background: url('../img/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  max-width: 1000px;
  padding: 40px;
  text-align: center;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.4;
  font-weight: 500;
}

/* FEATURE BLOCK */
.feature {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020617;
}

.feature-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;               /* 🔴 FONTOS */
  padding: 0;           /* 🔴 FONTOS */
  align-items: stretch;
}

.feature h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.feature ul {
  list-style: none;
  padding: 0;
}

.feature li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding-left: 18px;
  position: relative;
}

.feature li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #38bdf8;
}

.feature-media {
  padding: 0;           /* 🔴 KIVESZ */
  margin: 0;
}

.feature-text {
  position: relative;
  z-index: 2;

  margin-right: -40px;   /* 🔥 EZ A LÉNYEG */
  padding: 22px 26px;

  background: linear-gradient(
    to right,
    rgba(2,6,23,0.97) 0%,
    rgba(2,6,23,0.90) 70%,
    rgba(2,6,23,0.60) 85%,
    rgba(2,6,23,0.00) 100%
  );
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

/* ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

section {
  scroll-margin-top: 80px;
}


/* STICKY HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1rem;
  color: #e5e7eb;
}

.main-nav a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.main-nav a:hover {
  opacity: 1;
}
html {
  scroll-behavior: smooth;
}

/* ===== MOBIL SPLIT – NAGYOBB KÉP, SZÉLESEBB SZÖVEG ===== */
@media (max-width: 768px) {

  .feature {
    padding: 26px 14px;
  }

  .feature-inner {
    grid-template-columns: 1.6fr 1fr; /* 🔑 szöveg szélesebb */
    gap: 0;
    padding: 0;
    align-items: center;
  }



  .feature-text {
    margin-right: -60px;   /* 🔥 mobilon több */
  }
  
  .feature-text h2 {
    font-size: 1.45rem;
    margin-bottom: 12px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  }

  .feature-text li {
    font-size: 1rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  }

  .feature-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
  }

  .feature-media img {
    max-width: 100%;
    max-height: 600px;   /* 🔑 nagyobb kép */
    object-fit: contain;
    border-radius: 8px;
    background: #020617;
  }
}
