/* ============================================
   PAMIR TOUR - Main Stylesheet
   Modern, Mobile-First, Travel/Tourism Design
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #1B4D3E;
    --primary-light: #2A7A5F;
    --primary-dark: #0F2E25;
    --accent: #D4A843;
    --accent-light: #E8C76A;
    --accent-dark: #B08A2E;
    --dark: #1A1A2E;
    --dark-light: #2D2D44;
    --gray-900: #212529;
    --gray-800: #343a40;
    --gray-700: #495057;
    --gray-600: #6c757d;
    --gray-500: #adb5bd;
    --gray-400: #ced4da;
    --gray-300: #dee2e6;
    --gray-200: #e9ecef;
    --gray-100: #f8f9fa;
    --white: #ffffff;
    --bg-cream: #FAF8F5;
    --bg-light: #F5F3EF;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p { margin-bottom: 1rem; }

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    text-transform: uppercase;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(212,168,67,0.3);
}
.btn-primary:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,168,67,0.4);
}
.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}
.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}
.btn-dark {
    background: var(--primary);
    color: var(--white);
}
.btn-dark:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}
.site-header.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}
.site-header:not(.scrolled) {
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 100%);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}
.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}
.site-header.scrolled .logo img { height: 40px; }
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}
.logo-text span { color: var(--accent); }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a {
    color: rgba(255,255,255,0.85);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* Dropdown Submenu */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-arrow {
    width: 14px;
    height: 14px;
    transition: var(--transition);
}
.nav-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-menu a {
    display: block;
    padding: 8px 20px !important;
    color: var(--gray-700) !important;
    font-size: 0.88rem !important;
    border-radius: 0 !important;
    background: none !important;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover {
    background: var(--gray-100) !important;
    color: var(--primary) !important;
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 4px;
    margin-left: 12px;
    padding: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
}
.lang-switch a {
    padding: 5px 12px;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}
.lang-switch a.active {
    background: var(--accent);
    color: var(--dark);
}
.lang-switch a:hover:not(.active) {
    color: var(--white);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,26,46,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 999;
    opacity: 0;
    transition: var(--transition);
}
.mobile-nav.open { display: flex; opacity: 1; }
.mobile-nav a {
    color: var(--white);
    font-size: 1.3rem;
    font-family: var(--font-heading);
    padding: 12px 24px;
    transition: var(--transition);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-lang {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.mobile-lang a {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 8px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
}
.mobile-lang a.active {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.5);
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.2) 40%,
        rgba(27,77,62,0.4) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212,168,67,0.2);
    border: 1px solid rgba(212,168,67,0.5);
    border-radius: var(--radius-xl);
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: clamp(2.2rem, 6vw, 4rem);
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero p {
    color: rgba(255,255,255,0.85);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll svg { width: 30px; height: 30px; stroke: rgba(255,255,255,0.6); }
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.5);
    transform: scale(1.05);
}
.hero-slide.active .hero-bg {
    animation: heroZoom 20s ease-in-out infinite alternate;
}
.hero-slider-dots {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}
.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.hero-slider-dot.active {
    background: var(--accent);
    border-color: var(--accent);
}
.hero-slider-dot:hover {
    border-color: var(--white);
}

/* Page Hero (for inner pages) */
.page-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    overflow: hidden;
}
.page-hero .hero-bg { filter: brightness(0.4); }
.page-hero .hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(27,77,62,0.5) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 20px 60px;
}
.page-hero h1 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: clamp(2rem, 5vw, 3rem);
}
.page-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    max-width: 500px;
    margin: 0 auto;
}
.breadcrumb {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
    font-size: 0.9rem;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--accent-light); }

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 0;
}
.section-dark {
    background: var(--dark);
    color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-cream { background: var(--bg-cream); }
.section-light { background: var(--bg-light); }
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header .badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(27,77,62,0.1);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-dark .section-header .badge {
    background: rgba(212,168,67,0.2);
    color: var(--accent-light);
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* ============================================
   INFO CARDS (Flights, Hotels, Transport)
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.info-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.info-card-icon svg { width: 28px; height: 28px; stroke: var(--white); fill: none; stroke-width: 2; }
.info-card h4 {
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 700;
}
.info-card p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 16px; }
.info-card a { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.info-card a:hover { color: var(--accent); }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.feature-card:hover { background: rgba(255,255,255,0.05); }
.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(212,168,67,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon svg { width: 32px; height: 32px; stroke: var(--accent); fill: none; stroke-width: 2; }
.feature-card h4 {
    color: var(--white);
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 700;
}
.feature-card p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }

/* ============================================
   TOUR ROUTE STOPS
   ============================================ */
.route-timeline {
    position: relative;
    padding: 20px 0;
}
.route-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
    transform: translateX(-50%);
}
.route-stop {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    align-items: center;
    gap: 0;
    margin-bottom: 40px;
    position: relative;
}
.route-stop .route-stop-image { order: 1; }
.route-stop .route-stop-dot  { order: 2; }
.route-stop .route-stop-content { order: 3; }
.route-stop:nth-child(even) .route-stop-image { order: 3; }
.route-stop:nth-child(even) .route-stop-content { order: 1; text-align: right; }
.route-stop:nth-child(even) .route-stop-dot { order: 2; }
.route-stop-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.route-stop-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}
.route-stop:hover .route-stop-image img { transform: scale(1.05); }
.route-stop-content {
    padding: 0 20px;
}
.route-stop-day {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--dark);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.route-stop-content h3 { margin-bottom: 8px; }
.route-stop-content p { color: var(--gray-600); font-size: 0.95rem; }
.route-stop-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
}
.route-stop-dot::after {
    content: '';
    width: 14px;
    height: 14px;
    background: var(--primary);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-cream), var(--shadow-sm);
    display: block;
}

