/*
  Eden of the East — Shared Site Stylesheet
  ===========================================
  Locked in 24 June 2026. See templates/DESIGN_TOKENS.md for the design
  rationale behind these choices.

  This file holds rules shared across every page type (events, and future
  Food & Beverage / Accommodation / Experiences workflows): design tokens,
  base typography, the topbar/nav, breadcrumb, and common button/heading
  styles. Page-specific layout (grids, hero proportions, detail-panel
  structure) stays in each page's own <style> block — only what's
  genuinely identical across page types lives here.
*/

:root {
  --ink: #224B43;
  --ink-soft: #3D5C54;
  --text: #1D1D1B;
  --text-soft: #6E6E6B;
  --accent: #9A5128;
  --hairline: #F0F0EE;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--text);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  line-height: 1.6;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}

h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

/* Keep wrapped category-card titles compact without changing their
   existing spacing from the Explore link. */
.tile-title {
  line-height: 1.15;
}

/* Topbar + nav — identical across every page type */

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 40px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-size: 15px;
  text-transform: uppercase;
}

.brand span {
  display: block;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin-top: 2px;
}

nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
}

nav a {
  color: var(--text-soft);
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

nav .current {
  color: var(--ink);
  font-weight: 600;
}

/* Breadcrumb — used on every detail page (event, venue, listing, etc.) */

.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 40px 0;
  font-size: 13px;
  color: var(--text-soft);
}

.breadcrumb a {
  color: var(--text-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
}

/* Eyebrow label — small-caps section/category label, used above headings */

.eyebrow {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

/* Primary action button — "Get tickets", future "Book now" / "Visit website" etc. */

.btn-primary {
  display: block;
  text-align: center;
  background: var(--ink);
  color: #FFFFFF;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 15px;
}

.btn-primary:hover {
  background: var(--accent);
}

/* Learn more button — event detail pages */

.learn-more-btn {
  display: block;
  text-align: center;
  background: var(--ink);
  color: #FFFFFF;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 15px;
}

.learn-more-btn:hover {
  background: var(--accent);
}

/* Text-link button — "Load more", used on every listing page */

.btn-text {
  background: none;
  border: none;
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 0;
}

.btn-text:hover {
  color: var(--accent);
}

/* Labelled detail row — venue/address/contact lists on event, F&B, accommodation pages */

.details-heading {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 20px;
}

.detail-row {
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
}

.detail-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.detail-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.detail-value {
  font-size: 15px;
  color: var(--text);
}

.detail-value a {
  color: var(--ink);
  text-decoration: none;
}

.detail-value a:hover {
  color: var(--accent);
}

/* Header structure for all pages */

.header {
  position: sticky;
  top: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--hairline);
  z-index: 100;
  transform: translateY(0);
  transition: transform 200ms ease;
  will-change: transform;
}

.header.header-hidden {
  transform: translateY(calc(-100% - 1px));
}

.header.header-hidden:focus-within {
  transform: translateY(0);
}

.header-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo-main {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 200;
  color: var(--ink);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.header-logo a {
  text-decoration: none;
  color: inherit;
}

.header-meta {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-left: auto;
}

.hub-link {
  font-size: 15px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  font-weight: 500;
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
}

.hub-link:hover {
  color: var(--ink);
}

.hub-link.active {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--ink);
}

/* Footer */

.footer {
  background: var(--ink);
  color: #FFFFFF;
  margin-top: 0;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  margin: 0 0 20px 0;
  color: #FFFFFF;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

/* Footer logo styling */
.footer-section-logo {
  flex: 1.5;
  display: flex;
  gap: 80px;
  align-items: flex-start;
  min-width: 0;
}

.footer-logo-box {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
}

.footer-logo {
  max-height: 100px;
  width: auto;
  display: block;
}

.footer-section-content {
  flex: 1;
  min-width: 200px;
}

/* Responsive header */

@media (prefers-reduced-motion: reduce) {
  .header {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .header-top {
    gap: 40px;
    padding: 16px 32px;
  }

  .header-meta {
    gap: 32px;
  }

  .hub-link {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .header-top {
    padding: 16px 20px;
    gap: 24px;
  }

  .header-logo-main {
    font-size: 13px;
  }

  .header-meta {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hub-link {
    font-size: 13px;
    padding-bottom: 6px;
  }

  .footer-content {
    flex-wrap: wrap;
    padding: 40px 20px;
    gap: 32px;
  }

  .footer-bottom {
    padding: 16px 20px;
  }
}

@media (max-width: 600px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 24px;
  }
  nav {
    gap: 20px;
    flex-wrap: wrap;
  }
}

/* Contextual entry into the one shared regional map. */
.category-map-entry {
  background: #224B43;
  color: #FFFFFF;
  padding: 15px 40px;
}

.category-map-entry-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.category-map-entry p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

.category-map-entry a {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #FFFFFF;
  color: #224B43;
  padding: 9px 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

/* Individual Food & Beverage pages use the shared regional map. */
.food-map-button {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  padding: 11px 18px;
  background: rgba(22, 57, 49, .86);
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.food-map-button:hover {
  background: rgba(34, 75, 67, .98);
}

@media (max-width: 620px) {
  .category-map-entry { padding: 14px 20px; }
  .category-map-entry-inner { align-items: flex-start; flex-direction: column; gap: 10px; }
  .category-map-entry a { width: 100%; text-align: center; }
}
