/* تعریف فونت‌ها کاملا صحیح است */
@font-face {
  font-family: "nazaninLight";
  src: url("../fonts/nazaninLight.eot");
  src: url("../fonts/nazaninLight.eot?#iefix") format("embedded-opentype"),
    url("../fonts/nazaninLight.woff") format("woff"),
    url("../fonts/nazaninLight.ttf") format("truetype"),
    url("../fonts/nazaninLight.svg#nazaninLight") format("svg");
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  /* برای سرعت بارگذاری بهتر اضافه شد */
}

@font-face {
  font-family: 'BTITR';
  src: url('../fonts/BTITRBD.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* اعمال فونت به بدنه اصلی سایت */
body {
  font-family: "nazaninLight", Tahoma, Arial, sans-serif;
  line-height: 1.6;
  /* برای خوانایی بهتر متون فارسی */
}



h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "nazaninLight", Tahoma, Arial, sans-serif;
}

nav,
figure,
font,
mark {
  font-family: nazaninLight, Tahoma, Arial, sans-serif !important;
}

ul li,
ul,
img,
figure,
option,
optgroup {
  font-family: nazaninLight, Tahoma, Arial, sans-serif !important;
}

option {
  z-index: 0 !important;
}

div {
  font-family: nazaninLight, Tahoma, Arial, sans-serif !important;
  font-size: medium !important;
}

sub,
samp,
span,
strong {
  font-family: nazaninLight, Tahoma, Arial, sans-serif !important;
}

p,
b,
pre,
label {
  font-family: nazaninLight, Tahoma, Arial, sans-serif !important;
  font-size: medium !important;
}

a {
  font-family: nazaninLight, Tahoma, Arial, sans-serif !important;
  text-decoration: none;
}



/* ==========================================================================
   ۳. هدر و ناوبری
   ========================================================================== */
.site-header-custom {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1050;
}

.site-header {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-logo {
  max-height: 58px;
  width: auto;
}

.main-menu .nav-link {
  color: #222;
  font-weight: 500;
  transition: color .2s ease;
}

.main-menu .nav-link:hover,
.main-menu .nav-item.active .nav-link {
  color: #0d6efd;
}

.menu-toggle-btn {
  border: 1px solid #ddd;
  background: #fff;
  color: #222;
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.menu-toggle-btn:focus {
  box-shadow: none;
}

/* نسخه‌ی فیروزه‌ای هدر */
.header-turquoise-style {
  background-color: #f4fafb;
  border-bottom: 4px solid #00adb5;
}

.text-turquoise-main {
  color: #00adb5 !important;
}

.text-muted-custom {
  color: #5a6b6c !important;
}

.text-muted-custom:hover {
  color: #00adb5 !important;
}

.btn-mobile-toggle {
  color: #00adb5;
}


.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  font-family: nazaninLight, Tahoma, Arial, sans-serif !important;
}


.logo span {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}


.logo .main-text {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
}


.logo .sub-text {
  font-size: 1rem;
  letter-spacing: 1px;
  margin-top: 2px;
}


/* ==========================================================================
   ۴. اسلایدر اصلی (Hero)
   ========================================================================== */
.hero-wrapper {
  position: relative;
}

.hero-slide-img {
  height: 100vh;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.carousel-caption {
  z-index: 2;
  bottom: 20%;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-caption h3 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffd700;
}

/* ==========================================================================
   ۵. عنوان بخش‌ها و «درباره ما»
   ========================================================================== */
.section-title {
  font-weight: bold;
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, transparent);
}

/* نکته: قبلاً این کلاس about-img بود ولی توی index.php کلاس عکس
   about-image است؛ به‌خاطر همین ناهماهنگی، افکت هاور هیچ‌وقت اجرا نمی‌شد. */
.about-image {
  transition: transform 0.5s ease;
}

.about-image:hover {
  transform: scale(1.03);
}

.skill-tag {
  background: rgba(212, 175, 55, 0.1);
  color: #8c670a;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: 0.3s;
}

.skill-tag:hover {
  background: #aa7c11;
  color: #fff;
}

/* ==========================================================================
   ۶. کارت‌های خدمات
   ========================================================================== */
.services-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.services-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  color: #fff;
  border: none;
  transition: opacity 0.2s;
}

.btn-gold:hover {
  opacity: 0.9;
  color: #fff;
}

/* مودال جزئیات خدمات */
.modern-dialog {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
}

.modern-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   ۷. فرم تماس
   ========================================================================== */
.contact-section {
  background: linear-gradient(135deg, #fcfaf6 0%, #f5efe4 100%);
}

.contact-section .form-control {
  background-color: rgba(255, 255, 255, 0.92);
}

.custom-input:focus {
  border-color: #aa7c11 !important;
  box-shadow: 0 0 0 0.25rem rgba(170, 124, 17, 0.15) !important;
}

/* ==========================================================================
   ۸. کمکی (Utilities)
   ========================================================================== */
.text-justify-fa {
  direction: rtl;
  text-align: justify;
  text-justify: inter-word;
  line-height: 2;
  word-spacing: -1px;
}

/* ---------------------------------------------------------------------- */
.btn-back-services {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem 1rem !important;
  border: 1px solid #d4af37 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #fffaf0, #f5e3a2) !important;
  color: #1f6f5b !important;
  font-weight: 700;
  box-shadow: 0 .25rem .65rem rgba(31, 111, 91, .12);
  transition: all .2s ease
}

.btn-back-services i {
  font-size: 1rem;
  color: #b28a16;
  transition: transform .2s ease
}

.btn-back-services:hover {
  border-color: #1f6f5b !important;
  background: linear-gradient(135deg, #1f6f5b, #2d8a70) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 .45rem 1rem rgba(31, 111, 91, .25)
}

.btn-back-services:hover i {
  color: #fff;
  transform: translateX(3px)
}

.btn-back-services:active {
  transform: translateY(0);
  box-shadow: 0 .2rem .4rem rgba(31, 111, 91, .18)
}

/* ------------------------------------------------------------------------------------ */
.meeting-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #ead7a0;
  border-radius: 1rem;
  background: #fffdf7;
  box-shadow: 0 .5rem 1.25rem rgba(91, 67, 18, .10)
}

.meeting-table {
  min-width: 860px;
  margin-bottom: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0;
  overflow: hidden
}

.meeting-table .custom_thead th {
  padding: .85rem .65rem !important;
  background: linear-gradient(135deg, #fff0b8, #e5b93f) !important;
  color: #493500 !important;
  border-color: #d9b75a !important;
  font-size: .86rem;
  font-weight: 800;
  white-space: nowrap;
  vertical-align: middle
}

.meeting-table .custom_tbody td {
  padding: .7rem .65rem !important;
  border-color: #eee2bd !important;
  color: #4d4637;
  vertical-align: middle
}

.meeting-table .custom_tbody tr:nth-child(odd)>td {
  background-color: #fff !important
}

.meeting-table .custom_tbody tr:nth-child(even)>td {
  background-color: #fffaf0 !important
}

.meeting-table .custom_tbody tr {
  transition: transform .15s ease, box-shadow .15s ease
}

.meeting-table .custom_tbody tr:hover>td {
  background-color: #fff0bd !important
}

.meeting-table .meeting-story,
.meeting-table .meeting-book {
  min-width: 230px;
  line-height: 1.8;
  text-align: right !important
}

.meeting-table .meeting-number {
  color: #8b6512;
  font-weight: 800
}

.meeting-table .btn-attendance-more {
  width: 2rem !important;
  height: 2rem !important;
  display: inline-grid !important;
  place-items: center;
  border-radius: 50%;
  line-height: 1 !important
}

.meeting-pagination {
  margin-top: 1rem
}

.meeting-pagination .page-link {
  min-width: 2.25rem;
  border-color: #e1c978;
  color: #76570b;
  text-align: center
}

.meeting-pagination .page-item.active .page-link,
.meeting-pagination .page-link:hover {
  background-color: #d4af37;
  border-color: #b99018;
  color: #fff
}

@media (max-width:768px) {
  .meeting-table {
    min-width: 760px
  }
}

/* ---------------------------------------------------------------- */

.services-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.services-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.btn-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #AA7C11 100%);
  color: #fff;
  border: none;
  transition: opacity 0.2s;
}

.btn-gold:hover {
  opacity: 0.9;
  color: #fff;
}

/* استایل مدرن برای تگ dialog */
.modern-dialog {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
}

.modern-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

/* ---------------------------------------------------------------- */
.festival-status-list {
  width: 100%;
}

.festival-status-item {
  display: flex;
  align-items: center;
  min-width: 125px;
  padding: .48rem .7rem;
  border: 1px solid rgba(25, 135, 84, .13);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(248, 250, 249, .92));
  box-shadow: 0 3px 10px rgba(35, 70, 50, .06);
  transition: all .25s ease;
}

.festival-status-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(35, 70, 50, .12);
}

