:root {
  /* Default = DARK (نفس Alabama Garage) */
  --bg: #0f172a;
  --page: #0b1020;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --text: #e5e7eb;
  --muted: rgba(229, 231, 235, 0.75);

  --g1: rgba(99, 102, 241, 1);
  --g2: rgba(168, 85, 247, 1);
}

html[data-theme="light"] {
  --bg: #ffffff;
  --page: #f6f7fb;
  --card: rgba(15, 23, 42, 0.06);
  --border: rgba(15, 23, 42, 0.12);
  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.70);

  --g1: rgba(37, 99, 235, 1);
  --g2: rgba(124, 58, 237, 1);
}

body.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

section {
  scroll-margin-top: 90px;
}

/* Smooth theme transition */
html,
body,
.site-header,
.mobile-panel,
.icon-btn,
.btn,
.hero-overlay {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--page);
  color: var(--text);
}

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.left-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.logo-badge img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo span {
  color: var(--muted);
  font-weight: 800;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  padding: 10px 12px;
  border-radius: 12px;
  transition: 0.2s ease;
  opacity: 0.92;
}

.nav a:hover {
  background: var(--card);
  opacity: 1;
}
.icon-btn{
  padding: 5px !important;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
  color: var(--text);
  position: relative;
  user-select: none;
  padding: 0;
  line-height: 1;
}
.icon-btn svg{
  display: block;
  margin: 0;
}
/* center icon glyphs (font icons) inside icon button */
.icon-btn i{
  display: inline-block;
  line-height: 1;
  font-size: 18px;
  position: relative;
  top: 1px;
}

.icon-btn:hover {
  transform: translateY(-1px);
}

.btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  border-color: color-mix(in oklab, #fff 18%, transparent);
}

.btn.primary:hover {
  filter: brightness(1.03);
  background-color: black;

}

.btn.ghost {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  user-select: none;
  font-weight: 600;
}

/* Mobile */
.menu-btn {
  display: none;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
}

.mobile-panel-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 14px;
  display: grid;
  gap: 8px;
}

.mobile-panel a {
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 650;
  background: color-mix(in oklab, var(--card) 70%, transparent);
  border: 1px solid var(--border);
}

.mobile-panel a:hover {
  filter: brightness(1.05);
  color: var(--page);
}

.mobile-panel.open {
  display: block;
}

.mobile-cta {
  background: linear-gradient(135deg, var(--g1), var(--g2)) !important;
  color: #fff !important;
  border-color: color-mix(in oklab, #fff 18%, transparent) !important;
}

@media (max-width: 820px) {
  .logo span {
    display: none;
  }

  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .header-inner {
    justify-content: space-between;
  }

  .actions {
    margin-left: 0;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .header-inner{
    gap: 8px;
  }
  .icon-btn{
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .icon-btn i{
    font-size: 16px;
    top: 0;
  }
  .actions .btn.primary{
    padding: 10px 12px;
  }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: calc(100vh - 50px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transform: scale(1.04);
  transition:
  opacity 1.6s ease-in-out,
  transform 2.5s ease-in-out;
  will-change: opacity, transform;
  filter: saturate(1.02);
}

.hero-overlay {
  padding-top: 55em;

  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 20% 20%, color-mix(in oklab, var(--g1) 35%, transparent), transparent 60%),
    radial-gradient(900px 500px at 80% 30%, color-mix(in oklab, var(--g2) 25%, transparent), transparent 55%),
    linear-gradient(to bottom, rgba(10, 12, 25, 0.35), rgba(10, 12, 25, 0.85));
}

html[data-theme="light"] .hero-overlay {
  background:
    radial-gradient(1200px 600px at 20% 20%, color-mix(in oklab, var(--g1) 22%, transparent), transparent 60%),
    radial-gradient(900px 500px at 80% 30%, color-mix(in oklab, var(--g2) 18%, transparent), transparent 55%),
    linear-gradient(to bottom, rgba(90, 83, 83, 0.25), rgba(255, 250, 250, 0.59));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  width: 100%;
  padding: 80px 16px 70px;
  text-align: left;
}

.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 70%, transparent);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 0 0 14px;
  letter-spacing: 0.5px;
  color: var(--text);
}

.hero-content p {
  max-width: 740px;
  margin: 0 0 22px;
  font-size: clamp(18px, 2vw, 18px);
  line-height: 1.7;
  color: var(--muted);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.proof {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;

}

.proof-card {
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 70%, transparent);
  font-weight: 500;
  color: var(--text);
}

@media (max-width: 720px) {
  .hero-content {
    padding: 60px 16px 55px;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

/* ======= OUR TRAILER (Luxury) ======= */
.trailers-section {
  padding: 100px 20px;
  background: var(--page);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* خلفية خفيفة فخمة */
.trailers-section { position: relative; overflow: hidden; }
.trailers-section::before { inset: 0; transform: scale(1.12); }



/* عنوان السكشن */
.section-title {
  position: relative;
  margin: 0 0 50px;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--text);
}

.section-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
}

/* Grid */
.trailers-grid {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  justify-items: center;
}

/* Card */
.trailer-card {
  width: 100%;
  max-width: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: 0.25s ease;
  text-align: center;
  transition: 0.5s ease;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

/* Hover */
.trailer-card:hover {
  transform: translateY(-8px);
  cursor: pointer;
  scale: 1.1;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.38);
}

/* Image */
.trailer-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .6s ease;
}

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

/* Info */
.trailer-info {
  padding: 22px;
}

.trailer-info h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 850;
  color: var(--text);
}

