/* =========================================================
   Sinai Horizon Tours — Shared Stylesheet
   Loaded on every page, on top of the Tailwind CDN utilities.
   ========================================================= */

body {
  font-family: 'Inter', 'Cairo', sans-serif;
  scroll-behavior: smooth;
}

[dir="rtl"] body {
  font-family: 'Cairo', 'Inter', sans-serif;
}

/* ---- Hero slider (index page) ---- */
.hero-slide {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* ---- Shared shadows / hovers ---- */
.custom-shadow {
  box-shadow: 0 10px 30px -5px rgba(0, 168, 150, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0, 168, 150, 0.2);
}

/* ---- Seat availability badges ---- */
.seat-badge-plenty { background-color: rgba(0, 168, 150, 0.12); color: rgb(4 156 203); }
.seat-badge-low    { background-color: rgba(245, 158, 11, 0.14); color: #b45309; }
.seat-badge-full   { background-color: rgba(220, 38, 38, 0.10); color: #b91c1c; }

/* ---- Booking stepper (booking.html) ---- */
.step-dot {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid #E6DFD3;
  color: #172A45;
  background: #FAFAF7;
  transition: all 0.25s ease;
}
.step-dot.active {
  background: rgb(4 156 203);
  border-color: rgb(4 156 203);
  color: #fff;
}
.step-dot.done {
  background: #0A192F;
  border-color: #0A192F;
  color: #fff;
}
.step-line {
  flex: 1;
  height: 2px;
  background: #E6DFD3;
}
.step-line.done { background: #0A192F; }

.booking-panel {
  display: none;
}
.booking-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Selectable option cards (trip/date/hotel selection) ---- */
.option-card {
  cursor: pointer;
  border: 2px solid #E6DFD3;
  transition: all 0.2s ease;
}
.option-card:hover {
  border-color: rgb(4 156 203);
}
.option-card.selected {
  border-color: rgb(4 156 203);
  background-color: rgba(0, 168, 150, 0.06);
  box-shadow: 0 8px 20px -6px rgba(0, 168, 150, 0.25);
}
.option-card.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---- Mobile nav ---- */
#mobileMenu { display: none; }
#mobileMenu.open { display: block; }

/* ---- Utility: line clamp fallback ---- */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 767px) {
    .py-3 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}


.px-6 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
}
