/* ============================================================
   MAIN STYLESHEET
   Structure:
     1. Reset & base
     2. Layout helpers
     3. Buttons & links
     4. Header / navigation
     5. Hero & parallax bands
     6. Pillars (vision / mission / values)
     7. Split section (text + image)
     8. Masonry gallery
     9. Video bands
    10. Cards grid (services page)
    11. Testimonials
    12. Forms & contact
    13. Contact info cards
    14. Footer
    15. Scroll-reveal animation
    16. RTL support
    17. Responsive
   ============================================================ */

/* ---------- 1. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--body-bg);
  color: var(--teal);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal);
  margin: 0 0 .5em;
  line-height: var(--lh-tight);
  font-weight: 700;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 2. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--paper { background: var(--paper); }
.section--flush  { padding-block: 0; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: .35em; }
.section-head p  { color: var(--slate); font-size: var(--fs-lead); margin: 0; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 3. Buttons ---------- */
.btn {
  --btn-fs: 15.75px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 43px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--btn-fs);
  font-weight: 500;
  letter-spacing: .3px;
  color: var(--white);
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 60%, var(--gold-deep) 100%);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(189,156,60,.35); filter: brightness(1.04); }
.btn:active { transform: translateY(0); }

.btn--lg { min-height: 66px; padding: 0 48px; --btn-fs: 18px; }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.75);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  box-shadow: var(--shadow-header);
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: 40px;
}