.trailer-info p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 20px;
}

/* Price */
.price {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ======= ABOUT US (Luxury) ======= */
/* ======= ABOUT US (Luxury) ======= */
.about-simple {
  padding: 110px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(900px 600px at 0% 50%, rgba(140, 120, 255, 0.12), transparent 80%),
    radial-gradient(900px 600px at 100% 50%, rgba(140, 120, 255, 0.12), transparent 80%),
    linear-gradient(to bottom, var(--pageTop), var(--pageBottom));
}

.about-simple::before {
  content: "";
  position: absolute;
  inset: -120px;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at 20% 40%, rgba(140, 120, 255, 0.10), transparent 70%),
    radial-gradient(600px 400px at 80% 60%, rgba(140, 120, 255, 0.10), transparent 70%);
  filter: blur(60px);
  opacity: 0.8;
}

/* Title */
.about-title {
  position: relative;
  margin: 0 0 16px;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--text);
}

.about-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  opacity: 0.95;
}

.about-subtitle {
  position: relative;
  margin: 16px auto 42px;
  max-width: 820px;
  line-height: 1.85;
  color: var(--muted);
  font-size: 16px;
}

/* ✅ Grid centered like trailers */
.about-cards {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 34px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  gap: 20px;

  justify-content: center; /* ✅ يوسّط الشبكة */
  justify-items: center;   /* ✅ يوسّط الكروت داخلها */
}

/* Card */
.about-box {
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 78%, transparent);
  border-radius: 22px;
  padding: 18px 18px 20px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);

  width: 100%;
  max-width: 320px; /* ✅ نفس فكرة التريلر: الكرت له عرض لطيف */
  text-align: center;
}

/* Image (تركناها زي ما هي) */
.about-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.about-box:hover .about-img img {
  transform: scale(1.08);
}

/* Text */
.about-box h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.2px;
  text-align: left;
}

.about-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
  text-align: left;
}

/* CTA */
.about-cta {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 920px) {
  .about-cards {
    grid-template-columns: 1fr; /* كرت واحد بالنص */
    justify-items: center;
  }
}




/* ======= FOOTER ======= */
.site-footer { position: relative; overflow: hidden; }

.site-footer::before { inset: 0; transform: scale(1.12); }

.footer-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 22px;
  align-items: start;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  border: 1px solid color-mix(in oklab, #fff 18%, transparent);
}

