/* =========================================================
   AFRICAN TRAVEL DREAM - MAIN.CSS
   Global shared design system for all pages ========================================================= */

/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: #f4f6f8;
  color: #222;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   GLOBAL TYPOGRAPHY
========================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", Arial, sans-serif;
  color: #111;
  line-height: 1.2;
}

p,
li,
span,
div,
a,
input,
textarea,
select,
button {
  font-family: "Inter", Arial, sans-serif; }

/* =========================
   TOP BLACK BAR
========================= */
.top-line {
  background: #111;
  color: #fff;
  font-size: 14px;
}

.top-line .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.top-line a {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.top-line a:hover {
  color: #ff2d2d;
}

/* =========================
   HEADER / MIDDLE LINE
========================= */
.middle-line {
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.middle-line .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.brand img {
  height: 72px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-text h1 {
  font-size: 28px;
  color: #111;
  margin-bottom: 4px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.brand-text p {
  font-size: 13px;
  color: #666;
  line-height: 1.45;
  margin: 0;
  font-weight: 400;
}

/* =========================
   CONTACT CARDS
========================= */
.contact-items {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8f9fa;
  padding: 12px 16px;
  border-radius: 10px;
  transition: 0.2s ease;
  min-width: 190px;
  box-shadow: none;
}

.contact-card:hover {
  background: #f1f3f5;
  transform: translateY(-2px);
}

.contact-icon {
  background: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.contact-title {
  font-size: 13px;
  color: #777;
  margin-bottom: 2px;
  line-height: 1.2;
  font-weight: 400;
}

.contact-value {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
}

.contact-value a {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.contact-value a:hover {
  color: #e60023;
}

/* =========================
   COLLECTION PACKAGE CARDS
========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.package-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.package-card:hover {
  transform: translateY(-4px);
}

.package-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.package-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.package-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  background: #f4f6f8;
  color: #444;
  padding: 7px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.package-body h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #111;
  line-height: 1.3;
}

.package-subtitle {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
  min-height: 90px;
}

.package-points {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.package-points div {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}

.package-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.card-btn {
  display: inline-block;
  background: #0d6efd;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.card-btn.light {
  background: #f1f3f5;
  color: #222;
}

/* =========================
   RED MENU BAR
========================= */
.menu-line {
  background: #e60023;
  color: #fff;
}

.menu-line .container {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 13px;
  padding-bottom: 13px;
  flex-wrap: wrap;
}

.menu-line a {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}

.menu-line a:hover {
  text-decoration: underline;
  opacity: 0.95;
}

/* =========================
   GLOBAL BUTTONS
========================= */
.btn,
button.btn,
a.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: #e60023;
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(230, 0, 35, 0.18); }

.btn-light {
  background: #fff;
  color: #111;
}

.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); }

/* =========================
   GLOBAL SECTIONS
========================= */
.section {
  padding: 55px 0;
}

.section-white {
  background: #fff;
}

.section-soft {
  background: #fafafa;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: 38px;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.2;
  font-weight: 700;
}

.section-title p {
  color: #666;
  font-size: 17px;
  line-height: 1.8;
  max-width: 840px;
  margin: 0 auto;
}

/* =========================
   GENERIC CARD STYLE
========================= */
.card-shadow,
.journey-card,
.pricing-card,
.day-card,
.info-card,
.highlight-card,
.price-box,
.overview-text,
.fact-box {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-radius: 18px;
}

/* ===== TRANSPORT ICON SYSTEM ===== */

.journey-stop::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  z-index: 2;
}

/* Default: Flight */
.journey-stop::after,
.journey-stop.flight-route::after {
  background-image: url("/images/icons/plane.png");
}

/* Road Transfer */
.journey-stop.bus-route::after {
  background-image: url("/images/icons/bus.png");
}

/* Ferry / Cruise */
.journey-stop.sea-route::after {
  background-image: url("/images/icons/ship.png");
}

/* Train / Shinkansen */
.journey-stop.train-route::after {
  background-image: url("/images/icons/train.png");
}

/* حذف آیکون برای آخرین شهر */
.journey-stop:last-child::after {
  display: none;
}

/* ===== JOURNEY FLOW (SMART RESPONSIVE) ===== */
.journey-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.journey-stop {
  position: relative;
  background: #f8f9fb;
  border: 1px solid #e5e9ee;
  border-radius: 16px;
  padding: 22px;
  text-align: center;
}

.journey-stop h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #111;
}

.journey-stop p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

.journey-stop .nights {
  display: inline-block;
  margin-top: 12px;
  background: #111;
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

/* ===== OVERVIEW TEXT (GLOBAL FIX) ===== */
.overview-text {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
}

/* ===== PRICE SECTION POLISH ===== */
.price-section {
  padding: 55px 0;
  background: #fff;
}

.price-title {
  text-align: center;
  margin-bottom: 30px;
}

.price-title h2 {
  font-size: 38px;
  margin-bottom: 10px;
}

.price-title p {
  color: #666;
  font-size: 17px;
  max-width: 820px;
  margin: 0 auto;
}

/* ===== PRICE NOTE ===== */
.price-note {
  margin-top: 22px;
  background: #f8f9fb;
  border-radius: 16px;
  padding: 18px 20px;
  text-align: center;
  font-size: 14px;
  color: #555;
}
/* ---------- OVERVIEW ---------- */
.overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.overview-image img {
  width: 100%;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  min-height: 420px;
}

/* ---------- FACTS ---------- */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.fact-box {
  background: #eef2f5;
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transition: 0.25s ease;
}

.fact-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.fact-box h4 {
  font-size: 17px;
  color: #333;
  margin-bottom: 8px;
}

.fact-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* ---------- PRICING CARDS ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.pricing-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e9ee;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  text-align: center;
  transition: 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
}

.pricing-card h3 {
  font-size: 22px;
  color: #111;
  margin-bottom: 14px;
  text-align: center;
}

.pricing-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.9;
  margin-bottom: 6px;
  text-align: center;
}
/* ---------- PRICE BOXES ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.price-box {
  background: #eef2f5;
  border-radius: 20px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  transition: 0.25s ease;
}

.price-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.price-box h3 {
  font-size: 17px;
  color: #444;
  margin-bottom: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.price-value,
.price-value-amount {
  font-size: 30px;
  font-weight: 800;
  color: #e60023;
  letter-spacing: -0.5px;
}

.price-box p {
  display: none;
}

/* ---------- DAY BY DAY / ITINERARY ---------- */
.day-list {
  display: grid;
  gap: 18px;
}

