/* ==========================================================================
   Luna Experience — main stylesheet
   Tokens, base, layout, header, footer and shared components.
   Page-specific styles live in assets/css/pages/*.css
   ========================================================================== */

:root {
  /* Colours */
  --c-ground: #121212;
  --c-surface: #1C1C1B;
  --c-surface-2: #2A2927;
  --c-footer: #0B0B0B;
  --c-line: #2A2A28;
  --c-line-2: #3A3936;
  --c-line-3: #4A4844;
  --c-text: #F2EFE8;
  --c-text-2: #DCD8CF;
  --c-text-3: #C9C4BA;
  --c-muted: #A8A39A;
  --c-muted-2: #8E897F;
  --c-light: #F2EFE8;
  --c-on-light: #121212;
  --c-on-light-muted: #4A4740;
  --c-on-light-muted-2: #5C5850;
  --c-accent: #D9C9A3; /* overridden inline from Global Settings */

  /* Fonts */
  --f-display: 'Fira Sans Extra Condensed', 'Commissioner', sans-serif;
  --f-brand: 'Commissioner', sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;

  /* Layout */
  --gutter: clamp(16px, 4vw, 56px);
  --section-y: 112px;
  --chamfer: 80px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--c-ground);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  min-width: 0;
}
[hidden] { display: none !important; }
img, video { max-width: 100%; height: auto; }
a { color: var(--c-text); text-decoration: none; }
a:hover { color: var(--c-accent); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
.site { overflow-x: clip; }
.site-main { display: block; }

.screen-reader-text, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--c-accent); color: var(--c-on-light); padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--c-on-light); }

/* Light sections */
.is-light { background: var(--c-light); color: var(--c-on-light); }
.is-light a { color: var(--c-on-light); }
.is-surface { background: var(--c-surface); }

/* Rich text from wysiwyg fields */
.rich > * + * { margin-top: 1em; }
.rich a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.is-light .rich a { color: var(--c-on-light); }
.rich ul, .rich ol { padding-left: 1.2em; }
.rich strong { color: inherit; }

/* Mobile safety (from design-reference/assets/css/site.css) */
@media (max-width: 640px) {
  .site a, .site span, .site strong, .site p { overflow-wrap: anywhere; }
  .nowrap, .label-line__meta { white-space: normal !important; }
  .site .label-line__label { overflow-wrap: normal; }
}

/* ---------- Layout helpers ---------- */
.section { padding: var(--section-y) var(--gutter); }
.section--home { padding: 120px var(--gutter); }
.gutter-x { padding-left: var(--gutter); padding-right: var(--gutter); }
.nowrap { white-space: nowrap; }

/* ---------- Typography patterns ---------- */
.section-heading {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 72px);
  line-height: .95;
}
/* Uppercase Commissioner heading (home "Οι εμπειρίες", "Δραστηριότητες", FAQ…) */
.section-title-caps {
  font-family: var(--f-brand);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 56px);
  text-transform: uppercase;
  line-height: 1.15;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.eyebrow--muted { color: var(--c-muted); }
.is-light .eyebrow { color: var(--c-on-light-muted); }
.eyebrow-label { /* footer + many sections: 13px .16em 600 accent */
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-accent);
}

/* Label + line */
.label-line { display: flex; align-items: center; gap: 28px; margin-top: 18px; }
.label-line__label {
  font-size: 14px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--c-accent); white-space: nowrap;
}
.label-line__line { flex: 1 1 auto; height: 1px; background: var(--c-line-2); }
.label-line__meta { font-size: 13px; color: var(--c-muted); white-space: nowrap; }

