@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --accent: #4aa3df;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  background: #0a0e14;
  color: #fff;
}

/* ---------- Saydam üst nav ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
  background: transparent;
}
.site-nav__logo img {
  display: block;
  height: 46px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}
.site-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.site-nav__link {
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 300;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  opacity: 0.88;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.site-nav__link:hover,
.site-nav__link.is-active {
  opacity: 1;
  border-color: var(--accent);
}

@media (max-width: 640px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .site-nav__links {
    gap: 22px;
    flex-wrap: wrap;
  }
}

/* ---------- Anasayfa video hero ---------- */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* mobilde adres çubuğu yüzünden 100vh'nin taşmasını engeller */
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(74, 163, 223, 0.22), transparent 60%),
    linear-gradient(165deg, #243140 0%, #324a63 55%, #5b7186 100%);
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* dokunuş yerel oynat/duraklat kontrollerini tetiklemesin */
}
/* iOS/Safari: otomatik oynatma gecikirse beliren büyük oynat ikonunu gizle */
.hero__video::-webkit-media-controls,
.hero__video::-webkit-media-controls-start-playback-button,
.hero__video::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
  pointer-events: none !important;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8, 12, 18, 0.72) 0%, rgba(8, 12, 18, 0.35) 42%, transparent 68%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.35) 0%, rgba(8, 12, 18, 0.05) 30%, rgba(8, 12, 18, 0.55) 100%);
}

.hero__content {
  position: absolute;
  left: clamp(20px, 6vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 460px;
  padding-right: 24px;
}
.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.8px;
  opacity: 0.8;
  margin: 0 0 0.9rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 1.2rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
}
.hero__intro {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.75;
  opacity: 0.92;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

@media (max-width: 640px) {
  .hero__content {
    max-width: none;
    right: 20px;
    padding-right: 0;
  }
}

/* ---------- Genel içerik sayfası (Proje Hakkında / İletişim) ---------- */
.site-page {
  min-height: 100vh;
  padding: 150px 24px 90px;
  background: linear-gradient(165deg, #151b24 0%, #1c2530 100%);
}
.site-page__inner {
  max-width: 760px;
  margin: 0 auto;
}
.site-page__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1.4rem;
}
.site-page__content {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.92;
}
.site-page__content p { margin: 0 0 1.2em; }
.site-page__content a { color: var(--accent); }
