/* ========================================
   FONT FACES
======================================== */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

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

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    direction: rtl;
    background: #f5f7fa;
    color: #2c3e50;
    line-height: 1.6;
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-weight: 800;
}

h2 {
    font-weight: 700;
}

h3 {
    font-weight: 600;
}

h4, h5, h6 {
    font-weight: 600;
}

p, span, div, a, li, td, th, input, textarea, select, button, label, small, strong, em {
    font-family: 'Vazirmatn', sans-serif;
}

/* Specific font weights for common elements */
.btn, button {
    font-weight: 500;
}

.logo, .brand {
    font-weight: 800;
}

.card-title, .tour-title, .dashboard-header h1 {
    font-weight: 700;
}

.nav-links a, .sidebar-menu a {
    font-weight: 500;
}

table th {
    font-weight: 600;
}

table td {
    font-weight: 400;
}

:root {
    /* رنگ‌های ایرانی */
    --persian-green: #00A693;
    --persian-green-light: #00BFA5;
    --persian-green-dark: #00897B;
    --persian-green-gradient: linear-gradient(135deg, #00A693 0%, #00BFA5 100%);
    --persian-green-gradient-dark: linear-gradient(135deg, #00897B 0%, #00A693 100%);
    
    /* رنگ‌های اصلی */
    --primary-color: var(--persian-green);
    --primary-dark: var(--persian-green-dark);
    --primary-light: var(--persian-green-light);
    --secondary-color: #ffffff;
    --accent-color: #F5F5F5;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --text-light: #ffffff;
    
    /* طراحی ایرانی */
    --border-radius: 16px;
    --border-radius-small: 8px;
    --border-radius-large: 24px;
    --box-shadow: 0 8px 32px rgba(0, 166, 147, 0.15);
    --box-shadow-light: 0 4px 20px rgba(0, 166, 147, 0.08);
    --box-shadow-dark: 0 12px 40px rgba(0, 166, 147, 0.25);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
    
    /* الگوهای ایرانی */
    --persian-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300A693' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Ccircle cx='50' cy='10' r='2'/%3E%3Ccircle cx='10' cy='50' r='2'/%3E%3Ccircle cx='50' cy='50' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--persian-green-gradient);
    color: var(--text-light);
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-small);
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.nav-links a:hover::before {
    left: 100%;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 10000;
    padding: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    color: white;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    position: relative;
}

.logo::before {
    display: none;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav a:hover {
    background: rgba(255,255,255,0.2);
}

.user-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--persian-green-gradient);
    color: var(--text-light);
    box-shadow: var(--box-shadow-light);
}

.btn-primary:hover {
    background: var(--persian-green-gradient-dark);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-dark);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--persian-green);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--secondary-color);
    color: white;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.hero {
    background: var(--persian-green-gradient);
    background-image: var(--persian-pattern);
    color: var(--text-light);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 166, 147, 0.9), rgba(0, 191, 165, 0.9));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s;
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.2s;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.search-box {
    max-width: 700px;
    margin: 2.5rem auto;
    animation: fadeInUp 1.4s;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-large);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    font-weight: 500;
}

.search-box input:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--box-shadow-dark);
    transform: translateY(-2px);
}

.search-box input::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

.filters {
    background: var(--secondary-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--box-shadow-light);
    margin: 2rem 0;
    border: 1px solid rgba(0, 166, 147, 0.1);
    position: relative;
}

.filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--persian-green-gradient);
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-row select,
.filter-row input {
    padding: 1rem 1.2rem;
    border: 2px solid rgba(0, 166, 147, 0.2);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    background: var(--secondary-color);
}

.filter-row select:focus,
.filter-row input:focus {
    outline: none;
    border-color: var(--persian-green);
    box-shadow: 0 0 0 3px rgba(0, 166, 147, 0.1);
    transform: translateY(-2px);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tour-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid rgba(0, 166, 147, 0.1);
}

.tour-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--box-shadow-dark);
    border-color: var(--persian-green);
}

.tour-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--persian-green-gradient);
    z-index: 1;
}

.tour-image-container {
    position: relative;
    overflow: hidden;
}