.footer-name strong {
  display: block;
  font-size: 16px;
  letter-spacing: .2px;
  color: var(--text);
}

.footer-name span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-desc {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
}

.footer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-col h4 {
  margin: 8px 0 12px;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-col li {
  padding: 12px 12px;
  /* border-radius: 16px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 70%, transparent); */
}

.muted {
  display: block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.link {
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  opacity: .95;
}

.link:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
  padding: 10px;
}

.footer-mini {
  opacity: 0.9;
}

@media (max-width: 980px) {
  .footer-top {
    flex-direction: column;
    gap: 30px;
    padding: 10px;
  }
}

/* ==========Booking Bage=========== */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-hero {
  padding: 70px 0 40px;
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-hero-inner h1 {
  font-size: clamp(32px, 5vw, 54px);
  margin: 10px 0 10px;
}

.page-body {
  padding: 20px 0 70px;
}

.placeholder-box {
  border: 1px dashed var(--border);
  background: color-mix(in oklab, var(--card) 70%, transparent);
  border-radius: 18px;
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}

/* ===================== BOOK UI (same design as mockup) ===================== */
.book-ui {
  padding: 10px 0 70px;
}

.book-ui-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.book-card,
.summary-card {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 70%, transparent);
  backdrop-filter: blur(10px);
}
/* ===== Discount Price UI (Summary) ===== */
.summary-price{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

#priceOriginal{
  font-size: 16px;
  color: var(--muted);
}

#priceOriginal.discounted{
  text-decoration: line-through;
  opacity: 0.75;
}

#priceDiscounted{
  /* font-size: 25; */
  font-weight: 1000;
  color: #22c55e; /* green */
  line-height: 1;
}

.book-card {
  padding: 16px;
}

.book-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.book-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 1000;
  font-size: 16px;
}

.book-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 80%, transparent);
}

.book-block {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.book-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  color: color-mix(in oklab, var(--text) 80%, transparent);
}

.book-input,
.book-select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 80%, transparent);
  color: var(--text);
  outline: none;
  margin-bottom: 10px;
}

.book-input:focus,
.book-select:focus {
  border-color: color-mix(in oklab, var(--text) 25%, transparent);
}

.phone-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 80%, transparent);
}

.phone-flag {
  font-size: 18px;
  line-height: 1;
}

.phone-code {
  font-weight: 800;
  font-size: 13px;
  color: color-mix(in oklab, var(--text) 75%, transparent);
}

