/* NAYORA TRAVEL LTD – site updates (October 2026)
   Loaded after the main stylesheet on every page. */

/* Bigger headings on every page.
   The theme sizes text with --text-* variables, so resizing them on headings
   also covers the mobile/tablet/desktop sizes.
   Phones: about 15% bigger (more would push the home banner title to three lines). */
h1, h2, h3, h4, summary.font-display {
  --text-lg: 1.3125rem;    /* was 1.125rem */
  --text-xl: 1.4375rem;    /* was 1.25rem */
  --text-2xl: 1.75rem;     /* was 1.5rem */
  --text-3xl: 2.125rem;    /* was 1.875rem */
  --text-4xl: 2.5625rem;   /* was 2.25rem */
  --text-5xl: 3.4375rem;   /* was 3rem */
  --text-6xl: 4.3125rem;   /* was 3.75rem */
  --text-7xl: 5.1875rem;   /* was 4.5rem */
  overflow-wrap: break-word;
}
/* Tablets and computers: about 25% bigger */
@media (min-width: 40rem) {
  h1, h2, h3, h4, summary.font-display {
    --text-lg: 1.375rem;
    --text-xl: 1.5625rem;
    --text-2xl: 1.875rem;
    --text-3xl: 2.375rem;
    --text-4xl: 2.8125rem;
    --text-5xl: 3.75rem;
    --text-6xl: 4.6875rem;
    --text-7xl: 5.625rem;
  }
}

/* Home banner: same size as before (88% of the screen, at least 560px), but it grows
   instead of cutting off the top line when the text needs more room (small phones). */
[data-hero-slider] {
  height: auto;
  min-height: max(88vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
[data-hero-slider] > .relative.z-10 {
  height: auto;
  width: 100%;
  padding-top: 2rem;
}

/* Page banners (tours, destinations, blog posts, about): same sizes as before, but they
   grow instead of cutting off the title on very small phones */
section.h-\[58vh\], section.h-\[50vh\], section.h-\[48vh\], section.h-\[46vh\] {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
section.h-\[58vh\] { min-height: max(58vh, 380px); }
section.h-\[50vh\] { min-height: max(50vh, 340px); }
section.h-\[48vh\] { min-height: max(48vh, 320px); }
section.h-\[46vh\] { min-height: max(46vh, 320px); }
section.h-\[58vh\] > .relative.z-10, section.h-\[50vh\] > .relative.z-10,
section.h-\[48vh\] > .relative.z-10, section.h-\[46vh\] > .relative.z-10 {
  height: auto;
  width: 100%;
  padding-top: 1.5rem;
}

/* Home banner: keep the slide dots easy to tap */
[data-hero-slider] [data-dot] {
  cursor: pointer;
  transition: width .3s ease, background-color .3s ease;
}
[data-hero-slider] [data-dot]:not(.bg-orange) {
  background-color: rgba(246, 240, 230, .4);
}

/* Enquiry form hand-off (WhatsApp / email) */
.nt-form-status {
  display: grid;
  gap: .75rem;
  border-radius: .75rem;
  background: var(--color-cream);
  padding: 1rem;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--color-forest);
}
.nt-form-status .nt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.nt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: .625rem 1.25rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--color-white);
}
.nt-form-ok { color: var(--color-leaf); font-weight: 600; }
/* spam trap field: invisible to people */
.nt-hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.nt-btn-whatsapp { background: var(--color-whatsapp); }
.nt-btn-email { background: var(--color-orange); }
.nt-newsletter-status {
  margin-top: .5rem;
  font-size: .75rem;
  color: var(--color-sand);
}
.nt-newsletter-status a {
  font-weight: 700;
  color: var(--color-orange);
  text-decoration: underline;
}

/* Social media icons (header strip, footer, phone menu, contact page) */
.nt-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
.nt-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.nt-social svg { width: 1.125rem; height: 1.125rem; }
.nt-social-footer a {
  border: 1px solid var(--color-forest-mid);
  color: var(--color-sand);
}
.nt-social-light a {
  border: 1px solid var(--color-sand);
  color: var(--color-forest);
  background: var(--color-white);
}
.nt-social-footer a:hover,
.nt-social-light a:hover,
.nt-social a:focus-visible {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
}
.nt-social-menu { margin-top: .25rem; }
/* small icons in the dark strip above the menu; hidden on phones where the strip is hidden anyway */
.nt-social-top { display: none; gap: .875rem; }
.nt-social-top a { width: auto; height: auto; color: inherit; }
.nt-social-top a:hover { color: var(--color-orange); }
.nt-social-top svg { width: .875rem; height: .875rem; }
@media (min-width: 768px) { .nt-social-top { display: flex; } }
.nt-follow {
  margin: 1.25rem 0 .625rem;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-sand);
}
.nt-follow-row { padding-top: .25rem; }
.nt-follow-dark { margin-top: 0; color: var(--color-muted); }

/* Keep the floating WhatsApp / call buttons from covering the footer links on phones */
@media (max-width: 639px) {
  footer > div:last-child { padding-bottom: 5.5rem; }
}