.festival-status-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  width: 100%;
  min-width: 0;
}

.festival-status-title {
  font-size: .76rem;
  color: #5b665f;
  white-space: nowrap;
}

.festival-status-count {
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
  color: #198754;
}

.festival-status-Rejected {
  border-color: rgba(220, 53, 69, .16);
}

.festival-status-Rejected .festival-status-count {
  color: #dc3545;
}

.festival-status-Ranked {
  border-color: rgba(255, 193, 7, .25);
}

.festival-status-Ranked .festival-status-count {
  color: #b88600;
}

.festival-status-Final {
  border-color: rgba(13, 110, 253, .16);
}

.festival-status-Final .festival-status-count {
  color: #0d6efd;
}

.festival-status-Received {
  border-color: rgba(108, 117, 125, .2);
}

.festival-status-Received .festival-status-count {
  color: #6c757d;
}

.festival-status-Approved .festival-status-count,
.festival-status-Stage1 .festival-status-count,
.festival-status-Stage2 .festival-status-count,
.festival-status-Stage3 .festival-status-count {
  color: #198754;
}

@media(max-width:575.98px) {
  .festival-status-item {
    min-width: calc(50% - .5rem);
    flex: 1 1 calc(50% - .5rem);
  }

  .festival-status-title {
    font-size: .7rem;
  }

  .festival-status-count {
    font-size: .76rem;
  }
}

/* ---------------------------------------------------------------- */

.btn-gold-custom {
  background: linear-gradient(135deg, #e6b422 0%, #d49b10 50%, #b8860b 100%);
  color: #1a2e1f !important;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 3px 10px rgba(212, 155, 16, .28), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: all .25s ease;
}

.btn-gold-custom:hover {
  background: linear-gradient(135deg, #f0c030 0%, #e0a515 50%, #c4900f 100%);
  color: #0f2014 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 155, 16, .38);
}

.btn-gold-custom:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(212, 155, 16, .25);
}


/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */