/* ================================
   POLISH LAYER
   Loaded last on the booking pages. Fixes spacing, the mobile header,
   hero background, review readability and the features section.
   ================================ */

:root {
  --header-h: 88px;
  --gold-soft: rgba(212, 175, 55, 0.18);
  --card-border: rgba(212, 175, 55, 0.22);
}

/* ---------- Header ---------- */
.header {
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.25), 0 8px 24px rgba(0, 0, 0, 0.35);
  border-bottom: 0;
}

.header__container {
  padding: 1.4rem 4rem;
  gap: 2rem;
}

.header__logo h1 {
  font-size: 2.8rem;
  white-space: nowrap;
}

.nav-links {
  gap: 0.8rem;
}

.nav-link {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
}

.nav-link.active {
  background: var(--gold-soft);
}

.language-btn {
  padding: 0.6rem 1.4rem;
  font-size: 1.3rem;
}

/* Several page scripts mark a button active from localStorage, so two
   buttons could look selected. Highlight only the page's real language. */
.language-btn.active {
  background: transparent !important;
  color: var(--text-light) !important;
  border-color: var(--accent-gold) !important;
  box-shadow: none !important;
}

html[lang="tr"] .language-btn[data-lang="tr"],
html[lang="en"] .language-btn[data-lang="en"],
html[lang="ar"] .language-btn[data-lang="ar"] {
  background: var(--gradient-gold) !important;
  color: var(--text-dark) !important;
  border-color: transparent !important;
  box-shadow: var(--shadow-gold) !important;
}

/* ---------- Hero ---------- */
.hero {
  min-height: auto;
  justify-content: flex-start;
  padding: calc(var(--header-h) + 5rem) 2rem 7rem;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(212, 175, 55, 0.14), transparent 70%),
    linear-gradient(180deg, #0b0b0b 0%, #000 100%);
}

/* Content pages (FAQ, about, routes) have a short hero without the form */
.hero:not(:has(.form-container)) {
  min-height: auto !important;
  padding-bottom: 5rem;
}

/* The old rotating overlay drew a visible vertical seam */
.hero::after {
  display: none;
}

#particles-js {
  opacity: 0.25;
}

.hero__content {
  margin-bottom: 3.2rem;
  padding: 0;
}

.hero__title {
  font-size: clamp(3.4rem, 5.2vw, 5.8rem);
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.hero__subtitle {
  font-size: clamp(1.6rem, 1.6vw, 1.9rem);
  color: rgba(247, 231, 206, 0.85);
  text-wrap: balance;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.4rem;
  padding: 0;
  list-style: none;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__trust i {
  color: var(--accent-gold);
}

/* ---------- Booking card ---------- */
.form-container {
  border-radius: 2.4rem;
  border: 1px solid var(--card-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  padding: 4rem 4.4rem;
}

.form-control {
  min-height: 4.8rem;
}

/* ---------- Reviews ---------- */
.customer-reviews {
  margin-top: 0 !important;
}

.customer-reviews h3 {
  font-size: clamp(2.6rem, 3vw, 3.4rem) !important;
}

.reviews-slide p {
  font-family: var(--font-body) !important;
  font-style: normal !important;
  font-size: 1.7rem !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

.reviews-slide span {
  color: var(--accent-gold) !important;
  font-weight: 600;
}

/* ---------- Features (replaces the old SEO block) ---------- */
.features {
  padding: 8rem 2rem;
  background: #111;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

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

.features__header {
  text-align: center;
  margin-bottom: 4.8rem;
}

.features__header h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 3.6vw, 4.2rem);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.features__header p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 60ch;
  margin: 0 auto;
  text-wrap: balance;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
  gap: 2rem;
}

.feature {
  padding: 2.8rem;
  border: 1px solid var(--card-border);
  border-radius: 1.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature:hover {
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-3px);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  margin-bottom: 1.8rem;
  border-radius: 1.2rem;
  background: var(--gold-soft);
  color: var(--accent-gold);
  font-size: 2rem;
}

.feature h3 {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.feature p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.5rem;
  line-height: 1.65;
}

.features__cta {
  display: flex;
  justify-content: center;
  margin-top: 4.8rem;
}

.features__cta a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 3rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.features__cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* ---------- Tablet & mobile ---------- */
@media (max-width: 900px) {
  :root {
    --header-h: 112px;
  }

  .header__container {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo lang"
      "nav nav";
    row-gap: 0.8rem;
    padding: 1rem 1.6rem !important;
  }

  .header__logo {
    grid-area: logo;
    gap: 1rem;
  }

  .header__logo-image {
    width: 40px !important;
    height: 40px !important;
  }

  .header__logo h1 {
    font-size: 2.2rem !important;
  }

  .header__logo h1::after {
    display: none;
  }

  .header__language {
    grid-area: lang;
    gap: 0.6rem !important;
  }

  .language-btn {
    padding: 0.5rem 1rem !important;
    font-size: 1.2rem !important;
    border-width: 1px;
  }

  .header__nav {
    grid-area: nav;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .header__nav::-webkit-scrollbar {
    display: none;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.4rem !important;
  }

  .nav-link {
    padding: 0.6rem 1.2rem !important;
    font-size: 1.4rem !important;
    white-space: nowrap;
  }

  .hero {
    padding: calc(var(--header-h) + 3rem) 1.6rem 5rem;
  }

  .hero__trust li {
    font-size: 1.25rem;
    padding: 0.6rem 1.1rem;
  }

  .form-container {
    padding: 2.8rem 2rem;
    border-radius: 2rem;
  }

  .features {
    padding: 6rem 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature,
  .features__cta a {
    transition: none;
  }
}
