/* ============================================================
   MEGAPOL GROUP - ANASAYFA (home.css)
   site.css yuklendikten SONRA yuklenir.

   Bu surumde ana sayfa yalnizca HEADER + BANNER icerir.
   Banner altindaki bolumler ve footer kaldirildigi icin bu dosya,
   sayfada gercekten eslesen kurallara indirgenmistir.

   NOT: CSS degiskenleri (:root) ve h1 tipografisi burada tanimli;
        site.css bunlari var(--...) ile kullanir ama tanimlamaz.
   NOT: Mobil menu esigi (.nav gizlenir / .hamburger gorunur) asagidaki
        @media blogunda; site.css icinde hic @media yoktur.
   ============================================================ */

:root {
  --brand: #041a72;
  --brand-light: #2a3f9e;
  --brand-dark: #141f52;
  --ink: #041a72;
  --ink-soft: #4a4a5a;
  --ink-muted: #8a8a9a;
  --surface: #ffffff;
  --surface-warm: #f7f7fa;
  --surface-cool: #eef0f5;
  --border: #e2e4ea;
  --radius: 10px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --font: 'DM Sans', sans-serif;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.logo span {
  font-weight: 300;
  opacity: 0.7;
  margin-left: 4px;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

/* ===== HERO / BANNER =====
   Kenardan kenara, bastan asagi tam ekran.
   2026'daki max-height: 1000px siniri kaldirildi: altinda artik icerik
   olmadigi icin yuksek ekranlarda banner altinda bos beyaz alan kalirdi. */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;      /* mobil: adres cubugu acilip kapanirken yukseklik ziplamaz */
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* 16:9 oranini koruyarak ekrani tam kaplar, siyah kenar olusmaz.
   scale() ile YouTube baslik, logo ve kontrol gibi arayuz ogeleri kirpilir. */
.hero-video-wrap iframe,
.hero-video-wrap #heroVideo {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw;
  height: 56.25vw;        /* 100vw * 9/16 */
  min-width: 177.78vh;    /* 100vh * 16/9 */
  min-height: 100vh;
  transform: translate(-50%, -50%) scale(1.3);
  transform-origin: center center;
  pointer-events: none;   /* tiklama tamamen devre disi */
  border: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgb(15 16 18 / 64%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(60px, 10vh, 100px);
  width: 100%;
}
.hero-content .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.hero-text { max-width: 680px; }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.hero h1 { color: #fff; margin-bottom: 0; }

/* ===== SECTION SHARED ===== */
section { padding: clamp(60px, 10vw, 120px) 0; }

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero-content .container { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 480px) {
  section { padding: clamp(48px, 8vw, 80px) 0; }
}
