/* =========================================
   🌍 MODERN HOMEPAGE HERO + SEARCH STYLES
   ========================================= */

/* --- RESET ASTRA CONTAINERS --- */
/* Reset Astra containers */
.home #primary,
.home .site-content,
.home .ast-container,
.home .entry-content {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}






/* --- HERO SECTION --- */
.home-hero {
  position: relative;
  width: 100%; /* changed from 100vw */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top right, #0d9488 0%, #0f766e 40%, #064e3b 100%);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  overflow-x: hidden; /* prevent Safari horizontal scroll */
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}





body.home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-radial-gradient(
    circle at 0 0,
    rgba(0, 128, 128, 0.25),   /* deep teal accent */
    rgba(0, 128, 128, 0.25) 1px,
    transparent 1px,
    transparent 20px
  ),
  linear-gradient(135deg, rgba(72, 209, 204, 0.2), rgba(175, 238, 238, 0.65)); /* ocean-turquoise glow */
  background-size: 30px 30px;
  opacity: 0.9;
  z-index: 0;
  animation: persianGlow 60s linear infinite;
}

@keyframes persianGlow {
  from { background-position: 0 0, 0 0; }
  to { background-position: 100px 100px, 0 0; }
}



.hero-content {
  z-index: 2;
  max-width: 900px;
  text-align: center;
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.hero-content .subtitle {
  font-size: 1.15rem;
  color: #cafffa;
  margin-top: 0rem;
}

/* --- GLASS SEARCH CONTAINER --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- SEARCH TABS --- */
/* --- SEARCH TABS (responsive + scrollable) --- */
.search-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(20px, 8vw, 250px);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 12px;
  margin-bottom: 20px;
  width: 100%;
  margin-left: 0 !important;
  position: relative; /* for fade overlay positioning */
}

/* Individual tab items */
.search-tabs li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.search-tabs li.active,
.search-tabs li:hover {
  color: #FFD700;
  transform: translateY(-2px);
}

.search-tabs li.active::after,
.search-tabs li:hover::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  width: 60%;
  margin: 0 auto;
  background: linear-gradient(90deg, #2dd4bf, #99f6e4);
  border-radius: 2px;
}

/* --- MOBILE: Make tabs scrollable --- */
@media (max-width: 768px) {
  .search-tabs {
font-size: 1rem;
    justify-content: flex-start;
    flex-wrap: nowrap; /* keep all tabs in one line */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
    gap: 18px;
    scrollbar-width: none; /* hide scrollbar (Firefox) */
  }
  .search-tabs::-webkit-scrollbar {
    display: none; /* hide scrollbar (Safari/Chrome) */
  }

  /* subtle fade on left/right edges */
  .search-tabs::before,
  .search-tabs::after {
    content: "";
    position: sticky;
    top: 0;
    width: 30px;
    height: 100%;
    pointer-events: none;
    z-index: 3;
  }
  .search-tabs::before {
    left: 0;
    background: linear-gradient(to right, rgba(13,148,136,0.6), transparent);
  }
  .search-tabs::after {
    right: 0;
    background: linear-gradient(to left, rgba(13,148,136,0.6), transparent);
  }

  .search-tabs li {
    flex: 0 0 auto; /* prevent shrinking */
    font-size: 1.1rem;
  }
}



/* --- FORM --- */
.search-form .form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

/* --- INPUT WRAPPER --- */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.97);
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  padding: 10px 30px;
  flex: 1;
  min-width: 240px;
  transition: all 0.25s ease;
padding-left: 10px;
}

.input-wrapper:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* --- INPUTS & SELECTS --- */
.input-wrapper input,
.input-wrapper select {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  color: #333;
  padding: 6px 8px;
}

.input-wrapper select {
  appearance: none;
  background: transparent url("data:image/svg+xml;charset=UTF-8,<svg fill='%230d9488' height='12' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M0 3l6 6 6-6z'/></svg>") no-repeat right 10px center;
  background-size: 12px;
}

/* --- CALENDAR ICON --- */
.calendar-icon {
  position: absolute;
  right: 14px;
  color: #0f766e;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s;
}
.input-wrapper:hover .calendar-icon {
  color: #14b8a6;
}

/* --- DATE FIELD --- */
.date-field.wide-date {
  flex: 1.4;
}

.date-field.wide-date-tour {
  flex: 0.6;
}

/* --- NIGHTS TEXT --- */
.nights-inline {
  margin-left: 10px;
  background: rgba(45,212,191,0.35);
  color: #0f766e;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* --- BUTTON --- */
.search-form button {
  background: linear-gradient(135deg, #fff, #ADE67A);
  border: none;
  color: #000;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
 box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4),
            0 0 20px rgba(255, 215, 0, 0.3) inset;

  transition: all 0.3s ease;
}
.search-form button:hover {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,184,166,0.45);
}