.day-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.day-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.day-content {
  position: static !important;
  padding: 24px;
  background: #fff;
}

.day-label {
  display: inline-block;
  background: #f4f6f8;
  color: #444;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.day-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #111;
}

.day-content p {
  color: #666;
  line-height: 1.9;
  font-size: 15px;
  margin-bottom: 10px;
}

/* ---------- INCLUDED / HIGHLIGHTS ---------- */
.included-grid,
.optional-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.info-card {
  padding: 26px;
}

.info-card h3 {
  font-size: 24px;
  margin-bottom: 14px;
  color: #111;
}

.info-card ul {
  padding-left: 20px;
  color: #555;
  line-height: 2;
  font-size: 15px;
}

.info-card li {
  margin-bottom: 4px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.highlight-card {
  padding: 24px 20px;
  text-align: center;
}

.highlight-card h4 {
  font-size: 18px;
  color: #111;
  margin-bottom: 8px;
}

.highlight-card p {
  color: #666;
  line-height: 1.7;
  font-size: 14px;
}

/* =========================
   GLOBAL HERO STRUCTURE
========================= */
.hero {
  position: relative;
  height: 88vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding: 30px 20px;
}

.collection-badge {
  display: inline-block;
  background: rgba(230, 0, 35, 0.92);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 12px;
  backdrop-filter: blur(2px);
}

.hero h1,
.hero h2 {
  font-size: 58px;
  line-height: 1.08;
  margin-bottom: 16px;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.hero p {
  font-size: 21px;
  line-height: 1.75;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.95);
}

.hero-note,
.hero-subnote {
  font-size: 15px;
  color: #ffe7a3;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
   GLOBAL CTA BAND
========================= */
.cta-band {
  background: #e60023;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.cta-band h2 {
  font-size: 34px;
  margin-bottom: 18px;
  color: #fff;
}

.cta-band p {
  font-size: 18px;
  margin-bottom: 24px;
  line-height: 1.7;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band a {
  display: inline-block;
  background: #fff;
  color: #e60023;
  padding: 15px 26px;
  border-radius: 8px;
  font-weight: 700;
  margin: 0 6px;
  transition: 0.2s ease;
}

.cta-band a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }

/* =========================
   FORM ELEMENTS
========================= */
input,
textarea,
select {
  font-family: "Inter", Arial, sans-serif; }

input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* =========================
   FLOATING CONTACT DEFAULT
========================= */
.floating-contact {
  display: none;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #0f1720;
  color: #ddd;
  padding-top: 55px;
  margin-top: 0;
}

.site-footer p {
  margin: 0;
  line-height: 1.7;
}

.site-footer a {
  color: #bbb;
  text-decoration: none;
  transition: 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .footer-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px 45px;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.25fr 0.8fr;
  gap: 38px;
  align-items: start;
}

.footer-brand h3,
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: #fff;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-brand h3 {
  font-size: 22px;
  line-height: 1.3;
}

.footer-brand p {
  color: #aaa;
  font-size: 14px;
  max-width: 340px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a,
.footer-contact a,
.footer-contact p {
  font-size: 14px;
  color: #bbb;
  line-height: 1.75;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-icons img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.82;
  transition: 0.2s ease;
}

.footer-social-icons img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 18px 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: #888;
  margin: 0;
}

/* =========================
   FOOTER MOBILE
========================= */

@media (max-width: 900px) {

  .site-footer .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-links,
  .footer-contact {
    align-items: center;
  }

  .footer-social-icons {
    justify-content: center;
  }

}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .section-title h2,
  .cta-band h2 {
    font-size: 32px;
  }

  .hero h1,
  .hero h2 {
    font-size: 46px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
.facts-grid,
  .highlight-grid,
  
.price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-grid,
  .included-grid,
  .optional-grid {
    grid-template-columns: 1fr;
  }

  

  .journey-stop::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .middle-line .container,
  .top-line .container {
    justify-content: center;
  }

  .brand {
    justify-content: center;
    width: 100%;
    align-items: center;
  }

  .brand-text {
    text-align: center;
  }

  .brand img {
    height: 62px;
  }

  .brand-text h1 {
    font-size: 24px;
  }

  .brand-text p {
    font-size: 14px;
  }
.price-grid {
    grid-template-columns: 1fr;
  }

  
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .included-grid,
  .optional-grid {
    grid-template-columns: 1fr;
  }

  .day-card {
    grid-template-columns: 1fr;
  }

  .day-card img {
    min-height: 220px;
  }

  .day-content {
    padding: 20px;
  }

  /* ===== PREMIUM MOBILE CONTACT CARDS ===== */
  .contact-items {
    display: none !important;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 18px;
  }

  .contact-card {
    width: 100%;
    min-width: 0;
    background: linear-gradient(145deg, #f4f6f8, #ffffff);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: 0.25s ease;
  }

  .contact-card:active {
    transform: scale(0.98);
  }

  .contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }

  .contact-title {
    font-size: 13px;
    color: #888;
    margin-bottom: 2px;
  }

  .contact-value,
  .contact-value a {
    font-size: 17px;
    font-weight: 600;
    color: #111;
    line-height: 1.35;
    word-break: break-word;
  }

  /* ===== MENU RED BAR IMPROVEMENT ===== */
  .menu-line .container {
    justify-content: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 10px;
    text-align: center;
  }

  .menu-line a {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
  }

  .menu-line a:last-child {
    grid-column: span 2;
    font-size: 15px;
  }

  .hero {
  height: 460px;
  min-height: 460px;
  padding: 60px 20px;

  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

  .hero h1,
  .hero h2 {
    font-size: 34px;
  }

  .hero p {
    font-size: 17px;
  }

  .section-title h2,
  .cta-band h2 {
    font-size: 30px;
  }

  .section-title p {
    font-size: 16px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .package-card img {
    height: 220px;
  }

  .package-body h3 {
    font-size: 22px;
  }

  .package-subtitle {
    min-height: auto;
  }

  /* ===== MOBILE FLOATING CONTACT ===== */
  .floating-contact {
  position: fixed;
  right: 12px;
  bottom: 90px;
  width: 64px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  z-index: 9998;
}

.floating-contact a {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  pointer-events: none;
  transition: all 0.25s ease;
}

.floating-contact a img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.floating-contact .email-btn img {
  width: 36px;
  height: 36px;
}

/* وقتی باز شد */
.floating-contact.show a {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

 } 

/* =========================================================
   MOBILE PORTRAIT CLEAN CONTACT BUTTONS
   Only WhatsApp remains on vertical mobile screens
========================================================= */
@media (max-width: 768px) and (orientation: portrait) {

  /* مخفی کردن تلفن و ایمیل */
  .floating-contact .phone-btn,
  .floating-contact .email-btn {
    display: none !important;
  }

  /* فقط واتساپ نمایش داده شود */
  .floating-contact {
    display: flex !important;
    position: fixed;
    right: 18px;
    bottom: 28px;
    width: auto;
    z-index: 9999;
  }

  .floating-contact .whatsapp-btn {
    display: flex !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    width: 62px;
    height: 62px;
  }

  .floating-contact .whatsapp-btn img {
    width: 52px;
    height: 52px;
    object-fit: contain;
  }

  /* مخفی کردن دکمه / ویجت AI Chat در موبایل عمودی */
  .ai-chat-button,
  .ai-chat-toggle,
  .ai-chat-widget,
  .ai-chat-box,
  .ask-ai-btn,
  .ask-ai,
  #ai-chat,
  #aiChat,
  #aiChatButton,
  #aiChatBox {
    display: none !important;
  }
}

/* =========================================================
   FINAL CLEAN HEADER + HERO SYSTEM
========================================================= */

/* Header over hero */
body:has(.hero) .top-line,
body:has(.hero) .middle-line,
body:has(.hero) .menu-line {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 50;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Top navigation */
body:has(.hero) .top-line {
  top: 0;
}

body:has(.hero) .top-line .container {
  justify-content: center;
  padding-top: 14px;
  padding-bottom: 6px;
  gap: 34px;
}

body:has(.hero) .top-line a {
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.75);
}

/* Middle row */
body:has(.hero) .middle-line {
  top: 44px;
}

body:has(.hero) .middle-line .container {
  position: relative !important;
  max-width: 1250px !important;
  height: 90px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* BRAND: fixed exact position */
body:has(.hero) .middle-line .brand{
  position: absolute !important;
  left: 20px !important;
  top: 8px !important;
  margin: 0 !important;
  width: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

body:has(.hero) .middle-line .brand img {
  width: auto !important;
  height: 64px !important;
  max-width: none !important;
  object-fit: contain !important;
}

body:has(.hero) .middle-line .brand-text h1,
body:has(.hero) .middle-line .brand-text p {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.75);
}

/* Contact icons: fixed right side, independent from brand */
body:has(.hero) .contact-items {
  position: absolute !important;
  right: 20px !important;
  top: 17px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

body:has(.hero) .contact-card,
body:has(.hero) .contact-card:hover {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body:has(.hero) .contact-card > div:not(.contact-icon) {
  display: none !important;
}

body:has(.hero) .contact-icon {
  width: 46px !important;
  height: 46px !important;
  background-color: transparent !important;
  background-size: 40px 40px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-size: 0 !important;
}

/* Icons */
body:has(.hero) .contact-icon.phone-icon,
body:has(.hero) .contact-card:nth-child(1) .contact-icon {
  background-image: url("images/icons/icon-phone.png") !important;
}

body:has(.hero) .contact-icon.whatsapp-icon,
body:has(.hero) .contact-card:nth-child(2) .contact-icon {
  background-image: url("images/icons/icon-whatsapp.png") !important;
  background-size: 38px 38px !important;
}

body:has(.hero) .contact-icon.email-icon,
body:has(.hero) .contact-card:nth-child(3) .contact-icon {
  background-image: url("images/icons/icon-email-white.png") !important;
}

/* Selected pages without header contact icons */
body.no-header-contact .middle-line .contact-items {
  display: none !important;
}

/* Hide old red menu row on hero pages */
body:has(.hero) .menu-line {
  display: none !important;
}

/* Hero size */
body:has(.hero) .hero {
  margin-top: 0 !important;
  padding-top: 150px !important;
  height: 88vh !important;
  min-height: 680px !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* Home page video hero */
body:has(.split-section) .hero {
  height: 100vh !important;
  min-height: 680px !important;
}

body:has(.split-section) .hero video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Mobile */
@media (max-width: 768px) {
  body:has(.hero) .top-line {
    display: none !important;
  }

  body:has(.hero) .middle-line {
    top: 0;
  }

  body:has(.hero) .middle-line .container {
    height: 86px !important;
  }

  body:has(.hero) .brand {
    left: 18px !important;
    top: 10px !important;
  }

  body:has(.hero) .brand img {
    height: 58px !important;
  }

  body:has(.hero) .brand-text h1 {
    font-size: 22px;
  }

  body:has(.hero) .brand-text p {
    font-size: 12px;
  }

  body:has(.hero) .contact-items {
    display: none !important;
  }

  body:has(.hero) .hero {
    height: 560px !important;
    min-height: 560px !important;
    padding-top: 130px !important;
    background-size: cover !important;
  }
}

/* ===== FINAL FOOTER FIX ===== */

.site-footer {
  background: #0f1720;
  color: #ddd;
  padding: 55px 20px 0;
}

.site-footer .footer-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px 45px;
  display: grid !important;
  grid-template-columns: 1.35fr 0.9fr 1.25fr 0.8fr;
  gap: 38px;
  align-items: start;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
  color: #bbb;
  font-size: 14px;
  line-height: 1.75;
}

.site-footer .footer-links,
.site-footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer .footer-social-icons {
  display: flex !important;
  align-items: center;
  gap: 14px;
}

.site-footer .footer-social-icons a {
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.site-footer .footer-social-icons img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  object-fit: contain !important;
  display: block !important;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 18px 20px;
}

.site-footer .footer-bottom p {
  font-size: 13px;
  color: #888;
}

@media (max-width: 900px) {
  .site-footer .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer .footer-links,
  .site-footer .footer-contact,
  .site-footer .footer-social-icons {
    align-items: center;
    justify-content: center;
  }
}

.site-footer img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
}

.floating-contact img,
#chatLauncher img {
  width: auto;
  height: auto;
}

/* =========================================================
   MOBILE HEADER MASTER FIX
========================================================= */
@media (max-width: 768px) {

  body:has(.hero) .top-line,
  body:has(.hero) .middle-line,
  body:has(.hero) .menu-line {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    z-index: 20 !important;
  }

  body:has(.hero) .top-line {
    display: block !important;
    background: #111 !important;
  }

  body:has(.hero) .top-line .container {
    display: flex !important;
    justify-content: center !important;
    gap: 18px !important;
    padding: 9px 10px !important;
    flex-wrap: wrap;
  }

  body:has(.hero) .top-line a {
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-shadow: none !important;
  }

  body:has(.hero) .middle-line {
    display: block !important;
    background: #fff !important;
    border-bottom: 1px solid #e5e5e5 !important;
  }

  body:has(.hero) .middle-line .container {
    height: auto !important;
    padding: 12px 16px !important;
    display: flex !important;
    justify-content: center !important;
  }

  body:has(.hero) .middle-line .brand {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    justify-content: center !important;
  }

  body:has(.hero) .middle-line .brand img {
    height: 54px !important;
  }

  body:has(.hero) .middle-line .brand-text {
    text-align: left !important;
  }

  body:has(.hero) .middle-line .brand-text h1 {
    color: #111 !important;
    font-size: 22px !important;
    text-shadow: none !important;
  }

  body:has(.hero) .middle-line .brand-text p {
    color: #666 !important;
    font-size: 12px !important;
    text-shadow: none !important;
  }

  body:has(.hero) .contact-items {
    display: none !important;
  }

  body:has(.hero) .menu-line {
    display: block !important;
    background: #e60023 !important;
  }

  body:has(.hero) .menu-line .container {
    display: flex !important;
    justify-content: center !important;
    gap: 14px !important;
    padding: 11px 10px !important;
    flex-wrap: wrap;
  }

  body:has(.hero) .menu-line a {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-align: center;
  }

  body:has(.hero) .hero {
    margin-top: 0 !important;
    height: auto !important;
    min-height: 560px !important;
    padding: 75px 18px 65px !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  body:has(.hero) .hero h1,
  body:has(.hero) .hero h2 {
    font-size: 36px !important;
    line-height: 1.12 !important;
  }

  body:has(.hero) .hero p {
    font-size: 17px !important;
    line-height: 1.7 !important;
  }
}

/* =========================================================
   MOBILE LOGO ONLY
========================================================= */
@media (max-width: 768px) {

  .middle-line .container {
    justify-content: flex-start !important;
    padding-left: 18px !important;
  }

  .middle-line .brand {
    justify-content: flex-start !important;
  }

  .middle-line .brand-text {
    display: none !important;
  }

  .middle-line .brand img {
    height: 60px !important;
  }

}
/* =========================================================
   MOBILE LANDING HEADER FIX
========================================================= */
@media (max-width: 768px) {

  .top-line,
  .middle-line,
  .menu-line {
    position: relative !important;
    background: initial !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
  }

  .top-line {
    background: #111 !important;
  }

  .middle-line {
    background: #fff !important;
    border-bottom: 1px solid #e5e5e5 !important;
  }

  .menu-line {
    background: #e60023 !important;
  }

}

/* =========================================================
   MOBILE HEADER NORMALIZER
   Force clear 3-line header on mobile
========================================================= */
@media (max-width: 768px) {

  .top-line,
  .middle-line,
  .menu-line {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    z-index: 50 !important;
  }

  .top-line {
    display: block !important;
    background: #111 !important;
  }

  .top-line .container {
    display: flex !important;
    justify-content: center !important;
    gap: 18px !important;
    padding: 10px 8px !important;
    flex-wrap: wrap !important;
  }

  .top-line a {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-shadow: none !important;
  }

  .middle-line {
    display: block !important;
    background: #fff !important;
    border-bottom: 1px solid #e5e5e5 !important;
  }

  .middle-line .container {
    height: auto !important;
    padding: 14px 16px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .middle-line .brand {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    justify-content: center !important;
  }

  .middle-line .brand-text {
    display: none !important;
  }

  .middle-line .brand img {
    content: url("logo.png");
    height: 62px !important;
    width: auto !important;
    max-width: none !important;
  }

  .contact-items {
    display: none !important;
  }

  .menu-line {
    display: block !important;
    background: #e60023 !important;
  }

  .menu-line .container {
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
    padding: 12px 10px !important;
    flex-wrap: wrap !important;
  }

  .menu-line a {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-align: center !important;
    white-space: nowrap;
  }
}

/* =========================================================
   MOBILE HERO AFTER HEADER
========================================================= */
@media (max-width: 768px) {

  .hero {
    margin-top: 0 !important;
    height: auto !important;
    min-height: 560px !important;
    padding: 80px 18px 70px !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  .hero h1,
  .hero h2 {
    font-size: 38px !important;
    line-height: 1.1 !important;
  }

  .hero p {
    font-size: 18px !important;
    line-height: 1.65 !important;
  }

  .hero-badge {
    font-size: 12px !important;
    padding: 8px 12px !important;
  }
}

/* =========================================================
   PROVINCE PAGES MOBILE IMAGE FIX
========================================================= */
@media (max-width: 768px) {

  .wc-region-visual {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .wc-region-photo {
    order: 0 !important;
  }

  .wc-region-photo img {
    width: 100% !important;
    height: 360px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 22px !important;
  }

  .wc-region-content {
    order: 1 !important;
  }

  .wc-region-content h3 {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }

  .wc-region-content p {
    font-size: 16px !important;
    line-height: 1.75 !important;
  }

  .wc-region-visual .wc-attraction-grid,
  .wc-attraction-grid {
    grid-template-columns: 1fr !important;
  }

  .wc-attraction-card {
    padding: 22px !important;
    border-radius: 22px !important;
  }
}

/* =========================================================
   SOUTH AFRICA HERO MAP - MOBILE FIX
========================================================= */

@media (max-width: 768px) {

  /* HERO */

  .hero {
    height: auto !important;
    min-height: auto !important;
    padding-bottom: 50px !important;
    background-attachment: scroll !important;
  }

  .hero-content {

    display: flex !important;
    flex-direction: column !important;

    grid-template-columns: none !important;

    gap: 26px !important;

    text-align: center !important;

    padding-top: 120px !important;
  }

  /* TEXT */

  .sa-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .sa-copy h1 {
    font-size: 38px !important;
    line-height: 1.08 !important;
  }

  .sa-copy p {
    font-size: 17px !important;
    line-height: 1.75 !important;
  }

  /* MAP */

  .sa-map-panel {

    position: relative !important;
    absolute: unset !important;

    top: unset !important;
    right: unset !important;
    left: unset !important;
    bottom: unset !important;

    transform: none !important;

    width: 100% !important;
    height: auto !important;

    margin-top: 8px !important;

    display: block !important;

    z-index: 1 !important;
  }

  #map {

    width: 100% !important;

    height: 340px !important;
    min-height: 340px !important;
  }

  #map svg {

    transform: scale(1.05) !important;

    transform-origin: center center !important;

    opacity: 0.95 !important;
  }

  /* POPUPS */

  div[id*="popup"],
  div[class*="popup"],
  div[class*="sm_popup"] {

    max-width: 220px !important;

    font-size: 12px !important;

    border-radius: 18px !important;

    padding: 10px !important;
  }

}

/* =========================================================
   GLOBAL TEXT ALIGNMENT
========================================================= */

/* Long-form content only */
.about-copy p,
.about-text,
.overview-text p,
.day-content p,
.info-card li {
  text-align: justify;
  text-justify: inter-word;
}

/* Keep cards, hero, CTA and overlays natural */
.card p,
.package-card p,
.service-card p,
.serious-card p,
.b2b-card p,
.highlight-overlay p,
.cta-band p {
  text-align: center !important;
}

.hero p,
.section-title p,
.highlight-overlay p,
.card p,
.package-card p,
.service-card p,
.serious-card p,
.b2b-card p,
.price-note,
.fact-box p {
  text-align: left;
}
/* MOBILE */
@media (max-width: 768px) {

  .about-copy p,
  .about-text,
  .overview-text p,
  .day-content p,
  .info-card li {
    text-align: left;
  }

}

/* =========================================================
   MASTER SITE HEADER - FINAL
   Use this header system for all hero pages
========================================================= */

/* ---------- DESKTOP HEADER ---------- */

.site-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 100 !important;
  color: #fff !important;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.82),
    rgba(0,0,0,0.42),
    transparent
  ) !important;
}

/* Top small nav */
.site-header .top-nav {
  position: absolute !important;
  top: 16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 34px !important;

  z-index: 120 !important;
}

.site-header .top-nav a {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.65) !important;
  white-space: nowrap !important;
}

/* Main nav row */
.site-header .main-nav {
  position: relative !important;
  max-width: 1250px !important;
  height: 130px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

/* Brand desktop */
.site-header .brand {
  position: absolute !important;
  left: 20px !important;
  top: 52px !important;

  display: flex !important;
  align-items: center !important;
  gap: 14px !important;

  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .brand img {
  width: auto !important;
  height: 64px !important;
  max-width: none !important;
  display: block !important;
  object-fit: contain !important;
}

.site-header .brand-text {
  display: block !important;
}

.site-header .brand-text h1 {
  color: #fff !important;
  font-size: 26px !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.65) !important;
}

.site-header .brand-text p {
  color: rgba(255,255,255,0.92) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  margin: 4px 0 0 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.65) !important;
}

/* Right nav links desktop */
.site-header .nav-links {
  position: absolute !important;
  right: 20px !important;
  top: 72px !important;

  display: flex !important;
  align-items: center !important;
  gap: 28px !important;

  width: auto !important;
}

.site-header .nav-links a {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.65) !important;
  white-space: nowrap !important;
}

/* Hero starts from top under floating header */
body:has(.site-header) .hero {
  margin-top: 0 !important;
}

/* Hide old 3-line header only if page uses site-header */
body:has(.site-header) > .top-line,
body:has(.site-header) > .middle-line,
body:has(.site-header) > .menu-line {
  display: none !important;
}

/* ---------- MOBILE HEADER ---------- */

@media (max-width: 768px) {

  .site-header {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.90),
      rgba(0,0,0,0.45),
      transparent
    ) !important;
  }

  .site-header .top-nav {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;

    width: 100% !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    gap: 28px !important;
    padding: 14px 12px 0 !important;

    z-index: 130 !important;
  }

  .site-header .top-nav a {
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  .site-header .main-nav {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;

    height: 112px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header .brand {
    position: static !important;
    display: block !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header .brand img {
    content: url("logo-white.png") !important;

    position: absolute !important;
    left: 50% !important;
    top: 22px !important;
    transform: translateX(-50%) !important;

    height: 78px !important;
    width: auto !important;
    max-width: none !important;
    display: block !important;
  }

  .site-header .brand-text {
    display: none !important;
  }

  .site-header .nav-links {
    display: none !important;
  }

  body:has(.site-header) .hero {
    padding-top: 185px !important;
  }
}

/* =========================================================
   FINAL OVERRIDE - MOBILE FLOATING HEADER FIX
========================================================= */

@media (max-width: 768px) {

  .site-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999 !important;

    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.82),
      rgba(0,0,0,0.35),
      transparent
    ) !important;

    padding: 0 !important;
    margin: 0 !important;
  }

  .site-header .main-nav {
    height: 112px !important;
    background: transparent !important;
  }

  .site-header .top-nav {
    background: transparent !important;
  }

  body:has(.site-header) .hero {
    margin-top: 0 !important;
    padding-top: 185px !important;
  }
}

