/* Genel ayarlar */
* { box-sizing: border-box; }
body {
  margin: 0;
  padding-top: 70px; /* header yüksekliği kadar boşluk bırak */
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.4); /* beyaza yakın şeffaf */
  backdrop-filter: blur(8px);        /* hafif cam efekti */
  padding: 4px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.site-header .header-logo {
  height: 80px !important;  /* masaüstünde büyük */
  width: auto;
  max-width: 260px;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.5));
}

/* Menü (masaüstü) */
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
}

.nav-list a {
  font-weight: 700;
  color: #000; /* masaüstünde siyah */
  text-decoration: none;
  font-size: 1.05rem;
  transition: color .25s;
}

.nav-list a:hover { 
  color: #e63946; 
}

/* Hamburger butonu */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 2rem;
  color: #000;  /* masaüstünde siyah ikon */
  cursor: pointer;
}

/* --- Mobil menü için özel ayar --- */
@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    gap: 18px;
    background: rgba(0,0,0,0.95);
    position: fixed;
    top: 0;
    right: -100%;      /* kapalı durumda ekran dışında */
    width: 70%;
    height: 100%;
    padding: 80px 30px;
    transition: right 0.3s ease-in-out;
  }

  .nav-list.show {
    right: 0;          /* açıldığında ekrana gelsin */
  }

  .nav-list a {
    color: #fff;       /* mobilde beyaz yazı */
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: block;
    color: #000;       /* mobilde beyaz hamburger */
    z-index: 1100;
  }
}

/* ================= HERO (Video) ================= */
.hero-video {
  position: relative;
  width: 100vw;   /* % yerine viewport genişliği */
  height: 100vh;  /* tam ekran */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;  /* ortadan kırpsın */
  display: block;
}

/* Varsayılan masaüstü */
.desktop-video { display: block; }
.mobile-video  { display: none;  }

@media (max-width: 768px) {
  .desktop-video { display: none; }
  .mobile-video  { display: block; }
}

/* ================= SAYFA İÇERİKLERİ ================= */
.page-section {
  background: url("/assets/img/back-stage.png") no-repeat center center/cover;
  padding: 40px 15px;
  display: flex;
  justify-content: center;
  margin-top: 80px; /* header boşluğu */
}

.content-box {
  background: rgba(255, 255, 255, 0.9);
  max-width: 900px;
  padding: 30px;
  border-radius: 8px;
}

.page-section h1,
.page-section h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-section p {
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

/* Projeler */
.project-item {
  text-align: center;
  margin: 0 auto;
  max-width: 900px;
}
.project-logo {
  max-width: 260px;
  height: auto;
  margin-bottom: 25px;
}
.project-text p {
  text-align: justify;
  line-height: 1.8;
  margin-bottom: 20px;
}
.project-text ul {
  text-align: justify;
  line-height: 1.8;
  max-width: 800px;
  margin: 20px auto;
  padding-left: 20px;
}
.project-text li { margin-bottom: 15px; }
.project-item a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}
.project-item a:hover { text-decoration: underline; }

/* ================= FOOTER ================= */
footer {
  background: #444;
  color: #ccc;
  text-align: center;
  padding: 8px;
  font-size: 0.85rem;
  margin-top: 40px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .site-header .header-logo { height: 64px !important; }
  .nav-list a { font-size: 1rem; }
  .nav-list { gap: 18px; }
}

@media (max-width: 768px) {
  /* Logo küçülür */
  .site-header .header-logo { height: 44px !important; }

  /* Menü açılır/kapanır hale gelir */
  .menu-toggle { display: block; }
  .nav-list {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: rgba(0,0,0,0.9);
    position: absolute;
    top: 70px; right: 10px;
    padding: 16px 20px;
    border-radius: 8px;
    width: calc(100% - 20px);
    max-width: 280px;
  }
  .nav-list.open { display: flex; }

  /* Hero video değiştirme */
  .desktop-video { display: none; }
  .mobile-video  { display: block; }

  .content-box { padding: 20px; }
}