/* --- FLATPICKR --- */
.flatpickr-calendar {
  font-family: "Poppins", sans-serif;
  border-radius: 12px;
  border: 1px solid #2dd4bf;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.flatpickr-months .flatpickr-month {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #fff;
  border-radius: 12px 12px 0 0;
}
.flatpickr-day.today {
  border: 1px solid #14b8a6;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #14b8a6;
  color: #fff;
}




/* --- TAB CONTENT --- */
.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}
.tab-pane.active {
  display: block;
}


.input-wrapper-city {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.97);
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  padding: 10px 10px;
  flex: 1 1 30%;   /* responsive flexible width */
  min-width: 200px;
  max-width: 200px;
  transition: all 0.25s ease;
}

.input-wrapper-city:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* --- INPUTS & SELECTS --- */
.input-wrapper-city input,
.input-wrapper-city select {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  color: #333;
  padding: 6px 8px;
}

.input-wrapper-city select {
  appearance: none;
  background: transparent url("data:image/svg+xml;charset=UTF-8,<svg fill='%230d9488' height='12' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M0 3l6 6 6-6z'/></svg>") no-repeat right 10px center;
  background-size: 12px;
}
@media (max-width: 768px) {
  .input-wrapper-city {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* === Destination + Hotel Field Group === */
.input-wrapper-hotel {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.97);
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  padding: 10px 10px;
  flex: 1;
  min-width: 180px;
  transition: all 0.25s ease;

}

.input-wrapper-hotel:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* --- INPUTS & SELECTS --- */
.input-wrapper-hotel input,
.input-wrapper-hotel select {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  color: #333;
  padding: 6px 8px;
}

.input-wrapper-hotel select {
  appearance: none;
  background: transparent url("data:image/svg+xml;charset=UTF-8,<svg fill='%230d9488' height='12' width='12' xmlns='http://www.w3.org/2000/svg'><path d='M0 3l6 6 6-6z'/></svg>") no-repeat right 10px center;
  background-size: 12px;
}

/* --- GLASS SEARCH CONTAINER --- */
.home-search {
  position: relative;
  z-index: 5;
  width: 95%; /* slightly looser for small screens */
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.14); /* made neutral, not red */
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 25px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding: 20px 20px 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
  animation: fadeUp 0.8s ease forwards;
  overflow: visible;
}


/* === FLIGHT TAB STYLES === */

/* Passenger + Class field */
.flight-passenger {
  position: relative;
  cursor: pointer;
}

.passenger-summary {
  flex: 1;
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
}

.passenger-dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #f9f9f9;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

.passenger-dropdown.active {
  display: flex;
}

.passenger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.info {
  display: flex;
  flex-direction: column;
}

.title {
  font-weight: 600;
  color: #222;
  font-size: 0.95rem;
}

.subtitle {
  color: #888;
  font-size: 0.8rem;
}

/* Counter section */
.controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.controls .count {
  font-weight: 600;
  width: 20px;
  text-align: center;
  font-size: 1rem;
  color: #333;
}

/* Stronger rules for passenger +/- buttons (override Astra globals) */
.flight-passenger .controls button.btnp,
#passenger-dropdown .controls button.btnp,
.passenger-dropdown .controls button.btnp,
.flight-passenger .controls button.plus,
.flight-passenger .controls button.minus {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
  border: 1px solid rgba(0,0,0,0.08);
  color: #0f766e;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  padding: 0;
}

/* hover / active */
.flight-passenger .controls button.btnp:hover,
.flight-passenger .controls button.btnp:focus {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #e9fff5 0%, #dff7ee 100%);
  outline: none;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* Disabled look (if you disable minus at 0) */
.flight-passenger .controls button.btnp[disabled],
.flight-passenger .controls button.btnp.btn-disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  background: #f6f6f6;
  box-shadow: none;
  color: #999;
}

/* make counts visually aligned */
.flight-passenger .controls .count {
  min-width: 26px;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  color: #111;
}

/* small-screen adjustments */
@media (max-width: 480px) {
  .flight-passenger .controls button.btnp {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}


/* Class section */
.class-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  background: #f2f2f2;
  border-radius: 10px;
  padding: 8px;
}

.class-option {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
  transition: all 0.25s ease;
}

.class-option.active {
  background: #0d9488;
  color: #fff;
  font-weight: 600;
}

/* Done Button */
.done-btn {
  align-self: flex-end;
  background: #0d9488;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.done-btn:hover {
  background: #0b7e74;
}


/* sweep */
.swap-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0px;
  background: #fff !important;
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10%;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.swap-btn:hover {
  transform: rotate(180deg);
  background: #14b8a6;
}

.swap-btn i {
  font-size: 16px;
}


