
*, *::before, *::after {
  box-sizing: border-box;
}

/* ساختار پایه برای تمام صفحه */
body {
  margin: 0;
  padding: 0;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  box-sizing: border-box;
  overflow-x: hidden; /* جلوگیری از اسکرول افقی ناخواسته */
}

/* اطمینان از اعمال box-sizing به همه عناصر */
*, *::before, *::after {
  box-sizing: inherit;
}

/* اصلاح ساختار container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* اصلاح margin اضافی main-content در موبایل */
.main-content {
  padding: 0;
  margin: 0 auto;
}

/* در نسخه موبایل: حذف احتمالی فاصله‌های اضافی */
@media (max-width: 768px) {
  .main-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .container {
   padding-left: 20px;
    padding-right: 20px;
  }
}





.site-header {
  background-color: #2d2222;
  padding: 24px 0;
  border-bottom: 3px solid #8f8c7d;
}

.site-title {
  margin: 0;
  font-size: 28px;
  color: #908e86;
}

.site-title .highlight {
  color: #94928c;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.main-nav a {
  color: #78766f;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #ffffff;
}

.site-footer {
  background-color: #1F1515;
  text-align: center;
  padding: 20px;
  color: #ccc;
  font-size: 14px;
  border-top: 1px solid #555;
}
.hero-section {
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                    url('../images/cinema-bg.jpg'); /* می‌توانید یک تصویر بک‌گراند دلخواه اضافه کنید */
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  color: #fff;
  text-align: center;
}

.hero-title {
  font-size: 36px;
  margin-bottom: 16px;
  color: #FFD700;
}

.hero-text {
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.8;
  color: #f5f5f5;
}

.btn-primary {
  background-color: #FFD700;
  color: #3B2F2F;
  padding: 12px 28px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-primary:hover {
  background-color: #FFB000;
}
.section-upcoming {
  background-color: #2C1B1B;
  padding: 80px 0;
}

.section-upcoming .section-title {
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 32px;
  text-align: center;
}

.upcoming-static {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.upcoming-img {
  width: 480px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(0,0,0,0.4);
}

.upcoming-info {
  flex: 1;
  max-width: 600px;
  color: #eee;
}

.upcoming-info h3 {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 12px;
}

.upcoming-info p {
  line-height: 1.9;
  font-size: 16px;
  color: #ddd;
  margin-bottom: 20px;
}


.section-past {
  background-color: #1F1414;
  padding: 80px 0;
}

.section-past .section-title {
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 40px;
  text-align: center;
}

.past-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.past-card {
  background-color: #2C1C1C;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #eee;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.past-card:hover {
  transform: translateY(-8px);
}

.past-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
}

.past-card h3 {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 10px;
}

.past-card p {
  font-size: 15px;
  color: #ccc;
  margin-bottom: 16px;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #FFD700;
  color: #FFD700;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background-color: #FFD700;
  color: #2C1C1C;
}
.section-shatab {
  background-color: #2A1A1A;
  padding: 80px 0;
}

.section-shatab .section-title {
  color: #FFD700;
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
}

.shatab-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.shatab-info {
  flex: 1;
  max-width: 520px;
  color: #eee;
}

.shatab-info h3 {
  color: #FFD700;
  font-size: 22px;
  margin-bottom: 12px;
}

.shatab-info p {
  line-height: 1.8;
  font-size: 15px;
  color: #ccc;
  margin-bottom: 20px;
}

.shatab-gallery {
  flex: 1;
  max-width: 500px;
}

.shatab-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.5);
}

/* اسلایدر شتاب */
.swiper-shatab .swiper-pagination-bullet {
  background-color: #FFD700 !important;
}
.section-video {
  background-color: #1D1313;
  padding: 80px 0;
  text-align: center;
}

.section-video .section-title {
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 32px;
}

.video-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.film-video {
  width: 100%;
  max-width: 720px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
  background-color: #000;
}

.video-info {
  color: #ccc;
  font-size: 16px;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

.video-info a {
  display: inline-block;
  margin-top: 20px;
}

.shatab-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

/* حالت موبایل – تغییر ترتیب نمایش */
@media (max-width: 768px) {
  .shatab-content {
    flex-direction: column;
  }

  .shatab-info {
    order: 2;
    text-align: center;
  }

  .shatab-gallery {
    order: 1;
  }
}
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}
.swiper-slide {
  max-width: 100%;
  overflow: hidden;
}

.shatab-img {
  width: 100%;
  height: auto;
  display: block;
}


/* =========================
   Production Detail Styles
   ========================= */
.production-detail {
  padding-block: 24px 56px;
}

.production-detail .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Breadcrumb */
.production-detail .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.production-detail .breadcrumb a {
  color: #666;
  text-decoration: none;
}

.production-detail .breadcrumb a:hover {
  color: #111;
}

.production-detail .breadcrumb .sep {
  color: #bbb;
}

/* Hero */
.production-detail .production-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.production-detail .hero-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
}

.production-detail .hero-text h1 {
  font-size: 1.8rem;
  margin: 0 0 8px;
  line-height: 1.4;
}

.production-detail .hero-text .tagline {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

/* Meta grid */
.production-detail .production-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

.production-detail .meta-item {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.95rem;
  color: #222125;
}

.production-detail .meta-item span {
  color: #888;
  margin-left: 6px;
}

/* Blocks */
.production-detail .production-block {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
  color: #222125;
}

.production-detail .production-block h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.production-detail .production-block p {
  margin: 0 0 10px;
  line-height: 1.9;
  color: #333;
}

.production-detail .theme-list,
.production-detail .notes-list {
  margin: 0;
  padding: 0 18px;
  color: #333;
}

.production-detail .theme-list li,
.production-detail .notes-list li {
  margin: 6px 0;
}

/* Credits */
.production-detail .production-credits {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px 0 8px;
  color: #222125;
}

.production-detail .production-credits h3 {
  margin: 0 0 10px;
}

.production-detail .production-credits ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.production-detail .production-credits li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  gap: 6px;
}

.production-detail .production-credits li:last-child {
  border-bottom: none;
}

.production-detail .production-credits strong {
  color: #444;
  min-width: 170px;
}

/* Closing */
.production-detail .closing {
  background: #f9fafb;
  border: 1px solid #eef0f2;
}

.production-detail .closing p {
  margin: 4px 0 0;
  color: #444;
  font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
  .production-detail .production-hero {
    grid-template-columns: 1fr;
  }
  .production-detail .hero-img {
    max-width: 420px;
    justify-self: center;
  }
  .production-detail .production-meta {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .production-detail .production-meta {
    grid-template-columns: 1fr;
  }
}

