/*
Theme Name: پوسته اختصاصی تراول همسفر (TravelHamsafar Luxury Theme)
Theme URI: https://travelhamsafar.ir
Author: شمس (Shams) - jzshop.ir & Soli Studio
Author URI: https://jzshop.ir
Description: پوسته اختصاصی، فوق‌مدرن و تمام‌صفحه آژانس مسافرتی و جهانگردی همسفر (travelhamsafar.ir). هماهنگ ۱۰۰٪ با پلاگین مدیریت تور همسفر، موتور نرخ‌گذاری لحظه‌ای ارز، سیستم تیکتینگ سولی لوپ و دارای دکمه‌های ویژه دانلود اپلیکیشن از کافه‌بازار.
Version: 4.0.0
License: Proprietary
Text Domain: travel-hamsafar-theme
*/

:root {
    --hs-navy: #070c18;
    --hs-dark: #0f172a;
    --hs-blue: #1d4ed8;
    --hs-blue-light: #38bdf8;
    --hs-gold: #f59e0b;
    --hs-gold-light: #fbbf24;
    --hs-emerald: #10b981;
    --hs-bazaar: #20bf6b;
    --hs-bazaar-dark: #0fb9b1;
    --hs-surface: #f4f7fb;
    --hs-card: #ffffff;
    --hs-border: #e2e8f0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.hs-theme-body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Vazirmatn", Tahoma, sans-serif !important;
    background-color: var(--hs-surface);
    color: #1e293b;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

a {
    transition: all 0.22s ease;
}

/* ==========================================================================
   ۱. نوار بالای نرخ لحظه‌ای ارز و لینک مستقیم کافه‌بازار (Top Utility & App Bar)
   ========================================================================== */
.hs-top-utility-bar {
    background: linear-gradient(90deg, #050811 0%, #0f172a 50%, #050811 100%);
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    position: relative;
    z-index: 1045;
}

.hs-currency-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 3px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hs-currency-chip strong {
    color: var(--hs-gold-light);
    font-weight: 800;
}

.hs-top-bazaar-btn {
    background: linear-gradient(135deg, #26de81 0%, #20bf6b 100%);
    color: #ffffff !important;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 12px rgba(32, 191, 107, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hs-top-bazaar-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(32, 191, 107, 0.5);
    color: #fff !important;
}

.hs-top-apk-btn {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.4);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hs-top-apk-btn:hover {
    background: #38bdf8;
    color: #0f172a !important;
}

.hs-phone-cta-pill {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0f172a !important;
    font-weight: 900;
    padding: 4px 14px;
    border-radius: 50px;
    direction: ltr;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   ۲. هدر شیشه‌ای چسبان و مگامنوی تب‌بندی شده (Sticky Glass Header & MegaMenu)
   ========================================================================== */
.hs-glass-header {
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    z-index: 1040;
}

.hs-custom-logo-img {
    max-width: 210px;
    max-height: 58px;
    object-fit: contain;
}

.hs-logo-emblem {
    filter: drop-shadow(0 6px 14px rgba(29, 78, 216, 0.28));
    transition: transform 0.3s ease;
}

.hs-brand-link:hover .hs-logo-emblem {
    transform: scale(1.06) rotate(-4deg);
}

.hs-logo-main-title {
    font-size: 25px;
    font-weight: 900;
    line-height: 1.05;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 60%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hs-logo-sub-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.3px;
    color: #d97706;
    direction: ltr;
}

.hs-nav-link {
    color: #1e293b !important;
    font-weight: 700;
    font-size: 14.5px;
    padding: 10px 14px !important;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.hs-nav-link:hover, .hs-nav-link.active {
    background: #eff6ff;
    color: #1d4ed8 !important;
}

.hs-nav-app-highlight {
    background: linear-gradient(135deg, rgba(32, 191, 107, 0.12), rgba(15, 185, 177, 0.18));
    color: #0f766e !important;
    border: 1px solid rgba(16, 185, 129, 0.35);
    font-weight: 800 !important;
}

.hs-nav-app-highlight:hover {
    background: linear-gradient(135deg, #20bf6b, #0fb9b1);
    color: #ffffff !important;
}

.hs-megamenu-dropdown {
    border-radius: 0 0 24px 24px !important;
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(24px);
    border-top: 3px solid #2563eb !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18) !important;
}

.hs-mega-list li {
    margin-bottom: 9px;
}

.hs-mega-list a {
    color: #334155;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.hs-mega-list a:hover {
    background: #f1f5f9;
    color: #1d4ed8;
    transform: translateX(-5px);
}

/* ==========================================================================
   ۳. بخش هیرو سینمایی + باکس جستجوی شیشه‌ای + ماتریس قیمت‌های آفری
   ========================================================================== */
.hs-hero-master {
    background:
        radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.24) 0%, transparent 45%),
        radial-gradient(circle at 15% 80%, rgba(245, 158, 11, 0.18) 0%, transparent 50%),
        linear-gradient(135deg, #050914 0%, #0f172a 45%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
    padding: 56px 0 64px;
}

.hs-hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fde68a;
    border-radius: 50px;
    padding: 7px 20px;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.hs-search-cockpit {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.28);
}

.hs-search-cockpit .form-control,
.hs-search-cockpit .form-select {
    height: 56px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
}

.hs-search-btn {
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    font-weight: 900;
    font-size: 16px;
    border: none;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.35);
    transition: all 0.25s ease;
}

.hs-search-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #fde047 0%, #fbbf24 100%);
    color: #0f172a;
}

/* ماتریس کپسولی قیمت پایه (مشابه مای‌پرواز با ارتقای گرافیکی) */
.hs-matrix-glass-panel {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 24px;
}

.hs-matrix-tabs .nav-link {
    color: #cbd5e1;
    border-radius: 50px;
    padding: 6px 18px;
    font-weight: 700;
    font-size: 13.5px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hs-matrix-tabs .nav-link.active {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.hs-matrix-item-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    padding: 10px 14px;
    transition: all 0.22s ease;
}

.hs-matrix-item-pill:hover {
    background: rgba(56, 189, 248, 0.16);
    border-color: #38bdf8;
    transform: translateY(-2px);
}

.hs-matrix-price-tag {
    background: rgba(251, 191, 36, 0.18);
    color: #fde047;
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 8px;
    padding: 3px 9px;
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
}

/* ==========================================================================
   ۴. بنتو گرید مقاصد گردشگری و کارت‌های تور (Bento Grid & Luxury Tour Cards)
   ========================================================================== */
.hs-bento-card {
    height: 225px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    display: block;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.hs-bento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hs-bento-card:hover img {
    transform: scale(1.09);
}

.hs-bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 12, 24, 0.92) 0%, rgba(7, 12, 24, 0.15) 65%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.hs-tour-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.hs-tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(29, 78, 216, 0.13);
    border-color: #93c5fd;
}

.hs-card-media {
    height: 230px;
    position: relative;
    overflow: hidden;
}

.hs-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.hs-tour-card:hover .hs-card-img {
    transform: scale(1.07);
}

.hs-badge-hot {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 13px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.hs-badge-installment {
    background: rgba(16, 185, 129, 0.95);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 50px;
}

.hs-card-duration-bar {
    background: linear-gradient(to top, rgba(7, 12, 24, 0.94), transparent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.hs-card-title {
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.55;
}

.hs-price-engine-box {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px dashed #93c5fd;
    border-radius: 16px;
}

.hs-price-big {
    font-size: 20px;
    color: #1d4ed8;
}

/* ==========================================================================
   ۵. سکشن ویژه دانلود اپلیکیشن از کافه‌بازار و لینک مستقیم (App Promo Banner)
   ========================================================================== */
.hs-app-showcase-section {
    background: linear-gradient(135deg, #070c18 0%, #0f172a 55%, #064e3b 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(52, 211, 153, 0.25);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.22);
}

.hs-bazaar-cta-large {
    background: linear-gradient(135deg, #26de81 0%, #20bf6b 100%);
    color: #ffffff !important;
    border-radius: 18px;
    padding: 14px 26px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 25px rgba(32, 191, 107, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.hs-bazaar-cta-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(32, 191, 107, 0.5);
    color: #ffffff !important;
}

.hs-direct-apk-large {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 2px solid rgba(56, 189, 248, 0.6);
    border-radius: 18px;
    padding: 14px 24px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.hs-direct-apk-large:hover {
    background: #38bdf8;
    color: #0f172a !important;
    transform: translateY(-3px);
}

.hs-phone-mockup-card {
    background: linear-gradient(145deg, #131e34, #0b1222);
    border: 3px solid rgba(125, 211, 252, 0.45);
    border-radius: 34px;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 340px;
    margin: 0 auto;
}

.hs-soli-btn-demo {
    background: linear-gradient(180deg, #26de81, #20bf6b);
    color: #fff;
    border-radius: 14px;
    padding: 10px 16px;
    font-weight: 800;
    text-align: center;
    font-size: 13.5px;
}

.hs-track-card {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a8a 100%);
}

.hs-soliloop-newsletter {
    background: linear-gradient(135deg, #1d4ed8 0%, #0f172a 100%);
}

.hs-footer {
    background: #060911;
    padding-bottom: 85px !important;
}

.hs-footer-links li {
    margin-bottom: 9px;
}

.hs-footer-links a {
    color: #94a3b8;
    text-decoration: none;
}

.hs-footer-links a:hover {
    color: #38bdf8;
}