/* left cluster: language + socials */
.header-side { display: flex; flex-direction: column; gap: 8px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 12px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .6px;
  color: var(--gold);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-switch:hover { background: var(--gold); color: var(--white); }
.lang-switch svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.socials a:hover { background: var(--gold); color: var(--white); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }

/* centre nav with logo in the middle */
.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li { display: flex; align-items: center; }
.main-nav li + li::before {
  content: "|";
  color: var(--gold);
  margin-inline: 14px;
  font-weight: 300;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .48px;
  color: var(--ink);
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.main-nav a:hover { color: var(--gold); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--ink); }

.main-nav li.nav-logo::before,
.main-nav li.nav-logo + li::before { content: none; }
.nav-logo { margin-inline: 22px; }
.nav-logo img { width: 100px; height: auto; }

.header-cta { margin-inline-start: auto; }

/* mobile menu button */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-inline-start: auto;
  background: none; border: 0; cursor: pointer;
  color: var(--teal);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; display: block;
  width: 24px; height: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { margin-inline: auto; position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* gold divider strip under the header */
.header-strip { height: 30px; background: var(--gold); }

/* ---------- 5. Hero & parallax bands ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--dark-band);
}
.hero__media,
.hero__media video,
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--overlay-hero);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 40px var(--gutter);
}
.hero__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-hero-sub);
  font-weight: 400;
  margin-bottom: .2em;
}
.hero__title {
  font-size: var(--fs-hero);
  color: var(--white);
  margin: 0 0 .4em;
  font-weight: 700;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* full-bleed band with a fixed (parallax) background image */
.band {
  position: relative;
  min-height: 692px;
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;   /* the parallax effect */
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.band::after { content: ""; position: absolute; inset: 0; background: var(--overlay-band); }
.band__content { position: relative; z-index: 2; padding: 60px var(--gutter); max-width: 900px; }
.band__content h2 { color: var(--white); font-size: var(--fs-h1); }
.band__content p  { font-size: var(--fs-body); line-height: var(--lh-loose); }
.band--short { min-height: 420px; }
.band--tint::after { background: linear-gradient(0deg, rgba(17,65,75,.55), rgba(17,65,75,.35)); }

/* browsers/devices where fixed attachment is janky */
@media (hover: none), (max-width: 900px) {
  .band { background-attachment: scroll; min-height: 420px; }
}

/* gold page banner (Book Now page) */
.page-banner {
  background: var(--gold);
  text-align: center;
  padding: 26px var(--gutter);
}
.page-banner h1 { color: var(--teal); font-size: var(--fs-h1); margin: 0; }

/* ---------- 6. Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar {
  position: relative;
  min-height: 374px;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  overflow: hidden;
}
.pillar::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--overlay-pillar);
  transition: background .4s var(--ease);
}
.pillar:nth-child(2)::after { background: rgba(150, 62, 62, .58); }
.pillar:nth-child(3)::after { background: rgba(35, 105, 135, .58); }
.pillar:hover::after { filter: brightness(1.15); }
.pillar h3 { color: var(--white); font-size: var(--fs-h3); font-weight: 700; margin-bottom: .6em; }
.pillar p  { font-size: var(--fs-small); line-height: var(--lh-loose); margin: 0; }

/* ---------- 7. Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  background: var(--white);
}
.split__media {
  min-height: 667px;
  background-size: cover;
  background-position: center;
}
.split__media--contain { background-size: contain; background-repeat: no-repeat; }
.split__body { padding: 72px 64px; }
.split__body h2 { font-size: var(--fs-h2); }
.split__body p  { color: var(--slate); line-height: var(--lh-loose); }
.split--reverse .split__media { order: 2; }

/* ---------- 8. Masonry gallery ----------
   Measured from the reference: a 3-column grid whose column widths are
   486 / 362 / 362 px, on a 302px row unit. The second block mirrors the
   first (362 / 362 / 486), which is why there are two .gallery blocks. */
.gallery {
  display: grid;
  grid-template-columns: 486fr 362fr 362fr;
  grid-auto-rows: 302px;
  gap: var(--grid-gap);
}
.gallery + .gallery { margin-top: var(--grid-gap); }
.gallery--mirror { grid-template-columns: 362fr 362fr 486fr; }
.gallery a {
  position: relative;
  overflow: hidden;
  background: var(--line);
  display: block;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery a::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(17,65,75,0);
  transition: background .4s var(--ease);
}
.gallery a:hover img   { transform: scale(1.06); }
.gallery a:hover::after { background: rgba(17,65,75,.25); }

/* block A: tall occupies column 1 across both rows; two squares sit on row 1;
   the wide tile fills columns 2-3 on row 2 */
.gallery .g-tall { grid-column: 1; grid-row: 1 / span 2; }
.gallery .g-wide { grid-column: 2 / span 2; grid-row: 2; }
.gallery .g-sq   { grid-row: 1; }

/* block B is the mirror image */
.gallery--mirror .g-tall { grid-column: 3; grid-row: 1 / span 2; }
.gallery--mirror .g-wide { grid-column: 1 / span 2; grid-row: 2; }
.gallery--mirror .g-sq   { grid-row: 1; }

/* ---------- 9. Video bands ---------- */
.video-band {
  background: var(--dark-band);
  padding-block: 0;
}
.video-band video,
.video-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-band--single { min-height: 801px; position: relative; overflow: hidden; }
.video-band--single > * { position: absolute; inset: 0; }

.video-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--dark-band);
  padding: 60px 0;
}
.video-pair figure { margin: 0; height: 615px; overflow: hidden; }
.video-pair figure video,
.video-pair figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 10. Card grid (services page) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 0;
}
.card {
  padding: 20px 10px 40px;
  text-align: center;
}
.card__media {
  aspect-ratio: 373 / 355;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--line);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5em;
}
.card p { color: #8b8b8b; font-size: var(--fs-small); line-height: var(--lh-loose); margin: 0; }

.cards-row-divider { margin: 34px 0; }

/* CTA strip */
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 42px var(--gutter);
  background: var(--white);
}
.cta-strip p { margin: 0; font-family: var(--font-display); font-size: 26px; color: var(--teal); }

/* ---------- 11. Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}
.testimonial p { color: var(--slate); line-height: var(--lh-loose); font-size: var(--fs-small); }
.testimonial__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial__who strong { display: block; color: var(--teal); font-size: var(--fs-small); }
.testimonial__who span { color: var(--gold); font-size: 12px; }

/* team / bio block */
.bio { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; }
.bio img { width: 100%; border-radius: var(--radius-sm); }
.bio h3 { font-size: 28px; }
.bio .bio__role { color: var(--gold); font-family: var(--font-display); margin-bottom: 1em; }
.bio p { color: var(--slate); line-height: var(--lh-loose); }

