body {
  background-color: #414141;
  font-family: 'Albert Sans', sans-serif;
  margin: 0;
  padding: 0;
}
.content, .post, article, .main-text {
    padding-left: 15px;
    padding-right: 15px;
}

.button-konteyner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* tüm satırları ortala, son satır dahil */
  gap: 20px;
  padding: 20px;
}


.film-kart {
   flex: 0 0 calc(20% - 20px); /* PC’de 5 kart için genişlik */
  max-width: calc(20% - 20px);
  display: flex;
  flex-direction: column;
}

@media (max-width: 1200px) {
  .film-kart { flex: 0 0 calc(25% - 20px); max-width: calc(25% - 20px); }
}
@media (max-width: 900px) {
  .film-kart { flex: 0 0 calc(33.33% - 20px); max-width: calc(33.33% - 20px); }
}
@media (max-width: 600px) {
  .film-kart { flex: 0 0 calc(50% - 20px); max-width: calc(50% - 20px); }
}
@media (max-width: 400px) {
  .film-kart { flex: 0 0 calc(50% - 20px); max-width: calc(50% - 20px); } /* artık 2 sütun oluyor */
}


.kontrol {
  width: 100%;
  aspect-ratio: 2/3;
  border: 0.5px solid white;
  border-radius: 10px;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  color: transparent;
  transition: 0.3s;
}

.kontrol.active {
  border-color: darkolivegreen;
  opacity: 0.45;
}

.film-kart p {
  min-height: 40px; /* yazılar hizalı olsun */
  margin-top: 10px;
  text-align: center;
  color: white;
}

.buton-tas, #gonder, #sifirla {
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  transition: all 0.2s ease;
}

.modal {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.5);
      justify-content: center;
      align-items: center;
      z-index: 1000;
}

.modal.active {
      display: flex;
}


.modal-content {
      background: white;
      padding: 20px;
      border-radius: 10px;
      text-align: center;
      min-width: 300px;
      width: 80vw;        
      max-width: 500px;   
      max-height: 80vh;   
      overflow-y: auto;   
      box-sizing: border-box;
}

.navbar {
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  position: relative;
  z-index: 10;
}

/* Sol logo */
.navbar .left img {
  height: 40px;
}

/* Ortadaki başlık */
.navbar .center {
  position: absolute;    /* tam ortaya sabitle */
  left: 50%;
  transform: translateX(-50%);
}

.navbar .center a {
  font-family: 'Bangers', serif;
  font-size: 30px;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

/* Sağdaki linkler */
.navbar .right a {
  color: white;
  text-decoration: none;
  padding: 14px 10px;
}

.navbar .right a:hover {
  background: #575757;
}

/* Hamburger butonu */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  padding: 10px;
}

/* Açılır menü (mobil) */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #333;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.mobile-menu a {
  padding: 10px;
  text-align: center;
  display: block;
}

.mobile-menu img {
  width: 40px;
  height: 40px;
}

/* Mobil görünüm */
@media (max-width: 768px) {
  .navbar .center a {
    font-size: 20px;
  }

  .navbar .left img {
    height: 30px;
  }

  .navbar > div:last-child { /* sağdaki blog + destek */
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* Hover efektleri */
.navbar a:hover {
  background-color: #575757;
}

.navbar > div:last-child {
    display: flex;
    gap: 35px; /* ikonlar arası boşluk */
}

@media (max-width: 768px) {
    .navbar > div:last-child {
        gap: 5px;
    }
}

.lora-baslik {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 40px;
  font-style: normal;
}

.caprasimo-regular {
  font-family: "Caprasimo", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 25px;
}

.caveat-baslik {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: 200px;
  font-style: normal;
  font-size: 28px;
}

.albert-sans {
  font-family: "Albert Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200px;
  font-style: normal;
}

@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(255,255,255,0)); }
  50% { filter: drop-shadow(0 0 6px rgba(255,255,255,0.8)); }
}
.logo-glow {
  animation: glow 10s ease-in-out infinite;
}

.bangers-regular {
  font-family: "Bangers", system-ui;
  font-weight: 400;
  font-style: normal;
}

.indie-flower-regular {
  font-family: "Indie Flower", cursive;
  font-weight: 400;
  font-style: normal;
}

.nata-sans {
  font-family: "Nata Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 15px;
  font-style: normal;
}


body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
    #controls-carousel {
        height: 300px; /* mobilde daha kısa yaparak alt içerik yaklaşır */
    }
}

@media (max-width: 1200px) {
  .button-konteyner {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 900px) {
  .button-konteyner {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .button-konteyner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .button-konteyner {
    grid-template-columns: 1fr;
  }
}

.destek-kapsayici {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}


/* Küçük ekranlarda alt alta gelsin */
@media (max-width: 768px) {
  .destek-kapsayici {
    flex-direction: column;
  }
   .iletisim-foto img {
    width: 50px;
    height: 70px;
    margin: 0 auto; /* ortalasın */
    display: block;
  }
}

.related-wrapper {
  max-width: 280px; /* kart genişliği daha dar */
  margin: 20px auto;
}

.related-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: center;
  color: #333;
}

.related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.related-card img {
  width: 100%;
  height: 140px; /* yükseklik daha az */
  object-fit: cover;
  display: block;
}

.related-content {
  padding: 8px 10px;
}

.related-heading {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #222;
}

.related-excerpt {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.3;
  height: 48px; /* iki satır gibi görünmesi için */
  overflow: hidden;
}

/* Daha küçük ekranlarda */
@media (max-width: 480px) {
  .related-wrapper {
    max-width: 90%;
  }
  .related-card img {
    height: 120px;
  }
}

/* Genel Alan */
.categories-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Grid Yapısı */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

/* Kart Tasarımı */
.category-card {
  background: linear-gradient(135deg, #fdfdfd, #f2f2f2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Hover Efekt */
.category-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #f7faff, #eef3ff);
}

/* Başlık */
.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Açıklama */
.category-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Yakında Gelecek Alanı */
.coming-soon {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.coming-card {
  max-width: 400px;
  width: 100%;
}

/* Responsive Ayarlar */
@media (max-width: 480px) {
  .category-title {
    font-size: 1.3rem;
  }
  .category-desc {
    font-size: 0.95rem;
  }
  .category-card {
    padding: 1.5rem 1rem;
  }
}








/* Genel Alan */
.categories-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Grid Yapısı */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

/* Kart Tasarımı */
.category-card {
  background: linear-gradient(135deg, #fdfdfd, #f2f2f2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Hover Efekt */
.category-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #f7faff, #eef3ff);
}

/* Başlık */
.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Açıklama */
.category-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Yakında Gelecek Alanı */
.coming-soon {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.coming-card {
  max-width: 400px;
  width: 100%;
}

/* Responsive Ayarlar */
@media (max-width: 480px) {
  .category-title {
    font-size: 1.3rem;
  }
  .category-desc {
    font-size: 0.95rem;
  }
  .category-card {
    padding: 1.5rem 1rem;
  }
}