/* Chamfer image */
.chamfer {
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  background: var(--c-surface-2);
}
.chamfer--tl { clip-path: polygon(var(--chamfer) 0, 100% 0, 100% 100%, 0 100%, 0 var(--chamfer)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 16px 28px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  border: 1px solid transparent; background: none; color: inherit; cursor: pointer;
  text-align: center;
}
.btn--light { background: var(--c-light); color: var(--c-on-light); border-color: var(--c-light); }
.btn--light:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-light); }
.btn--outline { border-color: var(--c-text); color: var(--c-text); }
.btn--outline:hover { border-color: var(--c-accent); color: var(--c-accent); }
.btn--accent { background: var(--c-accent); color: var(--c-on-light); border-color: var(--c-accent); }
.btn--accent:hover { filter: brightness(1.06); color: var(--c-on-light); }
.btn--dark { background: var(--c-on-light); color: var(--c-light); border-color: var(--c-on-light); }
.btn--dark:hover { background: #000; color: var(--c-accent); }
.is-light .btn--dark { color: var(--c-light); }
.btn--outline-dark { border-color: var(--c-on-light); color: var(--c-on-light); }
.is-light .btn--outline-dark { color: var(--c-on-light); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Display link: "Μάθετε περισσότερα ↗" */
.more-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--c-accent);
}
.more-link > span { border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--c-accent); color: var(--c-on-light);
  text-align: center; font-size: 13px; letter-spacing: .08em; padding: 10px 16px;
  font-weight: 600; text-transform: uppercase;
}
.topbar a { color: inherit; }
.topbar a:hover { text-decoration: underline; color: inherit; }

/* ---------- Header ---------- */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px var(--gutter); border-bottom: 1px solid var(--c-line);
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--c-text); }
.logo:hover { color: var(--c-text); }
.logo__mark { width: 34px; height: 34px; flex: 0 0 34px; object-fit: contain; }
.logo__text { font-family: var(--f-brand); font-weight: 800; font-size: 22px; letter-spacing: .18em; }
.logo__sub { font-family: var(--f-brand); font-weight: 300; font-size: 14px; letter-spacing: .3em; color: var(--c-muted); }
.logo--footer .logo__text { font-size: 20px; }
.logo--footer .logo__sub { font-size: 12px; }

.site-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
}
.site-nav__menu { display: contents; list-style: none; margin: 0; padding: 0; }
.site-nav__menu li { display: block; }
.site-nav__menu a { display: inline-flex; align-items: center; min-height: 24px; }
.site-nav__menu .current-menu-item > a:not([href*="#"]),
.site-nav__menu .current_page_item > a:not([href*="#"]),
.site-nav__menu .current-menu-ancestor > a:not([href*="#"]),
.site-nav__menu .is-section-current > a { color: var(--c-accent); }
.site-nav__cta {
  border: 1px solid var(--c-text); padding: 12px 22px; min-height: 44px;
  display: inline-flex; align-items: center;
}
.site-nav__cta:hover { border-color: var(--c-accent); }
.site-nav__cta.is-current { background: var(--c-light); color: var(--c-on-light); border-color: var(--c-light); }
.site-nav__cta.is-current:hover { color: var(--c-on-light); }
@media (max-width: 640px) {
  .site-nav { gap: 4px 18px; }
  .site-nav__menu a { min-height: 44px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-footer); color: var(--c-text);
  font-size: 15px; line-height: 1.6;
  padding: 88px var(--gutter) 32px;
}
.site-footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px;
  padding-bottom: 64px; border-bottom: 1px solid var(--c-line);
}
.site-footer__cta { flex: 1 1 520px; min-width: 0; }
.site-footer__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 6vw, 88px); line-height: .95; }
.newsletter { flex: 1 1 380px; max-width: 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.newsletter__form { display: flex; flex-direction: column; gap: 12px; }
.newsletter__label { font-size: 14px; color: var(--c-muted); }
.newsletter__row { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter input[type="email"] {
  flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 18px; background: transparent;
  border: 1px solid var(--c-line-3); color: var(--c-text); font: inherit; border-radius: 0;
}
.newsletter input[type="email"]::placeholder { color: var(--c-muted-2); }
.newsletter .btn { min-height: 52px; padding: 0 26px; }
.newsletter__msg { font-size: 14px; color: var(--c-accent); }
.site-footer__cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 48px 40px; padding: 64px 0;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; color: var(--c-muted); min-width: 0; }
.footer-col--brand { gap: 18px; }
.footer-col__about { color: var(--c-muted); max-width: 300px; }
.footer-col__title { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-text); font-weight: 600; margin-bottom: 6px; }
.footer-col__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col__menu a { color: var(--c-muted); }
.footer-col__menu a:hover { color: var(--c-accent); }
.footer-col__strong { color: var(--c-text); font-weight: 600; }
.footer-col__hours { font-size: 13px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line-2);
  display: flex; align-items: center; justify-content: center; color: var(--c-text);
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
}
.social__btn:hover { border-color: var(--c-accent); }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding-bottom: 32px; }
.site-footer__badge { height: 48px; width: auto; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid var(--c-line); padding-top: 24px; font-size: 13px; color: var(--c-muted-2);
}
.footer-legal__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal__menu a { color: var(--c-muted-2); display: inline-flex; min-height: 24px; align-items: center; }
.footer-legal__menu a:hover { color: var(--c-accent); }

