/* Minimal theme variables and helpers. Layout handled by Tailwind. */
:root {
  --bg: #fcfaf3;
  --primary-900: #0d322a;
  --primary-700: #40524a;
  --muted: #6b6b6b;
  --accent: #e9e6df;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "DIN Next LT Arabic", "Cairo", "Segoe UI", Tahoma, Geneva,
    Verdana, sans-serif;
  background: var(--bg);
  color: var(--primary-900);
}

/* Color helpers */
.text-primary {
  color: var(--primary-900);
}
.muted {
  color: var(--muted);
}



/* Ensure flex-wrap grid centers last row and items stay aligned */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, opacity .18s ease;
}
.partner-item img {
  display: block;
}

/* Responsive widths: desktop = 5 per row (20%), tablet = 4 per row (25%), phone = 4 per row (25%) */
@media (min-width: 1024px) {
  .partner-item {
    width: 20%; /* 5 items per row */
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .partner-item {
    width: 25%; /* 4 items per row */
  }
}
@media (max-width: 639px) {
  .partner-item {
    width: 25%; /* force 4 per row on small phones as requested */
  }
}
.partners-grid img:hover {
  transform: translateY(-6px);
  opacity: 1;
}
.partners-grid .p-2 {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Footer */
.site-footer {
  padding: 16px;
  text-align: center;
}

.classic-footer {
  background: #40524a; /* requested background */
  color: rgba(255,255,255,0.9);
}
.classic-footer .footer-link {
  color: rgba(255,255,255,0.9);
  opacity: 0.95;
  transition: opacity .15s ease, transform .12s ease;
}
.classic-footer .footer-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.classic-footer .footer-brand p {
  color: rgba(255,255,255,0.9);
}
.classic-footer h4 {
  color: #fff;
}
.classic-footer .border-t {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-credit {
  font-size: 0.75rem; /* smaller credit */
  opacity: 0.85;
}
.footer-about-text p {
  line-height: 1.6;
  margin: 0;
}
.footer-about-text p + p {
  margin-top: 0.5rem;
}


/* Focus */
input:focus,
button:focus {
  outline: 3px solid rgba(0, 123, 255, 0.2);
  outline-offset: 2px;
}

/* Form polish */
.booking input,
.booking select {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.booking input:focus,
.booking select:focus {
  box-shadow: 0 0 0 4px rgba(13, 50, 42, 0.12);
  border-color: rgba(13, 50, 42, 0.35);
}

/* Unified icon color/size for form */
.form-icon {
  color: #40524a;
}
.form-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Hide native calendar icon to avoid double icons with our SVG */
.booking input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  display: block;
  width: 0;
  height: 0;
}
.booking input[type="date"]::-webkit-inner-spin-button {
  display: none;
}

/* Hide native select arrow for consistent custom chevron */
.booking select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
}
.booking select::-ms-expand {
  display: none;
}

/* Partners ticker (container only; motion via Swiper) */
.partners-ticker {
  background: #0d322a;
  padding: 16px 0;
}
.partners-ticker .swiper {
  overflow: hidden;
}
.testimonials-swiper {
  overflow: visible !important; /* allow neighboring slides to peek (override Swiper) */
}
.testimonials-swiper .swiper-slide img {
  max-width: 760px; /* constrain slide image size */
}

/* Force slide width smaller than the container so neighbors peek */
.testimonials-swiper .swiper-slide {
  width: 86% !important;
  max-width: 880px;
}

@media (min-width: 1024px) {
  .testimonials-swiper .swiper-slide {
    width: 70% !important; /* show larger peek on desktop */
    max-width: 920px;
  }
}
.partners-ticker .partners-marquee .swiper-wrapper {
  transition-timing-function: linear !important;
}
.partners-ticker .partner-logo {
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.partners-ticker .swiper-slide {
  width: 20% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