/* =========================================================
   FINAL MOBILE HERO SPACING FIX
========================================================= */

@media (max-width: 768px) {

  .site-header .main-nav {
    height: 90px !important;
  }

  .site-header .brand img {
    height: 62px !important;
  }

  .hero {
    padding-top: 115px !important;
    min-height: auto !important;
  }

  .hero-content {
    padding-top: 0 !important;
  }

}

/* =========================================================
   MOBILE ITINERARY IMAGE FIX
========================================================= */

@media (max-width: 768px) {

  .day-card img {
    width: 100% !important;
    height: 260px !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

}

/* ===== CTA ACTIONS ===== */

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;

  border-radius: 12px;

  font-size: 15px;
  font-weight: 700;

  text-decoration: none;

  transition: all 0.25s ease;
}

.cta-btn.white {
  background: #fff;
  color: #111;
}

.cta-btn.white:hover {
  transform: translateY(-2px);
}

.cta-btn.red {
  background: #111;
  color: #fff;
}

.cta-btn.red:hover {
  background: #000;
  transform: translateY(-2px);
}

@media (max-width: 768px) {

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 320px;
  }

}

@media (min-width: 769px) {
  .wc-text p,
  .wc-region-content p,
  .province-map-header p,
  .section-title p,
  .wc-attraction-card p,
  .hero-content p,
  .b2b-card p,
  .highlight-overlay p {
    text-align: justify;
  }
}