.phone-input .book-input {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.phone-input .book-input:focus {
  border: 0;
  outline: none;
}

.book-block.is-autocomplete {
  position: relative;
}

.suburb-suggest-panel {
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  display: none;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
  max-height: 240px;
  overflow: auto;
}

.suburb-suggest-item {
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.suburb-suggest-item:hover,
.suburb-suggest-item.is-active {
  background: color-mix(in oklab, var(--card) 85%, transparent);
}

.suburb-suggest-meta {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0.2px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  /* align-items: end; */
}
.field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toggle-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.toggle-btn {
  flex: 1;
  min-width: 220px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 80%, transparent);
  color: var(--text);
  font-weight: 950;
  cursor: pointer;
  transition: 0.2s ease;
}

.toggle-btn.is-active {
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  border-color: color-mix(in oklab, #fff 18%, transparent);
}

.toggle-btn:hover {
  transform: translateY(-1px);
}

.pickup-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pickup-chip {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 78%, transparent);
  font-weight: 800;
  font-size: 12px;
  color: color-mix(in oklab, var(--text) 85%, transparent);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0 6px;
}

.book-submit {
  width: 100%;
  margin-top: 14px;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 14px;
}

.book-checks {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.check {
  font-weight: 850;
  color: color-mix(in oklab, var(--text) 90%, transparent);
}

.book-links {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dot-sep {
  opacity: 0.6;
}

/* Summary */
/* ================= SUMMARY ================= */
.summary-card {
  padding: 16px;
  position: sticky;
  top: 92px;
}

.summary-title {
  font-weight: 1000;
  margin-bottom: 12px;
  font-size: 16px;
}

/* IMAGE CONTAINER */
.summary-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 80%, transparent);
}

/* IMAGE SIZE FIX */
.summary-media img {
  width: 100%;
  height: 290px;            /* ✅ صغّرنا حجم الصورة */
  object-fit: cover;
  display: block;
}

/* TEXT */
.summary-name {
  margin-top: 12px;
  font-weight: 1000;
  font-size: 15px;
}

.summary-line {
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.summary-label {
  color: var(--muted);
  font-size: 16px;
  font-weight: 900;
}

.summary-value {
  text-align: right;
  font-weight: 900;
}

.summary-value.strong {
  font-size: 16px;
}

.summary-note {
  margin-top: 10px;
  font-size: 13px;
}

.summary-checks {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .book-ui-grid {
    grid-template-columns: 1fr;
  }
  /* ✅ خلي الـ summary يطلع فوق */
  .summary-card {
    order: -1;
  }

  .book-card {
    order: 0;
  }

  .summary-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 560px) {
  .summary-media img {
    height: 225px !important;           /* ✅ أصغر على الجوال */
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .toggle-btn {
    min-width: 100%;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .book-ui-grid {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: relative;
    top: auto;
  }
}

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

  .toggle-btn {
    min-width: 100%;
  }
}


/* ===================== TRAILERS PAGE ===================== */
.trailers-hero {
  padding: 70px 0 26px;
  text-align: center;
}

.trailers-title {
  font-size: clamp(34px, 5vw, 56px);
  margin: 0 0 10px;
  letter-spacing: 0.4px;
}

.trailers-sub {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.trailers-page {
  padding: 22px 0 70px;
}

/* ===================== TRAILERS GRID (Home featured) ===================== */
/* ✅ خليها Grid فقط (بدون flex) + توسّط الكروت */
.trailers-grid2 {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;

  /* responsive columns */
  grid-template-columns: repeat(auto-fit, minmax(320px, 360px));

  gap: 16px;

  /* ✅ centers the whole grid rows */
  justify-content: center;

  /* ✅ centers items inside their grid cells */
  justify-items: center;
}

/* Card */
.trailer-card2 {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 70%, transparent);
  overflow: hidden;
  transition: 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;

  width: 100%;
  max-width: 360px;
}

/* أي overlay فوق الكارد (لو موجود) خليه ما يلقط الضغط */
.trailer-card2::before,
.trailer-card2::after {
  pointer-events: none !important;
}

.trailer-card2:hover {
  transform: translateY(-6px);
  border-color: color-mix(in oklab, var(--text) 20%, transparent);
}
.trailer-click,
.trailer-title-link{
  display:block;
  color: inherit;
  text-decoration: none;
}

.trailer-title-link:hover{
  text-decoration: none;
}


.trailer-media {
  position: relative;
  /* border-bottom: 1px solid var(--border); */
  background: #f3f4f6;          /* خلفية نظيفة */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  overflow: hidden; 
  
}

/* ✅ Image centered */
.trailer-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;          /* ✅ أهم سطر */
  object-position: center;
  display: block;
}
.status-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid color-mix(in oklab, var(--bg) 75%, transparent);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.status-dot.available {
  background: #22c55e;
}

.status-dot.unavailable {
  background: #ef4444;
}

.status-pill {
  position: absolute;
  top: 10px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 1000;
  font-size: 12px;
  letter-spacing: 0.3px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 75%, transparent);
}

.status-pill.available {
  color: #22c55e;
}

.status-pill.unavailable {
  color: #ef4444;
}

.trailer-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}


.trailer-name {
  margin: 0;
  font-weight: 1100;
  font-size: 18px;
  
}

.trailer-status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 1000;
  /* text-decoration: none; */
}

.trailer-status-line.available {
  color: #22c55e;
}

.trailer-status-line.unavailable {
  color: #ef4444;
}

.trailer-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  min-height: 48px;
  font-weight: 800;
  text-decoration: none;
}

.trailers-section .trailer-card2 {
  text-align: left;
}

