:root {
  --ink: #182026;
  --muted: #63717d;
  --line: #d9e2e8;
  --paper: #fffdf9;
  --soft: #eef5f3;
  --brand: #0b6b63;
  --brand-dark: #064640;
  --accent: #d88a2d;
  --accent-dark: #a75e16;
  --shadow: 0 18px 45px rgba(18, 32, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Tajawal", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  padding: 18px clamp(18px, 5vw, 64px);
}

.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 16px;
  color: #fff;
  background: rgba(10, 28, 31, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.package-meta,
.package-footer,
.contact-details {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--brand-dark);
  background: #fff;
}

.brand-logo {
  display: none;
  width: 38px;
  height: 38px;
  object-fit: cover;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
}

.brand.has-logo .brand-mark {
  display: none;
}

.brand.has-logo .brand-logo {
  display: block;
}

.nav-links {
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-weight: 700;
}

.nav-links a {
  opacity: 0.9;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  opacity: 1;
}

.nav-cta {
  padding: 10px 18px;
  color: var(--ink);
  font-weight: 800;
  background: #fff;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-content: end;
  padding: 150px clamp(18px, 5vw, 64px) 42px;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    url("https://images.unsplash.com/photo-1539650116574-75c0c6d73f6e?auto=format&fit=crop&w=1900&q=85")
    center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 20, 23, 0.34), rgba(5, 20, 23, 0.8)),
    linear-gradient(0deg, rgba(5, 20, 23, 0.64), rgba(5, 20, 23, 0.04) 58%);
}

.hero-content,
.booking-bar {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-content {
  padding-bottom: 34px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 630px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
.button.search {
  color: #fff;
  background: var(--brand);
}

.button.primary:hover,
.button.search:hover {
  background: var(--brand-dark);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.button.secondary {
  color: var(--brand-dark);
  background: var(--soft);
  border: 1px solid var(--line);
}

.button.secondary:hover {
  background: #dfece9;
}

.booking-bar {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.8fr auto;
  gap: 12px;
  padding: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 107, 99, 0.12);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.stats-band div {
  padding: 28px 20px;
  text-align: center;
  background: #fff;
}

.stats-band strong {
  display: block;
  color: var(--brand);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1;
}

.stats-band span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.contact-section {
  padding: 76px clamp(18px, 5vw, 64px);
}

.section-heading,
.destination-grid,
.package-grid,
.service-list,
.contact-section {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.destination-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, minmax(210px, 1fr));
  gap: 16px;
}

.destination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1180px, 100%);
  margin: 18px auto 0;
}

.destination-list span {
  padding: 9px 14px;
  color: var(--brand-dark);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.section-note {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.visa-section {
  background: #fff;
}

.visa-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.visa-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(18, 32, 38, 0.08);
}

.visa-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.visa-body {
  padding: 16px;
}

.visa-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.visa-tag.local {
  color: var(--brand-dark);
  background: #dfece9;
}

.visa-card h3 {
  margin: 12px 0 6px;
  font-size: 1.26rem;
}

.visa-card p {
  min-height: 76px;
  margin: 0;
  color: var(--muted);
}

.planner-section {
  background:
    linear-gradient(rgba(255, 253, 249, 0.94), rgba(255, 253, 249, 0.94)),
    url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1600&q=80")
    center / cover fixed;
}

.planner-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 18px;
  width: min(1180px, 100%);
  margin-inline: auto;
  align-items: start;
}

.planner-form,
.planner-output {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.planner-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
}

.planner-form label {
  display: block;
}

.planner-wide,
.planner-actions,
.planner-form .form-status {
  grid-column: 1 / -1;
}

.planner-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.planner-actions .button {
  width: 100%;
  padding-inline: 12px;
}

.planner-output {
  min-height: 430px;
  padding: 20px;
}

.planner-empty {
  display: grid;
  min-height: 380px;
  place-items: center;
  align-content: center;
  text-align: center;
  color: var(--muted);
}

.planner-empty h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.45rem;
}

.itinerary-header {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.itinerary-cover {
  position: relative;
  min-height: 260px;
  display: grid;
  align-content: end;
  overflow: hidden;
  margin-bottom: 16px;
  color: #fff;
  border-radius: 8px;
}

.itinerary-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.itinerary-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 20, 23, 0.82), rgba(5, 20, 23, 0.12) 70%);
}