/* SOUTH AFRICA PROVINCE GALLERIES */

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;

  padding: 14px;
  background: #f4f4f2;
}

.gallery-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;

  border-radius: 22px;

  box-shadow:
    0 14px 32px rgba(0,0,0,0.12),
    0 4px 10px rgba(0,0,0,0.06);

  transition: 0.35s ease;
}

.gallery-strip img:hover {
  transform: translateY(-6px);
}

@media (max-width: 768px) {

  .gallery-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .gallery-strip img {
    height: 240px;
    border-radius: 18px;
  }
}

/* =========================
   GLOBAL HERO SYSTEM
========================= */

.hero {
  min-height: 74vh;

  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100vw auto !important;
  background-attachment: scroll !important;
}

/* Normal desktop */
@media (min-width: 1201px) {
  .hero {
    background-size: 100vw auto !important;
  }
}

/* Smaller screens */
@media (max-width: 1200px) {
  .hero {
    background-size: 100vw auto !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    min-height: 68vh;
    background-size: cover !important;
    background-position: center center !important;
  }
}

.hotel-logo-strip {
  overflow: hidden;
  padding: 38px 0;
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: hotelScroll 38s linear infinite;
}

.logo-track img {
  height: 44px;
  width: auto;
  opacity: 0.78;
  transition: 0.3s ease;
  filter: grayscale(100%);
}

