

@font-face {
    font-family: 'IranNastaliq';
    src: url('https://dl.rajeoonstonememorial.com/media/font/IranNastaliq.woff2') format('woff2'),
         url('https://dl.rajeoonstonememorial.com/media/font/IranNastaliq.woff') format('woff');
    font-weight: normal;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn/Vazirmatn[wght].woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background: #0b0b0b;
    color: #f2f2f2;
    font-family: 'Vazirmatn', sans-serif;
    scroll-behavior: smooth;
    direction: rtl;
}

 h2 {
    font-family: 'IranNastaliq', serif;
    color: #e6d39c; 
    font-size: 30px;
   right: px;
   text-align: right;


}

p, span, li, a, button, input {
    font-family: 'Vazirmatn', sans-serif;
}


section {
    width: 100%;
    padding: 100px 7%;
}


.section-dark {
    background: #0f0f0f;
}



.btn {
    padding: 12px 32px;
    background: #e6d39c;
    color: #0b0b0b;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #cbb67b;
}


.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    top: 0;
    right: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 68px;
    margin-bottom: 20px;
}


.flex {
    display: flex;
    align-items: center;
}

.space-between {
    justify-content: space-between;
}

.center {
    justify-content: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}



.img-rounded {
    border-radius: 12px;
    width: 100%;
    display: block;
}



footer {
    padding: 40px 7%;
    text-align: center;
    background: #0a0a0a;
    color: #aaa;
    font-size: 14px;
}


