/* ===== Fonts ===== */
@font-face {
  font-family: 'DanaFa';
  src: url('../fonts/dana-fanum-regular.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ===== Reset & Variables ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #3efd0d;
  --green-dark: #34d60a;
  --green-light: rgba(62, 253, 13, 0.12);
  --navy: #0d2846;
  --navy-2: #163b60;
  --navy-3: #1d5182;
  --bg: #0f3050;
  --bg-alt: #133a5e;
  --surface: #17436d;
  --surface-2: #1f5280;
  --text: #eef4fb;
  --muted: #90a4bd;
  --bg-soft: var(--bg-alt);
  --border: rgba(255, 255, 255, 0.09);
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --glow: 0 8px 24px rgba(62, 253, 13, 0.28);
  --glow-lg: 0 12px 34px rgba(62, 253, 13, 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DanaFa', Tahoma, sans-serif;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 44px;
}
.section-head h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.section-head p {
  color: var(--muted);
  font-size: 15px;
}

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
  background: var(--green-light);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
  border: 1px solid rgba(62, 253, 13, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #04170b;
  box-shadow: var(--glow);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--glow-lg); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-block { width: 100%; }
.btn-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); box-shadow: var(--shadow);
  flex-shrink: 0;
}

.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Topbar ===== */
.topbar {
  background: var(--navy);
  color: #cfe0ee;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-info { display: flex; align-items: center; gap: 6px; }
.topbar-info .icon { width: 14px; height: 14px; }
.topbar-social { display: flex; align-items: center; gap: 10px; }
.topbar-social a {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.topbar-social a:hover { background: var(--green); color: #04170b; }
.topbar-social .icon { width: 13px; height: 13px; }
.topbar-right a { color: #cfe0ee; transition: color .2s; }
.topbar-right a:hover { color: var(--green); }
.topbar-right span { opacity: .5; margin: 0 6px; }
.lang-switch {
  border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 4px 14px;
  font-size: 12px; font-weight: 600; color: #cfe0ee; transition: all .2s;
}
.lang-switch:hover { border-color: var(--green); color: var(--green); }

@media (max-width: 720px) {
  .topbar-info span:last-child { display: none; }
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
  flex-shrink: 0;
}
.logo .logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(62,253,13,.25));
}
.logo span.accent { color: var(--green); }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--green); }
.nav a.active::after {
  content: '';
  position: absolute;
  right: 0; left: 0; bottom: -2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(62,253,13,.7);
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text);
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: 78px 0 0 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 24px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { width: 100%; padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .nav a.btn-primary { color: #04170b; border-bottom: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn-primary.hide-mobile { display: none; }
}
@media (min-width: 981px) {
  .hide-desktop { display: none; }
}

/* ===== Hero ===== */
.hero {
  background: var(--bg);
  padding: 28px 0 8px;
}

.hero-tagline-wrap { display: flex; justify-content: center; padding: 6px 0 24px; }
.hero-tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 14px 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--green-light) 0%, rgba(62,253,13,.04) 100%);
  box-shadow: var(--glow);
}
.hero-tagline span:not(.hero-tagline-divider) {
  background: linear-gradient(90deg, var(--green) 0%, #7dffb0 50%, var(--green) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroTaglineShine 5s linear infinite;
}
.hero-tagline-divider { color: var(--green); font-size: 14px; }
@keyframes heroTaglineShine { to { background-position: 200% center; } }
@media (max-width: 600px) { .hero-tagline { font-size: 17px; gap: 8px; padding: 10px 20px; } }

/* Framed, rounded, inset image slider — no text on top of it */
.hero-slider {
  position: relative;
  height: var(--hero-height, 460px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 44px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slider::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,12,22,.55) 0%, rgba(4,12,22,0) 28%);
  pointer-events: none;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background .2s;
}
.hero-nav:hover { background: var(--green); color: #04170b; }
.hero-nav.prev { left: 18px; }
.hero-nav.next { right: 18px; }

.hero-dots {
  position: absolute;
  bottom: 18px;
  right: 50%;
  transform: translateX(50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45);
  transition: all .2s;
}
.hero-dots button.active { background: var(--green); width: 22px; border-radius: 5px; box-shadow: 0 0 8px rgba(62,253,13,.8); }

/* Category chips below the slider — flexbox so a short last row centers itself */
.hero-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding-bottom: 50px;
}
.category-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  flex: 0 1 calc((100% - 4 * 16px) / 5);
  background: var(--surface);
  border: 1.5px solid rgba(62, 253, 13, .4);
  border-radius: 16px;
  padding: 20px 10px;
  box-shadow: var(--glow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-chip:hover,
.category-chip.active {
  border-color: var(--green);
  box-shadow: var(--glow-lg);
  transform: translateY(-3px);
}
.category-chip-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.category-chip-icon .icon { width: 21px; height: 21px; }
.category-chip span:last-child { font-size: 12.5px; font-weight: 700; color: var(--text); }

@media (max-width: 980px) {
  .category-chip { flex-basis: calc((100% - 2 * 16px) / 3); }
}
@media (max-width: 720px) {
  .hero-slider { height: 220px; border-radius: 18px; margin-bottom: 30px; }
  .hero-categories { gap: 10px; padding-bottom: 36px; }
  .category-chip { flex-basis: calc((100% - 2 * 10px) / 3); padding: 14px 6px; border-radius: 13px; }
  .category-chip-icon { width: 34px; height: 34px; }
  .category-chip-icon .icon { width: 17px; height: 17px; }
  .category-chip span:last-child { font-size: 11px; }
  .hero-nav { display: none; }
}
@media (max-width: 480px) {
  .hero-slider { height: 170px; border-radius: 14px; margin-bottom: 22px; }
  .category-chip { flex-basis: calc((100% - 10px) / 2); padding: 12px 8px; }
  .hero-categories { gap: 10px; padding-bottom: 30px; }
}

/* ===== Search Card ===== */
.search-wrap {
  position: relative;
  z-index: 5;
  margin-top: -24px;
  margin-bottom: 70px;
}
.search-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr auto;
  gap: 0;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 20px;
  border-left: 1px solid var(--border);
}
.search-field:first-child { padding-right: 4px; }
.search-field .icon { color: var(--green); flex-shrink: 0; }
.search-field .f-label { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.search-field input, .search-field select {
  border: none; outline: none; font-size: 14px; font-weight: 600; color: var(--text);
  background: transparent; width: 100%; font-family: inherit;
}
.search-field input::placeholder { color: var(--text); font-weight: 600; opacity: .55; }
.search-submit { display: flex; align-items: center; padding-right: 16px; }
.search-submit .btn { padding: 15px 30px; }

@media (max-width: 980px) {
  .search-card { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .search-field { border-left: none; border-bottom: 1px solid var(--border); padding: 10px 8px; }
  .search-submit { grid-column: span 2; padding: 6px 8px 0; }
}
@media (max-width: 560px) {
  .search-card { grid-template-columns: 1fr; }
  .search-submit { grid-column: span 1; }
}

/* ===== Destinations ===== */
.destinations { padding: 90px 0 60px; background: var(--bg); }
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dest-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(62,253,13,.35); }
.dest-media { position: relative; height: 190px; overflow: hidden; }
.dest-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dest-card:hover .dest-media img { transform: scale(1.08); }
.dest-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 11.5px; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
  color: #fff;
}
.badge-domestic { background: var(--green); color: #04170b; }
.badge-intl { background: #2e7bc4; }
.dest-body { padding: 16px 18px 20px; }
.dest-body h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.dest-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.dest-meta .icon { width: 15px; height: 15px; }
.dest-price { font-size: 14.5px; font-weight: 700; color: var(--green); }
.dest-price span { font-weight: 400; color: var(--muted); font-size: 12.5px; margin-right: 3px; }

.section-cta { text-align: center; margin-top: 40px; }

@media (max-width: 980px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dest-grid { grid-template-columns: 1fr; } }

/* ===== Calendar Section ===== */
.calendar-section { background: var(--bg-alt); padding: 90px 0; }
.calendar-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;
}
.cal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.cal-head h4 { font-size: 16px; font-weight: 700; color: var(--text); }
.cal-head .cal-nav { display: flex; gap: 8px; }
.cal-head .cal-nav button, .cal-head .cal-nav a {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: background .2s, color .2s;
}
.cal-head .cal-nav button:hover, .cal-head .cal-nav a:hover { background: var(--green-light); color: var(--green); }
.cal-head .cal-nav .icon { width: 16px; height: 16px; }

.cal-table { width: 100%; border-collapse: collapse; }
.cal-table th {
  font-size: 12px; color: var(--muted); font-weight: 600; padding-bottom: 10px;
}
.cal-table td {
  text-align: center; font-size: 13.5px; padding: 8px 0; color: var(--text);
  position: relative;
}
.cal-table td.muted { color: #3d5573; }
.cal-table td.today {
  background: var(--green); color: #04170b; border-radius: 50%; font-weight: 700;
  box-shadow: 0 0 12px rgba(62,253,13,.6);
}
.cal-table td.has-event::after {
  content: ''; position: absolute; bottom: 2px; right: 50%; transform: translateX(50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--green);
}
.cal-table td.today.has-event::after { background: #04170b; }
.cal-table td.holiday { color: #ff5c5c; font-weight: 700; }
.cal-table td.holiday.today { color: #04170b; }

.cal-holiday-list { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; max-height: 160px; overflow-y: auto; padding-inline-end: 4px; }
.cal-holiday-item { font-size: 12.5px; color: #ff5c5c; display: flex; gap: 6px; }
.cal-holiday-day { font-weight: 700; flex-shrink: 0; }

.trip-list { display: flex; flex-direction: column; gap: 14px; }
.trip-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px; box-shadow: var(--shadow);
}
.trip-item img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.trip-info { flex: 1; min-width: 0; }
.trip-info h4 { font-size: 15.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.trip-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12.5px; }
.trip-meta span { display: flex; align-items: center; gap: 5px; }
.trip-meta .icon { width: 14px; height: 14px; }
.trip-item .btn { flex-shrink: 0; padding: 10px 20px; font-size: 13px; }

@media (max-width: 900px) {
  .calendar-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .trip-item { flex-wrap: wrap; }
  .trip-item .btn { width: 100%; }
}

/* Bigger main calendar, smaller trip list beside it — both form one matching-height rectangle */
.calendar-grid-big { grid-template-columns: 1fr 300px; align-items: stretch; }
.cal-card-big { padding: 30px; display: flex; flex-direction: column; }
.cal-table-big th { font-size: 13.5px; padding-bottom: 14px; }
.cal-table-big td { font-size: 16px; padding: 20px 0; }
.cal-table-big td.clickable { cursor: pointer; transition: background .15s; border-radius: 8px; }
.cal-table-big td.clickable:hover { background: var(--surface-2); }
.cal-table-big td.today { border-radius: 10px; }

.trip-list-small {
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  height: 100%;
  overflow-y: auto;
}
.trip-list-heading { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.trip-item-small { padding: 10px; gap: 10px; flex-wrap: wrap; background: var(--bg-alt); }
.trip-item-small img { width: 52px; height: 52px; }
.trip-item-small .trip-info h4 { font-size: 13px; margin-bottom: 4px; }
.trip-item-small .trip-meta { font-size: 11px; gap: 6px; flex-direction: column; align-items: flex-start; }
.btn-sm { padding: 8px 14px !important; font-size: 12px !important; width: 100%; }
@media (max-width: 900px) {
  .calendar-grid-big { grid-template-columns: 1fr; }
  .trip-list-small { height: auto; }
}

/* ===== Why Us ===== */
.why-us { background: var(--bg); padding: 90px 0; }
.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.why-item { text-align: center; flex: 0 1 calc((100% - 4 * 24px) / 5); }
.why-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; color: var(--green);
}
.why-icon .icon { width: 30px; height: 30px; }
.why-item h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.why-item p { font-size: 13px; color: var(--muted); line-height: 1.8; }

@media (max-width: 980px) { .why-item { flex-basis: calc((100% - 2 * 20px) / 3); } .why-grid { gap: 32px 20px; } }
@media (max-width: 600px) { .why-item { flex-basis: calc((100% - 24px) / 2); } }

/* ===== Testimonials ===== */
.testimonials { padding: 90px 0; background: var(--bg-alt); }
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.test-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.test-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(62,253,13,.35); }
.test-quote-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.test-quote-icon .icon { width: 18px; height: 18px; }
.test-card p.quote { font-size: 14.5px; line-height: 2; color: var(--text); margin-bottom: 22px; min-height: 100px; }
.test-person { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.test-person h5 { font-size: 14.5px; font-weight: 700; color: var(--text); }
.test-person span { font-size: 12.5px; color: var(--muted); }

.test-dots { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.test-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all .2s; }
.test-dots button.active { background: var(--green); width: 22px; border-radius: 5px; box-shadow: 0 0 8px rgba(62,253,13,.7); }

@media (max-width: 900px) { .test-grid { grid-template-columns: 1fr; } }

/* ===== Newsletter ===== */
.newsletter {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  padding: 70px 0;
  color: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-decor {
  position: absolute; inset: 0;
  opacity: .5;
  pointer-events: none;
}
.newsletter-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.newsletter-text h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.newsletter-text p { color: #b9cbdd; font-size: 14.5px; }
.newsletter-form {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  gap: 6px;
  min-width: 380px;
}
.newsletter-form input {
  flex: 1; border: none; outline: none; padding: 0 16px; font-size: 14px; border-radius: 8px;
  color: var(--text); background: transparent;
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form .btn { padding: 13px 24px; }

@media (max-width: 720px) {
  .newsletter-form { min-width: 0; width: 100%; }
  .newsletter-inner { flex-direction: column; text-align: center; }
}

/* ===== Footer ===== */
.footer { background: var(--navy); color: #9fb4c8; padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--border);
}
.footer h5 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.footer p.desc { font-size: 13.5px; line-height: 2; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--green); color: #04170b; }
.footer-social .icon { width: 15px; height: 15px; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { font-size: 13.5px; transition: color .2s; }
.footer ul li a:hover { color: var(--green); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.8; margin-bottom: 16px; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--green); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; font-size: 12.5px; flex-wrap: wrap; gap: 10px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== Utility ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.back-to-top {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #04170b;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease;
  z-index: 60;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== Flash messages ===== */
.flash {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
}
.flash-success { background: var(--green-light); color: var(--green); border-color: rgba(62,253,13,.3); }
.flash-error { background: rgba(255,80,80,.1); color: #ff8080; border-color: rgba(255,80,80,.3); }

/* ===== Auth pages ===== */
.auth-section { padding: 70px 0 90px; }
.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
}
.auth-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; text-align: center; }
.auth-card p.sub { color: var(--muted); font-size: 13.5px; text-align: center; margin-bottom: 26px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.form-control {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.form-control:focus { border-color: var(--green); }
input[type="number"].form-control { text-align: center; }
select.form-control.birth-select { width: auto; flex: 1; min-width: 0; }
.birth-date-row { display: flex; gap: 8px; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-error { color: #ff8080; font-size: 12.5px; margin-top: 5px; }
.auth-foot { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.auth-foot a { color: var(--green); font-weight: 600; }

/* ===== Generic page header (tours/blog listing) ===== */
.page-head { padding: 60px 0 20px; text-align: center; }
.page-head h1 { font-size: 32px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.page-head p { color: var(--muted); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding-bottom: 40px; }
.filter-chip {
  padding: 9px 18px; border-radius: 30px; font-size: 13px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: all .2s;
}
.filter-chip:hover, .filter-chip.active { border-color: var(--green); color: var(--green); box-shadow: var(--glow); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ===== Tour detail ===== */
.tour-hero { position: relative; height: 360px; border-radius: var(--radius); overflow: hidden; margin: 30px 0 40px; }
.tour-hero img { width: 100%; height: 100%; object-fit: cover; }
.tour-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 34px; padding-bottom: 90px; align-items: start; }
.tour-detail-main h1 { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.tour-detail-main .desc { color: var(--muted); line-height: 2; margin-bottom: 26px; white-space: pre-line; }
.tour-facts { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.tour-fact { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 18px; font-size: 13px; display: flex; align-items: center; gap: 8px; color: var(--text); }
.tour-departures-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.tour-departure-row { display: flex; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; font-size: 13.5px; }
.seats-badge { display: inline-block; font-size: 15px; font-weight: 800; color: var(--green); background: var(--green-light); border-radius: 8px; padding: 6px 14px; }
.seats-badge-full { color: #ff8080; background: rgba(255, 92, 92, 0.12); }
.responsibility-note { margin-top: 16px; border: 1px solid #ff5c5c; color: #ff8080; text-align: center; font-weight: 600; font-size: 11.5px; padding: 6px 10px; border-radius: 8px; opacity: .85; }
.booking-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); position: sticky; top: 100px; }
.booking-card .price { font-size: 24px; font-weight: 800; color: var(--green); margin-bottom: 4px; }
.booking-card .price span { font-size: 13px; color: var(--muted); font-weight: 400; }
.price-breakdown { font-size: 12.5px; color: var(--muted); background: var(--bg-alt); border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; display: none; }
.price-breakdown.show { display: block; }
.price-breakdown .row { display: flex; justify-content: space-between; padding: 3px 0; }
.price-breakdown .row.total { color: var(--text); font-weight: 800; border-top: 1px solid var(--border); margin-top: 4px; padding-top: 6px; }
.sticky-price-bar { position: fixed; bottom: 0; right: 0; left: 0; z-index: 90; background: var(--navy); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(0,0,0,.35); padding: 10px 16px; display: none; }
.sticky-price-bar.show { display: block; }
.sticky-price-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.sticky-price-bar-inner > div { font-size: 16px; font-weight: 800; color: var(--green); }
.sticky-price-bar-inner span { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-right: 4px; }
.sticky-price-bar-inner .split-item { display: inline-flex; flex-direction: column; align-items: center; font-size: 13px; }
.sticky-price-bar-inner .split-item small { font-size: 10.5px; color: var(--muted); font-weight: 400; }
.form-group.shake-error { animation: shakeError .4s; }
.form-group.shake-error label { color: #ff5c5c !important; }
@keyframes shakeError { 0%,100%{transform:translateX(0);} 20%{transform:translateX(-6px);} 40%{transform:translateX(6px);} 60%{transform:translateX(-4px);} 80%{transform:translateX(4px);} }

@media (max-width: 900px) {
  .tour-detail-grid { grid-template-columns: 1fr; }
  .booking-card { position: static; }
}

/* ===== Blog ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 90px; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-body { padding: 18px; }
.blog-card-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.blog-card-body p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.blog-card-body .date { font-size: 12px; color: var(--green); margin-top: 12px; display: block; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-detail { max-width: 780px; margin: 0 auto; padding: 40px 0 90px; }
.blog-detail img { width: 100%; border-radius: var(--radius); margin-bottom: 26px; }
.blog-detail h1 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.blog-detail .date { color: var(--green); font-size: 13px; margin-bottom: 24px; display: block; }
.blog-detail .body { color: var(--text); line-height: 2.1; white-space: pre-line; }

/* ===== Booking form extras ===== */
.grid-2-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.passenger-count-field { position: relative; }
.passenger-count-field input { padding-left: 46px; }
.passenger-count-field .unit-suffix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 12.5px; pointer-events: none; }
.passenger-block { border: 1px dashed var(--border); border-radius: 12px; padding: 16px; margin-bottom: 16px; background: var(--bg-alt); }
.passenger-block-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.passenger-block-title .unit-suffix { color: var(--muted); font-weight: 400; font-size: 12px; margin-right: 4px; }

/* ===== Trip modal ===== */
.trip-modal-overlay {
  position: fixed; inset: 0; background: rgba(4,12,22,.7); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.trip-modal-overlay.open { display: flex; }
.trip-modal {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  max-width: 420px; width: 100%; overflow: hidden; box-shadow: var(--shadow-lg);
}
.trip-modal img { width: 100%; height: 160px; object-fit: cover; }
.trip-modal-body { padding: 22px; }
.trip-modal-body h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.trip-modal-body .trip-modal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; font-size: 12.5px; color: var(--muted); }
.trip-modal-body .trip-modal-meta span { background: var(--bg-alt); border-radius: 8px; padding: 6px 10px; }
.trip-modal-close { position: absolute; top: 14px; left: 14px; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; display: flex; align-items: center; justify-content: center; }

.contract-preview { width: 100%; max-width: 320px; border-radius: 10px; border: 1px solid var(--border); cursor: zoom-in; display: block; }
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(4,12,22,.9); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 90vh; border-radius: 10px; }
.lightbox-overlay .trip-modal-close { top: 20px; left: 20px; background: rgba(255,255,255,.15); }
.trip-modal-empty { text-align: center; padding: 40px 22px; color: var(--muted); }

/* ===== Custom trip section ===== */
.custom-trip-section { padding: 90px 0; background: var(--bg-alt); }
.custom-trip-card {
  max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; text-align: center; box-shadow: var(--shadow);
}
.custom-trip-card p.lead { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.custom-trip-form { display: none; text-align: right; margin-top: 24px; }
.custom-trip-form.open { display: block; }

/* ===== Travel-knowledge chip list ===== */
.knowledge-chip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.knowledge-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 30px; padding: 10px 18px 10px 20px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
  transition: all .2s; cursor: pointer; font-family: inherit;
}
.knowledge-chip:hover, .knowledge-chip.active { border-color: var(--green); color: var(--green); box-shadow: var(--glow); transform: translateY(-2px); }
.knowledge-chip-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.knowledge-modal-overlay {
  position: fixed; inset: 0; background: rgba(4,12,22,.7); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.knowledge-modal-overlay.open { display: flex; }
.knowledge-modal {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  max-width: 560px; width: 100%; overflow: hidden; box-shadow: var(--shadow-lg);
  max-height: 85vh; position: relative;
}
.knowledge-modal-body { display: flex; direction: ltr; max-height: 85vh; }
.knowledge-card-image-wrap { width: 200px; flex-shrink: 0; aspect-ratio: 1/1; overflow: hidden; align-self: flex-start; }
.knowledge-card-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.knowledge-card-text { direction: rtl; flex: 1; min-width: 0; overflow-y: auto; padding: 20px; }
#knowledgeModalContent h4 { font-size: 16px; font-weight: 800; color: var(--green); margin-bottom: 10px; text-align: right; }
.knowledge-card-list { list-style: none; text-align: right; }
.knowledge-card-list li { position: relative; padding-right: 16px; margin-bottom: 10px; font-size: 13.5px; color: var(--text); line-height: 1.8; }
.knowledge-card-list li::before { content: "—"; position: absolute; right: 0; color: var(--green); }
@media (max-width: 560px) {
  .knowledge-modal-body { flex-direction: column; overflow-y: auto; }
  .knowledge-card-image-wrap { width: 100%; aspect-ratio: 16/9; }
}
.knowledge-chip-icon .icon { width: 14px; height: 14px; }
