
/* Genel görünüm - yıldızlı arka plan */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0b0c2a url('https://www.transparenttextures.com/patterns/stardust.png');
  background-repeat: repeat;
  background-size: auto;
  color: #fff;
  margin: 0;
  padding: 0;
}

/* Konteyner */
.container {
  width: 95%;
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Başlık */
.title {
  width: 100%;
  text-align: left;
  font-size: 28px;
  color: #fff;
  margin-bottom: 25px;
  border-left: 5px solid #00c8ff;
  padding-left: 12px;
}

/* Kart düzeni */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  justify-content: center;
  width: 100%;
}

/* Kartlar */
.card {
  display: block;
  max-width: 240px;
  text-decoration: none;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0 auto;
  backdrop-filter: blur(4px);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(255, 255, 255, 0.15);
}

/* Görsel */
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}

/* Başlık */
.card h3 {
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  font-weight: 600;
}

/* Devam Et Butonu */
.load-more {
  display: block;
  margin: 40px auto;
  padding: 14px 36px;
  font-size: 17px;
  font-weight: 600;
  background-color: #00c8ff;
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 200, 255, 0.4);
  transition: background 0.3s ease, transform 0.2s ease;
}

.load-more:hover {
  background-color: #00b8e6;
  transform: translateY(-2px);
}

/* Gizli kartlar */
.hidden {
  display: none;
}
/* ===== NAVBAR GENEL ===== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d1b2a; /* Lacivert */
  padding: 14px 24px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ===== LOGO ===== */
.brand img {
  height: 40px;
  object-fit: contain;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* ===== NAV LINKLERİ ORTADA ===== */
.nav-links {
  display: flex;
  gap: 1rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  background: #e63946;
  color: #fff;
}

/* ===== HAMBURGER BUTON (SAĞDA) ===== */
.toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 20px;
  background: none; border: none;
  cursor: pointer; padding: 0;
}
.toggle-btn .burger {
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
}

/* ===== MOBİL NAVBAR AÇILIR MENÜ ===== */
@media (max-width: 768px) {
  .toggle-btn {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #0d1b2a;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow-y: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
  }

  .nav-links.open {
    max-height: 80vh;       /* Tüm menüler sığsın */
    overflow-y: auto;       /* Scroll aktif */
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 14px;
    border-top: 1px solid #1e2a38;
  }
}


#stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  background: #0b0c2a;
}


.brand .logo-text {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 3px #0ff, 0 0 5px #0ff, 0 0 15px #0ff;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
}
.navbar {
  min-height: 40px;
  /* veya height: 60px; */
}

.toggle-btn {
  z-index: 1100; /* Navbar’dan da büyük olmalı */
}
body {
  padding-top: 70px; /* Navbar yüksekliği kadar boşluk */
}
.site-footer {
  background: #101124;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #f0f0f0;
  font-size: 0.92rem;
  text-align: center;
  padding: 5px 0 3px 0;     /* KISALDI! */
  margin-top: 12px;
  margin-bottom: 18px; /* ← Sayfa sonu ile footer arası boşluk */
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;                 /* KISALDI! */
}

.site-footer p {
  margin: 0 0 3px 0;        /* Alt boşluk: 3px */
  font-size: 0.98em;
  opacity: 0.95;
  font-weight: 400;
}

.site-footer nav {
  display: flex;
  gap: 8px;                 /* Linkler arası boşluk */
  justify-content: center;
  align-items: center;
  font-size: 0.97em;
}

.site-footer nav a {
  color: #f0f0f0;
  text-decoration: underline;
  font-weight: 400;
  opacity: 0.93;
  transition: opacity 0.15s;
}

.site-footer nav a:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  .site-footer {
    font-size: 0.89rem;
    padding: 2px 0 1px 0;     /* Mobilde daha da kısa */
  }
  .site-footer .container {
    gap: 1px;
  }
  .site-footer nav {
    gap: 5px;
    font-size: 0.95em;
  }
  .site-footer p {
    font-size: 0.95em;
  }
}

.toggle-btn.active .burger:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.toggle-btn.active .burger:nth-child(2) {
  opacity: 0;
}
.toggle-btn.active .burger:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.toggle-btn .burger {
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 8px; /* Sağ ve sol padding azalsın! */
  }
}

@media (max-width: 768px) {
  .navbar {
    padding-right: 0 !important;
    padding-left: 8px !important;
    position: relative;
  }
  .toggle-btn {
    position: absolute !important;
    right: 22px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    z-index: 1200;
  }
  .brand {
    max-width: 62vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 2000 !important;
}
@media (max-width: 768px) {
  .navbar {
    padding: 12px 8px !important;
    min-height: 44px !important;
  }
  .toggle-btn {
    height: 20px !important;
  }
}


/* ----------------------------------
   MOBİL İÇİN 2 SÜTUNLU KART DÜZENİ
---------------------------------- */
/* Tablet + Telefon (≤767px) */
@media (max-width: 767px) {
  .card-grid {
    /* Otomatik iki sütun, sütunlar eşit paylaşılsın */
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
  .card {
    /* Hücrenin tamamını kaplasın, max-width’i kaldıralım */
    max-width: none;
    margin: 0;
  }
  .card img {
    /* Kart içindeki resim yüksekliğini biraz küçültelim */
    height: 140px;
  }
  .title {
    /* Başlığı da biraz daha küçük yapabiliriz */
    font-size: 24px;
  }
  .load-more {
    width: 100%;
  }
}

/* Küçük Telefonlar (≤480px) */
@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .card img {
    height: 120px;
  }
  .title {
    font-size: 20px;
  }
}


.site-footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  transform: translateY(100%);
  transition: transform .25s ease;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 12px 16px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.3);
  width: 100%;
  box-sizing: border-box;
}
.site-footer.is-visible { transform: translateY(0); }
body { padding-bottom: 64px; }