/* ==========================================================================
   Shared components
   ========================================================================== */

/* Plus list */
.plus-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 32px; }
.plus-list--single { grid-template-columns: 1fr; }
.plus-list__item { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17px; }
.plus-list__item .icon { flex: 0 0 16px; color: var(--c-accent); }
.is-light .plus-list__item .icon { color: var(--c-on-light); }

/* Pill toggle group */
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  cursor: pointer; border: 1px solid var(--c-line-3); background: transparent; color: var(--c-text);
  display: inline-flex; align-items: center; justify-content: center;
}
.pill:hover { border-color: var(--c-accent); }
.pill.is-active, .pill[aria-pressed="true"] { border-color: var(--c-accent); background: var(--c-accent); color: var(--c-on-light); }
.is-light .pill { border-color: #CFCAC0; color: var(--c-on-light); }
.is-light .pill.is-active, .is-light .pill[aria-pressed="true"] { border-color: var(--c-on-light); background: var(--c-on-light); color: var(--c-light); }
/* radio-input pills (CF7 / forms) */
.pill-radio { position: relative; display: inline-flex; }
.pill-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill-radio input:checked + .pill { border-color: var(--c-on-light); background: var(--c-on-light); color: var(--c-light); }
.pill-radio input:focus-visible + .pill { outline: 2px solid var(--c-accent); outline-offset: 3px; }

/* Horizontal scroller */
.scroller { position: relative; }
.scroller__track {
  display: flex; gap: 20px; overflow-x: auto; padding: 0 var(--gutter) 8px;
  scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--c-line-3) transparent;
}
.scroller__track > * { scroll-snap-align: start; }
.scroller__track--16 { gap: 16px; scroll-snap-type: x proximity; }
.scroller__nav { display: none; gap: 8px; }
@media (min-width: 1024px) and (hover: hover) {
  .scroller__nav { display: flex; }
}
.scroller__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-line-3);
  background: transparent; color: var(--c-text); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.scroller__btn:hover:not(:disabled) { border-color: var(--c-accent); color: var(--c-accent); }
.scroller__btn:disabled { opacity: .35; cursor: default; }