.trailer-actions {
  margin-top: 6px;
  position: relative;
  display: grid;
  z-index: 10;
  gap: 10px;
}

.trailer-actions .btn {
  width: 100%;
  justify-content: center;
}
.trailer-actions a {
  pointer-events: auto !important;
}
.trailer-actions .btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* Responsive */
@media (max-width: 980px) {
  .trailers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* Responsive */
@media (max-width: 980px) {
  .trailers-grid2 {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .trailers-grid2 {
    grid-template-columns: 1fr;
  }
  .trailer-card2{
    max-width:420;
  }
}


/* ===================== SELECT FIX (Dark / Light) ===================== */
select {
  background-color: var(--input-bg, #1e2433);
  color: var(--text, #ffffff);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* الخيارات داخل القائمة */
select option {
  background-color: #1e2433;
  /* دارك */
  color: #ffffff;
}

/* لما يكون Light Mode */
html[data-theme="light"] select {
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] select option {
  background-color: #ffffff;
  color: #0f172a;
}

/* =========================================================
   BOOKING ALERT (Single Source of Truth)
   - Success = Green
   - Danger  = Red
========================================================= */



/* ==== تجريب فقط ===== */
.avail-box {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 75%, transparent);
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.avail-box.ok {
  border-color: rgba(34, 197, 94, 0.35);
  color: rgba(34, 197, 94, 1);
}

.avail-box.no {
  border-color: rgba(239, 68, 68, 0.35);
  color: rgba(239, 68, 68, 1);
}

.avail-box .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

.avail-box.ok .dot {
  background: rgba(34, 197, 94, 1);
}

.avail-box.no .dot {
  background: rgba(239, 68, 68, 1);
}

/* ==== */

/* ============ Flatpickr Theme Match ============ */
.flatpickr-calendar {
  border-radius: 16px !important;
  border: 1px solid var(--border) !important;
  background: color-mix(in oklab, var(--card) 85%, transparent) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25) !important;
  overflow: hidden;
}

.flatpickr-months,
.flatpickr-weekdays {
  background: transparent !important;
}

.flatpickr-current-month,
.flatpickr-weekday,
.flatpickr-day {
  color: var(--text) !important;
}

.flatpickr-day:hover {
  background: color-mix(in oklab, var(--card) 80%, transparent) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: linear-gradient(135deg, var(--g1), var(--g2)) !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* Booked day (red + X) */
.flatpickr-day.booked-day {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: rgba(239, 68, 68, 1) !important;
  position: relative;
  cursor: not-allowed !important;
}

.flatpickr-day.booked-day::after {
  content: "✖";
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 10px;
  opacity: 0.9;
}

/* disabled day style */
.flatpickr-day.disabled,
.flatpickr-day.booked-day.disabled {
  opacity: 1 !important;
  /* keep visible */
}

/* Light mode fine tuning (optional) */
html[data-theme="light"] .flatpickr-calendar {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14) !important;
}

/* ===== Fix Flatpickr visibility ===== */
.flatpickr-calendar {
  z-index: 9999 !important;
}

.flatpickr-calendar {
  background: linear-gradient(180deg,
      rgba(20, 24, 45, 0.98),
      rgba(10, 12, 28, 0.98)) !important;

  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.flatpickr-day {
  color: #e5e7eb !important;
  font-weight: 500;
}

.flatpickr-weekday {
  color: #c7c9ff !important;
  font-weight: 600;
}

.flatpickr-day.booked-day {
  background: rgba(239, 68, 68, 0.25) !important;
  border: 1px solid rgba(239, 68, 68, 0.55) !important;
  color: #ffb4b4 !important;
}

.flatpickr-day.booked-day::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 11px;
  color: #ff6b6b;
}

.page-body,
.booking-section,
.booking-form {
  overflow: visible !important;
}

/* Fix Flatpickr month/year dropdown white */
.flatpickr-current-month select {
  background: rgba(20, 24, 45, 0.98) !important;
  color: #e5e7eb !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 10px !important;
  padding: 6px 10px !important;
}

.flatpickr-current-month select option {
  background: rgba(20, 24, 45, 1) !important;
  color: #e5e7eb !important;
}

/* ================= Flatpickr Theme (Dark/Light) ================= */

/* DARK */
html[data-theme="dark"] .flatpickr-calendar {
  background: rgba(14, 18, 35, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55) !important;
}

html[data-theme="dark"] .flatpickr-current-month,
html[data-theme="dark"] .flatpickr-weekday,
html[data-theme="dark"] .flatpickr-day {
  color: #e5e7eb !important;
}

/* LIGHT */
html[data-theme="light"] .flatpickr-calendar {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .flatpickr-current-month,
html[data-theme="light"] .flatpickr-weekday,
html[data-theme="light"] .flatpickr-day {
  color: #0f172a !important;
}

/* Month/Year select (try to style it) */
html[data-theme="dark"] .flatpickr-current-month select {
  background: rgba(14, 18, 35, 1) !important;
  color: #e5e7eb !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 10px !important;
  padding: 6px 10px !important;
}

html[data-theme="dark"] .flatpickr-current-month select option {
  background: rgba(14, 18, 35, 1) !important;
  color: #e5e7eb !important;
}

html[data-theme="light"] .flatpickr-current-month select {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
  border-radius: 10px !important;
  padding: 6px 10px !important;
}

html[data-theme="light"] .flatpickr-current-month select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

/* Flatpickr time dropdown styling */
.flatpickr-time {
  background: transparent !important;
  border-top: 1px solid var(--border) !important;
}

.flatpickr-time input,
.flatpickr-time .flatpickr-am-pm {
  color: var(--text) !important;
  background: transparent !important;
  font-weight: 800 !important;
}

.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover {
  background: color-mix(in oklab, var(--card) 70%, transparent) !important;
}

.flatpickr-time .numInputWrapper span.arrowUp,
.flatpickr-time .numInputWrapper span.arrowDown {
  border-color: var(--border) !important;
}

.booked-box {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 75%, transparent);
}

.booked-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 900;
}

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

.booked-chip {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.10);
  color: rgba(239, 68, 68, 1);
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}


/* Flatpickr booked day styling */
.flatpickr-day.booked-day {
  position: relative;
  border: 2px solid rgba(239, 68, 68, 1) !important;
  border-radius: 999px !important;
}

.flatpickr-day.booked-day::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.10);
}