/* ============================================
   TOUR CARDS
   ============================================ */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}
.tour-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}
.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}
.tour-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.tour-card:hover .tour-card-image img { transform: scale(1.08); }
.tour-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--accent);
    color: var(--dark);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.tour-card-body { padding: 24px; }
.tour-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}
.tour-card-subtitle {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 14px;
}
.tour-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}
.tour-card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-600);
}
.tour-card-meta-item svg { width: 16px; height: 16px; stroke: var(--primary); fill: none; }
.tour-card-desc {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tour-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tour-card-footer .btn { padding: 10px 22px; }

/* ============================================
   REVIEWS
   ============================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.review-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}
.review-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.review-stars {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.review-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}
.review-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.review-author-info h5 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
}
.review-author-info span {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.review-quote {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 4rem;
    color: var(--gray-200);
    font-family: Georgia, serif;
    line-height: 1;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text p { margin-bottom: 1.2rem; color: var(--gray-700); }
.about-mission {
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-top: 24px;
}
.about-mission h4 { color: var(--accent-light); margin-bottom: 10px; }
.about-mission p { color: rgba(255,255,255,0.85); }
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}
.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); filter: brightness(0.8); }
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: var(--white); font-weight: 600; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-form { position: relative; }
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray-800);
    transition: var(--transition);
    font-size: 0.95rem;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27,77,62,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.form-message {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 500;
}
.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.contact-info { position: relative; }
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}
.contact-info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-info-icon svg { width: 22px; height: 22px; stroke: var(--white); fill: none; }
.contact-info-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 4px;
}
.contact-info-text p { color: var(--gray-600); font-size: 0.95rem; margin: 0; }
.contact-info-text a { color: var(--primary); font-weight: 500; }
.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}
.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.contact-social a:hover {
    background: var(--primary);
}
.contact-social a svg { width: 20px; height: 20px; stroke: var(--gray-600); fill: none; }
.contact-social a:hover svg { stroke: var(--white); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: 80px 0;
    background: var(--primary);
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(212,168,67,0.1);
    border-radius: 50%;
}
.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}
.cta-content h2 { color: var(--white); margin-bottom: 16px; }
.cta-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 30px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-about .logo-text { margin-bottom: 16px; display: block; }
.footer-about p { font-size: 0.9rem; line-height: 1.8; }
.footer-heading {
    font-family: var(--font-body);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    padding: 5px 0;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); }
.footer-social a svg { width: 16px; height: 16px; stroke: rgba(255,255,255,0.7); }
.footer-social a:hover svg { stroke: var(--dark); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
}
.footer-bottom a { color: var(--accent); }

/* ============================================
   404 PAGE
   ============================================ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}
.error-page h1 { font-size: 8rem; color: var(--primary); line-height: 1; margin-bottom: 16px; }
.error-page h2 { margin-bottom: 16px; }
.error-page p { color: var(--gray-600); margin-bottom: 30px; }

/* ============================================
   BLOG (placeholder)
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}
.blog-coming-soon {
    text-align: center;
    padding: 80px 20px;
}
.blog-coming-soon h3 { margin-bottom: 12px; }
.blog-coming-soon p { color: var(--gray-600); }

/* ============================================
   TOUR DETAIL PAGE
   ============================================ */
.tour-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}
.tour-detail-main h2 { margin-bottom: 16px; font-size: 1.5rem; }
.tour-detail-main p { margin-bottom: 1.2rem; }
.tour-sidebar {
    position: sticky;
    top: 100px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    border: 1px solid var(--gray-200);
}
.tour-sidebar h4 { margin-bottom: 20px; font-family: var(--font-body); }
.tour-meta-list { margin-bottom: 20px; }
.tour-meta-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.95rem;
}
.tour-meta-item strong { color: var(--dark); }

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 96px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
.scroll-top svg { width: 20px; height: 20px; stroke: var(--white); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .about-content { grid-template-columns: 1fr; gap: 40px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .tour-detail-content { grid-template-columns: 1fr; }
    .tour-sidebar { position: static; }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .main-nav, .lang-switch { display: none; }
    .section { padding: 60px 0; }
    .route-timeline::before { left: 20px; }
    .route-stop, .route-stop:nth-child(even) {
        display: flex;
        flex-direction: column;
        padding-left: 50px;
    }
    .route-stop .route-stop-image,
    .route-stop .route-stop-content,
    .route-stop:nth-child(even) .route-stop-image,
    .route-stop:nth-child(even) .route-stop-content { order: unset; width: 100%; text-align: left; }
    .route-stop .route-stop-dot,
    .route-stop:nth-child(even) .route-stop-dot {
        order: unset;
        position: absolute;
        left: 20px;
        top: 20px;
        transform: translate(-50%, 0);
        justify-self: unset;
    }
    .route-stop-content { padding: 0; }
    .tours-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .page-hero { min-height: 35vh; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2rem; }
    .info-grid { grid-template-columns: 1fr; }
}

/* ============================================
   LOADING ANIMATION
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}
.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    line-height: 1;
    transition: var(--transition);
}
.lightbox-close:hover { color: var(--accent); }