.logo-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes hotelScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {

  .logo-track {
    gap: 46px;
  }

  .logo-track img {
    height: 32px;
  }
}

.section-center {
  text-align: center;
}

.section-center h1,
.section-center h2,
.section-center h3,
.section-center h4,
.section-center p,
.section-center .wc-kicker {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.section-center p {
  max-width: 920px;
}

/* CENTER ALIGN FOR PACKAGE / TOUR PAGES */

.section-title,
.price-title {
  text-align: center;
}

.section-title h2,
.section-title p,
.price-title h2,
.price-title p {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.section-title p,
.price-title p {
  max-width: 900px;
}

.fact-box,
.journey-stop,
.pricing-card,
.price-box,
.highlight-card {
  text-align: center !important;
}

.fact-box h4,
.fact-box p,
.journey-stop h3,
.journey-stop p,
.pricing-card h3,
.pricing-card p,
.price-box h3,
.price-value,
.highlight-card h4,
.highlight-card p {
  text-align: center !important;
}

.info-card h3 {
  text-align: center !important;
}

.highlight-photo-card:hover {
  transform: translateY(-8px);
}

.highlight-photo-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}

.hotel-card h3 {
  min-height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  line-height: 1.25;
}

.hotel-card p {
  min-height: 110px;
}

.path-btn.premium-dark {
  background: #050505 !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.35) !important;
}

.path-btn.premium-dark:hover {
  background: #1b1b1b !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Premium Home Path Cards */
.premium-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: stretch;
}

.premium-path-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 253, 248, .98);
  border: 1px solid rgba(45, 35, 20, .10);
  box-shadow: 0 28px 70px rgba(0,0,0,.10);
}

