/* تعریف فونت‌ها کاملا صحیح است */
@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;
}

/* ----------------------------------------------------------- */
.hero-wrapper {
  position: relative;
}

.site-header-custom {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 1050;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.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;
}

.hero-slide-img {
  height: 500px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.carousel-caption {
  z-index: 2;
}


/* استایل اختصاصی هدر شیشه‌ای روی اسلایدر */
.hero-wrapper .site-header-custom {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
}

.site-header {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* اسلایدر */
.hero-slide-img {
  height: 100vh;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
}

.carousel-caption {
  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: 60px;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, transparent);
}

.about-img {
  transition: transform 0.5s ease;
}

.about-img: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;
}

/* کارت‌های خدمات */
.feature-card {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: 0.4s;
  border-radius: 15px;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-header {
  background: #1f1a17;
  color: #d4af37;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* فرم تماس */
.custom-input:focus {
  border-color: #aa7c11 !important;
  box-shadow: 0 0 0 0.25rem rgba(170, 124, 17, 0.15) !important;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  color: white;
  border: none;
}

.contact-section {
  background: linear-gradient(135deg, #fcfaf6 0%, #f5efe4 100%);
}

.contact-section .form-control {
  background-color: rgba(255, 255, 255, 0.92);
}