/*
Theme Name: Rahatro - نسخه فارسی
Author: ModinaTheme - فارسی‌سازی شده
Description: قالب HTML رزرو سفر و تور - نسخه فارسی
Version: 1.0.0
*/

/* ========================================
   رنگ آیکن‌ها - نارنجی #FDAF17
   رنگ متن‌ها - آبی #2E3192
   ======================================== */

/* آیکن‌های Font Awesome - نارنجی */
.fa, .fas, .far, .fab, .fal, .fad,
[class^="fa-"], [class*=" fa-"],
i.fa, i.fas, i.far, i.fab, i.fal, i.fad {
  color: #FDAF17 !important;
}

/* آیکن‌های flaticon - نارنجی */
[class^="flaticon-"], [class*=" flaticon-"],
i.flaticon {
  color: #FDAF17 !important;
}

/* استثنا: آیکن‌های داخل دکمه‌ها سفید (به جز تب‌ها) */
.theme-btn i,
.btn:not(.tab-btn) i,
button.theme-btn i,
.submit-btn i,
.cta-icon i,
.social-link i,
.offcanvas__close button i {
  color: #fff !important;
}

/* دکمه‌های شمارشگر مسافران - آیکون زرد */
.counter-btn i,
.selector-dropdown .counter-btn i,
.type-counter .counter-btn i {
  color: #FDAF17 !important;
}

.counter-btn:hover:not(:disabled) i {
  color: #fff !important;
}

/* ========== آیکون‌های منوی پایین موبایل (فوتر) ========== */
.mobile-bottom-nav .nav-item i {
  color: #FDAF17 !important;
}

.mobile-bottom-nav .nav-item:hover i,
.mobile-bottom-nav .nav-item.active i {
  color: #2E3192 !important;
}

.mobile-bottom-nav .nav-item.center-item i {
  color: #fff !important;
}

/* ========== آیکون‌های تب‌های رزرو ========== */
/* دسکتاپ: آیکون‌ها رنگ متن (خاکستری/آبی) */
.booking-tabs-nav .tab-btn i {
  color: inherit !important;
}

.booking-tabs-nav .tab-btn.active i {
  color: inherit !important;
}

/* موبایل: آیکون‌ها طلایی */
@media (max-width: 768px) {
  .booking-tabs-nav .tab-btn i {
    color: #FDAF17 !important;
  }
  
  .booking-tabs-nav .tab-btn.active i {
    color: #fff !important;
  }
}

/* دکمه ورود/ثبت‌نام - آیکون دایره‌ای سفید */
.header-login-btn i.fa-user,
.header-login-btn i.fas.fa-user {
  color: #2E3192 !important;
  background-color: #fff !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
}