.premium-path-card .path-image {
  height: 310px;
  overflow: hidden;
}

.premium-path-card .path-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .7s ease;
}

.premium-path-card:hover .path-image img {
  transform: scale(1.07);
}

.premium-path-card .path-content {
  padding: 34px 34px 36px;
  text-align: center;
}

.premium-path-card .path-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 800;
  color: #8a6a35;
}

.premium-path-card h3 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  color: #111;
}

.premium-path-card p {
  max-width: 560px;
  margin: 0 auto 24px;
  color: #555;
  line-height: 1.75;
}

.premium-path-card .path-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.premium-path-card .path-tag {
  padding: 9px 14px;
  border-radius: 999px;
  background: #f4f0e8;
  color: #2b2b2b;
  font-size: 13px;
  font-weight: 700;
}

.premium-path-card .path-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid #111;
  padding-bottom: 7px;
}

.premium-path-card .path-link span {
  transition: transform .25s ease;
}

.premium-path-card .path-link:hover span {
  transform: translateX(5px);
}

@media (max-width: 900px) {
  .premium-path-grid {
    grid-template-columns: 1fr;
  }

  .premium-path-card .path-image {
    height: 250px;
  }
}

/* FIX: Premium Home Path Cards - clean editorial layout */
.premium-path-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: auto !important;
  height: auto !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background: #fffdf8 !important;
}