.flatpickr-calendar {
  background: #0f172a;
  border: 1px solid #1f2937;
  color: #f9fafb;
}

.flatpickr-time input {
  color: #f9fafb;
}

.flatpickr-am-pm {
  color: #f9fafb;
}

.flatpickr-current-month,
.flatpickr-weekday {
  color: #e5e7eb;
}

.flatpickr-time input,
.flatpickr-time .flatpickr-am-pm {
  color: var(--text) !important;
}


/* ===== FORCE ALERT COLORS (put at END of CSS) ===== */
.booking-alert{
  display:block; /* عشان يبين دائمًا لما ينحط بالتمبلت */
  padding: 14px 16px;
  border-radius: 14px;
  margin: 0 auto 18px;
  text-align: center;
  font-weight: 950;
  max-width: 1200px;
}

/* SUCCESS */
.booking-alert.success{
  border: 1px solid rgba(34,197,94,0.65) !important;
  background: rgba(34,197,94,0.22) !important;
  color: #b7ffd2 !important;
  box-shadow: 0 18px 45px rgba(34,197,94,0.16) !important;
}

/* DANGER */
.booking-alert.danger{
  border: 1px solid rgba(239,68,68,0.70) !important;
  background: rgba(239,68,68,0.22) !important;
  color: #ffb4b4 !important;
  box-shadow: 0 18px 45px rgba(239,68,68,0.16) !important;
  margin-top: 15px !important;
}

/* Light mode readability */
html[data-theme="light"] .booking-alert.success{
  color: rgba(14, 94, 49, 1) !important;
  background: rgba(34,197,94,0.14) !important;
}