.tour-image {
    width: 100%;
    margin-bottom: 15px;
    height: 260px;
    object-fit: cover;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
    transition: var(--transition);
}

.tour-card:hover .tour-image {
    transform: scale(1.05);
}

/* نوار اطلاعات overlay در بالای تصویر */
.tour-overlay-info {
    position: absolute;
    top: 220px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 14px 18px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    border: 1px solid rgba(0, 166, 147, 0.1);
}

.overlay-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0; /* حذف margin-bottom */
}

.overlay-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.overlay-icon.purple {
    color: var(--persian-green);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ستاره‌های امتیاز در وسط ردیف */
.tour-rating-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    flex: 1;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.tour-rating-center:hover {
    transform: scale(1.05);
}

.tour-rating-center .rating-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.tour-rating-center .rating-stars svg {
    color: #FFD700;
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
    transition: transform 0.2s ease;
}

.tour-rating-center:hover .rating-stars svg {
    transform: scale(1.1);
}

/* ستاره‌های امتیاز */
.tour-rating {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    text-align: center;
    margin-top: 8px;
    display: none; /* مخفی کردن ستاره‌ها از بالای کارت */
}

.tour-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--persian-green-gradient);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    box-shadow: var(--box-shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tour-content {
    padding: 24px;
    background: var(--secondary-color);
}

.tour-title {
    font-size: 22px;
    justify-self: right;
    margin-bottom: 14px;
    color: var(--text-primary);
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.tour-destination {
    color: var(--text-secondary);
    justify-self: right;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
}

.location-icon.red {
    color: var(--persian-green);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.tour-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.tour-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* .price-label حذف شد */

.tour-price.blue {
    font-size: 24px;
    color: var(--persian-green);
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 166, 147, 0.2);
}

.price-currency {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
}

.btn-explore.blue {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--persian-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    padding: 8px 16px;
    background: rgba(0, 166, 147, 0.1);
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(0, 166, 147, 0.2);
}

.btn-explore.blue:hover {
    color: var(--persian-green-dark);
    transform: translateX(-3px);
    background: rgba(0, 166, 147, 0.15);
    box-shadow: var(--box-shadow-light);
}

.explore-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-explore.blue:hover .explore-arrow {
    transform: translateX(3px);
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
}

.auth-box {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-width: 450px;
    width: 100%;
    animation: fadeIn 0.5s;
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.dashboard {
    padding: 2rem 0;
}

.dashboard-header {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #7f8c8d;
}

.table-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid #ecf0f1;
}

table th {
    background: #f8f9fa;
    font-weight: 600;
    color: var(--dark-color);
}

table tr:hover {
    background: #f8f9fa;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #7f8c8d;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* افکت شیمر برای دکمه‌ها */
.btn-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

/* افکت موج برای کارت‌ها */
.tour-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 166, 147, 0.1), transparent);
    transition: left 0.6s;
}