.cover-content {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.cover-content h3 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.cover-content p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.cover-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.cover-times span {
  padding: 7px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

.itinerary-header h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.itinerary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.itinerary-meta span {
  padding: 6px 10px;
  color: var(--brand-dark);
  background: var(--soft);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

.day-list {
  display: grid;
  gap: 12px;
}

.day-card {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.day-card h4 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 1.18rem;
}

.day-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.day-card li {
  color: var(--muted);
}

.day-card strong {
  color: var(--ink);
}

.timeline-list {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-item img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  background: var(--soft);
  border-radius: 8px;
}

.timeline-content time {
  display: inline-flex;
  min-width: 64px;
  justify-content: center;
  padding: 4px 9px;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  font-weight: 800;
}

.timeline-content h5 {
  margin: 8px 0 4px;
  font-size: 1.08rem;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
}

.timeline-content span {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.9rem;
}

.planner-tips {
  margin-top: 14px;
  padding: 14px;
  color: var(--brand-dark);
  background: #dfece9;
  border-radius: 8px;
  font-weight: 800;
}

.print-brand {
  display: none;
}

.destination-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.destination-tile.large {
  grid-row: 1 / 3;
}

.destination-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.destination-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 17, 20, 0.72), rgba(5, 17, 20, 0.02) 62%);
}

.destination-tile:hover img {
  transform: scale(1.06);
}

.destination-tile div {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: #fff;
}

.destination-tile span {
  color: #ffd9a9;
  font-weight: 800;
}

.destination-tile h3 {
  margin: 2px 0 0;
  font-size: 1.6rem;
}

.toned {
  background: var(--soft);
}

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

.filter-button {
  min-height: 40px;
  padding: 8px 14px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.filter-button.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.package-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 30, 35, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(18, 32, 38, 0.08);
}

.package-card.hidden {
  display: none;
}

.package-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.package-body {
  padding: 18px;
}

.package-meta {
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.package-card h3 {
  margin: 10px 0 6px;
  font-size: 1.35rem;
}

.package-card p {
  margin: 0;
  color: var(--muted);
  min-height: 76px;
}

.package-footer {
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.package-footer strong {
  color: var(--brand-dark);
  white-space: nowrap;
}

.text-button {
  color: var(--accent-dark);
  background: transparent;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.services {
  background:
    linear-gradient(rgba(255, 253, 249, 0.92), rgba(255, 253, 249, 0.92)),
    url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1600&q=80")
    center / cover fixed;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-list article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-weight: 800;
}

.service-list h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.service-list p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
}

.contact-details {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-details a {
  padding: 10px 14px;
  color: var(--brand-dark);
  background: var(--soft);
  border-radius: 999px;
  font-weight: 800;
}

.contact-form {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 14px;
}

.admin-panel {
  padding: 70px clamp(18px, 5vw, 64px);
  background: var(--soft);
}

.admin-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 58px);
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: start;
}

.admin-shell h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
}

.admin-shell p:not(.eyebrow) {
  max-width: 480px;
  color: var(--muted);
}

.admin-form {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-form label {
  display: block;
  margin-bottom: 14px;
}

.admin-group h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.admin-divider {
  height: 1px;
  margin: 24px 0;
  background: var(--line);
}

.admin-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 6px 0 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.logo-preview {
  display: none;
  width: 92px;
  height: 92px;
  object-fit: cover;
  margin: 6px 0 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.logo-preview.has-image {
  display: block;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.button.full {
  width: 100%;
}

.form-status {
  min-height: 28px;
  margin: 12px 0 0;
  color: var(--brand-dark);
  font-weight: 800;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: #fff;
  background: var(--brand-dark);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1000px) {
  .navbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding-top: 8px;
  }

  .nav-links.open a {
    padding: 10px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .booking-bar,
  .package-grid,
  .visa-grid,
  .planner-shell,
  .admin-shell,
  .contact-section {
    grid-template-columns: 1fr 1fr;
  }

  .booking-bar .search {
    grid-column: 1 / -1;
  }

  .section-heading.split {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding: 118px 16px 26px;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.5rem);
  }

  .booking-bar,
  .stats-band,
  .destination-grid,
  .package-grid,
  .visa-grid,
  .planner-shell,
  .service-list,
  .admin-shell,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .destination-grid {
    grid-template-rows: none;
  }

  .destination-tile.large {
    grid-row: auto;
  }

  .section,
  .contact-section {
    padding: 54px 16px;
  }

  .package-card p {
    min-height: auto;
  }

  .visa-card p {
    min-height: auto;
  }

  .planner-form,
  .planner-actions {
    grid-template-columns: 1fr;
  }

  .planner-output {
    min-height: auto;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item img {
    height: 180px;
  }

  .contact-form {
    padding: 18px;
  }

  .form-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media print {
  body {
    background: #fff;
  }

  body * {
    visibility: hidden;
  }

  .planner-output,
  .planner-output * {
    visibility: visible;
  }

  .planner-output {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    min-height: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