.spacer {
  height: 60px;   /* adjust as needed */
}
.spacer1 {
  height: 30px;   /* adjust as needed */
}

.line-text {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1rem 0;
font-size: 22px;
font-weight: 600;
}

.line-text::before,
.line-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ccc;
}

.line-text:not(:empty)::before {
  margin-right: 0.75em;
}
.line-text:not(:empty)::after {
  margin-left: 0.75em;
}

.line-text span {
  font-weight: bold;
  color: Turquoise; /* teal accent */
}



/* --- RESPONSIVE TWEAKS --- */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 2.7rem; }
  .home-search { padding: 35px; }
}
@media (max-width: 768px) {
  .search-form .form-row { flex-direction: column; }
  .search-form button { width: 100%; }
  .input-wrapper { width: 100%; }
  .home-search { padding: 25px; }
  .hero-content h1 { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content .subtitle { font-size: 0.95rem; }
  .home-hero { padding: 20px 10px; }
.input-wrapper-hotel {width: 100%;}
.input-wrapper { width: 100%; }
.home-search {padding: 15px;}
.date-field { width: 100%;}
}

@media (max-width: 480px) {
  .input-wrapper-city {
    width: 100%;
    max-width: 100%; /* <-- add this */
    flex: 1 1 100%;  /* ensures it fills available space */
  }
}







/* === Featured & Search Tours Section === */
.home-tours {
  margin-top: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(145deg, #fdfdfd, #f7f7f9);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Inter', sans-serif;
}

.home-tours h3 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 2.5rem;
  position: relative;
}

.home-tours h3::after {
  content: '';
  display: block;
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ff8c00);
  border-radius: 3px;
  margin: 0.6rem auto 0;
}

/* 🟩 Grid layout */
.tour-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* 🟨 Each card */
/* Tour card */
.tour-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0; /* start invisible for fade-in */
  transform: translateY(20px);
}

.tour-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* 🖼 Image wrapper with gradient overlay */
.tour-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  display: block;
}

.tour-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.25));
  pointer-events: none;
}

.tour-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

/* 🏷 Discount badge */
.discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(45deg, #e63946, #ff4c68);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 2;
}

/* 🧾 Text info */
.tour-info {
  padding: 1.25rem;
  text-align: center;
}

.tour-info h3 {
  font-size: 1.1rem;
  color: #222;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  min-height: 3rem; /* prevent uneven heights */
}

/* 💰 Price styles */
.price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: #008060;
}

.old-price {
  text-decoration: line-through;
  color: #b55;
  font-size: 1.2rem;
  opacity: 0.8;
font-weight: 400;
}

.old-price::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px; /* thickness of the line */
  
  transform: translateY(-50%);
}


/* 💬 Messages */
.loading-message,
.no-results,
.error-message {
  text-align: center;
  font-size: 1.05rem;
  color: #555;
  margin-top: 2.5rem;
}

/* ✨ Fade effect */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

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

/* 📱 Responsive layout */
@media (max-width: 1400px) {
  .tour-results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1000px) {
  .tour-results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 600px) {
  .tour-results-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tour-card img {
    height: 180px;
  }
}



/* Spinner for loading search result */
.loading-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #008060;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 2rem auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



.tour-card .price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tour-card .from-text {
  font-weight: 600;
  color: green;
  font-size: 1.3rem;
}

/* Current (lowest) price — strong dark gold */
.new-price {
  color: #0f766e; /* rich teal, matches your theme accent */
  font-weight: 700;
  font-size: 1.3rem;
}


.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.view-tour-btn {
  padding: 6px 14px;
  background: #ffd700;
  color: #222;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 6px;
  text-align: center;
}

.price {
  text-align: right;
}

.from-text {
  font-weight: 500;
  margin-right: 4px;
}






/* === Why Yazdvoyage section =====  */
.yv-feature-section {
  margin-top: 10px;
  padding: 40px 20px;
  background: linear-gradient(135deg, #fafafa, #f3f3f3);
}

.yv-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.yv-feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yv-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.yv-feature-card .icon {
  display: inline-block;
  font-size: 2rem;
  color: #00897b;
  margin-bottom: 15px;
}

.yv-feature-card h3 {
  font-size: 1.25rem;
  color: #222;
  margin-bottom: 10px;
  font-weight: 600;
}

.yv-feature-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.yv-feature-card a {
  color: #00897b;
  font-weight: 500;
  text-decoration: none;
}

.yv-feature-card a:hover {
  text-decoration: underline;
}

/* === Fade-in Animation === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

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


/* === best of Iran === */
.yv-destinations-section {
  padding: 20px 20px;
  background: #fafafa;
  text-align: center;
}

.dest-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #222;
}

.dest-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scrollbar-width: 40px;
  scrollbar-color: blue transparent;
}