.premium-path-card .path-image {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 320px !important;
  z-index: 1 !important;
}

.premium-path-card .path-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.premium-path-card .path-content {
  position: relative !important;
  inset: auto !important;
  z-index: 2 !important;
  padding: 34px 34px 38px !important;
  text-align: center !important;
  color: #111 !important;
  text-shadow: none !important;
}

.premium-path-card .path-label,
.premium-path-card h3,
.premium-path-card p,
.premium-path-card .path-tag,
.premium-path-card .path-link {
  color: #111 !important;
  text-shadow: none !important;
}

.premium-path-card .path-label {
  color: #8a6a35 !important;
}

.premium-path-card h3 {
  font-size: clamp(28px, 3vw, 40px) !important;
  line-height: 1.08 !important;
  margin-bottom: 16px !important;
}

.premium-path-card p {
  max-width: 520px !important;
  margin: 0 auto 24px !important;
  color: #555 !important;
}

.premium-path-card .path-points {
  justify-content: center !important;
  gap: 10px !important;
  margin-bottom: 28px !important;
}

.premium-path-card .path-tag {
  background: #f1ece3 !important;
  color: #222 !important;
  box-shadow: none !important;
}

.premium-path-card .path-link {
  display: inline-flex !important;
  gap: 10px !important;
  border-bottom: 2px solid #111 !important;
  padding-bottom: 7px !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}

