/* ============================================
   TABORA — SHARED CSS
   Used across subpages (about, contact, services,
   etc.). Mirrors the homepage's util/header/footer
   so navigation feels seamless across the site.
   ============================================ */

:root {
  --ink:        #1F3949;
  --ink-soft:   #2D4A5C;
  --cream:      #FAF6EC;
  --cream-deep: #F2EBD9;
  --paper:      #FFFFFF;
  --border:     #E4D9BD;
  --rule:       #D9CFB4;
  --mute:       #6B7B82;
  --text-soft:  #4A5A60;
  --terracotta: #DD6F3D;
  --terracotta-deep: #B8551F;
  --teal:       #3DA0AC;
  --maroon:     #9D3640;
  --serif: 'Newsreader', 'Source Serif Pro', Georgia, serif;
  --sans:  'Manrope', system-ui, -apple-system, sans-serif;
  --max: 1280px;
  --pad: clamp(20px, 5vw, 80px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--cream); padding: 12px 18px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.shell { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--serif); font-weight: 400;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1.05;
}
h1 { font-size: clamp(48px, 7vw, 92px); font-variation-settings: "opsz" 72; letter-spacing: -0.035em; line-height: 0.95; }
h2 { font-size: clamp(34px, 5vw, 60px); font-variation-settings: "opsz" 60; letter-spacing: -0.03em; line-height: 1; }
h3 { font-size: clamp(22px, 2.6vw, 30px); font-variation-settings: "opsz" 36; line-height: 1.2; }
h4 { font-size: 19px; font-variation-settings: "opsz" 18; }
p { max-width: 64ch; }
em { font-style: italic; font-variation-settings: "opsz" 60; color: var(--terracotta-deep); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta-deep);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--terracotta); }

.section-num {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute); display: block; margin-bottom: 16px;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 300;
  font-variation-settings: "opsz" 36;
  line-height: 1.4;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  max-width: 60ch;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--terracotta); color: var(--paper); }
.btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-1px); box-shadow: 0 14px 30px -16px rgba(184,85,31,0.6); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-on-dark { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-on-dark:hover { background: var(--cream); color: var(--ink); }
.btn svg { transition: transform 0.25s ease; flex: 0 0 auto; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Top utility bar ---------- */
.util {
  background: var(--ink); color: var(--cream);
  padding: 9px 0;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(250,246,236,0.08);
}
.util .shell { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.util-left, .util-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.util a { color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s ease; }
.util a:hover { color: var(--terracotta); }
.util a svg { flex: 0 0 auto; opacity: 0.75; }
.util-weather { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--cream); letter-spacing: 0.02em; }
.util-weather svg { color: var(--terracotta); }
.util-weather strong { font-weight: 600; }
.util .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); display: inline-block; animation: pulse 2.4s ease-in-out infinite; margin-right: 6px; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(250,246,236,0.25);
  border-radius: 100px;
  overflow: hidden;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
}
.lang-toggle a { padding: 4px 10px; text-decoration: none; transition: all 0.2s ease; }
.lang-toggle a.active { background: var(--terracotta); color: var(--paper); }
.lang-toggle a:not(.active):hover { background: rgba(250,246,236,0.1); color: var(--cream); }

/* ---------- Header ---------- */
.header {
  background: var(--cream);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}
.header .shell {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; padding-bottom: 16px;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: 52px; object-fit: contain; flex: 0 0 auto; }
.brand-text { line-height: 1.05; }
.brand-name {
  font-family: var(--serif); font-size: 22px;
  font-variation-settings: "opsz" 18;
  font-weight: 500; letter-spacing: -0.015em;
}
.brand-tag {
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mute); margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  text-decoration: none;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--ink); letter-spacing: 0.01em;
  position: relative; padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--terracotta);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--terracotta-deep); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--terracotta-deep); }

.nav-cta-row { display: flex; gap: 12px; align-items: center; }

.menu-toggle {
  display: none; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: all 0.3s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink); color: rgba(250,246,236,0.7);
  padding: 72px 0 28px;
  font-family: var(--sans); font-size: 14px;
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-grid h5 {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 18px;
}
.footer-brand img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 18px; }
.footer-brand .footer-name {
  font-family: var(--serif); font-size: 22px;
  font-variation-settings: "opsz" 30;
  color: var(--cream); margin-bottom: 8px;
  line-height: 1.15; font-weight: 500;
}
.footer-brand p { font-size: 13px; line-height: 1.55; max-width: 32ch; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: rgba(250,246,236,0.7); text-decoration: none; transition: color 0.2s ease; font-size: 13px; }
.footer-grid a:hover { color: var(--terracotta); }
.footer-contact-line { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; margin-bottom: 12px; font-size: 13px; }
.footer-contact-line svg { color: var(--terracotta); flex: 0 0 auto; margin-top: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(250,246,236,0.06);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.footer-social a:hover { background: var(--terracotta); color: var(--paper); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(250,246,236,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: rgba(250,246,236,0.45);
}
.footer-bottom a { color: rgba(250,246,236,0.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--terracotta); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Sitewide texture ---------- */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 30;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.4' numOctaves='2' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 -0.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.4; mix-blend-mode: multiply;
}

/* ---------- Mobile ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:nth-child(4) { grid-column: span 3; }
}
@media (max-width: 760px) {
  .util .util-left .util-hours { display: none; }
  .util .util-left .util-area { display: none; }
  .util-booking { display: none; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta-row .btn { display: none; }
  .header.menu-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: 24px var(--pad) 36px; gap: 4px;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 32px -16px rgba(31,57,73,0.2);
  }
  .header.menu-open .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 16px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid > div:nth-child(4) { grid-column: span 1; }
  .footer-bottom { flex-direction: column; gap: 14px; }
}
@media (max-width: 480px) {
  :root { --pad: 18px; }
  body { font-size: 16px; }
  h1 { font-size: 42px !important; line-height: 0.98; }
  h2 { font-size: 30px !important; }
  h3 { font-size: 20px !important; }
  .lede { font-size: 17px !important; }
}
