@import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
  font-family: "Fira Mono", monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  background-color: #ffffff;
}
.starter-template {
  margin: 0 auto;
  position: relative;
  width: 100%;
  max-width: 1170px;
  margin-top: 3rem;
  padding-top: 1rem;
}
.container {
  position: relative;
  max-width: 1170px;
  margin: 0px auto 0 !important;
  background: #f7f7f7;
}
.fixed-top {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}
/* SLİDER CONTENT */
.film-slider-section {
  padding: 5px;
  width: 100%;
}

.film-slider-section h2 {
  text-align: center;
  font-size: 28px;
}
.film-slider-section h2 span {
  color: #ff7200;
}

.subtitle {
  text-align: center;
  margin-bottom: 30px;
  color: #ccc;
}

.film-slider::-webkit-scrollbar {
  display: none; /* Chrome */
}
.film-slider {
  display: flex;
  gap: 0px; /* bu önemli */
  overflow-x: auto;
  scroll-behavior: smooth;
  margin: 0 auto;
}


.film-card {
  flex: 0 0 calc((100% - (6 * 0px)) / 6);
  width: calc((100% - (6 * 0px)) / 6);
  background: #ededed;
  border-radius: 10px;
  position: relative;
  padding-bottom: 10px;
  user-select: none;
  height: 340px; /* Fixed height for the entire card */
}
.film-slider::-webkit-scrollbar {
  display: none;
}
.film-card img {
  width: 100%;
  height: 280px; /* Fixed height for the image */
  object-fit: cover; /* Ensures the image fills the container without distortion */
  border-radius: 10px 10px 0 0;
}

.film-card .etiket {
  position: absolute;
  top: 8px;
  left: 8px;
  background: orange;
  color: black;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
}
.öz {
  background: orange;
}
.g {
  background: #ffb400;
}
.gpt {
  background: #ff0066;
}

.film-card .rating {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #ff7200;
  color: white;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.film-card h3 {
  padding: 10px;
  font-size: 14px;
  margin: 0;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.film-card .date {
  padding: 0 10px;
  font-size: 12px;
  color: #282828;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
}

/* Next / Prev Butonları */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(241 147 0 / 60%);
  color: #000000;
  border: none;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  z-index: 10;
  transition: background-color 0.3s ease;
  width: 70px;
    height: 70px;
}
.slider-btn .prevleft {
      position: relative;
    left: 10px;
    font-size: 30px;
}
.slider-btn .prevnext {
      position: relative;
    right: 10px;
    font-size: 30px;
}
.slider-btn:hover {
  background-color: #ff7200;
}

.prev {
  left: -30px;
}

.next {
  right: -30px;
}

/* FİLM SECTİON BÖLÜMÜ */
.film-list-section {
  padding: 10px;
  background: #f7f7f7;
  color: #000;
  font-family: inherit;
  margin-top: 1rem;
}

.section-title {
  text-align: center;
  font-size: 28px;
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}
.entry-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
  margin-bottom: 20px;
}

.entry-header h2 {
  font-size: 28px;
  color: #000;
  margin: 0;
}

.entry-header h2 .highlight {
  color: #ff7200;
}
.entry-header .seperator {
  flex: 1;
  height: 10px;
  /* max-width: 300px; */
  background: url("https://asyafilmizlesene.org/wp-content/themes/amy-movie/images/bg/seperator-bg.png")
    repeat-x center;
  background-size: contain;
  opacity: 0.7;
}
.film-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 20px; /* Satır ve sütun arası boşluk */
}

/* Poster için link */
.film-card-link {
  display: inline-block; /* Sadece posteri kapsayacak */
  text-decoration: none;
  color: inherit;
}

.film-poster {
  width: 160px;
  height: auto;
  border: 1px solid #444;
}

/* Film bilgileri */
.film-info {
  margin-left: 15px; /* Poster ile bilgiler arasındaki boşluk */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* .film-item içinde eşit yükseklik */
}
.etiket {
  position: relative;
  background: orange;
  color: black;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
}
.film-item {
  display: flex;
  align-items: flex-start; /* Poster ve bilgileri yukarıdan hizalayın */
  flex-basis: calc(50% - 10px); /* (20px sütun boşluğunun yarısı = 10px) */
  max-height: 260px; /* Mevcut stilinizi koruyun */
  flex-shrink: 0;
  flex-grow: 0;
  background: #ededed;
  padding: 5px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.film-item:hover {
  background: #dbf0f9;
  transform: translateY(-5px); /* Hafifçe yukarı kaldır */
}
.amy-movie-item-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 10px;
  align-items: center;
}
.film-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.meta {
  list-style: none;
  padding: 0;
  font-size: 13px;
  color: #000000;
  line-height: 1.5;
}
.meta li a {color:#056095;font-weight: 500;}
.actions {
  margin-top: auto; /* Aşağıya sabitlemek için */
  margin-bottom: 10px;
}

.actions button {
  background: #222;
  border: 1px solid #555;
  color: #fff;
  padding: 4px 10px;
  margin-right: 5px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.actions button:hover {
  background-color: #333;
  border-color: #777;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
}
.pagination-button {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
  font-weight: 600;  
}
.pagination-button:hover {
  background-color: #020466;
  text-decoration: none;
  color: #fff
}
.pagination-button.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}
.pagination-button.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #f0f0f0;
}