/* ---------- 12. Forms ---------- */
.form { display: grid; gap: 22px 28px; grid-template-columns: 1fr 1fr; max-width: 720px; margin-inline: auto; }
.form .field--full { grid-column: 1 / -1; }
.field { position: relative; }
.field label {
  display: block;
  font-size: var(--fs-small);
  color: var(--slate);
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: var(--fs-body);
  color: var(--teal);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #c9c9c9;
  padding: 8px 2px;
  transition: border-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.form__actions { grid-column: 1 / -1; display: flex; justify-content: center; }

/* form on a photographic background (Book Now) */
.form-panel {
  position: relative;
  background-size: cover;
  background-position: center;
  padding-block: 80px;
}
.form-panel::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.72); }
.form-panel > * { position: relative; z-index: 2; }
.form-panel h2 { text-align: center; font-size: var(--fs-h2); margin-bottom: 40px; }

.form-note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--slate);
  text-align: center;
  margin: 0;
}

/* ---------- 13. Contact info cards ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card {
  background: var(--white);
  border: 1px solid var(--gold);
  padding: 40px 28px;
  text-align: center;
  min-height: 300px;
}
.info-card svg { width: 52px; height: 52px; margin: 0 auto 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.info-card h3 { font-size: 24px; color: var(--teal); margin-bottom: .6em; }
.info-card a, .info-card p { color: var(--gold); font-size: var(--fs-body); margin: 0; }
.info-card a:hover { text-decoration: underline; }
.info-card .map-embed { width: 100%; aspect-ratio: 3 / 2; border: 0; margin-top: 8px; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px;
  padding-block: 48px;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-nav a { font-size: var(--fs-body); color: var(--ink); }
.footer-nav a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 18px; justify-content: center; align-items: center; padding-top: 6px; }
.footer-social a { color: var(--ink); }
.footer-social a:hover { color: var(--gold); }
.footer-social svg { width: 22px; height: 22px; fill: currentColor; }

.newsletter { display: grid; gap: 18px; justify-items: center; }
.newsletter input {
  width: 100%;
  max-width: 350px;
  font: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #c9c9c9;
  padding: 8px 2px;
  color: var(--teal);
}
.newsletter input:focus { outline: none; border-bottom-color: var(--gold); }

.footer-legal {
  border-top: 1px solid var(--line);
  padding-block: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--slate);
}

/* floating whatsapp bubble */
.float-wa {
  position: fixed;
  inset-inline-end: 22px;
  inset-block-end: 22px;
  z-index: 90;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  transition: transform .25s var(--ease);
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- 15. Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- 16. RTL ---------- */
[dir="rtl"] .header-cta { margin-inline-start: auto; }
[dir="rtl"] .split--reverse .split__media { order: 0; }
[dir="rtl"] .bio { grid-template-columns: 1fr 380px; }
[dir="rtl"] .bio img { order: 2; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1100px) {
  .site-header__inner { padding-inline: 20px; }
  .header-side { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .main-nav {
    position: fixed;
    inset: var(--header-h-sm) 0 auto 0;
    background: var(--header-bg);
    border-top: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  .main-nav.is-open { max-height: 80vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 20px; }
  .main-nav li { justify-content: center; }
  .main-nav li + li::before { content: none; }
  .main-nav a { display: block; width: 100%; text-align: center; padding: 14px 20px; }
  .nav-logo { display: none; }

  .site-header__inner { min-height: var(--header-h-sm); }
  .mobile-logo { display: block; }
  .mobile-logo img { width: 86px; }
}

@media (min-width: 1101px) { .mobile-logo { display: none; } }

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { min-height: 320px; }
  .split__body { padding: 48px 24px; }
  .gallery, .gallery--mirror { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .gallery .g-tall, .gallery--mirror .g-tall { grid-column: auto; grid-row: span 2; }
  .gallery .g-wide, .gallery--mirror .g-wide { grid-column: span 2; grid-row: auto; }
  .gallery .g-sq,   .gallery--mirror .g-sq   { grid-row: auto; }
  .video-pair { grid-template-columns: 1fr; padding: 32px 0; }
  .video-pair figure { height: 300px; }
  .video-band--single { min-height: 420px; }
  .cards { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .bio, [dir="rtl"] .bio { grid-template-columns: 1fr; gap: 28px; }
  .bio img { max-width: 320px; }
  .form { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-nav ul { justify-items: center; }
  .hero { min-height: 480px; }
}

@media (max-width: 520px) {
  .gallery, .gallery--mirror { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery .g-tall, .gallery--mirror .g-tall,
  .gallery .g-wide, .gallery--mirror .g-wide { grid-column: 1; grid-row: auto; }
  .cta-strip p { font-size: 20px; }
}
