@font-face {
  font-family: 'IRANSansX';
  src: url('fonts/IRANSansX-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
} 

@font-face {
  font-family: 'IRANSansX';
  src: url('fonts/IRANSansX-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('fonts/IRANSansX-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('fonts/IRANSansX-Demibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('fonts/IRANSansX-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('fonts/IRANSansX-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}

:root {
    --max-width: 984px;
    --nav-height: 64px;
    --basi-color: #5C5C5C;
    --h1-color: #35383A;
    --h2-color: #35383A;
    --h3-color: #35383A;
    --h4-color: #35383A;
    --h1-size: 1.2rem;
    --h2-size: 1.2rem;
    --h3-size: 1.2rem;
    --h4-size: 1.2rem;
}

* {
    box-sizing: border-box; 
    vertical-align: baseline;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    outline: none;
    text-decoration: none;
}

a {
    font: inherit;
    text-decoration: none;
    color: inherit;
}


html {
    font-family: 'IRANSansX', sans-serif;
    font-weight: 500; /* غŒط§ 300طŒ 500طŒ 600طŒ 700طŒ 900 */
    font-size: 15px;
    letter-spacing: -0.02em;
    word-spacing: -0.1em;
    color: var(--basi-color);
    background: #f0f0f0;
    user-select1: none;
}

body {
    min-height: 100vh;
}

/* هدر */
.header {
    display: block;
    width: 100%;
    padding-top: 64px;
}

.navbar {
    display: flex;
    position: fixed;
    align-items: center;
    gap: 15px;
    width: 100%;
    height: 64px;
    top: 0;
    color: #333333;
    background-color: #f9f9f9;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.navbar > *:last-child {
    margin-right: auto;   /* آخری هل داده می‌شه سمت چپ */
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* وسط‌چین عمودی */
  align-items: center;      /* وسط‌چین افقی */
  height: 100%;             /* ارتفاع به اندازه والد */
}

.logo .line1 {
  font-size: 1.4rem;          /* ردیف اول درشت */
  font-weight: bold;
  white-space: nowrap;
  line-height: 1.1;
}

.logo .line2 {
  font-size: 0.8rem;        /* اندازه دوم کمی کوچکتر */
  width: max-content;       /* فقط به اندازه متن */
  text-align: center;
  line-height: 1;
}

.nav-menu {
    height: 100%; 
}

.nav-menu ul {
    display: flex;
    height: 100%;
    list-style: none;
}

.nav-menu li {
    height: 100%;          /* آیتم هم ارتفاع نوار */
}

.nav-menu a {
    display: flex;
    align-items: center;   /* متن وسط عمودی داخل لینک */
    height: 100%;          /* ارتفاع لینک مثل navbar */
    padding: 0 20px;
}

.nav-menu a:hover {
    background: #eee;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px; /* فاصله بین خطوط */
    border: none;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #000;
    border-radius: 2px;
}

.nav-phone {
    font-weight: 600;
    font-variant-numeric: lining-nums;
}

.hero-container{ 
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 350px;
    padding-top: 30px;
    padding-bottom: 30px;
      background-image: url('/images/header.webp');
  background-size: cover;   /* کل صفحه رو پر کنه */
  background-position: center; /* وسط قرار بگیره */

}


.search-form {
    width: 90%;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #ffffff;
}

.search-form form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.search-form input,
.search-form button {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  flex: 1;
  min-width: 150px;
}

.search-form input[type="date"] {
  direction: ltr; /* برای تاریخ بهتره چپ به راست باشه */
}

.search-form button {
  background: #ff6600; /* نارنجی */
  color: #fff;
  font-weight: bold;
  border: none;
  cursor: pointer;
  flex: 0.8;
  transition: background 0.3s;
}

.search-form button:hover {
  background: #e65c00;
}

/* موبایل */
@media (max-width: 768px) {
  .search-form form {
    flex-direction: column;
  }

  .search-form input,
  .search-form button {
    width: 100%;
  }
}
















.tours {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    padding: 10px;
}

.tours h2 {
    width: 100%;
    font-size: 1.5rem;
    color: #2d4588;
}


.tour-card {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 30%;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    background-color: #fff;
    overflow: hidden;
    cursor: pointer;
}

.tour-card img {
    width: 100%;
    height: 200px;
    object-fit: cover; 
}

.tour-card h3 {
    width: 100%;
    padding: 10px;
    font-size: 1.3rem;
    text-align: center;
}

.modal-content-hidden {
    display: none;
}

.modal table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.95rem;
    background-color: #e6f0fa; /* آبی خیلی روشن */
}

.modal table th, .modal table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: center;
}

/* سرستون‌ها */
.modal table th {
    background-color: #cce0ff; /* آبی ملایم‌تر */
}

/* ردیف‌های یکی در میان */
.modal table tbody tr:nth-child(odd) {
    background-color: #e6f0fa; /* آبی روشن */
}

.modal table tbody tr:nth-child(even) {
    background-color: #ffffff; /* سفید */
}



.modal {
  display: none; /* حتماً ابتدا مخفی باشد */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-inner {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 95%;
  position: relative;
}

.close {
  position: absolute;
  top: 0;
  left: 15px;
  font-size: 28px;
  cursor: pointer;
}
















.banners {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width:100%;
    padding-top: 30px;
    padding-bottom: 30px;
    gap:20px;
}

.img-zoom {
    flex: 1;
    overflow: hidden;       /* تا تصویر از قاب بیرون نزنه */
    display: inline-block;  /* برای کنترل بهتر */
    border-radius: 12px;    /* دلخواه: گردی گوشه‌ها */
    
}

.img-zoom img {
    display: block;
    width: 100%;        /* پر کردن عرض باکس */
    height: 100%;       /* پر کردن ارتفاع باکس */
    object-fit: cover;  /* تصویر رو طوری کراپ می‌کنه که کل باکس پر بشه */
    transform: scale(1.1); /* زوم اولیه */
    transition: transform 0.4s ease; /* حرکت نرم */
}

.img-zoom:hover img {
    transform: scale(1.2);  /* زوم ۱۰ درصد */
}



.content {
    padding-top: 30px;
    padding-bottom: 30px;
}

.content h2 {
    font-size: var(--h2-size);
    color: var(--h2-color);
    margin: 15px 0;
}

.content p {
    text-align: justify;
    font-weight: 300;
    color: #121212;
}

.faq-section {
    background-color: #FFFFFF;
    padding-top: 30px;
    padding-bottom: 30px;
}

.faq-section h3 {
    margin: 10px 0;
    font-size: var(--h3-size);
    color: var(--h3-color);
}

.faq-section details {
    border: 1px solid rgba(0, 0, 0, .12);
    box-shadow: 0 2px 5px -1px rgba(0, 0, 0, .08);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 10px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.faq-section summary {
    display: flex;
    align-items: center;     /* طھط±ط§ط² ط¹ظ…ظˆط¯غŒ ظˆط³ط· */
    justify-content1: space-between;
    width: 100%;
    color: #54595f;
    padding: 5px;
    cursor: pointer;
    list-style: none;
    gap: 0.5em;
    text-align: right;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section .icon-question {
    width: 1.1em;
    height: 1.1em;
    padding: 0.3em;
    border-radius: 50%;
    fill: #17a2b8;         /* ط§ط±ط«â€Œط¨ط±غŒ ط±ظ†ع¯ ط§ط² ظ…طھظ† */
    background-color: #e8f9fc;
    box-sizing: content-box;    /* ط¨ط§ط¹ط« ظ…غŒط´ظ‡ padding ط¨ط§ط¹ط« ط¨ط²ط±ع¯â€Œطھط± ط´ط¯ظ† ط¨ط´ظ‡ */
    vertical-align: middle;
    transition: transform 0.3s;
}

.faq-section .icon-arrowdown {
    margin-right: auto;
    fill: #b5babf;
    transition: transform 0.3s ease;
}


.faq-section details[open] {
    padding-bottom: 10px;
}

.faq-section details[open] .icon-arrowdown {
    transform: rotate(180deg);
}

.faq-section details p {
    font-weight: 300;
    margin: 20px 10px;
    text-align: justify;
}




.block {
    padding-right: calc((100% - var(--max-width)) / 2);
    padding-left: calc((100% - var(--max-width)) / 2);
}


@media (max-width: 768px) {

.block {
    padding-right: 10px;
    padding-left: 10px;
}


.navbar{
    padding: 0 15px;
}
    
.nav-menu {
    display:flex;
    position: absolute;
    height: auto;
    top: 100%;   /* دقیقا زیر navbar */
    right: 0;
    left: 0;
    background: #fff;
    display: none;
    flex-direction: column;
}
  
.nav-menu ul {
    flex-direction: column;
    gap: 20px;
}

.nav-menu a {
    width: 100%;
 }

.menu-toggle {
    display: flex;
 }

.nav-menu.active {
    display: block;
}

.hero-container{ 
    height: 70vh;
    flex-direction: column;
    gap: 20px;
    background-position: 35% 50%;
}
  

.tour-card {
    width: 100%;
}


}


.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em; /* ط¨ط±ط§غŒ طھط±ط§ط² ط¨ظ‡طھط± ط¨ط§ ظ…طھظ† */
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}