.hero {
    position: relative;
    height: 100vh;
    background: url(https://dl.rajeoonstonememorial.com/media/image/pexels-polina-kovaleva-6788338.jpg) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}



.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #f5f5f5;
    padding: 0 20px;
}

.hero-sub {
    font-size: 22px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.hero-title {

    font-size: 80px;
    line-height: 1.1;
    color: #e2c779;
    margin-bottom: 20px;
}

.hero-title span {
    color: #fff;
}

.hero-meta {
    font-size: 35px;
    opacity: 0.9;
    margin: 15px 0 35px;
    color: white;
    font-family: 'IranNastaliq', serif;
}

.color{
  font-size: 40px;
    opacity: 0.9;
    margin: 0px 0 0px;
    color: #e2c779;
    font-family: 'IranNastaliq', serif;
}
.hero-cta {
    padding: 12px 32px;
    background: #e2c779;
    color: #111;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.hero-cta:hover {
    background: #c9ad63;
}

.nav-side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

.nav-side.left { left: 35px; }
.nav-side.right { right: 35px; }

.side-btn {
    transform: rotate(-90deg);
    background: transparent;
    border: 2px solid #e2c779;
    padding: 12px 25px;
    color: #e2c779;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.side-btn:hover {
    background: #e2c779;
    color: #111;
}





.section-services {
  padding: 80px 0;
  background: #0b0b0b;
}

.services-container {
  width: 94%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* قاب دقیقاً مثل قبلی – مربع */
.service-box {
  background: linear-gradient(145deg, #111, #000);
  padding: 8px;
  border-radius: 18px;
  border: 3px solid #d4af37; /* طلایی */
  box-shadow:
    0 0 25px rgba(212, 175, 55, 0.45),
    0 0 60px rgba(212, 175, 55, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;

  aspect-ratio: 1 / 1;     /* مهم‌ترین بخش → مربع */
  width: 100%;
}

/* عکس کامل ولی بدون کراپ */
.service-img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* عکس کامل، کات نمی‌شود */
  border-radius: 12px;
}




.service-title {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 20px;
  margin-top: 15px;
  font-weight: 700;
}

.service-text {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 15px;
  opacity: 0.85;
  margin-top: 8px;
  line-height: 1.7;
}
.section-about {
  padding: 80px 0;
}

.about-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.about-content {
  flex: 1;
}

.about-title {
  font-family: 'IranNastaliq', serif;
  font-size: 400px;
  margin-bottom: 25px;
  text-align: center;
}

.about-text {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.9;
  margin-bottom: 30px;
}

.about-btn {
  display: inline-block;
}


.about-section {
  padding: 50px 0;
  display: flex;
  justify-content: center;  /* وسط افقی */
  text-align: right;        /* تیتر و متن هم وسط */
}

.about-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 400px;   /* این فاصله عکس و متن رو دقیقا می‌بره به محل موردنظر */
  padding: 40px 0;
}


/* متن */
.about-text-area {
  padding: 0;
}

.about-title {
  font-size: 50px;
  margin-bottom: 100px;
}

.about-info {
  font-size: 30px;
  line-height: 1.8;
  font-family: 'IranNastaliq', serif;
  
}

/* قاب عکس */
.about-image-frame {
  padding: 10px;
  background: linear-gradient(135deg, #d4af37, #000, #d4af37);
  border-radius: 12px;
  display: inline-block;
}

.about-image-frame img {
  display: block;
  width: 330px;
  height: auto;
  border-radius: 8px;
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {

  .about-grid {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
    gap: 25px;
  }

  /* ترتیب: عنوان → متن → عکس */
  .about-text-area {
    order: 1;
    padding-right: 0;
  }

  .about-image-box {
    order: 3;
  }

  .about-image-frame img {
    width: 100%;
    max-width: 320px;
  }
  .about-title {
  font-size: 50px;
  margin-bottom: 25px;
}
}


.video-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* قاب طلایی مثل قبلی */
.video-wrapper {
  background: linear-gradient(145deg, #111, #000);
  padding: 18px;
  border-radius: 18px;
  border: 3px solid #d4af37;
  box-shadow:
    0 0 25px rgba(212, 175, 55, 0.45),
    0 0 60px rgba(212, 175, 55, 0.2);

  width: 80%;
  max-width: 750px;

  /* قاب مربع یا مستطیل: هرچی بدی ویدئو پرش می‌کنه */
  aspect-ratio: 16 / 9;   /* یا 1/1 اگر مربع می‌خوای */
  overflow: hidden;        /* مهم */
  position: relative;
}

/* ویدئو کاملاً قاب را پر می‌کند */
.videobox {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* قاب رو کامل پر می‌کنه */
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 10px;
}

/* موبایل */
@media (max-width: 600px) {
  .video-wrapper {
    width: 100%;
  }
}




  .testimonials { position: relative; height: 450px; overflow: hidden; }
.testimonials .service-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.testimonials .overlay {  position: absolute;
  inset: 0;                    /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0,0,0,0.6 );/* شدت تاریکی: 0.0 - 1.0 */
  z-index: 1;
  pointer-events: none; }
.testimonials-content { z-index: 2; position: relative; }


/* حالت پیش‌فرض: دسکتاپ */
.quick-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 150px;
  margin-top: 15px;
}



/* دکمه‌ها سمت راست */
.quick-actions-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 220px;
  width: 100%;
  margin-top: 150px;
}

/* دکمه‌ها */
.action-btn {
  padding: 14px 25px;
  background: #1a1a1a;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-align: center;
  width: 100%;
}

.action-btn:hover {
  background: #333;
  transform: translateY(-3px);
}


.action-btn.disabled {
  background: #555;
  cursor: not-allowed;
  opacity: 0.6;
}
/* حالت موبایل */
@media (max-width: 768px) {
  .quick-actions {
    flex-direction: column;
    align-items: center;
  }

  .player-ctn {
    margin-top: 20px;
  }

  .quick-actions-container {
    max-width: 320px;
    width: 100%;
    margin-top: 30px;
  }
}





#myProgress {
  width: 100%;          /* نه 420px */
  margin: 10px 0;
  background-color: #d9d9f2;
  cursor: pointer;
  border-radius: 10px;
}


#myBar {
  width: 0%;
  height: 5px;
  background-color: #ffc266;
  border-radius: 10px;
}

.logo {
  fill: red;
}

.btn-action{
  cursor: pointer;
  padding-top: 10px;
  width: 30px;
}

.btn-ctn, .infos-ctn{
  display: flex;
  align-items: center;
  justify-content: center;
}
.infos-ctn{
padding-top: 20px;
}

.btn-ctn > div {
 padding: 5px;
 margin-top: 18px;
 margin-bottom: 18px;
}

.infos-ctn > div {
 margin-bottom: 8px;
 color: #ffc266;
}

.first-btn{
  margin-left: 3px;
}

.duration{
  margin-left: 10px;
}

.title{
  margin-left: 10px;
  width: 210px;
  text-align: center;
}
/* پلیر سمت چپ */
.player-ctn {
  flex: 1;
  max-width: 420px;
  background-color: #373737;
  border-radius: 15px;
  padding: 10px;
}

.playlist-track-ctn{
  display: flex;
  background-color: #464646;
  margin-top: 3px;
  border-radius: 5px;
  cursor: pointer;
}
.playlist-track-ctn:last-child{
  /*border: 1px solid #ffc266; */
}

.playlist-track-ctn > div{
  margin:10px;
}
.playlist-info-track{
  width: 80%;
}
.playlist-info-track,.playlist-duration{
  padding-top: 7px;
  padding-bottom: 7px;
  color: #e9cc95;
  font-size: 14px;
  pointer-events: none;
}
.playlist-ctn{
   padding-bottom: 20px;
}
.active-track{
  background: #4d4d4d;
  color: #ffc266 !important;
  font-weight: bold;
  
}

.active-track > .playlist-info-track,.active-track >.playlist-duration,.active-track > .playlist-btn-play{
  color: #ffc266 !important;
}


.playlist-btn-play{
  pointer-events: none;
  padding-top: 5px;
  padding-bottom: 5px;
}
.fas{
  color: #ffc266;
  font-size: 20px;
}



/* کل فوتر وسط چین */
.site-footer {
  padding: 40px 0;
  
  color: #ffffff;
  text-align: center;
}

/* عنوان */
.footer-title {
  font-size: 15px;
  margin-bottom: 15px;
  color: #ffffff;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

/* شماره تلفن‌ها – وسط و سفید */
.footer-address {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.footer-address a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  direction: ltr;
  margin: 0 auto;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

/* آیکن‌ها کنار هم */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 25px 0;
}

/* آیکن سفید */
.icon-gold {
  stroke: #ffffff !important;
  width: 32px;
  height: 32px;
}

/* کپی‌رایت وسط */
.footer-bottom {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.7;
}



.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.accordion-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,77,0.6);
  position: relative;
  transition: 0.3s ease;
}

.accordion-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #c9a24d;
  border-bottom: 2px solid #c9a24d;
  transform: translate(-50%, -60%) rotate(45deg);
  transition: 0.3s ease;
}

/* حالت باز */
.accordion-header.active .accordion-arrow::before {
  transform: translate(-50%, -40%) rotate(225deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

/* باز شدن */
.accordion-content.open {
  max-height: 3000px;
}