.tour-card:hover::after {
    left: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(102, 126, 234, 0.98);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1rem;
        transition: right 0.3s ease;
        z-index: 9999;
        align-items: flex-start;
        overflow-y: auto;
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 0.8rem 1rem;
        border-radius: 8px;
        text-align: right;
    }
    
    .hamburger {
        display: flex !important;
        cursor: pointer;
        z-index: 10000;
        padding: 8px;
        background: rgba(255,255,255,0.1);
        border-radius: 6px;
        color: white;
        transition: all 0.3s ease;
        border: none;
    }
    
    .hamburger:hover {
        background: rgba(255,255,255,0.2);
    }
    
    .hamburger.active {
        background: rgba(255,255,255,0.3);
    }
    
    .hamburger svg {
        transition: transform 0.3s ease;
    }
    
    .hamburger.active svg {
        transform: rotate(90deg);
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .search-box {
        margin: 1.5rem auto;
    }
    
    .search-box input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .filters {
        padding: 1rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tour-card {
        margin: 0;
    }
    
    .tour-image {
        height: 200px;
    }
    
    .tour-card {
        max-width: 100%;
        margin: 0;
    }
    
    .tour-image {
        height: 200px;
    }
    
    .tour-overlay-info {
        top: 12px;
        left: 12px;
        right: 12px;
        padding: 10px 12px;
    }
    
    .overlay-info-item {
        font-size: 12px;
        gap: 4px;
    }
    
    .overlay-icon.purple {
        width: 14px;
        height: 14px;
    }
    
    .tour-rating {
        top: 70px;
        left: 12px;
        right: 12px;
    }
    
    .rating-stars svg {
        width: 16px;
        height: 16px;
    }
    
    .tour-content {
        padding: 16px;
    }
    
    .tour-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .tour-destination {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .location-icon.red {
        width: 14px;
        height: 14px;
    }
    
    .tour-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .tour-price-section {
        text-align: center;
        align-items: center;
    }
    
    .tour-price.blue {
        font-size: 18px;
    }
    
    .btn-explore.blue {
        justify-content: center;
        padding: 8px;
        text-decoration: none;
        background: #F3F4F6;
        border-radius: 8px;
        border: 1px solid #E5E7EB;
    }
    
    .btn-explore.blue:hover {
        background: #E5E7EB;
        transform: none;
    }
    
    .auth-box {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .auth-box h2 {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-card h3 {
        font-size: 2rem;
    }
    
    .dashboard-header {
        padding: 1.5rem;
    }
    
    .dashboard-header h1 {
        font-size: 1.5rem;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    table th,
    table td {
        padding: 0.6rem;
        white-space: nowrap;
    }
    
    .table-container {
        margin: 1rem 0;
        border-radius: 8px;
    }
    
    /* Mobile Admin Sidebar */
    .sidebar-toggle {
        display: flex !important;
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 10000;
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 0.7rem;
        border-radius: 8px;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
    
    .sidebar-overlay {
        display: none;
    }
    
    .admin-layout .sidebar,
    .sidebar.admin-layout,
    #adminSidebar {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        z-index: 9999;
        background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
        color: white;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
    
    .admin-layout .sidebar.active,
    .sidebar.admin-layout.active,
    #adminSidebar.active {
        display: block;
        right: 0;
    }
    
    .admin-layout .main-content {
        margin-right: 0;
        padding: 1rem;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease;
    }
    
    .admin-layout .main-content.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    
    /* Mobile User Sidebar */
    .user-layout .sidebar {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        z-index: 9999;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
    
    .user-layout .sidebar.active {
        display: block;
        right: 0;
    }
    
    .user-layout .main-content {
        margin-right: 0;
        padding: 1rem;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease;
    }
    
    .user-layout .main-content.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
        max-height: 85vh;
    }
    
    .tour-info {
        font-size: 0.9rem;
    }
    
    .badge {
        padding: 0.2rem 0.6rem;
        font-size: 0.7rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .filter-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .tour-overlay-info {
        top: 14px;
        left: 14px;
        right: 14px;
        padding: 11px 14px;
    }
    
    .overlay-info-item {
        font-size: 13px;
        gap: 5px;
    }
    
    .overlay-icon.purple {
        width: 15px;
        height: 15px;
    }
    
    .tour-rating {
        top: 75px;
        left: 14px;
        right: 14px;
    }
    
    .rating-stars svg {
        width: 17px;
        height: 17px;
    }
    
    .tour-content {
        padding: 18px;
    }
    
    .tour-title {
        font-size: 19px;
        margin-bottom: 11px;
    }
    
    .tour-destination {
        font-size: 13px;
        margin-bottom: 18px;
    }
    
    .tour-bottom {
        flex-direction: row;
        align-items: flex-end;
        gap: 14px;
    }
    
    .tour-price.blue {
        font-size: 19px;
    }
    
    .btn-explore.blue {
        padding: 6px 12px;
        background: transparent;
        border: none;
        text-decoration: underline;
    }
    
    .auth-box {
        padding: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Tablet Admin Sidebar */
    .sidebar-toggle {
        display: flex !important;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 10000;
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 0.8rem;
        border-radius: 8px;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
    
    .sidebar-overlay {
        display: none;
    }
    
    .admin-layout .sidebar,
    .sidebar.admin-layout,
    #adminSidebar {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        z-index: 9999;
        background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
        color: white;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
    
    .admin-layout .sidebar.active,
    .sidebar.admin-layout.active,
    #adminSidebar.active {
        display: block;
        right: 0;
    }
    
    .admin-layout .main-content {
        margin-right: 0;
        padding: 1.5rem;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease;
    }
    
    .admin-layout .main-content.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    
    /* Tablet User Sidebar */
    .user-layout .sidebar {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 220px;
        height: 100vh;
        z-index: 9999;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
    
    .user-layout .sidebar.active {
        display: block;
        right: 0;
    }
    
    .user-layout .main-content {
        margin-right: 0;
        padding: 1.5rem;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease;
    }
    
    .user-layout .main-content.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* ========================================
   TABLET STYLES (769px - 1024px)
======================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Hide mobile elements */
    .hamburger,
    .sidebar-toggle,
    .sidebar-overlay {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Admin layout tablet */
    .admin-layout {
        display: flex;
        min-height: 100vh;
    }
    
    .admin-layout .sidebar,
    .sidebar.admin-layout,
    #adminSidebar {
        width: 175px;
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        z-index: 1000;
        overflow-y: hidden;
        overflow-x: hidden;
        background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
        color: white;
    }
    
    .admin-layout .main-content {
        margin-right: 175px;
        width: calc(100% - 175px);
        min-height: 100vh;
        flex: 1;
        background: #f5f7fa;
        padding: 2rem;
    }
    
    /* User layout tablet */
    .user-layout {
        display: flex;
        min-height: 100vh;
    }
    
    .user-layout .sidebar {
        width: 250px;
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        z-index: 1000;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        overflow-y: hidden;
        overflow-x: hidden;
    }
    
    .user-layout .main-content {
        margin-right: 250px;
        width: calc(100% - 250px);
        min-height: 100vh;
        flex: 1;
        background: #f5f7fa;
        padding: 2rem;
    }
}

/* ========================================
   DESKTOP STYLES (min-width: 1025px)
======================================== */
@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .tours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Hide mobile elements */
    .hamburger,
    .sidebar-toggle,
    .sidebar-overlay {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Reset navigation for desktop */
    .nav-links {
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        padding: 0;
        gap: 2rem;
        align-items: center;
        overflow: visible;
        right: auto;
        transition: none;
        transform: none;
    }
    
    .nav-links a {
        width: auto;
        padding: 0.5rem 1rem;
    }
    
    /* Admin layout desktop */
    .admin-layout {
        display: flex;
        min-height: 100vh;
    }
    
    .admin-layout .sidebar,
    .sidebar.admin-layout,
    #adminSidebar {
        position: fixed;
        right: 0;
        top: 0;
        width: 175px;
        height: 100vh;
        z-index: 1000;
        background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
        color: white;
        overflow-y: hidden;
        overflow-x: hidden;
        transition: none;
        transform: none;
    }
    
    .admin-layout .sidebar.active,
    #adminSidebar.active {
        right: 0;
        transform: none;
    }
    
    .admin-layout .main-content {
        margin-right: 175px;
        padding: 2rem;
        width: calc(100% - 175px);
        min-height: 100vh;
        flex: 1;
        background: #f5f7fa;
    }
    
    /* User layout desktop */
    .user-layout {
        display: flex;
        min-height: 100vh;
    }
    
    .user-layout .sidebar {
        position: fixed;
        right: 0;
        top: 0;
        width: 250px;
        height: 100vh;
        z-index: 1000;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        overflow-y: hidden;
        overflow-x: hidden;
        transition: none;
        transform: none;
    }
    
    .user-layout .sidebar.active {
        right: 0;
        transform: none;
    }
    
    .user-layout .main-content {
        margin-right: 250px;
        padding: 2rem;
        width: calc(100% - 250px);
        min-height: 100vh;
        flex: 1;
        background: #f5f7fa;
    }
}


/* ========================================
   ADMIN PANEL STYLES (Only for admin pages)
======================================== */

.admin-layout {
    display: flex;
    flex-flow: wrap;
    min-height: 100vh;
}

.user-layout {
    display: flex;
    min-height: 100vh;
}

.user-layout .sidebar {
    width: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    top: 0;
    right: 0;
}

.user-layout .sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-layout .sidebar-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border-right: 3px solid transparent;
}

.user-layout .sidebar-menu a:hover,
.user-layout .sidebar-menu a.active {
    background: rgba(255,255,255,0.2);
    border-right-color: white;
}

.user-layout .main-content {
    margin-right: 250px;
    flex: 1;
    background: #f5f7fa;
    padding: 2rem;
    min-height: 100vh;
    width: calc(100% - 250px);
}

.admin-layout .sidebar,
.sidebar.admin-layout,
#adminSidebar {
    width: 220px;
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: hidden;
    overflow-x: hidden;
    z-index: 1000;
    border-radius: 25px 0px 0px 25px;
    top: 0;
    right: 0;
}

.admin-layout .sidebar-menu,
.sidebar.admin-layout .sidebar-menu,
#adminSidebar .sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: calc(90vh - 120px);
    justify-content: space-between;
}

.admin-layout .sidebar-menu a,
.sidebar.admin-layout .sidebar-menu a,
#adminSidebar .sidebar-menu a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border-right: 3px solid transparent;
    font-size: 0.9rem;
    line-height: 1.2;
}

.admin-layout .sidebar-menu a svg,
.sidebar.admin-layout .sidebar-menu a svg,
#adminSidebar .sidebar-menu a svg {
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.admin-layout .sidebar-menu a:hover svg,
.sidebar.admin-layout .sidebar-menu a:hover svg,
#adminSidebar .sidebar-menu a:hover svg,
.admin-layout .sidebar-menu a.active svg,
.sidebar.admin-layout .sidebar-menu a.active svg,
#adminSidebar .sidebar-menu a.active svg {
    opacity: 1;
}

.admin-layout .sidebar-menu a:hover,
.admin-layout .sidebar-menu a.active,
.sidebar.admin-layout .sidebar-menu a:hover,
.sidebar.admin-layout .sidebar-menu a.active,
#adminSidebar .sidebar-menu a:hover,
#adminSidebar .sidebar-menu a.active {
    background: rgba(255,255,255,0.1);
    border-right-color: var(--primary-color);
}