.dest-scroll::-webkit-scrollbar {
  height: 8px;
}
.dest-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
.dest-scroll.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}
.dest-scroll {
  cursor: grab;
  cursor: -webkit-grab;
}
.dest-scroll { cursor: grab; }
.dest-scroll.active { cursor: grabbing; }
.dest-scroll, .dest-card img { -webkit-user-drag: none; user-drag: none; }


.dest-card {
  position: relative;
  flex: 0 0 280px;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.dest-card:hover img {
  transform: scale(1.08);
}

.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.dest-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.1));
  color: #fff;
  text-align: left;
}

.dest-overlay h3 {
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 700;
color: turquoise;
}

.dest-overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

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




/* 🌸 Newsletter Section */
/* 🌿 Newsletter Section - Light & Elegant */
.newsletter-section {
  background: linear-gradient(145deg, #fdfdfd, #f7f7f9);
  color: #333;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  margin: 40px auto;
  max-width: 900px;
}

.newsletter-container {
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-text h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.newsletter-text p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid #ddd;
  outline: none;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  border-color: #bfa5f7;
  box-shadow: 0 0 8px rgba(191,165,247,0.4);
}

.newsletter-form button {
  background: #bfa5f7;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(191,165,247,0.3);
}

.newsletter-form button:hover {
  background: #a17ef0;
  transform: scale(1.05);
}

#newsletter-message {
  margin-top: 20px;
  font-weight: 500;
  font-size: 1rem;
}




/* Fade-in animation for cards */
.fade-in.stagger {
  animation: fadeUp 0.6s forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Image wrapper and blur placeholder */
.image-wrapper {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
  min-height: 200px;
  border-radius: 12px;
}

.lazy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(15px);
  transition: filter 0.6s ease, transform 0.6s ease, opacity 0.6s ease;
  transform: scale(1.05);
  opacity: 0.7;
}

.lazy-img.loaded {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
}

/* Modern "See More" button */
#load-more-tours {
  display: block;
  margin: 30px auto;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #FF7A00, #FFB400);
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#load-more-tours:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

#load-more-tours:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255,186,0,0.4);
}


/* iran visa - insurance - tour - transport  */
.homepage-service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  justify-items: center;
  background: transparent;
  font-family: 'Poppins', sans-serif;
}

.homepage-service-cards .service-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  max-width: 260px;
  border: 1px solid #f2e4b2;
}

.homepage-service-cards .service-card:hover {
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.8); /* golden glow */
  transform: translateY(-6px);
  border-color: #d4af37;
}

.homepage-service-cards .service-card i {
  font-size: 40px;
  color: #d4af37; /* golden icon */
  margin-bottom: 15px;
}

.homepage-service-cards .service-card h3 {
  font-size: 1.2rem;
  color: #2c2c2c;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.homepage-service-cards .service-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* High-resolution appearance */
@media (min-resolution: 2dppx) {
  .homepage-service-cards .service-card {
    border-width: 0.8px;
  }
}




/* Divider for 'See More Tours' section in search  */
/* Ensure the divider row always spans the whole results container */
.see-more-section {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 30px 0 20px;
  /* For grid layouts (span all columns) */
  grid-column: 1 / -1;
  /* For flex layouts (force a full row) */
  flex-basis: 100%;
  flex-grow: 0;
  order: 9999; /* push it visually below items if needed */
}

.see-more-divider {
  width: 100%;
  border: 1px dashed #ccc;
  margin: 0 0 10px;
  display: block;
}

.more-tours-label {
  text-align: center;
  font-weight: 600;
  color: #333;
  margin: 10px 0 0;
}



/* === Passenger Dropdown Fix === */
/* ensure proper positioning for all passenger selectors */
.passenger-selector {
  position: relative;
  display: inline-block;
  width: 100%; /* adjust if needed */
}

/* dropdown styling (same for flight/train/bus) */
.passenger-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  padding: 10px 12px;
  width: 260px;
  box-sizing: border-box;
  display: none;
}

.passenger-dropdown.active {
  display: block;
}

/* internal controls remain same */
.passenger-dropdown .controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0;
}

.passenger-dropdown .controls button {
  width: 28px;
  height: 28px;
  border: none;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.passenger-dropdown .controls .count {
  min-width: 24px;
  text-align: center;
}

.passenger-dropdown .class-option {
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.passenger-dropdown .class-option.active {
  background-color: #0078d4;
  color: white;
}

















































/* ===========================
   FORCE RESET: HERO TOP GAP
   (scoped to homepage only)
   =========================== */
/* === Remove unwanted top gap in Hero Section === */
body.home .site-content,
body.home .entry-content,
body.home .content,
body.home .home-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.home .home-hero {
  padding-top: clamp(5px, 8vh, 80px) !important; /* responsive inner spacing */
  padding-bottom: clamp(5px, 8vh, 80px) !important;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}