html[data-theme="light"] .booking-alert.danger{
  color: rgba(153, 27, 27, 1) !important;
  background: rgba(239,68,68,0.14) !important;
}
#feedbackSlider {
  touch-action: pan-y;
}

/* Facebook icon */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border-radius: 90%;
  background: #1877f2; /* Facebook blue */
  color: #fff;

  text-decoration: none;
  font-size: 18px;

  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
  margin-top: 15px;
}

/* Hover effect */
.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4);
  opacity: 0.9;
}

/* Optional: active click */
.social-icon:active {
  transform: scale(0.95);
}
.coupon-box {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 75%, transparent);
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
}

.coupon-box .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

/* VALID */
.coupon-box.ok {
  border-color: rgba(34, 197, 94, 0.35);
  color: rgba(34, 197, 94, 1);
  margin-bottom: 10px;
}
.coupon-box.ok .dot {
  background: rgba(34, 197, 94, 1);
}

/* INVALID */
.coupon-box.no {
  border-color: rgba(239, 68, 68, 0.35);
  color: rgba(239, 68, 68, 1);
}
.coupon-box.no .dot {
  background: rgba(239, 68, 68, 1);
}
/* =========================================================
   FEEDBACK (Luxury + Clean + Center + Swipe)
========================================================= */
.feedback-section{
  padding: 110px 20px;
  background: var(--page);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feedback-wrap{
  max-width: 1100px;
  margin: 0 auto;
}

.feedback-title{
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--text);
  margin: 0 0 16px;
}

.feedback-title::after{
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
}

.feedback-subtitle{
  max-width: 820px;
  margin: 16px auto 42px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

/* Slider shell */
.feedback-slider{
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.feedback-track{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 16px 18px;

  /* prevents negative padding on small screens */
  padding-left: max(16px, calc((min(1100px, 100vw) - 380px) / 2));
  padding-right: max(16px, calc((min(1100px, 100vw) - 380px) / 2));
}
.feedback-track::-webkit-scrollbar{ height: 0; }

/* Cards */
.feedback-card{
  scroll-snap-align: center;
  flex: 0 0 380px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 78%, transparent);
  box-shadow: 0 18px 55px rgba(0,0,0,0.18);
  padding: 18px 18px 20px;
  text-align: left;

  opacity: 0.55;
  transform: scale(0.96);
  transition: transform .35s ease, opacity .35s ease, box-shadow .35s ease;
}
.feedback-card.is-active{
  opacity: 1;
  transform: scale(1.02);
  box-shadow: 0 22px 70px rgba(0,0,0,0.28);
}
.feedback-card:hover{
  opacity: 1;
  transform: scale(1.01);
}

/* Image */
.feedback-img{
  width: 100%;
  height: 170px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.feedback-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Stars */
.stars{
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Text */
.feedback-text{
  color: var(--text);
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 12px;
  font-weight: 650;
}
.feedback-name{
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  letter-spacing: 0.3px;
}

/* Dots */
.feedback-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 10px;
}
.feedback-dots button{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 70%, transparent);
  cursor: pointer;
  padding: 0;
  transition: transform .2s ease, background-color .2s ease;
}
.feedback-dots button.active{
  transform: scale(1.25);
  background: linear-gradient(135deg, var(--g1), var(--g2));
  border-color: transparent;
}

/* Arrows */
.feedback-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 75%, transparent);
  color: var(--text);
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 5;
}
.feedback-arrow.left{ left: 10px; }
.feedback-arrow.right{ right: 10px; }
.feedback-arrow:hover{ transform: translateY(-50%) scale(1.04); }

@media (max-width: 700px){
  .feedback-card{ flex: 0 0 88vw; }
  .feedback-track{ padding-left: 6vw; padding-right: 6vw; }
  .feedback-arrow{ display: none; } /* swipe فقط بالموبايل */
}

/* Touch behavior */
#feedbackSlider{ touch-action: pan-y; }