@media (max-width: 900px) {
  .premium-path-card .path-image {
    height: 240px !important;
  }
}

/* =========================================================
   MOBILE FIX - PREMIUM HOME PATH CARDS
========================================================= */
@media (max-width: 768px) {

  .premium-path-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    padding: 0 !important;
  }

  .premium-path-card {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    background: #fffdf8 !important;
  }

  .premium-path-card .path-image {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 230px !important;
    display: block !important;
    z-index: 1 !important;
  }

  .premium-path-card .path-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .premium-path-card .path-content {
    position: relative !important;
    inset: auto !important;
    z-index: 2 !important;
    width: 100% !important;
    padding: 28px 22px 32px !important;
    text-align: center !important;
    color: #111 !important;
    text-shadow: none !important;
    background: #fffdf8 !important;
  }

  .premium-path-card .path-label,
  .premium-path-card h3,
  .premium-path-card p,
  .premium-path-card .path-tag,
  .premium-path-card .path-link {
    color: #111 !important;
    text-shadow: none !important;
  }

  .premium-path-card .path-label {
    color: #8a6a35 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
  }

  .premium-path-card h3 {
    font-size: 30px !important;
    line-height: 1.08 !important;
    margin: 0 auto 14px !important;
  }

  .premium-path-card p {
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: #555 !important;
    margin: 0 auto 22px !important;
    max-width: 100% !important;
  }

  .premium-path-card .path-points {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 24px !important;
  }

  .premium-path-card .path-tag {
    background: #f1ece3 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
  }

  .premium-path-card .path-link {
    display: inline-flex !important;
    border-bottom: 2px solid #111 !important;
    padding-bottom: 7px !important;
    font-weight: 800 !important;
  }
}

/* =========================================================
   HOME PATH CTA - PREMIUM SWIPE BUTTONS
========================================================= */

.premium-path-card .path-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 260px !important;
  min-height: 48px !important;
  padding: 13px 28px !important;
  margin-top: 2px !important;

  border: 1px solid rgba(20,20,20,.28) !important;
  border-radius: 999px !important;
  background: #111 !important;
  color: #fff !important;

  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: .02em !important;
  text-decoration: none !important;
  text-shadow: none !important;

  box-shadow: 0 16px 34px rgba(0,0,0,.16) !important;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.premium-path-card .path-link span {
  display: none !important;
}

.premium-path-card .path-link::before,
.premium-path-card .path-link::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  opacity: .95;
  transition: transform .25s ease, opacity .25s ease;
}

/* South Africa: arrows move to the left */
.premium-path-grid .premium-path-card:first-child .path-link {
  padding-left: 44px !important;
  padding-right: 24px !important;
}

.premium-path-grid .premium-path-card:first-child .path-link::before {
  content: "‹";
  left: 22px;
}

.premium-path-grid .premium-path-card:first-child .path-link::after {
  content: "‹";
  left: 31px;
  opacity: .55;
}

/* Worldwide: arrows move to the right */
.premium-path-grid .premium-path-card:last-child .path-link {
  padding-left: 24px !important;
  padding-right: 44px !important;
}

.premium-path-grid .premium-path-card:last-child .path-link::before {
  content: "›";
  right: 22px;
}

.premium-path-grid .premium-path-card:last-child .path-link::after {
  content: "›";
  right: 31px;
  opacity: .55;
}

.premium-path-card .path-link:hover {
  background: #000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 44px rgba(0,0,0,.22) !important;
}

.premium-path-grid .premium-path-card:first-child .path-link:hover::before,
.premium-path-grid .premium-path-card:first-child .path-link:hover::after {
  transform: translate(-7px, -50%);
}

.premium-path-grid .premium-path-card:last-child .path-link:hover::before,
.premium-path-grid .premium-path-card:last-child .path-link:hover::after {
  transform: translate(7px, -50%);
}

@media (max-width: 768px) {
  .premium-path-card .path-link {
    min-width: 235px !important;
    width: auto !important;
  }
}

/* همه کارت‌ها هم‌ارتفاع */
.premium-path-card {
    display: flex;
    flex-direction: column;
}

/* محتوای کارت کل ارتفاع را پر کند */
.premium-path-card .path-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* تگ‌ها جای خودشان */
.premium-path-card .path-points {
    margin-bottom: 40px;
}

/* دکمه همیشه به کف کارت برود */
.premium-path-card .path-link {
    margin-top: auto !important;
    align-self: center;
}