/* MOVIDE DETAILS CSS */
        .movie-card {
            background-color: #efefef; /* Kart arka planı */
            border-radius: 10px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        @media (min-width: 768px) {
            .movie-card {
                flex-direction: row;
            }
        }
        .poster-section {
            flex-shrink: 0;
            width: 100%;
            max-width: 400px; /* Afişin maksimum genişliği */
        }
        @media (min-width: 768px) {
            .poster-section {
                width: 35%; /* Tablet ve masaüstü için afiş genişliği */
            }
        }
        .poster-section img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 10px;
        }
        .details-section {
            padding: 1.5rem;
            flex-grow: 1;
        }
        .title {
            font-size: 1.875rem; /* text-3xl */
            font-weight: 700; /* font-bold */
            margin-bottom: 0.5rem;
            color: #000;
        }
        .subtitle {
            font-size: 1rem; /* text-base */
            color: #b0b0b0;
            margin-bottom: 1rem;
        }
        .detail-item {
            display: flex;
            margin-bottom: 0.5rem;
        }
        .detail-label {
            font-weight: 600; /* font-semibold */
            width: 125px; /* Etiket genişliği */
            color: #505050;
        }
        .detail-value {
            flex-grow: 1;
            color: #000000;
            width: calc(100% - 125px);
        }
        .detail-value a {font-weight: 500;color: #000;}
        .summary-section {
            border-radius: 10px;
            margin-top: 1.5rem;
        }
        .summary-title {
            font-size: 1.5rem; /* text-2xl */
            font-weight: 700;
            margin-bottom: 1rem;
            color: #505050;
        }
        .summary-text {
            line-height: 1.6;
            color: #000;
        }
        .imdb-rating {
            background-color: #ffad47; /* IMDb sarısı */
            color: #333;
            padding: 0.25rem 0.5rem;
            border-radius: 5px;
            font-weight: 600;
            font-size: 0.875rem; /* text-sm */
            display: inline-flex;
            align-items: center;
            margin-right: 0.5rem;
        }
        .duration {
            background-color: #4a4a4a;
            color: #e0e0e0;
            padding: 0.25rem 0.5rem;
            border-radius: 5px;
            font-size: 0.875rem;
            display: inline-flex;
            align-items: center;
        }
.seriefilmler {
margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-style: italic;
    font-size: 1rem;  
}

/* Mobil için adaptivite */
@media (max-width: 768px) {
  .film-item {
    flex-direction: column;
    align-items: center;
    width: 100%; /* Küçük ekranlarda tam genişlik */
  }

  .film-card-link {
    margin-bottom: 10px; /* Mobilde poster ile bilgiler arasına boşluk */
  }

  .film-poster {
    margin: 0 auto; /* Mobilde posteri ortala */
  }

  .film-info {
    text-align: center;
    margin-left: 0; /* Mobilde sol boşluğu kaldır */
  }
}

/* Fragman Modal Stilleri */
.modal {
  display: none; /* Varsayılan olarak gizli */
  position: fixed; /* Ekranı kapla */
  z-index: 1000; /* Diğer her şeyin üstünde */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* İçerik taşarsa kaydırma çubuğu */
  background-color: rgba(0, 0, 0, 0.8); /* Yarı şeffaf siyah arka plan */
  justify-content: center; /* İçeriği yatayda ortala */
  align-items: center; /* İçeriği dikeyde ortala */
  animation: fadeIn 0.3s forwards; /* Açılış animasyonu */
}

.modal-content {
  background-color: #000; /* Modal içeriğinin arka planı */
  margin: auto; /* Dikeyde ve yatayda ortalama için */
  padding: 20px;
  border: 1px solid #888;
  width: 90%; /* Genişlik */
  max-width: 900px; /* Maksimum genişlik */
  position: relative; /* Kapanma butonu için */
  border-radius: 8px; /* Yuvarlak köşeler */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* Hafif gölge */
  animation: slideIn 0.3s forwards; /* Açılış animasyonu */
}

.close-button {
  color: #aaa;
  float: right; /* Sağa hizala */
  font-size: 36px;
  font-weight: bold;
  position: absolute; /* Modal içeriğinin sağ üst köşesine sabitle */
  top: 10px;
  right: 20px;
  cursor: pointer;
  z-index: 1001; /* Butonun videonun üstünde olduğundan emin ol */
}

.close-button:hover,
.close-button:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.modal-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 en boy oranı (9 / 16 = 0.5625) */
  height: 0;
  overflow: hidden;
  margin-top: 20px; /* Kapanma butonundan boşluk */
}

.modal-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal.hidden {
    display: none !important;
}
.amy-footer-widgets {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
/* Animasyonlar */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
    display: flex;
  } /* display: flex ile ortalamayı sağla */
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 10px;
  }
  .close-button {
    font-size: 30px;
    top: 5px;
    right: 10px;
  }
}