/* دکمه جابجایی مبدا و مقصد */
.swap-btn {
  background-color: #fff !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 10px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.swap-btn i,
.swap-btn i.fas,
.swap-btn i.fa-exchange-alt {
  color: #2E3192 !important;
}

.swap-btn:hover {
  background-color: #2E3192 !important;
  border-color: #2E3192 !important;
}

.swap-btn:hover i,
.swap-btn:hover i.fas,
.swap-btn:hover i.fa-exchange-alt {
  color: #fff !important;
}

/* استثنا: آیکن‌های سایدبار و منو (به جز منوی پایین موبایل) */
.sidebar-nav i,
.admin-layout .nav-item i,
.nav-group-header i,
.mean-container .mean-nav ul li a i {
  color: inherit !important;
}

/* متن‌های سایدبار پنل ادمین - استخوانی */
.admin-layout .sidebar .brand-name,
.admin-layout .sidebar .nav-group-header,
.admin-layout .sidebar .nav-group-header span,
.admin-layout .sidebar .group-title,
.admin-layout .sidebar .group-title span,
.admin-layout .sidebar .nav-item,
.admin-layout .sidebar .nav-item span,
.admin-layout .sidebar .nav-item.sub-item,
.admin-layout .sidebar .nav-item.sub-item span {
  color: #e8e4d9 !important;
}

.admin-layout .sidebar .nav-item:hover,
.admin-layout .sidebar .nav-item:hover span,
.admin-layout .sidebar .nav-group-header:hover,
.admin-layout .sidebar .nav-group-header:hover span,
.admin-layout .sidebar .nav-item.active,
.admin-layout .sidebar .nav-item.active span {
  color: #f5f1e6 !important;
}

/* متن‌های اصلی - آبی */
/* فقط برای بخش‌های محتوایی اصلی، نه دکمه‌ها */
.section-title h2,
.section-title span,
.about-content h4,
.about-content p,
.footer-desc,
.footer-links a,
.content h4,
.content p,
.tour-content h4,
.tour-content p,
.destination-content h3,
.destination-content p,
.team-content h4,
.team-content p,
.news-content h4,
.news-content p,
.service-content h4,
.service-content p,
.choose-us-left-content h2,
.choose-us-left-content p,
.choose-us-right h4,
.choose-us-right p,
.card-content h4,
.card-content p,
.box-content h4,
.box-content p {
  color: #2E3192 !important;
}

/* متن‌های عمومی - آبی (با اولویت پایین‌تر) */
body {
  color: #2E3192;
}

p:not(.theme-btn p):not(.btn p),
h1:not(.theme-btn h1):not(.btn h1),
h2:not(.theme-btn h2):not(.btn h2),
h3:not(.theme-btn h3):not(.btn h3),
h4:not(.theme-btn h4):not(.btn h4),
h5:not(.theme-btn h5):not(.btn h5),
h6:not(.theme-btn h6):not(.btn h6) {
  color: #2E3192;
}

/* لینک‌ها - آبی (فقط متن‌های معمولی، نه دکمه‌ها و کارت‌ها) */
a:not(.theme-btn):not(.social-link):not(.btn):not(.btn-primary):not(.btn-outline):not(.btn-cta):not(.btn-cta-outline):not([class*="card"] a):not(.destination-image-items-4 .content h4 a) {
  color: #2E3192 !important;
}

a:not(.theme-btn):not(.social-link):not(.btn):not(.btn-primary):not(.btn-outline):not(.btn-cta):not(.btn-cta-outline):hover {
  color: #FDAF17 !important;
}

/* لینک‌های کارت مقصد - سفید */
.destination-image-items-4 .content h4 a,
.destination-wrapper-4 .destination-image-items-4 .content h4 a,
.destination-section-3 .destination-image-items-4 .content h4 a {
  color: #fff !important;
}

.destination-image-items-4 .content h4 a:hover {
  color: #FDAF17 !important;
}

/* صفحات لودینگ - متن‌ها سفید (پس‌زمینه تیره) */
.fullscreen-loading,
.fullscreen-loading h1,
.fullscreen-loading h2,
.fullscreen-loading h3,
.fullscreen-loading h4,
.fullscreen-loading p,
.fullscreen-loading span,
.fullscreen-loading .tip-label,
.fullscreen-loading .tip-desc,
.fullscreen-loading .main-title,
.fullscreen-loading .title-text,
.fullscreen-loading .point-name {
  color: #fff !important;
}

.train-loading-page,
.train-loading-page h1,
.train-loading-page h2,
.train-loading-page h3,
.train-loading-page h4,
.train-loading-page p,
.train-loading-page span,
.train-loading-page .station span,
.train-loading-page .progress-text,
.train-loading-page .tip p {
  color: #fff !important;
}

/* آیکون‌های لودینگ - طلایی */
.fullscreen-loading .tip-icon-wrapper i,
.fullscreen-loading .connector-plane i,
.fullscreen-loading .point-marker i,
.train-loading-page .station i,
.train-loading-page .tip i,
.train-loading-page .route-line .train-icon {
  color: #FDAF17 !important;
}

/* آیکون کاربر در هدر - دایره‌ای کامل */
.header-login-btn i.fa-user-circle {
  font-size: 28px !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #2E3192 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

/* استثنا: متن‌های سفید روی پس‌زمینه تیره */
.theme-btn,
.theme-btn span,
.theme-btn i,
.btn-primary,
.btn-primary span,
.social-link,
.hero-section h1,
.hero-section h2,
.hero-section p,
.hero-section h6,
.hero-content h1,
.hero-content h6,
.hero-content p,
.hero-text-compact h2,
.hero-text-compact p,
.breadcrumb-wrapper h1,
.breadcrumb-wrapper li,
.breadcrumb-wrapper a,
.sidebar,
.sidebar span,
.sidebar a,
.offcanvas__info,
.footer-section .footer-bottom {
  color: inherit !important;
}

/* دکمه‌های اصلی - متن سفید */
.theme-btn,
.theme-btn span {
  color: #fff !important;
}

/* آیکن دکمه اصلی - با پس‌زمینه سفید دایره‌ای */
.theme-btn i {
  color: #2E3192 !important;
  background-color: #fff !important;
}

/* هاور دکمه‌های اصلی - زرد به جای نارنجی */
.theme-btn:hover {
  background-color: #FDAF17 !important;
  background: linear-gradient(135deg, #FDAF17 0%, #e09a00 100%) !important;
}

.theme-btn:hover::before,
.theme-btn:hover::after {
  background-color: #FDAF17 !important;
}

/* متن‌ها و آیکن‌های روی کارت‌های تصویری - سفید */
.destination-image-items-4 .content,
.destination-image-items-4 .content h4,
.destination-image-items-4 .content h4 a,
.destination-image-items-4 .content span,
.destination-image-items-4 .content b,
.destination-image-items-4 .icon,
.destination-wrapper-4 .destination-image-items-4 .content h4 a,
.destination-section-3 .destination-image-items-4 .content h4 a,
.destination-items .destination-content,
.destination-items .destination-content h3,
.destination-items .destination-content h3 a,
.destination-items .destination-content p,
.tour-box-items .content,
.tour-box-items .content h4,
.tour-box-items .content h4 a,
.tour-box-items .content span,
.tour-box-items-3 .tour-content,
.tour-box-items-3 .tour-content h3,
.tour-box-items-3 .tour-content p,
.tour-box-items-3 .tour-content span,
.tour-box-items-5.bg-cover .tour-content,
.tour-box-items-5.bg-cover .tour-content h3,
.tour-box-items-5.bg-cover .tour-content p,
.tour-box-items-5.bg-cover .tour-content span,
.tour-box-items-5.bg-2 .tour-content,
.tour-box-items-5.bg-2 .tour-content h3,
.tour-box-items-5.bg-2 .tour-content p,
.tour-box-items-5.bg-2 .tour-content span,
.hero-items .hero-content,
.hero-items .hero-content h1,
.hero-items .hero-content h6,
.hero-items .hero-content p,
.breadcrumb-wrapper h1,
.breadcrumb-wrapper .breadcrumb-items,
.breadcrumb-wrapper .breadcrumb-items li,
.breadcrumb-wrapper .breadcrumb-items a,
.breadcrumb-wrapper .breadcrumb-items i,
.page-heading h1,
.page-heading li,
.page-heading li a,
.page-heading li i {
  color: #fff !important;
}

/* متن‌های بخش marquee - سفید */
.marquee-section .marque-text h3,
.marque-wrapper .marque-text h3,
.marque-text h3 {
  color: #fff !important;
}

/* آیکن روی کارت‌های مقصد - نارنجی */
.destination-image-items-4 .icon i {
  color: #FDAF17 !important;
}

/* tour-places-wrapper-4 - متن آبی (پس‌زمینه سفید) */
.tour-places-wrapper-4 .content p,
.tour-places-wrapper-4 .list li,
.tour-places-wrapper-4 .star span {
  color: #2E3192 !important;
}

/* آیکن‌های tour-places-wrapper-4 - نارنجی */
.tour-places-wrapper-4 .list li i,
.tour-places-wrapper-4 .star i {
  color: #FDAF17 !important;
}

/* آیکن‌های روی کارت‌ها با پس‌زمینه تصویری */
.destination-image-items-4 .icon i,
.tour-places-wrapper-4 .list li i,
.tour-places-wrapper-4 .star i {
  color: #FDAF17 !important;
}

/* کارت‌های تور با پس‌زمینه رنگی - متن سفید */
.tour-main-item .tour-box-items-3 .tour-content h3,
.section-bg-dark h2,
.section-bg-dark p,
.section-bg-dark span,
.hot-deal-section .section-title h2,
.hot-deal-section .section-title span {
  color: #fff !important;
}

/* بخش CTA - متن آبی */
.cta-wrapper .cta-content h2,
.cta-wrapper .cta-content p,
.cta-wrapper-4 .section-title h2,
.cta-wrapper-4 .section-title span,
.cta-wrapper-4 h2,
.cta-wrapper-4 p {
  color: #2E3192 !important;
}

/* دکمه‌های داخل کارت‌های تور با پس‌زمینه سفید */
.tour-main-item .tour-box-items-3 .tour-content .theme-btn {
  background-color: #2E3192 !important;
}

.tour-main-item .tour-box-items-3 .tour-content .theme-btn span {
  color: #fff !important;
}

.tour-main-item .tour-box-items-3 .tour-content .theme-btn i {
  background-color: #fff !important;
  color: #2E3192 !important;
}

/* بخش‌های با پس‌زمینه تیره یا تصویری */
.cta-section h2,
.cta-section p,
.cta-section span,
.cta-book-wrapper h2,
.cta-book-wrapper p,
.cta-book-wrapper span,
[class*="bg-cover"] .content h3,
[class*="bg-cover"] .content p,
[class*="bg-cover"] .content span,
.bg-cover h2,
.bg-cover h3,
.bg-cover p,
.bg-cover span:not(.price),
.section-title-dark h2,
.section-title-dark span {
  color: #fff !important;
}

/* تقویم - هدر ماه و سال */
.calendar-header,
.calendar-header span,
.calendar-header .month-name,
.calendar-header .year,
.datepicker-header,
.datepicker-header span,
.persian-datepicker .calendar-header,
.persian-datepicker .calendar-header span,
.persian-datepicker .month-year,
.persian-datepicker .month-year span,
.calendar-dropdown .calendar-header,
.calendar-dropdown .calendar-header span,
.calendar-dropdown .nav-btn i,
.calendar-nav span {
  color: #fff !important;
}

/* بخش پکیج تور - متن آبی (پس‌زمینه سفید) */
.tour-package-section .section-title h2,
.tour-package-section .section-title span,
.tour-package-section.section-bg-2 .section-title h2,
.tour-package-section.section-bg-2 .section-title span {
  color: #2E3192 !important;
}

/* بخش نظرات مشتریان - متن آبی */
.testimonial-section-5 .section-title h2,
.testimonial-section-5 .section-title span,
.testimonial-section-5 .section-title.style-2 h2,
.testimonial-section-5 .section-title.style-2 span {
  color: #2E3192 !important;
}

/* بخش‌های با پس‌زمینه تصویر - متن سفید */
.section-bg-2:not(.tour-package-section):not(.testimonial-section-5) .section-title h2,
.section-bg-2:not(.tour-package-section):not(.testimonial-section-5) .section-title span,
.section-bg-2:not(.tour-package-section):not(.testimonial-section-5) .section-title.style-2 h2,
.section-bg-2:not(.tour-package-section):not(.testimonial-section-5) .section-title.style-2 span,
.tour-wrapper-5 .section-title h2,
.tour-wrapper-5 .section-title span,
.text-white,
h2.text-white,
span.text-white {
  color: #fff !important;
}

/* دکمه‌ها و بخش‌های با پس‌زمینه رنگی - متن سفید */
.header-login-btn,
.header-login-btn span,
.header-login-btn i,
.login-btn,
.login-btn span,
.login-btn i,
.header-actions .theme-btn,
.header-actions .theme-btn span,
.header-actions .theme-btn i,
.submit-btn,
.submit-btn span,
.submit-btn i,
.search-btn,
.search-btn span,
.search-btn i,
button[type="submit"],
button[type="submit"] span,
button[type="submit"] i,
.btn,
.btn span,
.btn i,
.cta-icon i,
.user-avatar i,
.user-avatar-small i,
.btn-primary,
.btn-primary span,
.btn-primary i {
  color: #fff !important;
}

/* دکمه‌های صفحه توریست سلامت - متن سفید */
.health-page .btn-primary,
.health-page .btn-outline,
.health-page .hero-buttons .btn-primary,
.health-page .hero-buttons .btn-outline,
.health-tourism-page .btn-primary,
.health-tourism-page .btn-outline,
.hero-section .btn-primary,
.hero-section .btn-outline,
a.btn-primary,
a.btn-outline,
.hero-buttons a.btn-primary,
.hero-buttons a.btn-outline {
  color: #fff !important;
}

.health-page .btn-primary i,
.health-page .btn-outline i,
.health-tourism-page .btn-primary i,
.health-tourism-page .btn-outline i,
a.btn-primary i,
a.btn-outline i {
  color: #fff !important;
}

/* آیکن‌های داخل دکمه‌های معمولی - سفید */
.btn i,
.btn-primary i,
button:not(.theme-btn) i,
.submit-btn i,
.search-btn i,
.login-btn i,
.header-login-btn i {
  color: #fff !important;
}

/* آیکن‌های دکمه theme-btn - آبی روی دایره سفید */
.theme-btn i,
.theme-btn i.fa,
.theme-btn i.far,
.theme-btn i.fas,
.theme-btn i.fab,
.theme-btn .fa,
.theme-btn .far,
.theme-btn .fas,
.theme-btn i.fa-long-arrow-right,
.theme-btn i.fa-long-arrow-left,
.theme-btn i.fa-arrow-right,
.theme-btn i.fa-arrow-left {
  color: #2E3192 !important;
}

/* ========== YekanBakh Font - اعداد فارسی ========== */
@font-face {
    font-family: 'YekanBakh';
    src: url('assets/fonts/YekanBakh/YekanBakhFaNum-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('assets/fonts/YekanBakh/YekanBakhFaNum-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========== فونت یکان بخ برای کل سایت ========== */
* {
    font-family: 'YekanBakh', 'Tahoma', sans-serif !important;
}

body,
h1, h2, h3, h4, h5, h6,
p, span, a, li, label,
input, textarea, select, button,
.section-title span,
.section-title h2,
.hero-content h1,
.hero-content h6,
.hero-content p,
.theme-btn,
.nice-select,
.nice-select .current,
.nice-select .list,
.accordion-button,
.nav-link {
    font-family: 'YekanBakh', 'Tahoma', sans-serif !important;
}

/* ========== اعداد فارسی ========== */
body {
    font-feature-settings: "ss02";
}

/* ========== جلوگیری از اسکرول افقی ========== */
html {
    overflow-x: hidden;
}

/* ========== فرم‌ها - فقط متن راست به چپ ========== */
input,
textarea,
select {
    text-align: right;
    direction: rtl;
}

input::placeholder,
textarea::placeholder {
    text-align: right;
}

/* ========== Nice Select RTL ========== */
.nice-select {
    text-align: right;
}

.nice-select .current {
    text-align: right;
}

.nice-select .list {
    text-align: right;
}

/* ========== Offcanvas/Sidebar - باز شدن از چپ برای RTL ========== */
.offcanvas__info {
    right: auto !important;
    left: 0 !important;
    transform: translateX(calc(-100% - 80px)) !important;
    -webkit-transform: translateX(calc(-100% - 80px)) !important;
    border-left: none !important;
    border-right: 2px solid var(--theme-color) !important;
}

.offcanvas__info.info-open {
    transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
}

.offcanvas__content {
    text-align: right;
}

.offcanvas__contact input,
.offcanvas__contact textarea {
    text-align: right;
    direction: rtl;
}

/* ========== متن‌های اصلی - فقط تراز راست ========== */
.hero-content {
    text-align: right;
}

.about-content {
    text-align: right;
}

.section-title {
    text-align: right;
}

.section-title.text-center {
    text-align: center !important;
}

.footer-widget-items {
    text-align: right;
}

.news-content {
    text-align: right;
}

.tour-box-items .content {
    text-align: right;
}

.testimonial-box-items-4 {
    text-align: right;
}

/* ========== Breadcrumb ========== */
.breadcrumb-wrapper {
    text-align: right;
}

/* ========== لیست‌ها ========== */
.list-items {
    text-align: right;
}

.list-items li {
    text-align: right;
}

/* ========== کارت‌های تور ========== */
.tour-card-item .tour-content {
    text-align: right;
}

/* ========== Contact Items ========== */
.contact-items .content {
    text-align: right;
}

/* ========== FAQ ========== */
.accordion-button {
    text-align: right;
}

.accordion-body {
    text-align: right;
}

/* ========== تیم ========== */
.team-card-items-4 .content {
    text-align: right;
}

/* ========== Shop ========== */
.shop-card-items .content {
    text-align: right;
}

/* ========== Booking List - فقط متن ========== */
.booking-list .content {
    text-align: right;
}

.booking-list .content h5 {
    text-align: right;
}

/* ========== Preloader - طرح راحت رو ========== */
.preloader .animation-preloader .txt-loading {
    display: none !important;
}

.preloader .animation-preloader {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* لوگو راحت رو */
.preloader .animation-preloader .preloader-logo {
    margin-bottom: 30px;
    position: relative;
}

.preloader .animation-preloader .preloader-logo img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 8px 25px rgba(46, 49, 146, 0.2));
    animation: logo-float 3s ease-in-out infinite;
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* مسیر پرواز - خط افقی با هواپیما */
.preloader .animation-preloader .plane-orbit {
    width: 200px;
    height: 60px;
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    animation: none;
}

/* خط مسیر پرواز */
.preloader .animation-preloader .plane-orbit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(46, 49, 146, 0.3) 20%, 
        rgba(46, 49, 146, 0.3) 80%, 
        transparent 100%
    );
    border-radius: 2px;
}

/* نقاط ابتدا و انتها - RTL */
.preloader .animation-preloader .plane-orbit::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 10px;
    height: 10px;
    background: #2E3192;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: -180px 0 0 #FDAF17;
}

.preloader .animation-preloader .plane-orbit .plane-wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    animation: plane-fly 2.5s ease-in-out infinite;
}

.preloader .animation-preloader .plane-orbit .plane-wrapper i {
    font-size: 28px;
    color: #FDAF17;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(253, 175, 23, 0.5));
}

@keyframes plane-fly {
    0% { right: 10px; left: auto; }
    50% { right: calc(100% - 40px); left: auto; }
    100% { right: 10px; left: auto; }
}

/* نوار پیشرفت */
.preloader .animation-preloader .spinner {
    display: block !important;
    width: 180px !important;
    height: 4px !important;
    background: rgba(46, 49, 146, 0.15) !important;
    border-radius: 4px !important;
    border: none !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    position: relative !important;
    animation: none !important;
}

.preloader .animation-preloader .spinner::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 40% !important;
    height: 100% !important;
    background: linear-gradient(90deg, #2E3192, #FDAF17) !important;
    border-radius: 4px !important;
    animation: progress-slide 1.5s ease-in-out infinite !important;
    transform: none !important;
    font-size: 0 !important;
    color: transparent !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

.preloader .animation-preloader .spinner::after {
    display: none !important;
}

@keyframes progress-slide {
    0% { left: -40%; }
    100% { left: 100%; }
}

/* متن در حال بارگذاری */
.preloader .animation-preloader::after {
    content: 'در حال بارگذاری...';
    display: block;
    margin-top: 20px;
    font-family: 'YekanBakh', 'Tahoma', sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 1px;
}

.preloader p {
    display: none !important;
}

/* پس‌زمینه preloader */
.preloader {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 50%, #fff9f0 100%) !important;
}

.preloader .loader .bg {
    background: linear-gradient(180deg, #f8f9ff 0%, #fff 100%) !important;
}

/* ========== Preloader - حالت loaded (مخفی شدن) ========== */
.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded .loader .bg {
    transform: translateY(-100%);
}

.preloader.loaded .animation-preloader {
    opacity: 0;
}

@media (max-width: 767px) {
    .preloader .animation-preloader .preloader-logo img {
        width: 140px;
    }
    .preloader .animation-preloader .plane-orbit {
        width: 160px;
        height: 50px;
    }
    .preloader .animation-preloader .plane-orbit::after {
        right: 5px;
        left: auto;
        width: 8px;
        height: 8px;
        box-shadow: -147px 0 0 #FDAF17;
    }
    .preloader .animation-preloader .plane-orbit .plane-wrapper i {
        font-size: 22px;
    }
    .preloader .animation-preloader .spinner {
        width: 150px !important;
    }
    .preloader .animation-preloader::after {
        font-size: 12px;
        margin-top: 15px;
    }
}

/* ========== ستاره‌ها - حفظ جهت ========== */
.star {
    direction: ltr;
}

/* ========== قیمت - حفظ جهت ========== */
.price,
.tour-box-items h6 span,
.tour-card-item h6 span {
    direction: ltr;
    display: inline-block;
}

/* ========== شماره تلفن ========== */
.contact-items h6 a,
.header-top-wrapper a[href^="tel"] {
    direction: ltr;
    display: inline-block;
}

/* ========== Social Icons - حفظ جهت ========== */
.social-icon {
    direction: ltr;
}

/* ========== اصلاح ترتیب عناصر هدر ========== */
.top-left li {
    direction: rtl;
}

.top-left li i {
    margin-left: 8px;
    margin-right: 0;
}

/* ========== منوی اصلی - فقط متن ========== */
.main-menu nav ul li a {
    font-family: 'YekanBakh', 'Tahoma', sans-serif !important;
}

/* ========== زیرمنو ========== */
.submenu {
    text-align: right;
}

.submenu li a {
    text-align: right;
}

/* ========== About Icon Items ========== */
.about-icon-items ul li {
    text-align: right;
}

/* ========== Destination Feature Box ========== */
.destination-feature-box .content {
    text-align: right;
}

/* ========== Footer ========== */
.footer-content {
    text-align: right;
}

/* ========== Search Bar ========== */
.search-bar input {
    text-align: right;
}

/* ========== Mobile Menu - RTL ========== */
.mean-container .mean-bar {
    float: right !important;
}

.mean-container .mean-nav {
    float: right !important;
}

.mean-container .mean-nav ul li {
    float: right !important;
}

.mean-container .mean-nav ul li a {
    float: right !important;
    text-align: right !important;
    font-family: 'YekanBakh', 'Tahoma', sans-serif !important;
    padding: 10px 5% !important;
    width: 90% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* دکمه + در سمت چپ برای RTL */
.mean-container .mean-nav ul li a.mean-expand {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    width: 40px !important;
    height: 100% !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 44px !important;
    border: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-left: none !important;
    background: transparent !important;
}

/* زیرمنوها */
.mean-container .mean-nav ul li li a {
    padding: 10px 10% !important;
    width: 80% !important;
}

.mean-container .mean-nav ul li li li a {
    padding: 10px 15% !important;
    width: 70% !important;
}

/* حذف تصاویر منوی mega در موبایل */
.mean-container .mean-nav .homemenu-items,
.mean-container .mean-nav .has-homemenu,
.mean-container .mean-nav .menu-thumb > .submenu.has-homemenu {
    display: none !important;
}

/* ========== Accordion / FAQ - RTL ========== */
.faq-items .accordion-item,
.faq-section .accordion-item {
    position: relative !important;
}

.faq-items .accordion-button,
.faq-section .accordion-button,
.accordion-button {
    display: block !important;
    text-align: right !important;
    padding: 20px 25px 20px 60px !important;
    width: 100% !important;
}

.faq-items .accordion-button::after,
.faq-section .accordion-button::after,
.accordion-button::after {
    position: absolute !important;
    left: 20px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}

.faq-items .accordion-header,
.faq-section .accordion-header,
.accordion-header {
    position: relative !important;
}

.faq-items .accordion-body,
.faq-section .accordion-body,
.accordion-body {
    text-align: center !important;
    padding: 20px 30px !important;
}

/* ========== آیکون‌های Font Awesome - استثنا ========== */
.fa, .fas, .far, .fab, .fal, .fad,
[class^="fa-"], [class*=" fa-"],
[class^="flaticon-"], [class*=" flaticon-"] {
    font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free', 'Font Awesome 5 Brands', 'flaticon' !important;
}

/* ========== Choose Us Section - RTL Fix ========== */
/* اصلاح margin ها برای RTL */
.choose-us-wrapper .choose-us-img {
    margin-left: 0 !important;
    margin-right: -50px !important;
}

@media (max-width: 1199px) {
    .choose-us-wrapper .choose-us-img {
        margin-right: 0 !important;
    }
}

.choose-us-wrapper .choose-us-right {
    margin-left: 0 !important;
    margin-right: 40px !important;
}

@media (max-width: 1199px) {
    .choose-us-wrapper .choose-us-right {
        margin-right: 0 !important;
    }
}

/* اصلاح آیکون‌ها در لیست - SVG سمت راست متن */
.choose-us-left-content .list-items li svg {
    margin-right: 0 !important;
    margin-left: 5px !important;
}

/* ========== CTA App Section - RTL Fix ========== */
/* تصویر موبایل به سمت چپ برای RTL */
.cta-app-wrapper .app-image {
    right: auto !important;
    left: 0 !important;
}

/* متن به سمت راست */
.cta-app-wrapper .cta-app-content {
    text-align: right;
}

/* دکمه‌های اپ استور */
.cta-app-wrapper .cta-app-content .apps-items {
    justify-content: flex-end !important;
}

@media (max-width: 767px) {
    .cta-app-wrapper .cta-app-content .apps-items {
        justify-content: center !important;
    }
}

/* ========== Sidebar Search Widget - RTL Fix ========== */
.search_widget form {
    position: relative !important;
}

.search_widget form input {
    text-align: right !important;
    padding-right: 20px !important;
    padding-left: 80px !important;
}

.search_widget form button {
    right: auto !important;
    left: 0 !important;
    border-radius: 4px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* ========== Widget Categories - RTL Fix ========== */
.widget_categories ul li a {
    text-align: right !important;
    padding-right: 20px !important;
    padding-left: 70px !important;
}

.widget_categories ul li a span {
    right: auto !important;
    left: 0 !important;
    border-radius: 4px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* ========== Hero Section 4 - Slider با BookingTabs ========== */
/* دسکتاپ - تمام صفحه */
.hero-section.hero-4 {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section.hero-4 .swiper.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-section.hero-4 .swiper.hero-slider .swiper-wrapper,
.hero-section.hero-4 .swiper.hero-slider .swiper-slide,
.hero-section.hero-4 .swiper.hero-slider .hero-items {
    height: 100%;
}

.hero-section.hero-4 .hero-bg {
    height: 100%;
    width: 100%;
}

/* فیلد جستجو در وسط صفحه */
.hero-section.hero-4 .hero-booking-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 15px;
}

/* متن کوتاه بالای فیلد جستجو */
.hero-section.hero-4 .hero-text-compact {
    margin-bottom: 30px !important;
    text-align: center !important;
}

.hero-section.hero-4 .hero-text-compact h2 {
    color: #fff !important;
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.5) !important;
    line-height: 1.3 !important;
    background: none !important;
    -webkit-text-fill-color: #fff !important;
}

.hero-section.hero-4 .hero-text-compact p {
    color: rgba(255,255,255,0.95) !important;
    font-size: 1.2rem !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4) !important;
    margin: 0 !important;
}

.hero-section.hero-4 .hero-booking {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section.hero-4 .booking-tabs-wrapper {
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
}

/* دکمه‌های ناوبری اسلایدر - حذف شده */
.hero-section.hero-4 .array-button {
    display: none !important;
}

/* حذف افکت زوم از اسلایدر */
.hero-section.hero-4 .hero-slider .swiper-slide {
    overflow: hidden;
}

.hero-section.hero-4 .hero-items .hero-bg {
    background-size: cover !important;
    background-position: center !important;
    transition: opacity 1s ease !important;
    -webkit-transform: none !important;
    transform: none !important;
}

.hero-section.hero-4 .swiper-slide-active .hero-bg,
.hero-4 .swiper-slide-active .hero-bg {
    -webkit-transform: none !important;
    transform: none !important;
}

.hero-section.hero-4 .swiper-slide-prev .hero-bg,
.hero-section.hero-4 .swiper-slide-next .hero-bg {
    -webkit-transform: none !important;
    transform: none !important;
}

/* کاهش تیرگی افکت روی تصویر */
.hero-section.hero-4 .hero-items .hero-bg::before,
.hero-4 .hero-items .hero-bg::before {
    background: rgba(0, 0, 0, 0.35) !important;
}

/* فاصله مناسب برای بخش بعد از هیرو */
.hero-section.hero-4 + section {
    padding-top: 80px !important;
}

/* تبلت */
@media (max-width: 991px) {
    .hero-section.hero-4 {
        min-height: 100vh;
    }
    
    .hero-section.hero-4 .hero-booking-overlay {
        padding: 0 20px;
    }
}

/* موبایل - طراحی بهتر با پس‌زمینه تصویری */
@media (max-width: 767px) {
    .hero-section.hero-4 {
        padding: 0 !important;
        min-height: 100vh !important;
        background: url('/assets/img/news/news-11.jpg') center center / cover no-repeat !important;
        overflow: visible !important;
        position: relative !important;
    }
    
    /* افکت روی تصویر پس‌زمینه */
    .hero-section.hero-4::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: linear-gradient(
            180deg,
            rgba(77, 64, 202, 0.85) 0%,
            rgba(77, 64, 202, 0.7) 20%,
            rgba(77, 64, 202, 0.4) 40%,
            rgba(0, 0, 0, 0.2) 70%,
            rgba(0, 0, 0, 0.3) 100%
        ) !important;
        z-index: 1 !important;
    }
    
    /* مخفی کردن اسلایدر و المان‌های تزیینی */
    .hero-section.hero-4 .swiper.hero-slider,
    .hero-section.hero-4 .array-button,
    .hero-section.hero-4 .hero-items {
        display: none !important;
    }
    
    .hero-section.hero-4 .hero-booking-overlay {
        position: relative !important;
        transform: none !important;
        padding: 80px 16px 40px 16px !important;
        z-index: 2 !important;
    }
    
    .hero-section.hero-4 .hero-booking {
        margin: 0 auto !important;
        max-width: 100%;
    }
    
    .hero-section.hero-4 .booking-tabs-wrapper {
        border-radius: 20px !important;
        box-shadow: 0 15px 50px rgba(0,0,0,0.25) !important;
        overflow: hidden !important;
        background: rgba(255,255,255,0.97) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    
    /* متن کوتاه در موبایل - طراحی شیک‌تر */
    .hero-section.hero-4 .hero-text-compact {
        margin-bottom: 28px !important;
        padding: 0 10px !important;
    }
    
    .hero-section.hero-4 .hero-text-compact h2 {
        font-size: 1.5rem !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
        line-height: 1.6 !important;
        margin-bottom: 10px !important;
        font-weight: 700 !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
    }
    
    .hero-section.hero-4 .hero-text-compact p {
        font-size: 0.9rem !important;
        color: rgba(255,255,255,0.95) !important;
        text-shadow: 0 1px 5px rgba(0,0,0,0.3) !important;
        line-height: 1.5 !important;
    }
    
    /* فاصله مناسب برای موبایل */
    .hero-section.hero-4 + section {
        padding-top: 30px !important;
    }
}

/* ========== Booking Tabs - RTL Fix ========== */
.booking-tabs-area {
    position: relative;
    width: 100%;
}

.booking-tabs-wrapper {
    position: relative;
    z-index: 2;
    direction: rtl;
}

.booking-tabs-nav {
    flex-direction: row-reverse !important;
    width: 100% !important;
}

.booking-tabs-nav .tab-btn {
    flex: 1 !important;
}

/* فیلدها از راست به چپ - دکمه جستجو سمت چپ */
.booking-tabs-content .booking-form-grid {
    display: flex !important;
    flex-direction: row !important;
    direction: rtl !important;
}

.booking-tabs-content .booking-form-grid > * {
    direction: rtl !important;
}

/* دکمه جستجو باید آخرین آیتم باشه (سمت چپ در RTL) */
.booking-tabs-content .booking-form-grid .search-btn {
    order: 100 !important;
}

.form-content {
    text-align: right !important;
}

.form-content input,
.form-content select {
    text-align: right !important;
}

.trip-type-toggle {
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
}

/* Persian DatePicker RTL */
.persian-datepicker .calendar-dropdown {
    right: -16px !important;
    left: auto !important;
    bottom: calc(100% + 10px) !important;
    top: auto !important;
    z-index: 99999 !important;
}

.form-item.date-item:focus-within,
.form-item.date-item:has(.calendar-dropdown) {
    z-index: 99999 !important;
}

.persian-datepicker .datepicker-input {
    text-align: right !important;
    padding-right: 0 !important;
    padding-left: 25px !important;
}

.persian-datepicker .datepicker-icon {
    left: 0 !important;
    right: auto !important;
}

/* Swap Button Animation */
.swap-btn {
    transition: all 0.3s ease !important;
}

.swap-btn:active {
    transform: rotate(180deg) scale(0.9) !important;
}

@media (max-width: 768px) {
    .booking-tabs-nav {
        flex-direction: row !important;
        justify-content: center !important;
    }
    
    .booking-form-grid {
        flex-direction: column !important;
    }
    
    .persian-datepicker .calendar-dropdown {
        right: 50% !important;
        transform: translateX(50%) !important;
        width: 280px !important;
        bottom: calc(100% + 10px) !important;
    }
}

/* ========== Header Actions - RTL Fix ========== */
.header-actions {
    gap: 20px;
    margin-right: 25px;
}

.header-action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.header-action-item:hover {
    color: var(--theme-color, #4D40CA);
}

.header-action-item i {
    font-size: 16px;
}

.header-login-btn {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 20px !important;
}

.header-login-btn i {
    font-size: 14px;
}

/* هاور دکمه ورود/ثبت‌نام - زرد */
.header-login-btn:hover {
    background: linear-gradient(135deg, #FDAF17 0%, #e09a00 100%) !important;
    background-color: #FDAF17 !important;
}

.header-login-btn:hover::before,
.header-login-btn:hover::after {
    background-color: #FDAF17 !important;
}

/* ========== Offcanvas User Actions ========== */
.offcanvas-user-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.user-action-btn:hover {
    background: #e8e8e8;
    color: var(--theme-color, #4D40CA);
}

.user-action-btn.primary {
    background: var(--theme-color, #4D40CA);
    color: #fff;
}

.user-action-btn.primary:hover {
    background: var(--theme-color-dark, #3a30a0);
    color: #fff;
}

.user-action-btn i {
    width: 20px;
    text-align: center;
}

.offcanvas-social {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.offcanvas-social h4 {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.offcanvas-social .social-icon a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: #333;
    font-size: 16px;
    margin-left: 10px;
    transition: all 0.3s;
}

    .offcanvas-social .social-icon a:hover {
        background: var(--theme-color, #4D40CA);
        color: #fff;
    }

/* ========== Tour Package Cards RTL Fix ========== */
/* کارت‌های پکیج تور بزرگ - متن چپ‌چین */
.tour-box-items-5 .tour-content {
    text-align: left !important;
}

.tour-box-items-5 .tour-content p {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* کارت‌های پکیج تور کوچک - متن چپ‌چین */
.tour-main-item .tour-box-items-3 .tour-content {
    text-align: left !important;
}

/* دکمه‌های کارت‌های تور */
.tour-box-items-5 .theme-btn,
.tour-box-items-3 .theme-btn {
    flex-direction: row-reverse !important;
    padding: 5px 26px 5px 6px !important;
}

.tour-box-items-5 .theme-btn span,
.tour-box-items-3 .theme-btn span {
    margin-right: 0 !important;
    margin-left: 8px !important;
}

.tour-box-items-5 .theme-btn i,
.tour-box-items-3 .theme-btn i {
    transform: rotate(180deg) !important;
}

/* ========== Mobile Bottom Navigation ========== */
@media (max-width: 991px) {
    /* مخفی کردن فوتر اصلی در موبایل */
    .footer-section {
        display: none !important;
    }
    
    /* مخفی کردن دکمه رفتن به بالا در موبایل */
    .back-to-top,
    #back-top {
        display: none !important;
    }
    
    /* فاصله پایین محتوا برای نوار ناوبری */
    body {
        padding-bottom: 60px !important;
    }
}
