/**
 * TourInCity - Main Stylesheet
 * Modern, responsive design for tour booking website
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    
    /* Gradient colors for visual appeal */
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-primary-reverse: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    --gradient-horizontal: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    
    --text-primary: #1f2937;
    --text-secondary: #4b5563; /* Improved contrast: changed from #6b7280 (4.1:1) to #4b5563 (7:1) for WCAG AA compliance */
    --text-light: #6b7280; /* Improved contrast: changed from #9ca3af (2.8:1) to #6b7280 (4.1:1) for better readability */
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    
    --border-color: #e5e7eb;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s ease;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

/* ============================================
   Mobile & Touch Optimization
   ============================================ */
/* Prevent text selection and improve touch on interactive elements */
button, .btn, .lang-btn-nav, .currency-btn-nav, .mobile-menu-toggle {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
    touch-action: manipulation;
}

/* Improve touch targets for mobile and prevent iOS zoom on input focus */
@media (max-width: 768px) {
    button, .btn, a.btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Prevent zoom on input focus (iOS Safari) */
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* ============================================
   RTL (Right-to-Left) Support for Arabic, Hebrew, Persian, Urdu
   ============================================ */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .container {
    direction: rtl;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu li {
    margin-left: 0;
    margin-right: 2rem;
}

[dir="rtl"] .nav-menu li:first-child {
    margin-right: 0;
}

[dir="rtl"] .mobile-menu {
    right: auto;
    left: -100%;
}

[dir="rtl"] .mobile-menu.active {
    left: 0;
    right: auto;
}

[dir="rtl"] .breadcrumb {
    flex-direction: row-reverse;
}

[dir="rtl"] .breadcrumb-item::after {
    content: '←';
    margin-left: 0;
    margin-right: 0.5rem;
}

[dir="rtl"] .breadcrumb-item:last-child::after {
    display: none;
}

[dir="rtl"] .btn i,
[dir="rtl"] .icon {
    margin-left: 0.5rem;
    margin-right: 0;
}

[dir="rtl"] .btn i:first-child {
    margin-left: 0;
    margin-right: 0.5rem;
}

[dir="rtl"] .pagination {
    flex-direction: row-reverse;
}

[dir="rtl"] .filter-sidebar {
    border-right: none;
    border-left: 1px solid var(--border-color);
}

[dir="rtl"] .tour-card,
[dir="rtl"] .destination-card {
    text-align: right;
}

[dir="rtl"] .form-group label {
    text-align: right;
}

[dir="rtl"] .form-input,
[dir="rtl"] .form-select,
[dir="rtl"] textarea {
    text-align: right;
}

[dir="rtl"] .float-left {
    float: right !important;
}

[dir="rtl"] .float-right {
    float: left !important;
}

[dir="rtl"] .text-left {
    text-align: right !important;
}

[dir="rtl"] .text-right {
    text-align: left !important;
}

[dir="rtl"] .ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .mr-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    /* Prevent scroll jump on page load */
    scroll-padding-top: 0;
}

/* Disable smooth scroll on initial page load to prevent visible scrolling */
html:not(.smooth-scroll-ready) {
    scroll-behavior: auto;
}

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

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary); /* #1f2937 - good contrast (14.5:1) on #f9fafb background */
    background-color: var(--bg-secondary);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Ensure paragraphs have good contrast */
p {
    color: var(--text-primary); /* Ensure paragraphs use primary text color for WCAG AA compliance */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    /* Prevent scroll jump on load */
    min-height: 0;
    position: relative;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-horizontal);
    border-radius: 2px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #4b5563; /* Improved contrast: changed from var(--text-secondary) #6b7280 to #4b5563 and removed opacity for WCAG AA compliance */
    /* Removed opacity: 0.8; for better contrast */
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

.section-footer .btn {
    padding: 16px 40px;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 50px;
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-footer .btn:hover {
    background: var(--gradient-primary-reverse);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: visible;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    padding: 0;
}

.site-header.scrolled .main-nav {
    padding: 12px 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-logo a:hover {
    transform: scale(1.05);
}

.nav-logo img {
    max-height: 50px;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.nav-menu li {
    position: relative;
    overflow: visible;
}

.nav-menu a {
    color: var(--text-primary);
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 10px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 0.938rem;
    letter-spacing: 0.2px;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 3px;
    background: var(--gradient-horizontal);
    border-radius: 3px 3px 0 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-menu a:hover::after {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.nav-menu a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu a.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.nav-menu a.active::before {
    transform: translateX(-50%) scaleX(1);
    width: 85%;
}

.nav-menu a.active::after {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    position: relative;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.mobile-menu-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.05);
}

.mobile-menu-toggle.active {
    background: rgba(102, 126, 234, 0.15);
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    position: relative;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--primary-color);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--primary-color);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
    pointer-events: none;
    visibility: hidden;
}

.mobile-menu-overlay.active {
    display: block !important;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s;
}

/* ============================================
   Language Switcher (In Navigation)
   ============================================ */
.nav-language-switcher {
    position: relative;
    z-index: 99999;
}

/* Ensure dropdown is visible on desktop when active */
@media (min-width: 769px) {
    .lang-dropdown-nav.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed !important;
    }
    
    .currency-dropdown-nav.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: fixed !important;
    }
}

.lang-btn-nav {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.938rem;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
    touch-action: manipulation;
    user-select: none;
}

.lang-btn-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.lang-btn-nav:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.lang-btn-nav:hover::before {
    width: 300%;
    height: 300%;
    border-radius: 10px;
}

.lang-btn-nav i.fa-globe {
    font-size: 1.125rem;
}

.lang-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    display: inline-block;
}


.lang-btn-nav.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-current {
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: fit-content;
}

.lang-dropdown-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    /* Position will be set dynamically via JavaScript when active on desktop */
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    min-width: 260px;
    width: auto;
    max-width: 320px;
    max-height: 400px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 99999;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.2s;
    pointer-events: none;
    flex-direction: column;
    visibility: hidden;
}

.lang-dropdown-nav.active {
    display: flex !important;
    flex-direction: column;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
    pointer-events: auto !important;
    visibility: visible !important;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.lang-dropdown-nav::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--border-color);
}

.lang-dropdown-nav::after {
    content: '';
    position: absolute;
    top: -6px;
    right: 21px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid white;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    cursor: pointer;
    z-index: 1;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.lang-option:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding-left: 24px;
    transform: translateX(4px);
}

.lang-option:hover::before {
    transform: scaleX(1);
}

.lang-option.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: 600;
}

.lang-option.active::before {
    display: none;
}

.lang-option.active:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateX(0);
    padding-left: 20px;
}

.lang-option .flag {
    font-size: 1.5rem;
    line-height: 1;
}

.lang-option .lang-name {
    font-size: 0.938rem;
}

/* Currency Switcher - Same Styles as Language Switcher */
.currency-btn-nav {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.938rem;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
    touch-action: manipulation;
    user-select: none;
}

.currency-btn-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.currency-btn-nav:hover {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    background: transparent;
}

.currency-btn-nav:hover::before {
    width: 300%;
    height: 300%;
    border-radius: 10px;
}

.currency-btn-nav i.fa-money-bill-wave {
    font-size: 1.125rem;
}

.currency-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.currency-btn-nav:hover .currency-arrow {
    transform: rotate(180deg);
}

.currency-current {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.currency-dropdown-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    /* Position will be set dynamically via JavaScript when active on desktop */
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    min-width: 320px;
    max-width: 360px;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 99999;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.2s;
    pointer-events: none;
    flex-direction: column;
    visibility: hidden;
}

.currency-dropdown-nav::-webkit-scrollbar {
    width: 6px;
}

.currency-dropdown-nav::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.currency-dropdown-nav::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.currency-dropdown-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.currency-dropdown-nav.active {
    display: flex !important;
    flex-direction: column;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
    pointer-events: auto !important;
    visibility: visible !important;
}

.currency-dropdown-header {
    padding: 16px 20px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 0.938rem;
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.currency-dropdown-header i {
    font-size: 1.125rem;
}

.currency-section {
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.currency-section:first-of-type {
    border-top: none;
}

.currency-section-title {
    padding: 8px 20px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.02);
}

.currency-search {
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.currency-search-wrapper {
    position: relative;
}

.currency-search-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.4);
    font-size: 0.875rem;
}

.currency-search input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
}

.currency-search input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.currency-search input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.currency-list {
    max-height: none;
    overflow-y: visible;
    padding: 4px 0;
}