.admin-layout .main-content {
    flex: 1;
    background: #f5f7fa;
    padding: 3rem 4rem 0rem 1rem;
        min-height: 100vh;
    width: calc(100% - 175px);
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    color: white;
}

.stat-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.admin-layout .table-container {
    overflow-x: auto;
    margin-top: 1rem;
}

.admin-layout .table-container table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius);
    overflow: visible; /* allow dropdowns inside cells to overflow */
    box-shadow: var(--box-shadow);
}

.admin-layout .table-container th,
.admin-layout .table-container td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid #ecf0f1;
}

.admin-layout .table-container th {
    background: #f8f9fa;
    font-weight: bold;
    color: #2c3e50;
}

.admin-layout .table-container tr:hover {
    background: #f8f9fa;
}

.admin-layout .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-secondary {
    background: #e2e3e5;
    color: #383d41;
}

/* استایل دسته‌بندی‌ها */
.tour-categories {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.category-icon {
    margin-left: 0.5rem;
    color: #9b59b6;
}

.category-tag {
    background: #f8f9fa;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: 0.3rem;
}

/* استایل آیکن اشتراک‌گذاری */
.share-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

.tour-card:hover .share-icon {
    opacity: 1;
    visibility: visible;
}

.share-icon:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.share-icon svg {
    width: 20px;
    height: 20px;
    color: #666;
}

/* استایل پیام موفقیت کپی */
.copy-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-family: 'Vazirmatn', sans-serif;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ========================================
   اسلایدر پیشرفته تاریخ‌های تور
======================================== */

.tour-dates-section {
    padding: 2rem 0;
    background: #f8f9fa;
}

.tour-dates-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
}

