/*
 * Matala landing page foundation.
 * All tour rules stay under .matala-page so they cannot affect the main site.
 */
:root {
  --matala-ink: #17352e;
  --matala-muted: #65736d;
  --matala-cream: #f7f3ea;
  --matala-sand: #e8ddca;
  --matala-orange: #e45b35;
  --matala-orange-dark: #bd4222;
  --matala-lime: #d9ee8e;
  --matala-white: #fffdf8;
  --matala-radius: 24px;
  --matala-shadow: 0 22px 70px rgba(23, 53, 46, .14);
}

html { scroll-behavior: smooth; }

body.matala-body {
  margin: 0;
  background: var(--matala-cream);
}

/* The slim header keeps the booking action visible without covering content. */
.landing-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(247, 243, 234, .92);
  border-bottom: 1px solid rgba(23, 53, 46, .1);
  backdrop-filter: blur(14px);
}

.landing-header-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-logo img { display: block; width: 142px; }
.landing-nav { display: flex; gap: 28px; }

.landing-nav a,
.landing-book {
  color: var(--matala-ink);
  font: 600 .92rem 'DM Sans', sans-serif;
  text-decoration: none;
}

.landing-nav a:hover { color: var(--matala-orange); }

.landing-book {
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--matala-orange);
}

/* Footer colors continue the dark booking section at the end of the page. */
.landing-footer {
  padding: 48px 24px;
  color: rgba(255, 255, 255, .72);
  text-align: center;
  background: #102a25;
  font-family: 'DM Sans', sans-serif;
}

.landing-footer-inner { max-width: 760px; margin: auto; }
.landing-footer-title { margin: 0 0 6px; color: #fff; font: 700 1.15rem 'Playfair Display', serif; }
.landing-footer-sub { margin: 0 0 18px; }
.landing-footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; }
.landing-footer a { color: #fff; text-decoration: none; }
.landing-footer-copy { margin: 0; opacity: .65; font-size: .84rem; }

.matala-page {
  overflow: hidden;
  color: var(--matala-ink);
  background: var(--matala-cream);
  font: 400 1rem/1.65 'DM Sans', sans-serif;
}

.matala-page * { box-sizing: border-box; }
.matala-page h1,
.matala-page h2,
.matala-page h3 { margin: 0; font-family: 'Playfair Display', serif; line-height: 1.05; }
.matala-page p { margin: 0; }
.matala-page img { display: block; width: 100%; }
.matala-page a { color: inherit; text-decoration: none; }

.matala-page .shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.matala-page .section { padding: 110px 0; }

.matala-page .eyebrow {
  margin-bottom: 12px;
  color: var(--matala-orange);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.matala-page .stars { color: #f6a500; letter-spacing: .12em; }

.matala-page .button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 25px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: 700 .95rem 'DM Sans', sans-serif;
  transition: transform .2s ease, background .2s ease;
}

.matala-page .button-primary {
  color: #fff;
  background: var(--matala-orange);
  box-shadow: 0 12px 28px rgba(228, 91, 53, .28);
}

.matala-page .button-primary:hover {
  transform: translateY(-2px);
  background: var(--matala-orange-dark);
}

/* Shared heading layout keeps each long section easy to scan. */
.matala-page .section-heading {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 80px;
  margin-bottom: 52px;
  align-items: end;
}

.matala-page .section-heading h2 { max-width: 680px; font-size: clamp(2.2rem, 4vw, 4rem); }
.matala-page .section-heading > p { color: var(--matala-muted); }

/* Reveal animation only runs after JS opts in.
   Without JS, content stays fully visible (no blank page). */
.matala-page.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.matala-page.js-reveal .reveal.visible,
.matala-page .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .matala-page.js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