.currency-list::-webkit-scrollbar {
    width: 6px;
}

.currency-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.currency-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.currency-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.currency-option:last-child {
    border-bottom: none;
}

.currency-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.currency-option:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding-left: 24px;
    transform: translateX(4px);
}

.currency-option:hover::before {
    transform: scaleX(1);
}

.currency-option.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: 600;
}

.currency-option.active::before {
    display: none;
}

.currency-option.active:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateX(0);
    padding-left: 20px;
}

.currency-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.currency-symbol {
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 36px;
    text-align: center;
    line-height: 1;
    color: var(--text-primary);
}

.currency-code {
    font-weight: 700;
    font-size: 0.938rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.currency-name {
    font-size: 0.813rem;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.currency-check {
    color: white;
    font-size: 1rem;
    margin-left: auto;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-option.active .currency-check {
    opacity: 1;
    transform: scale(1);
}

.currency-option.active .currency-symbol {
    color: white;
}

.currency-option.active .currency-code {
    color: white;
}

.currency-option.active .currency-name {
    color: rgba(255, 255, 255, 0.85);
}

.nav-currency-switcher {
    position: relative;
    z-index: 99999;
}

/* ============================================
   Hero Banner - Modern Design
   ============================================ */
.hero-banner {
    position: relative;
    min-height: 500px;
    height: 60vh;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    animation: zoomIn 20s ease infinite;
}

@keyframes zoomIn {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 40px 20px;
    z-index: 2;
    background: none !important;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.4s both;
    max-width: 700px;
}

/* ============================================
   Search Module - Modern Design
   ============================================ */
.search-module {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.search-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-input-group {
    display: flex;
    gap: 0;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    border-radius: 16px 0 0 16px;
    font-size: 1rem;
    background: transparent;
    color: var(--text-primary);
    outline: none;
}

.search-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.search-btn {
    padding: 18px 32px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0 16px 16px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.search-btn:hover {
    background: var(--gradient-primary-reverse);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.search-btn:active {
    transform: translateY(0);
}

/* ============================================
   Tour Cards
   ============================================ */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tour-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.tour-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.tour-card:hover::before {
    transform: scaleX(1);
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15), 0 0 0 1px rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.tour-link {
    display: block;
    color: inherit;
}

.tour-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

/* Wishlist Button on Tour Cards */
.wishlist-btn-card {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.wishlist-btn-card:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wishlist-btn-card i {
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.wishlist-btn-card.in-wishlist {
    background: rgba(239, 68, 68, 0.95);
    color: white;
}

.wishlist-btn-card.in-wishlist:hover {
    background: rgba(220, 38, 38, 1);
}

.wishlist-btn-card.in-wishlist i {
    color: white;
}

/* Wishlist Nav Link */
.wishlist-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.wishlist-nav-link:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.wishlist-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #ef4444;
    color: white;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.wishlist-count-badge:empty {
    display: none;
}

.tour-content {
    padding: 18px;
}

.tour-title {
    font-size: 1.125rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.tour-location {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 12px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.813rem;
    color: var(--text-secondary);
}

.tour-duration {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.tour-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-from {
    color: #4b5563; /* Improved contrast: removed opacity and used darker color for WCAG AA compliance */
    font-size: 0.813rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Removed opacity: 0.8; for better contrast */
}

.price-original {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 0.875rem;
}

.price-current {
    color: var(--primary-color);
    font-size: 1.375rem;
    font-weight: 700;
}

.tour-cta {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   Destinations Listing Page
   ============================================ */
.destinations-listing-section {
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.filter-subtitle {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-left: 15px;
}

/* Country Filter Bar */
.country-filter-bar {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.5s ease-out;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.filter-label i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.country-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.country-filter-btn {
    padding: 10px 20px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid transparent;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.938rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.country-filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.country-filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.country-filter-btn i {
    font-size: 0.875rem;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.destination-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15), 0 0 0 1px rgba(102, 126, 234, 0.1);
}

/* Clickable Country Tag */
.destination-country-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.destination-country-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
}

.destination-country-tag i {
    font-size: 0.75rem;
}

.destination-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.destination-link:hover {
    color: inherit;
}

.destination-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.destination-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover .destination-img {
    transform: scale(1.1);
}

.destination-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: var(--primary-color);
    font-size: 4rem;
}

.destination-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.destination-card:hover .destination-overlay {
    opacity: 1;
}

.destination-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.destination-card:hover .destination-badge {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.destination-badge i {
    font-size: 1rem;
}

.destination-content {
    padding: 25px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.destination-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.destination-city {
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    transition: var(--transition);
}

.destination-card:hover .destination-city {
    color: var(--primary-color);
}

.destination-country {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.destination-country i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.destination-description {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.destination-footer {
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.destination-link-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.938rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.destination-card:hover .destination-link-text {
    gap: 12px;
}

.destination-link-text i {
    transition: transform 0.3s ease;
}

.destination-card:hover .destination-link-text i {
    transform: translateX(5px);
}

/* Destination Card Animation */
.destination-card {
    animation: fadeInUp 0.5s ease-out;
}

.destination-card:nth-child(1) { animation-delay: 0.1s; }
.destination-card:nth-child(2) { animation-delay: 0.15s; }
.destination-card:nth-child(3) { animation-delay: 0.2s; }
.destination-card:nth-child(4) { animation-delay: 0.25s; }
.destination-card:nth-child(5) { animation-delay: 0.3s; }
.destination-card:nth-child(6) { animation-delay: 0.35s; }
.destination-card:nth-child(7) { animation-delay: 0.4s; }
.destination-card:nth-child(8) { animation-delay: 0.45s; }
.destination-card:nth-child(9) { animation-delay: 0.5s; }

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn:active {
    transform: translateY(0);
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination-link {
    min-width: 45px;
    height: 45px;
    padding: 10px 15px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.pagination-link:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.pagination-link.active:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Footer - Modern Design
   ============================================ */
.site-footer {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 80px 0 0;
    margin-top: 100px;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-section {
    animation: fadeInUp 0.6s ease backwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

.footer-about {
    max-width: 350px;
}

.footer-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    font-size: 0.938rem;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer-social.footer-social-spacing {
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.social-link i {
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
}

.social-link:hover {
    border-color: rgba(102, 126, 234, 0.5);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 14px;
    opacity: 0;
    animation: fadeInLeft 0.5s ease forwards;
}

.footer-menu li:nth-child(1) { animation-delay: 0.1s; }
.footer-menu li:nth-child(2) { animation-delay: 0.15s; }
.footer-menu li:nth-child(3) { animation-delay: 0.2s; }
.footer-menu li:nth-child(4) { animation-delay: 0.25s; }
.footer-menu li:nth-child(5) { animation-delay: 0.3s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.938rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.footer-menu a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
    color: #667eea;
}

.footer-menu a:hover {
    color: white;
    padding-left: 5px;
}

.footer-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-tagline-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.938rem;
    line-height: 1.8;
    margin: 0;
    max-width: 300px;
}

.footer-tags-menu {
    margin-top: 15px;
}

.footer-tags-menu li {
    margin-bottom: 8px;
}

.footer-tags-menu a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.938rem;
    transition: all 0.3s ease;
}

.footer-tags-menu a:hover {
    color: white;
    padding-left: 5px;
}

.footer-tags-empty {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.938rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.footer-contact-list li:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact-list i {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 8px;
    color: #667eea;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    margin: 0;
}

/* ============================================
   404 Error Page
   ============================================ */
.error-404-section {
    padding: 80px 0;
}

.error-404-container {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.error-404-content {
    margin-bottom: 40px;
}

.error-404-number {
    font-size: 10rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
}

.error-404-title {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 20px;
    font-weight: 600;
}

.error-404-message {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 40px;
}

.error-404-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.error-404-actions .btn {
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
}

.error-404-actions .btn-outline {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
}

.error-404-popular {
    background: #f9fafb;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
}

.error-404-popular h3 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 600;
}

.error-404-popular-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-404-popular-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.error-404-popular-links a:hover {
    color: #5568d3;
}

/* Privacy Page */
.privacy-container {
    max-width: 900px;
}

.privacy-content {
    line-height: 1.8;
    color: var(--text-primary);
}

/* Activity Detail Page */
.activity-hero-icon {
    margin-right: 15px;
}

.tour-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.destination-country-opacity {
    opacity: 0.9;
}

.activity-no-tours {
    text-align: center;
    padding: 60px 20px;
}

.activity-no-tours-icon {
    color: #9ca3af;
    margin-bottom: 20px;
}

.activity-no-tours-title {
    color: #1f2937;
    margin-bottom: 10px;
}

.activity-no-tours-message {
    color: #6b7280;
}

/* Page Template */
.page-container {
    max-width: 1000px;
    padding: 40px 20px;
}

.page-content {
    line-height: 1.8;
}

/* Country Description (Destinations Page) */
.country-description {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.country-description-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.country-description-image {
    flex-shrink: 0;
}

.country-description-img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.country-description-text {
    flex: 1;
}

.country-description-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.country-description-flag {
    font-size: 2rem;
}

.country-description-title {
    margin: 0;
    color: #1f2937;
    font-size: 1.5rem;
}

.country-description-title-no-flag {
    margin: 0 0 15px 0;
}

.country-description-body {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
}

/* ============================================
   GDPR Cookie Consent Banner
   ============================================ */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 12px 15px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: slideUp 0.4s ease-out;
    border-top: 2px solid #667eea;
}

.gdpr-banner.gdpr-banner-hidden {
    display: none;
}

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

.gdpr-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.gdpr-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

.gdpr-banner-text i {
    font-size: 1.125rem;
    color: #667eea;
    margin-top: 2px;
    flex-shrink: 0;
}

.gdpr-banner-text p {
    margin: 0;
    font-size: 0.813rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.gdpr-link {
    color: #667eea;
    text-decoration: underline;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.gdpr-link:hover {
    color: #764ba2;
}

.gdpr-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.gdpr-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.813rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gdpr-btn-accept {
    background: var(--gradient-primary);
    color: white;
}

.gdpr-btn-accept:hover {
    background: var(--gradient-primary-reverse);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.gdpr-btn-close {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gdpr-btn-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.gdpr-banner.hidden {
    animation: slideDown 0.4s ease-out forwards;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .gdpr-banner {
        padding: 10px 12px;
    }
    
    .gdpr-banner-content {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .gdpr-banner-text {
        flex-direction: row;
        gap: 8px;
        flex: 1;
        min-width: 0;
    }
    
    .gdpr-banner-text i {
        font-size: 1rem;
        margin-top: 1px;
    }
    
    .gdpr-banner-text p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .gdpr-banner-actions {
        gap: 6px;
        flex-shrink: 0;
    }
    
    .gdpr-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        gap: 4px;
    }
    
    .gdpr-btn-accept {
        white-space: nowrap;
    }
    
    .gdpr-btn-close {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }
}

/* ============================================
   Page Header (Hero Style - Compact)
   ============================================ */
.page-header {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px 40px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
    text-align: center;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

/* Floating shapes for page header */
.page-header::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.page-header .hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.page-header .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.35;
    animation: floatShape 20s ease-in-out infinite;
}

.page-header .shape-1 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    top: -40px;
    left: -40px;
    animation-delay: 0s;
}

.page-header .shape-2 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #48dbfb, #0abde3);
    bottom: -60px;
    right: -60px;
    animation-delay: 5s;
}

.page-header .shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #ff9ff3, #f368e0);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15px, -15px) scale(1.05); }
    66% { transform: translate(-12px, 12px) scale(0.95); }
}

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

/* Breadcrumbs in Page Header */
.page-header .breadcrumbs {
    margin-bottom: 20px;
    text-align: center;
}

.page-header .breadcrumbs ol {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.page-header .breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-header .breadcrumbs li:not(:last-child)::after {
    content: '/';
    color: rgba(255, 255, 255, 0.6);
    margin-left: 8px;
    font-weight: 300;
}

.page-header .breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header .breadcrumbs a:hover {
    color: white;
    text-decoration: underline;
}

.page-header .breadcrumbs span {
    color: rgba(255, 255, 255, 0.9);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 12px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

/* Page Header Menu Context */
.page-header-menu {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.page-header-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.page-header-menu a:hover,
.page-header-menu a.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* ============================================
   Tours Page Layout
   ============================================ */
.tours-section {
    padding: 60px 0;
}

.tours-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

/* ============================================
   Tours Sidebar & Filters
   ============================================ */
.tours-sidebar {
    position: sticky;
    top: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 25px 70px rgba(37, 99, 235, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(37, 99, 235, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    z-index: 10;
}


.tours-sidebar .filter-form {
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.sidebar-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 25%, #1d4ed8 50%, #1e40af 75%, #1e3a8a 100%);
    padding: 32px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.sidebar-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.sidebar-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-100%) translateY(-100%);
    }
    50% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

.sidebar-title {
    color: white;
    font-size: 1.375rem;
    font-weight: 900;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3), 0 1px 5px rgba(0, 0, 0, 0.2);
}

.sidebar-title i {
    font-size: 1.625rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    padding: 12px;
    border-radius: 14px;
    backdrop-filter: blur(20px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: slideRotate 3s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

.active-filters-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ea580c 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.813rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.sidebar-widget {
    padding: 26px 30px;
    margin-bottom: 0;
    padding-bottom: 28px;
    border-bottom: 2px solid rgba(37, 99, 235, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.6) 100%);
}

.sidebar-widget:first-of-type {
    padding-top: 30px;
}


.sidebar-widget:last-of-type {
    padding-bottom: 28px;
    border-bottom: none;
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-color) 0%, #3b82f6 100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}


.widget-title {
    font-size: 0.938rem;
    margin-bottom: 18px;
    color: var(--text-primary);
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.widget-title i {
    color: #ffffff;
    font-size: 1.125rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    border-radius: 10px;
    padding: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}


.filter-group {
    margin-bottom: 15px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

/* Form Inputs & Selects */
.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(37, 99, 235, 0.15);
    border-radius: 14px;
    font-size: 0.938rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.15), 0 6px 20px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    transform: translateY(-3px);
}

.form-select {
    width: 100%;
    padding: 16px 45px 16px 20px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 14px;
    font-size: 0.938rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 50%, #f0f4ff 100%);
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(102, 126, 234, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.2), 0 8px 24px rgba(102, 126, 234, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 50%, #e0e7ff 100%);
    background-size: 200% 200%;
    transform: translateY(-3px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 12 12'%3E%3Cpath fill='%234f46e5' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.filter-select {
    width: 100%;
    padding: 16px 45px 16px 20px;
    border: 2px solid rgba(118, 75, 162, 0.2);
    border-radius: 14px;
    font-size: 0.938rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 50%, #faf5ff 100%);
    background-size: 200% 200%;
    animation: gradientFlow 10s ease infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(118, 75, 162, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 12 12'%3E%3Cpath fill='%23764ba2' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.filter-select:focus {
    outline: none;
    border-color: #764ba2;
    box-shadow: 0 0 0 5px rgba(118, 75, 162, 0.2), 0 8px 24px rgba(118, 75, 162, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 50%, #f3e8ff 100%);
    background-size: 200% 200%;
    transform: translateY(-3px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 12 12'%3E%3Cpath fill='%236b21a8' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.duration-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.duration-inputs .form-input {
    flex: 1;
    text-align: center;
}

.duration-separator {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.search-form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-form-sidebar .form-input {
    position: relative;
    padding-left: 45px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.search-form-sidebar .form-input:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
}

.search-form-sidebar .form-input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.search-input {
    padding-left: 45px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.search-input:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
}

.duration-input {
    text-align: center;
    font-weight: 600;
}

/* Duration Range Slider - Enhanced Design */
.duration-slider-container {
    width: 100%;
    padding: 20px 0;
}

/* Duration Input Fields */
.duration-inputs-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
    border-radius: 16px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.duration-inputs-wrapper:hover {
    border-color: rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(102, 126, 234, 0.08) 100%);
}

.duration-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.duration-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.duration-input-number {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    background: white;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.duration-input-number:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), 0 4px 12px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.duration-input-number::-webkit-inner-spin-button,
.duration-input-number::-webkit-outer-spin-button {
    opacity: 1;
    height: 30px;
}

.duration-separator-icon {
    display: flex;
    align-items: center;
    padding-bottom: 8px;
    color: var(--primary-color);
    font-size: 1.25rem;
    opacity: 0.6;
}

.duration-unit-badge {
    display: flex;
    align-items: center;
    padding-bottom: 8px;
}

.duration-unit-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(37, 99, 235, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
}

/* Range Slider Wrapper */
.range-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 20px 0 15px 0;
    padding: 0;
}

/* Current Values Display */
.range-values-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(102, 126, 234, 0.08) 100%);
    border-radius: 12px;
    border: 2px solid rgba(37, 99, 235, 0.15);
}

.range-value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.range-value-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.range-value-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.range-value-unit {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0.8;
}

.range-value-separator {
    color: var(--primary-color);
    font-size: 1.25rem;
    opacity: 0.5;
    padding: 0 8px;
}

/* Slider Container */
.range-slider-container {
    position: relative;
    width: 100%;
    height: 50px;
    padding: 0 10px;
}

.range-slider-track {
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: 10px;
    background: linear-gradient(90deg, #e5e7eb 0%, #d1d5db 100%);
    border-radius: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
}

.range-slider-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.2s ease, left 0.2s ease;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.range-slider {
    position: absolute;
    width: calc(100% - 20px);
    left: 10px;
    height: 10px;
    background: transparent;
    outline: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    top: 50%;
    transform: translateY(-50%);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4), 0 0 0 4px rgba(37, 99, 235, 0.1);
    transition: all 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5), 0 0 0 6px rgba(37, 99, 235, 0.15);
    border-color: #1e40af;
}

.range-slider::-webkit-slider-thumb:active {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.6), 0 0 0 8px rgba(37, 99, 235, 0.2);
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 3;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4), 0 0 0 4px rgba(37, 99, 235, 0.1);
    transition: all 0.2s ease;
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5), 0 0 0 6px rgba(37, 99, 235, 0.15);
}

.range-slider::-moz-range-thumb:active {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.6), 0 0 0 8px rgba(37, 99, 235, 0.2);
}

.range-slider-min {
    z-index: 2;
}

.range-slider-max {
    z-index: 1;
}

.range-slider-max::-webkit-slider-thumb {
    z-index: 4;
}

.range-slider-max::-moz-range-thumb {
    z-index: 4;
}

/* Range Display Labels */
.duration-range-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding: 0 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.range-min-label,
.range-max-label {
    background: rgba(37, 99, 235, 0.08);
    padding: 4px 8px;
    border-radius: 6px;
    color: var(--text-secondary);
}

.filter-group {
    transition: var(--transition);
}


.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 0;
    padding: 28px 30px;
    border-top: 3px solid rgba(37, 99, 235, 0.15);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(15px);
    flex-shrink: 0;
    box-shadow: 0 -4px 15px rgba(37, 99, 235, 0.1);
}

.filter-actions .btn {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    padding: 14px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
}

.filter-actions .btn-primary::after {
    content: '→';
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.filter-actions .btn-primary:hover::after {
    margin-left: 12px;
}

.filter-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-secondary);
    border: 2px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-actions .btn-secondary:hover {
    background: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.filter-actions .btn i {
    margin-right: 8px;
}

/* ============================================
   Active Filters Chips
   ============================================ */
.active-filters-container {
    padding: 24px 30px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 50%, rgba(30, 64, 175, 0.05) 100%);
    border-bottom: 2px solid rgba(37, 99, 235, 0.15);
    backdrop-filter: blur(15px);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.active-filters-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.active-filters-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 2px;
}

.active-filters-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 14px;
    white-space: nowrap;
    border-radius: 20px;
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    cursor: default;
}

.filter-chip:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.filter-chip-label {
    color: var(--text-primary);
    white-space: nowrap;
    font-weight: 600;
}

/* Special styling for duration filter chip */
.filter-chip[data-filter-type="duration"] {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.filter-chip[data-filter-type="duration"] .filter-chip-label {
    color: #667eea;
    font-weight: 700;
}

.filter-chip[data-filter-type="duration"]::before {
    content: '⏱';
    margin-right: 4px;
    font-size: 0.875rem;
}

.filter-chip-remove {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-secondary);
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    line-height: 1;
}

.filter-chip-remove:hover {
    background: var(--danger-color);
    color: white;
    transform: rotate(90deg);
}

.filter-chip-remove i {
    font-size: 0.75rem;
}

.filter-chip-clear-all {
    background: var(--danger-color);
    color: white !important;
    border-color: var(--danger-color);
    text-decoration: none;
    cursor: pointer;
}

.filter-chip-clear-all:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white !important;
    transform: translateY(-1px);
}

.filter-chip-clear-all i {
    margin-right: 4px;
}

/* ============================================
   Tours Main Content
   ============================================ */
.tours-main {
    min-width: 0;
}

.tours-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.tours-results-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.results-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.results-title i {
    color: var(--primary-color);
    font-size: 1.375rem;
}

.results-count {
    color: var(--primary-color);
    font-weight: 800;
}

.total-count {
    color: var(--text-secondary);
    font-weight: 600;
}

.results-subtitle {
    font-size: 0.938rem;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Enhanced Tour Card Styling */
.tour-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.tour-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.tour-link:hover {
    color: inherit;
}

.tour-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.813rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.tour-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-title {
    font-size: 1.125rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
    font-weight: 600;
    transition: var(--transition);
}

.tour-card:hover .tour-title {
    color: var(--primary-color);
}

.tour-location {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tour-location i {
    color: var(--primary-color);
}

.tour-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 12px;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.813rem;
    color: var(--text-secondary);
}

.tour-duration {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tour-duration i {
    color: var(--primary-color);
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
}

.tour-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-from {
    color: #4b5563; /* Improved contrast: removed opacity and used darker color for WCAG AA compliance */
    font-size: 0.813rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Removed opacity: 0.8; for better contrast */
}

.price-original {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 0.875rem;
}

.price-current {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.tour-cta {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.tour-card:hover .tour-cta {
    gap: 10px;
}

/* ============================================
   No Results State
   ============================================ */
.no-results {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.no-results .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.no-results i {
    color: var(--text-light);
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* ============================================
   Active Filters Badge
   ============================================ */
.filter-select:not([value=""]) {
    border-color: #764ba2;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 50%, #f3e8ff 100%);
    background-size: 200% 200%;
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(118, 75, 162, 0.15);
}

.form-input:not(:placeholder-shown) {
    border-color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.02);
}

/* ============================================
   Activities Page
   ============================================ */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Activities Section Background Pattern */
.section:has(.activities-grid) {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.section:has(.activities-grid)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(147, 51, 234, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.activity-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.activity-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.activity-link:hover {
    color: inherit;
}

.activity-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.15);
    opacity: 0.9;
}

.activity-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.activity-card:hover .activity-overlay {
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.6), rgba(30, 64, 175, 0.8));
}

.activity-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.activity-card:hover .activity-icon {
    transform: scale(1.15) rotate(5deg);
    background: var(--primary-color);
}

.activity-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.activity-card:hover .activity-icon i {
    color: white;
}

.activity-content {
    padding: 25px;
    background: white;
    position: relative;
}

.activity-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-card:hover .activity-content::after {
    opacity: 1;
}

.activity-name {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
    transition: var(--transition);
}

.activity-card:hover .activity-name {
    color: var(--primary-color);
}

.activity-description {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.7;
    margin-bottom: 15px;
    min-height: 48px;
}

.activity-tours {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    transition: var(--transition);
}

.activity-tours::before {
    content: '\f0c0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.activity-card:hover .activity-tours {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Special Activity Card Effects */
.activity-card::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 ease;
    z-index: 1;
    pointer-events: none;
}

.activity-card:hover::before {
    left: 100%;
}

/* Activity Card Variants - Different colors for visual variety */
.activity-card:nth-child(3n+1) .activity-image {
    background: var(--gradient-primary);
}

.activity-card:nth-child(3n+2) .activity-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.activity-card:nth-child(3n+3) .activity-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.activity-card:nth-child(4n+4) .activity-image {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Pulse animation for icon */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 15px 25px -3px rgba(37, 99, 235, 0.4);
    }
}

.activity-card:hover .activity-icon {
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   Tour Types Page - Modern Design
   ============================================ */

/* Hero Section */
.tour-types-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px 40px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    will-change: background-position;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tour-types-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: float 20s ease-in-out infinite, fadeInShape 1s ease forwards;
    will-change: transform, opacity;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    top: -100px;
    left: -100px;
    animation-delay: 0s, 0.3s;
    transform: translate(0, 0) scale(1);
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #48dbfb, #0abde3);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s, 0.5s;
    transform: translate(0, 0) scale(1);
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ff9ff3, #f368e0);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation-delay: 10s, 0.7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes floatShape3 {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
    }
    33% { 
        transform: translate(calc(-50% + 30px), calc(-50% - 30px)) scale(1.1); 
    }
    66% { 
        transform: translate(calc(-50% - 20px), calc(-50% + 20px)) scale(0.9); 
    }
}

.shape-1,
.shape-2 {
    animation-name: float, fadeInShape;
}

.shape-3 {
    animation-name: floatShape3, fadeInShape;
}

@keyframes fadeInShape {
    to {
        opacity: 0.6;
    }
}

.tour-types-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

/* Breadcrumbs in Tour Types Hero */
.tour-types-hero-content .breadcrumbs {
    margin-bottom: 20px;
    text-align: center;
}

.tour-types-hero-content .breadcrumbs ol {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.tour-types-hero-content .breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-types-hero-content .breadcrumbs li:not(:last-child)::after {
    content: '/';
    color: rgba(255, 255, 255, 0.6);
    margin-left: 8px;
    font-weight: 300;
}

.tour-types-hero-content .breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tour-types-hero-content .breadcrumbs a:hover {
    color: white;
    text-decoration: underline;
}

.tour-types-hero-content .breadcrumbs span {
    color: rgba(255, 255, 255, 0.9);
}

/* Page Header Menu in Tour Types Hero */
.tour-types-hero-content .page-header-menu {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.tour-types-hero-content .page-header-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tour-types-hero-content .page-header-menu a:hover,
.tour-types-hero-content .page-header-menu a.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease;
}

.hero-badge i {
    font-size: 1.125rem;
}

.hero-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease 0.2s both;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease 0.4s both;
    margin-bottom: 0;
}

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

/* Modern Grid */
.tour-types-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 50px 0;
    position: relative;
}

.tour-types-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    padding: 0;
}

.tour-types-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
}

/* Modern Card Design */
.tour-type-card-modern {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    animation: cardFadeIn 0.6s ease forwards;
}

.tour-type-card-modern[data-index="0"] { animation-delay: 0.1s; }
.tour-type-card-modern[data-index="1"] { animation-delay: 0.2s; }
.tour-type-card-modern[data-index="2"] { animation-delay: 0.3s; }
.tour-type-card-modern[data-index="3"] { animation-delay: 0.4s; }
.tour-type-card-modern[data-index="4"] { animation-delay: 0.5s; }
.tour-type-card-modern[data-index="5"] { animation-delay: 0.6s; }
.tour-type-card-modern[data-index="6"] { animation-delay: 0.7s; }
.tour-type-card-modern[data-index="7"] { animation-delay: 0.8s; }
.tour-type-card-modern[data-index="8"] { animation-delay: 0.9s; }

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

.tour-type-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2), 0 0 0 1px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.tour-type-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.tour-type-link:hover {
    color: inherit;
}

.tour-type-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.tour-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-type-card:hover .tour-type-image img {
    transform: scale(1.2) rotate(2deg);
}

.tour-type-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.4), rgba(30, 64, 175, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.tour-type-card:hover .tour-type-overlay {
    background: linear-gradient(to bottom right, rgba(245, 158, 11, 0.5), rgba(239, 68, 68, 0.7));
}

.tour-type-icon {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 4px solid rgba(255, 255, 255, 0.5);
}

.tour-type-card:hover .tour-type-icon {
    transform: scale(1.2) rotate(-10deg);
    background: var(--secondary-color);
    border-color: white;
}

.tour-type-icon i {
    font-size: 2.75rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.tour-type-card:hover .tour-type-icon i {
    color: white;
    transform: scale(1.1);
}

.tour-type-content {
    padding: 28px;
    background: white;
    position: relative;
}

.tour-type-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease;
}

.tour-type-card:hover .tour-type-content::before {
    width: 100%;
}

.tour-type-name {
    font-size: 1.625rem;
    margin-bottom: 14px;
    color: var(--text-primary);
    font-weight: 700;
    transition: var(--transition);
    letter-spacing: -0.5px;
}

.tour-type-card:hover .tour-type-name {
    color: var(--primary-color);
    transform: translateX(5px);
}

.tour-type-description {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.8;
    margin-bottom: 18px;
    min-height: 48px;
}

.tour-type-tours {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--bg-secondary), #e0e7ff);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid transparent;
}

.tour-type-tours::before {
    content: '\f5a0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.tour-type-card:hover .tour-type-tours {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    border-color: var(--primary-dark);
}

/* Modern Card Link Styles */
.tour-type-link-modern {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
    position: relative;
}

/* Card Image Section */
.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px 20px 0 0;
}

.card-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-type-card-modern:hover .card-bg-image {
    transform: scale(1.25) rotate(3deg);
}

.card-placeholder-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

.card-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    transition: opacity 0.5s ease;
}

.tour-type-card-modern:hover .card-overlay-gradient {
    opacity: 0.5;
}

/* Icon Badge */
.card-icon-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.card-icon-badge i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.tour-type-card-modern:hover .card-icon-badge {
    transform: scale(1.1) rotate(-5deg);
    background: var(--gradient-primary);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.tour-type-card-modern:hover .card-icon-badge i {
    -webkit-text-fill-color: white;
    color: white;
    filter: brightness(0) invert(1);
}

/* Tour Count Badge */
.card-count-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    z-index: 2;
}

.count-number {
    font-size: 1.375rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.count-label {
    font-size: 0.688rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.tour-type-card-modern:hover .card-count-badge {
    transform: translateY(-5px) scale(1.1);
    background: var(--gradient-primary);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.3);
}

.tour-type-card-modern:hover .count-number {
    -webkit-text-fill-color: white;
    color: white;
}

.tour-type-card-modern:hover .count-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Card Content */
.card-content-wrapper {
    padding: 24px;
    background: white;
    position: relative;
}

.card-title-modern {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
    transition: all 0.4s ease;
    letter-spacing: -0.3px;
}

.tour-type-card-modern:hover .card-title-modern {
    color: #667eea;
    transform: translateX(5px);
}

.card-description-modern {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 18px;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA Button */
.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.4s ease;
    padding: 8px 0;
}

.cta-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-type-card-modern:hover .card-cta {
    color: #764ba2;
    gap: 12px;
}

.tour-type-card-modern:hover .cta-icon {
    transform: translateX(8px);
}

/* Decorative Elements */
.card-corner-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 40px solid transparent;
    border-right: 40px solid rgba(102, 126, 234, 0.08);
    transition: all 0.4s ease;
    z-index: 1;
}

.tour-type-card-modern:hover .card-corner-accent {
    border-right-color: rgba(102, 126, 234, 0.15);
    width: 50px;
    height: 50px;
    border-top-width: 50px;
    border-right-width: 50px;
}

.card-shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 3;
    pointer-events: none;
}

.tour-type-card-modern:hover .card-shine-effect {
    left: 100%;
}

/* No Results Modern */
.no-results-modern {
    text-align: center;
    padding: 100px 40px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.no-results-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.no-results-icon i {
    font-size: 3.5rem;
    color: white;
}

.no-results-modern h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.no-results-modern p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Tour Type Card Animations */
.tour-type-card {
    animation: fadeInUp 0.6s ease-out;
}

.tour-type-card:nth-child(1) { animation-delay: 0.1s; }
.tour-type-card:nth-child(2) { animation-delay: 0.2s; }
.tour-type-card:nth-child(3) { animation-delay: 0.3s; }
.tour-type-card:nth-child(4) { animation-delay: 0.4s; }
.tour-type-card:nth-child(5) { animation-delay: 0.5s; }
.tour-type-card:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   About Page
   ============================================ */
.about-page {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 80px;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.6s ease-out;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    animation: fadeInUp 0.6s ease-out 0.2s;
    animation-fill-mode: both;
}

.content-block {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    line-height: 1.8;
    font-size: 1.063rem;
    color: var(--text-secondary);
}

.content-block h2,
.content-block h3 {
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.content-block h2::before,
.content-block h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.content-block h2:first-child,
.content-block h3:first-child {
    margin-top: 0;
}

.content-block p {
    margin-bottom: 20px;
}

.content-block ul,
.content-block ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.content-block li {
    margin-bottom: 10px;
}

/* Stats Section */
.stats-section {
    margin-top: 60px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: white;
    padding: 20px;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover .stat-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-icon i {
    font-size: 2.5rem;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-page {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    padding: 80px 0;
}

.contact-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-image-hero {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out;
}

.contact-image-hero img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.contact-image-hero:hover img {
    transform: scale(1.02);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.contact-card:hover .contact-card-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.contact-card-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.063rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    word-break: break-all;
}

.contact-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
    transform: translateX(5px);
}

.contact-address {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

.contact-text-muted {
    color: var(--text-secondary);
    font-size: 0.938rem;
    font-style: italic;
    margin: 0;
}

.contact-social-section {
    text-align: center;
    padding: 50px 30px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease-out 0.3s;
    animation-fill-mode: both;
}

.contact-social-section h3 {
    font-size: 1.875rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    font-weight: 700;
}

.contact-social-section .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-social-section .social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-social-section .social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-social-section .social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #0d63d1);
}

.contact-social-section .social-link.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.contact-social-section .social-link.instagram {
    background: linear-gradient(135deg, #e4405f, #c13584);
}

.contact-social-section .social-link.linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.contact-social-section .social-link.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-page {
        padding: 40px 0;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .contact-card {
        padding: 25px;
    }
    
    .contact-social-section {
        padding: 30px 20px;
    }
    
    .contact-social-section .social-links {
        gap: 15px;
    }
    
    .contact-social-section .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.938rem;
}

.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.938rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: white;
    transition: var(--transition);
    resize: vertical;
    min-height: 120px;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.063rem;
    font-weight: 700;
}

.btn-large i {
    margin-right: 10px;
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.938rem;
    animation: slideDown 0.3s ease-out;
}

.alert i {
    font-size: 1.25rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* ============================================
   Mobile Filter Toggle
   ============================================ */
.mobile-filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
    touch-action: manipulation;
    margin-bottom: 20px;
}

.mobile-filter-toggle:hover,
.mobile-filter-toggle:active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.mobile-filter-toggle i {
    margin-right: 8px;
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.mobile-filter-toggle.active i {
    transform: rotate(180deg);
}

/* ============================================
   Loading State
   ============================================ */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tour-card {
    animation: fadeInUp 0.5s ease-out;
}

.tour-card:nth-child(1) { animation-delay: 0.1s; }
.tour-card:nth-child(2) { animation-delay: 0.15s; }
.tour-card:nth-child(3) { animation-delay: 0.2s; }
.tour-card:nth-child(4) { animation-delay: 0.25s; }
.tour-card:nth-child(5) { animation-delay: 0.3s; }
.tour-card:nth-child(6) { animation-delay: 0.35s; }

.sidebar-widget {
    animation: slideDown 0.3s ease-out;
}

.sidebar-widget:nth-child(1) { animation-delay: 0.05s; }
.sidebar-widget:nth-child(2) { animation-delay: 0.1s; }
.sidebar-widget:nth-child(3) { animation-delay: 0.15s; }
.sidebar-widget:nth-child(4) { animation-delay: 0.2s; }
.sidebar-widget:nth-child(5) { animation-delay: 0.25s; }

.activity-card {
    animation: fadeInUp 0.5s ease-out;
}

.activity-card:nth-child(1) { animation-delay: 0.1s; }
.activity-card:nth-child(2) { animation-delay: 0.15s; }
.activity-card:nth-child(3) { animation-delay: 0.2s; }
.activity-card:nth-child(4) { animation-delay: 0.25s; }
.activity-card:nth-child(5) { animation-delay: 0.3s; }
.activity-card:nth-child(6) { animation-delay: 0.35s; }
.activity-card:nth-child(7) { animation-delay: 0.4s; }
.activity-card:nth-child(8) { animation-delay: 0.45s; }
.activity-card:nth-child(9) { animation-delay: 0.5s; }

/* ============================================
   Destination Detail Page
   ============================================ */
.destination-hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.destination-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

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

.destination-hero-content {
    color: white;
    animation: fadeInUp 0.8s ease-out;
}

.destination-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.938rem;
    opacity: 0.9;
}

.destination-breadcrumb a {
    color: white;
    transition: var(--transition);
}

.destination-breadcrumb a:hover {
    color: var(--secondary-color);
}

.destination-breadcrumb span {
    opacity: 0.6;
}

.destination-hero-title {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.destination-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.destination-hero-subtitle i {
    color: var(--secondary-color);
}

.destination-hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.hero-stat i {
    font-size: 1.75rem;
    color: var(--secondary-color);
}

.hero-stat span {
    font-size: 1rem;
}

.hero-stat strong {
    font-size: 1.5rem;
    font-weight: 700;
}

.destination-content-wrapper {
    padding: 80px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 50%, #f9fafb 100%);
}

/* About Section */
.destination-about-section {
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out;
}

.section-header-left {
    margin-bottom: 30px;
}

.section-header-left h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

.section-header-left h2 i {
    color: var(--primary-color);
}

.destination-description {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Highlights Section */
.destination-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
    animation: fadeInUp 0.6s ease-out 0.2s;
    animation-fill-mode: both;
}

.highlight-card {
    background: white;
    padding: 35px 25px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.15) rotate(360deg);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.highlight-icon i {
    font-size: 2rem;
    color: white;
}

.highlight-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.highlight-card p {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.6;
    margin: 0;
}

/* Tours Section */
.destination-tours-section {
    animation: fadeInUp 0.6s ease-out 0.3s;
    animation-fill-mode: both;
    margin-bottom: 60px;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-centered h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-header-centered p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.tour-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: var(--primary-color);
    font-size: 3rem;
}

/* No Tours Message */
.no-tours-message {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease-out;
}

.no-tours-message i {
    color: var(--text-light);
    margin-bottom: 25px;
    opacity: 0.5;
}

.no-tours-message h3 {
    font-size: 1.875rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.no-tours-message p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.no-tours-message .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Call to Action Section */
/* ============================================
   Destination Activities Section
   ============================================ */
.destination-activities-section,
.destination-tour-types-section {
    margin-top: 60px;
    padding: 50px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--border-radius-lg);
}

.destination-tour-types-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.activities-grid,
.tour-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 0 30px 30px;
}

.activity-item,
.tour-type-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text-color);
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-item::before,
.tour-type-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.activity-item:hover,
.tour-type-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.activity-item:hover::before,
.tour-type-item:hover::before {
    transform: scaleY(1);
}

.activity-icon,
.tour-type-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.activity-item:hover .activity-icon,
.tour-type-item:hover .tour-type-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

.activity-info,
.tour-type-info {
    flex: 1;
}

.activity-info h3,
.tour-type-info h3 {
    font-size: 1.125rem;
    margin: 0 0 8px 0;
    color: var(--heading-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.activity-item:hover .activity-info h3,
.tour-type-item:hover .tour-type-info h3 {
    color: var(--primary-color);
}

.activity-count,
.tour-type-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--text-muted);
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 20px;
}

.activity-count i,
.tour-type-count i {
    font-size: 0.75rem;
}

.activity-arrow,
.tour-type-arrow {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.activity-item:hover .activity-arrow,
.tour-type-item:hover .tour-type-arrow {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ============================================
   Destination CTA Section
   ============================================ */
.destination-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.6s ease-out 0.4s;
    animation-fill-mode: both;
}

.destination-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
    color: white;
}

.cta-content h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-content .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    padding: 16px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-content .btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .tours-layout {
        grid-template-columns: 280px 1fr;
        gap: 30px;
    }
    
    .tours-sidebar {
        padding: 0;
        top: 15px;
    }
    
    .tours-sidebar .filter-form {
        overflow: visible;
    }
    
    .sidebar-header {
        padding: 24px 26px;
    }
    
    .sidebar-title {
        font-size: 1.125rem;
    }
    
    .sidebar-widget {
        padding: 22px 26px;
        padding-bottom: 24px;
    }
    
    .sidebar-widget:first-of-type {
        padding-top: 26px;
    }
    
    .active-filters-container {
        padding: 20px 26px;
    }
    
    .filter-actions {
        padding: 22px 26px;
    }
    
    .tours-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .destination-image-wrapper {
        height: 260px;
    }
    
    .activities-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .tour-types-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .tour-types-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 25px;
        padding: 40px 0;
    }
    
    .hero-main-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Destination Detail Tablet */
    .destination-hero {
        height: 450px;
    }
    
    .destination-hero-title {
        font-size: 3rem;
    }
    
    .destination-hero-subtitle {
        font-size: 1.25rem;
    }
    
    .destination-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .section-header-left h2,
    .section-header-centered h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Prevent horizontal overflow on mobile */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
    }
    
    /* Ensure all containers respect viewport width */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Prevent images and media from overflowing */
    img, video, iframe, embed, object {
        max-width: 100% !important;
        height: auto;
        box-sizing: border-box;
    }
    
    /* Prevent tables from causing horizontal scroll */
    table {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto;
        display: block;
    }
    
    /* Prevent code blocks from overflowing */
    pre, code {
        max-width: 100% !important;
        overflow-x: auto;
        word-wrap: break-word;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 2rem;
        color: white;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        color: white;
    }
    
    /* Search Module Mobile Fixes */
    .search-module {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .search-form {
        padding: 6px;
        border-radius: 16px;
    }
    
    .search-input-group {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        align-items: stretch;
    }
    
    .search-input {
        flex: 1 1 auto;
        border-radius: 12px 0 0 12px !important;
        padding: 14px 20px;
        font-size: 16px; /* Prevent zoom on iOS */
        min-width: 0;
        max-width: calc(100% - 60px);
    }
    
    .search-btn {
        flex: 0 0 auto;
        padding: 14px 16px !important;
        border-radius: 0 12px 12px 0 !important;
        font-size: 0;
        white-space: nowrap;
        min-width: 50px;
        width: 50px;
        max-width: 60px;
        justify-content: center;
        overflow: hidden;
    }
    
    /* Show only icon on mobile, hide text */
    .search-btn i {
        font-size: 1rem !important;
        margin: 0 !important;
    }
    
    /* Hide text nodes in button (text after icon) - using font-size: 0 on parent */
    
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        max-width: 100vw;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0s 0.3s;
        pointer-events: none;
        visibility: hidden;
        overflow: hidden;
    }
    
    .mobile-menu-overlay.active {
        display: block !important;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transition: opacity 0.3s ease, visibility 0s;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: white;
        box-shadow: -4px 0 40px rgba(0, 0, 0, 0.2);
        padding: 90px 0 30px;
        overflow-y: auto;
        z-index: 1001;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.4s;
        gap: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        right: 0;
        visibility: visible;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    .nav-menu li:first-child {
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    .nav-menu a {
        width: 100%;
        padding: 20px 30px;
        font-size: 1.063rem;
        border-radius: 0;
        display: block;
        text-align: left;
        position: relative;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        min-height: 44px;
        -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
        touch-action: manipulation;
    }
    
    .nav-menu a::before {
        display: block;
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
        transform: scaleY(0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
        transform: translateX(4px);
        padding-left: 34px;
        color: var(--primary-color);
    }
    
    .nav-menu a:hover::before,
    .nav-menu a.active::before {
        transform: scaleY(1);
    }
    
    .nav-menu a.active {
        font-weight: 700;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
    }
    
    /* Language & Currency Switcher Mobile - Improved */
    .nav-language-switcher,
    .nav-currency-switcher {
        width: 100%;
        border-top: 1px solid var(--border-color);
        padding: 15px 0;
        margin-top: 10px;
    }
    
    .lang-btn-nav,
    .currency-btn-nav {
        width: 100%;
        justify-content: space-between;
        padding: 16px 20px;
        font-size: 1rem;
        font-weight: 600;
        background: var(--bg-secondary);
        border-radius: 8px;
        min-height: 50px;
        gap: 12px;
    }
    
    .lang-btn-nav:hover,
    .currency-btn-nav:hover {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }
    
    .lang-current,
    .currency-current {
        font-size: 1.125rem;
        font-weight: 700;
    }
    
    .lang-dropdown-nav,
    .currency-dropdown-nav {
        position: relative;
        top: 0;
        right: auto;
        width: 100%;
        max-width: 100%;
        box-shadow: none;
        border: 1px solid var(--border-color);
        margin-top: 12px;
        border-radius: 8px;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .currency-dropdown-header {
        border-radius: 8px 8px 0 0;
    }
    
    .currency-list {
        max-height: none;
        overflow-y: visible;
    }
    
    .lang-dropdown-nav::before,
    .lang-dropdown-nav::after,
    .currency-dropdown-nav::before,
    .currency-dropdown-nav::after {
        display: none;
    }
    
    .lang-option,
    .currency-option {
        padding: 16px 20px;
        font-size: 1rem;
        min-height: 56px;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .lang-option:hover,
    .currency-option:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .lang-option .flag,
    .currency-option .currency-flag {
        font-size: 1.75rem;
        min-width: 32px;
    }
    
    .lang-option .lang-name,
    .currency-option .currency-name {
        font-size: 1.063rem;
        font-weight: 500;
    }
    
    .tours-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mobile-filter-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin-bottom: 20px;
        padding: 14px 20px;
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
        touch-action: manipulation;
    }
    
    .mobile-filter-toggle:hover,
    .mobile-filter-toggle:active {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
    }
    
    .mobile-filter-toggle i {
        font-size: 1.125rem;
        transition: transform 0.3s ease;
    }
    
    .mobile-filter-toggle.active i {
        transform: rotate(180deg);
    }
    
    .tours-sidebar {
        display: none !important;
        position: relative;
        top: 0;
        order: 2;
        margin-bottom: 30px;
        box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .tours-sidebar.active {
        display: flex !important;
    }
    
    .tours-sidebar .filter-form {
        overflow: visible;
    }
    
    .filter-actions {
        position: relative;
    }
    
    .sidebar-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 20px;
    }
    
    .sidebar-title {
        font-size: 1.125rem;
    }
    
    .sidebar-title i {
        font-size: 1.25rem;
    }
    
    .sidebar-widget {
        padding: 20px;
        padding-bottom: 20px;
    }
    
    .sidebar-widget:first-of-type {
        padding-top: 20px;
    }
    
    .widget-title {
        font-size: 0.875rem;
    }
    
    .widget-title i {
        font-size: 1rem;
    }
    
    .filter-actions {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .filter-actions .btn {
        padding: 12px 18px;
        font-size: 0.813rem;
    }
    
    .tours-main {
        order: 1;
    }
    
    .tours-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .results-title {
        font-size: 1.25rem;
        flex-wrap: wrap;
    }
    
    .results-title i {
        font-size: 1.125rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tour-card {
        animation: none;
    }
    
    .active-filters-container {
        padding: 15px 20px;
    }
    
    .active-filters-title {
        font-size: 0.813rem;
        margin-bottom: 10px;
    }
    
    .active-filters-chips {
        gap: 6px;
    }
    
    .filter-chip {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .filter-chip-remove {
        width: 16px;
        height: 16px;
    }
    
    .filter-chip-remove i {
        font-size: 0.688rem;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .destination-card {
        animation: none;
    }
    
    .destination-image-wrapper {
        height: 240px;
    }
    
    .destination-city {
        font-size: 1.375rem;
    }
    
    .destination-content {
        padding: 20px;
    }
    
    .country-filter-bar {
        padding: 20px;
    }
    
    .filter-label {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .country-filter-buttons {
        gap: 8px;
    }
    
    .country-filter-btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
    
    .destination-country-tag {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 0.813rem;
    }
    
    .filter-subtitle {
        font-size: 1.5rem;
        margin-left: 0;
        display: block;
        margin-top: 10px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .activity-card {
        animation: none;
    }
    
    .activity-image {
        height: 220px;
    }
    
    .activity-icon {
        width: 70px;
        height: 70px;
    }
    
    .activity-icon i {
        font-size: 2rem;
    }
    
    .activity-name {
        font-size: 1.25rem;
    }
    
    .tour-types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tour-types-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 40px 0;
    }
    
    .page-header {
        min-height: 220px;
        padding: 40px 20px 30px;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .page-header-menu {
        gap: 10px;
        margin-top: 15px;
    }
    
    .page-header-menu a {
        padding: 6px 12px;
        font-size: 0.813rem;
    }
    
    .page-header .shape {
        filter: blur(40px);
    }
    
    .page-header .shape-1 {
        width: 120px;
        height: 120px;
    }
    
    .page-header .shape-2 {
        width: 150px;
        height: 150px;
    }
    
    .page-header .shape-3 {
        width: 100px;
        height: 100px;
    }
    
    /* Footer Responsive */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .footer-about {
        max-width: 100%;
    }
    
    .footer-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    
    .footer-text {
        font-size: 0.875rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-menu a {
        font-size: 0.875rem;
    }
    
    .footer-contact-list li {
        font-size: 0.875rem;
        margin-bottom: 16px;
    }
    
    .site-footer {
        padding: 60px 0 0;
        margin-top: 60px;
    }
    
    .tour-types-hero {
        min-height: 220px;
        padding: 40px 20px 30px;
    }
    
    .hero-main-title {
        font-size: 2rem;
        margin-bottom: 10px;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.875rem;
        padding: 10px 20px;
        margin-bottom: 20px;
    }
    
    .card-image-wrapper {
        height: 240px;
    }
    
    .card-content-wrapper {
        padding: 24px;
    }
    
    .card-title-modern {
        font-size: 1.5rem;
    }
    
    .card-icon-badge {
        width: 60px;
        height: 60px;
        top: 20px;
        left: 20px;
    }
    
    .card-icon-badge i {
        font-size: 1.75rem;
    }
    
    .card-count-badge {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
    }
    
    .count-number {
        font-size: 1.5rem;
    }
    
    .tour-type-card {
        animation: none;
    }
    
    .tour-type-image {
        height: 220px;
    }
    
    .tour-type-icon {
        width: 75px;
        height: 75px;
    }
    
    .tour-type-icon i {
        font-size: 2.25rem;
    }
    
    .tour-type-name {
        font-size: 1.375rem;
    }
    
    .tour-type-content {
        padding: 20px;
    }
    
    .about-layout {
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .content-block {
        padding: 25px;
        font-size: 1rem;
    }
    
    .stats-section {
        padding: 40px 20px;
        margin-top: 40px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
    }
    
    .stat-icon i {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-wrapper {
        padding: 30px 25px;
    }
    
    .contact-form-wrapper h2 {
        font-size: 1.625rem;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .contact-icon i {
        font-size: 1.25rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .page-header {
        padding: 50px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .pagination-link {
        min-width: 40px;
        height: 40px;
        padding: 8px 12px;
        font-size: 0.875rem;
    }
    
    /* Destination Detail Responsive */
    .destination-hero {
        height: 400px;
    }
    
    .destination-hero-title {
        font-size: 2.5rem;
    }
    
    .destination-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .destination-hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stat {
        width: 100%;
        justify-content: center;
    }
    
    .destination-content-wrapper {
        padding: 40px 0;
    }
    
    /* Country Description Mobile Fixes */
    .country-description {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .country-description-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .country-description-image {
        width: 100%;
        flex-shrink: 1;
    }
    
    .country-description-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .country-description-text {
        width: 100%;
    }
    
    .country-description-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .country-description-flag {
        font-size: 1.5rem;
    }
    
    .country-description-title {
        font-size: 1.25rem;
    }
    
    .country-description-body {
        font-size: 0.938rem;
        line-height: 1.6;
    }
    
    .section-header-left h2 {
        font-size: 1.75rem;
    }
    
    .destination-description {
        padding: 25px;
        font-size: 1rem;
    }
    
    .destination-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .highlight-card {
        padding: 30px 20px;
    }
    
    .highlight-icon {
        width: 70px;
        height: 70px;
    }
    
    .highlight-icon i {
        font-size: 1.75rem;
    }
    
    .highlight-card h3 {
        font-size: 1.125rem;
    }
    
    .section-header-centered h2 {
        font-size: 1.875rem;
    }
    
    .section-header-centered p {
        font-size: 1rem;
    }
    
    .destination-activities-section,
    .destination-tour-types-section {
        margin-top: 40px;
        padding: 30px 0;
    }
    
    .activities-grid,
    .tour-types-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 20px 20px;
    }
    
    .activity-item,
    .tour-type-item {
        padding: 20px;
    }
    
    .activity-icon,
    .tour-type-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.5rem;
    }
    
    .activity-info h3,
    .tour-type-info h3 {
        font-size: 1rem;
    }
    
    .activity-count,
    .tour-type-count {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
    
    .destination-cta {
        padding: 40px 25px;
    }
    
    .cta-content h2 {
        font-size: 1.625rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-content .btn-secondary {
        font-size: 1rem;
        padding: 14px 30px;
    }
}

/* ============================================
   Blog Page Styles
   ============================================ */

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15), 0 0 0 1px rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
}

.blog-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.blog-date,
.blog-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-date i,
.blog-author i {
    color: var(--primary-color);
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.938rem;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.blog-card:hover .blog-read-more {
    gap: 8px;
}

/* Blog Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-image {
        height: 220px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-title {
        font-size: 1.25rem;
    }
}

/* ============================================
   Blog Detail Page Styles
   ============================================ */

.blog-post {
    background: var(--bg-secondary);
    padding: 60px 0;
}

.blog-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Post Header */
.post-header {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.post-date,
.post-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.938rem;
}

.post-date i,
.post-author i {
    color: var(--primary-color);
    font-size: 1rem;
}

.post-featured-image {
    max-width: 100%;
    width: 100%;
    margin: 30px auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-secondary);
    box-sizing: border-box;
}

.post-featured-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.post-featured-image:hover img {
    transform: scale(1.02);
}

/* Post Content Styling */
.post-content {
    background: white;
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    line-height: 1.8;
    font-size: 1.125rem;
    color: var(--text-secondary);
    overflow-x: hidden; /* Prevent horizontal overflow */
    word-wrap: break-word; /* Break long words */
    overflow-wrap: break-word; /* Modern property for word breaking */
}

.post-content img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: var(--border-radius);
    margin: 30px 0;
    display: block;
    object-fit: contain; /* Ensure images fit within container */
    box-sizing: border-box;
}

/* Ensure all images in post content are constrained */
.post-content figure,
.post-content picture,
.post-content .image,
.post-content .wp-image {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    margin: 30px 0;
}

.post-content figure img,
.post-content picture img,
.post-content .image img,
.post-content .wp-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
}

.post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.4;
    font-family: var(--font-heading);
}

.post-content h2:first-child {
    margin-top: 0;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 35px;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: var(--font-heading);
}

.post-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: var(--font-heading);
}

.post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.post-content ul,
.post-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

/* Prevent tables and other elements from overflowing */
.post-content table {
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    display: block;
    margin: 30px 0;
    border-collapse: collapse;
}

.post-content table td,
.post-content table th {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.post-content iframe,
.post-content video,
.post-content embed,
.post-content object {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
}

/* Ensure any div or container in post content doesn't overflow */
.post-content > * {
    max-width: 100%;
    box-sizing: border-box;
}

.post-content ul {
    list-style: disc;
}

.post-content ol {
    list-style: decimal;
}

.post-content li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.post-content li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.post-content a:hover {
    color: var(--primary-dark);
}

.post-content strong {
    font-weight: 600;
    color: var(--text-primary);
}

.post-content em {
    font-style: italic;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    background: var(--bg-secondary);
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-secondary);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-content code {
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.938rem;
    color: var(--danger-color);
}

.post-content pre {
    background: var(--bg-dark);
    color: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 25px 0;
}

.post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.post-content hr {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 40px 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-content table th,
.post-content table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.post-content table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.post-content table tr:nth-child(even) {
    background: var(--bg-secondary);
}

/* Related Posts Section */
.related-posts-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-posts-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.related-post-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-post-card:hover .related-post-title {
    color: var(--primary-color);
}

.related-post-excerpt {
    font-size: 0.938rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Blog Detail Responsive */
@media (max-width: 768px) {
    .blog-post {
        padding: 40px 0;
    }
    
    .blog-detail-container {
        padding: 0 15px;
    }
    
    .post-header {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .post-title {
        font-size: 1.75rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .post-meta {
        gap: 15px;
        font-size: 0.875rem;
    }
    
    .post-featured-image {
        margin: 20px 0;
        max-height: 350px;
        border-radius: var(--border-radius);
    }
    
    .post-featured-image img {
        max-height: 350px;
    }
    
    .post-content {
        padding: 30px 20px;
        font-size: 1rem;
        line-height: 1.7;
        overflow-x: hidden; /* Prevent horizontal overflow on mobile */
    }
    
    .post-content img {
        max-width: 100% !important;
        width: 100% !important;
        margin: 20px 0;
    }
    
    .post-content h2 {
        font-size: 1.625rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .post-content h3 {
        font-size: 1.375rem;
        margin-top: 25px;
        margin-bottom: 12px;
    }
    
    .post-content h4 {
        font-size: 1.125rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    
    .related-posts-section {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .related-posts-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Wishlist Page Styles */
.wishlist-section {
    padding: 60px 0;
}

.wishlist-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.wishlist-count-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.wishlist-count-text strong {
    color: var(--text-primary);
    font-weight: 700;
}

.wishlist-empty {
    text-align: center;
    padding: 80px 20px;
}

.wishlist-empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    color: #ef4444;
}

.wishlist-empty-icon i {
    font-size: 4rem;
}

.wishlist-empty h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.wishlist-empty p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .tour-title-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wishlist-btn-detail {
        width: 100%;
        justify-content: center;
    }
    
    .wishlist-empty {
        padding: 60px 20px;
    }
    
    .wishlist-empty-icon {
        width: 100px;
        height: 100px;
    }
    
    .wishlist-empty-icon i {
        font-size: 3rem;
    }
    
    .wishlist-empty h2 {
        font-size: 1.5rem;
    }
}