/* کانتینر اسلایدر پیشرفته */
.advanced-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 0;
}

.slider-slide {
    flex-shrink: 0;
    padding: 1.5rem;
}

/* کارت تاریخ */
.date-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.date-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.date-range {
    margin-bottom: 1.5rem;
    text-align: center;
}

.date-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.date-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.duration {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 20px;
}

.pricing-info {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.price-item:hover {
    background: rgba(0, 123, 255, 0.05);
    transform: translateX(4px);
}

.price-item:last-child {
    margin-bottom: 0;
}

.price-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.price-value {
    font-weight: 700;
    color: #28a745;
    font-size: 1rem;
}

.date-capacity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.date-capacity:hover {
    border-color: #007bff;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
}

.capacity-label {
    font-weight: 600;
    color: #495057;
}

.capacity-value {
    font-weight: 700;
    color: #2c3e50;
}

.remaining-capacity {
    color: #dc3545;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 6px;
}

/* دکمه‌های کنترل پیشرفته */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007bff;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    color: #0056b3;
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-nav {
    left: -30px;
}

.next-nav {
    right: -30px;
}

.slider-nav svg {
    transition: transform 0.2s ease;
}

.slider-nav:hover svg {
    transform: scale(1.1);
}

/* نقاط نشانگر */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 0 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 123, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.slider-dot:hover {
    background: rgba(0, 123, 255, 0.6);
    transform: scale(1.2);
}

.slider-dot.active {
    background: #007bff;
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
}

.slider-dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .tour-dates-section {
        padding: 1rem 0;
    }
    
    .tour-dates-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .advanced-slider-container {
        margin: 0 1rem;
    }
    
    .slider-slide {
        padding: 1rem;
    }
    
    .date-card {
        padding: 1.5rem;
    }
    
    .slider-nav {
        width: 50px;
        height: 50px;
    }
    
    .prev-nav {
        left: -25px;
    }
    
    .next-nav {
        right: -25px;
    }
    
    .slider-dots {
        margin-top: 1.5rem;
        gap: 0.5rem;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .advanced-slider-container {
        margin: 0 0.5rem;
    }
    
    .slider-slide {
        padding: 0.75rem;
    }
    
    .date-card {
        padding: 1rem;
    }
    
    .date-text {
        font-size: 1rem;
    }
    
    .price-item {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .prev-nav {
        left: -20px;
    }
    
    .next-nav {
        right: -20px;
    }
}

/* ========================================
   بخش رزرو موبایل
======================================== */

.booking-section-mobile {
    padding: 2rem 0;
    background: #f8f9fa;
    display: none; /* مخفی در دسکتاپ */
}

.booking-mobile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ریسپانسیو برای بخش رزرو موبایل */
@media (max-width: 768px) {
    .booking-section-mobile {
        display: block !important; /* نمایش در موبایل */
    }
    
    .booking-mobile-container {
        padding: 0 0.5rem;
    }
}

/* ========================================
   Google Discover بهینه‌سازی
======================================== */

/* بهینه‌سازی تصاویر برای نمایش کاربران */
.tour-image {
    /* ابعاد مناسب برای نمایش کاربران */
    width: 100%;
    height: 260px;
    min-width: 360px;
    min-height: 260px;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

/* تصاویر برای Google Images - ابعاد واقعی در HTML */
.tour-image[itemprop="image"] {
    /* ابعاد واقعی برای Google Images در HTML */
    width: 1200px;
    height: 630px;
    /* اما نمایش کاربران همان اندازه قبلی */
    max-width: 100%;
    max-height: 260px;
}

/* بهینه‌سازی picture element */
picture {
    display: block;
    width: 100%;
}

picture img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* بهینه‌سازی گالری تصاویر */
.tour-image-container picture img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tour-image-container picture img:hover {
    transform: scale(1.05);
}

.tour-card {
    /* بهبود نمایش در Google Discover */
    position: relative;
}

.tour-card[itemscope] {
    /* بهبود نمایش در Google Discover */
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.tour-card[itemscope]:hover {
    border-color: var(--persian-green);
}

/* بهینه‌سازی تصاویر برای Discover */
.tour-image[src*="uploads/"] {
    /* تصاویر آپلود شده */
    aspect-ratio: 16/9;
}

.tour-image[src*="default-tour.jpg"] {
    /* تصاویر پیش‌فرض */
    aspect-ratio: 16/9;
    background: var(--persian-green-gradient);
}

/* بهبود نمایش در Google Discover */
.tour-title {
    /* عنوان‌های جذاب برای Discover */
    font-weight: 700;
    line-height: 1.3;
}

.tour-description {
    /* توضیحات بهینه برای Discover */
    line-height: 1.6;
    color: #2c3e50;
}