/* Activity card (Highx style) */
.activity-card {
  flex: 0 0 clamp(240px, 19vw, 300px);
  aspect-ratio: 740 / 900; border-radius: 20px; overflow: hidden; position: relative;
  background: var(--c-surface-2); display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px; color: var(--c-text);
}
.activity-card:hover { color: var(--c-text); }
.activity-card[hidden] { display: none; }
.activity-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.activity-card:hover .activity-card__img { transform: scale(1.04); }
.activity-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,.78) 100%); }
.activity-card__pill {
  position: relative; align-self: flex-start; background: rgba(18,18,18,.72);
  border: 1px solid rgba(242,239,232,.35); border-radius: 999px; padding: 6px 14px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
}
.activity-card__pill:empty { visibility: hidden; }
.activity-card__foot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.activity-card__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.activity-card__title { font-family: var(--f-brand); font-weight: 800; font-size: 26px; line-height: 1.1; }
.activity-card__sub { font-size: 13px; color: var(--c-text-3); }
.activity-card__btn {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; background: var(--c-accent); color: var(--c-on-light);
  display: flex; align-items: center; justify-content: center; transition: transform .3s ease;
}
.activity-card:hover .activity-card__btn { transform: rotate(45deg); }
.activity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.activity-grid .activity-card { flex: none; }

/* Vehicle card */
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.vehicle-card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-text); }
.vehicle-card:hover { color: var(--c-text); border-color: var(--c-line-3); }
.vehicle-card__img { display: block; width: 100%; aspect-ratio: 740 / 900; object-fit: cover; background: var(--c-surface-2); }
.vehicle-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.vehicle-card__title { font-family: var(--f-brand); font-weight: 800; font-size: 28px; letter-spacing: .04em; }
.vehicle-card__specs { font-size: 13px; letter-spacing: .08em; color: var(--c-muted); text-transform: lowercase; }
.vehicle-card__price { margin-top: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); font-weight: 600; }
.vehicle-card__more { margin-top: auto; padding-top: 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.vehicle-card:hover .vehicle-card__more { color: var(--c-accent); }
.is-light .vehicle-card { background: #FFFFFF; border-color: #DCD8CF; color: var(--c-on-light); }
.is-light .vehicle-card__specs { color: var(--c-on-light-muted); }
.is-light .vehicle-card__price { color: var(--c-on-light); }

/* Trip card */
.trip-card { flex: 0 0 280px; display: flex; flex-direction: column; gap: 12px; color: var(--c-text); }
.trip-card__img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--c-surface-2); transition: filter .3s; }
.trip-card:hover .trip-card__img { filter: brightness(1.08); }
.trip-card__caption { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* FAQ accordion */
.faq { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--c-line-2); padding: 22px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--c-line-2); }
.faq__q {
  cursor: pointer; font-family: var(--f-brand); font-weight: 600; font-size: 20px; min-height: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; font-family: var(--f-body); font-weight: 400; font-size: 24px; color: var(--c-accent); flex: 0 0 auto; transition: transform .25s; }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { margin: 12px 0 0; color: var(--c-muted); }
.is-light .faq__item { border-color: #CFCAC0; }
.is-light .faq__a { color: var(--c-on-light-muted); }
.is-light .faq__q::after { color: var(--c-on-light); }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900; max-width: 560px;
  background: var(--c-surface); border: 1px solid var(--c-line-2); color: var(--c-text);
  padding: 20px; display: flex; flex-direction: column; gap: 14px; font-size: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { color: var(--c-text-3); }
.cookie-banner a { color: var(--c-accent); text-decoration: underline; }
.cookie-banner .btn { padding: 12px 18px; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 8px; }
.cookie-banner__prefs[hidden] { display: none; }
.cookie-banner__prefs label { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.cookie-banner__prefs input { width: 20px; height: 20px; accent-color: var(--c-accent); }

/* Stars */
.stars { display: inline-flex; gap: 2px; color: var(--c-line-3); }
.stars__star.is-on { color: var(--c-accent); }
.stars .icon { display: block; }

/* Generic fallback page (page.php / index.php / 404) */
.page-fallback { padding: 96px var(--gutter) var(--section-y); max-width: 900px; }
.page-fallback__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(52px, 8vw, 120px); line-height: .93; margin-bottom: 40px; }
.page-fallback .rich { color: var(--c-text-3); line-height: 1.75; font-size: 17px; }
