/* ==========================================================================
   O'Dance Holiday — Crète 2027 · Travel Feeling page (travel-feeling.html)
   Scoped under .odt. Header/footer are the shared site components.
   ========================================================================== */
@font-face { font-family: "ODT Barlow"; src: url("fonts/barlow-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ODT Barlow"; src: url("fonts/barlow-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "ODT Barlow Semi"; src: url("fonts/barlow-semi-condensed-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "ODT Barlow Semi"; src: url("fonts/barlow-semi-condensed-800.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "ODT Marck"; src: url("fonts/marck-script.woff") format("woff"); font-weight: 400; font-display: swap; }

.odt {
  --odt-navy: #0b3c9a;
  --odt-text: #24406f;
  --odt-line: #e1eaf6;
  --odt-yellow: #fdd535;
  --odt-gutter: clamp(16px, 4vw, 48px);        /* same as the top menu */
  background: #fff;
  color: var(--odt-text);
  font-family: "ODT Barlow", system-ui, sans-serif;
}
.odt *, .odt *::before, .odt *::after { box-sizing: border-box; }
.odt :where(h1, h2, h3, p, ul) { margin: 0; padding: 0; }
.odt ul { list-style: none; }

/* ---------- Cinema hero: the Greece video plays inside the auditorium's projector screen ---------- */
.odt-cinema {
  position: relative; overflow: hidden;
  width: 100%;
  background: #cfc6bb;
}
/* The "stage" keeps the auditorium's exact proportions; every position inside is a percentage of it,
   so the video can never detach from the screen when the window is resized. */
.odt-cinema__stage {
  --stage-w: 100%;
  position: relative;
  width: var(--stage-w);
  margin-left: calc((100% - var(--stage-w)) / 2);   /* centred when wider than the window (mobile) */
  aspect-ratio: 2868 / 1181;                        /* auditorium image ratio */
}
.odt-cinema__room { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Projector screen = clipping container (slight perspective: bottom edge a touch wider) */
.odt-cinema__screen {
  position: absolute;
  left: 27.092%; top: 11.346%; width: 49.826%; height: 53.429%;
  overflow: hidden;
  clip-path: polygon(0.42% 0, 99.51% 0, 100% 100%, 0 100%);
  background: #2e3a48;
}
.odt-cinema__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;                                 /* fills the screen, never stretched */
  display: block;
  filter: brightness(.97) contrast(1.04) saturate(1.06);
}
/* Projected-light look: soft vignette at the edges, faint sheen, thin shadow on the frame's inner edge */
.odt-cinema__screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 120% at 50% 45%, rgba(255, 255, 255, 0) 60%, rgba(10, 20, 35, .22) 100%),
    linear-gradient(115deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 38%);
  box-shadow: inset 0 0 0 1px rgba(40, 35, 30, .35), inset 0 0 18px rgba(20, 25, 35, .25);
}
/* Very soft glow of the image spilling onto the white frame */
.odt-cinema__glow {
  position: absolute;
  left: 25.6%; top: 8.9%; width: 52.8%; height: 58.4%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(150, 205, 255, .30), rgba(150, 205, 255, 0));
  filter: blur(8px);
  mix-blend-mode: screen;
}
.odt-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (max-width: 900px) { .odt-cinema__stage { --stage-w: 112%; } }   /* trim the outer walls a little */
@media (max-width: 600px) { .odt-cinema__stage { --stage-w: 130%; } }   /* larger screen on phones; podium and stage chairs stay visible */

/* ---------- YouTube video under the cinema ---------- */
.odt-yt { padding: 22px var(--odt-gutter) 0; }
.odt-yt__frame {
  position: relative;
  width: min(80%, 1060px); margin: 0 auto;      /* ≈ 80 % of the content width, capped */
  aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden;
  background: #0b1c3a;
  box-shadow: 0 12px 30px rgba(11, 60, 140, .16), 0 2px 6px rgba(11, 60, 140, .1);
}
.odt-yt__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Flyer gallery ---------- */
.odt-gallery { padding-block: 22px 24px; padding-inline: var(--odt-gutter); }
.odt-grid {
  max-width: 1060px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
  gap: 24px;
}
.odt-flyer { flex: 0 1 calc((100% - 24px) / 2); max-width: 520px; min-width: 0; display: grid; gap: 12px; justify-items: center; }

.odt-flyer__card {
  display: block; color: inherit; text-decoration: none;
  background: #fff;
  border: 1px solid var(--odt-line); border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(11, 60, 140, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.odt-flyer__media { overflow: hidden; background: #eaf2fb; }
.odt-flyer__img {
  display: block; width: 100%; height: auto;     /* whole flyer visible, never cropped or stretched */
  transition: transform .45s ease;
}
.odt-flyer__caption { padding: 10px 14px 12px; display: grid; gap: 2px; }
.odt-flyer__meta {
  font-family: "ODT Barlow Semi", sans-serif; font-weight: 700;
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #3e6fc0;
}
.odt-flyer__title { font-family: "ODT Barlow Semi", sans-serif; font-weight: 800; font-size: 18px; line-height: 1.2; color: var(--odt-navy); }
.odt-flyer__subtitle { font-size: 15px; line-height: 1.4; font-weight: 500; }
.odt-flyer__card { width: 100%; }
.odt-flyer__card--cta { position: relative; container-type: inline-size; }
.odt-flyer__area { display: block; }
.odt-flyer__cta {
  position: absolute; left: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .72em 1.6em; border-radius: 999px; white-space: nowrap;
  background: #ffd400; color: #0a2f8f; text-decoration: none;
  border: 3px solid #fff;
  font-family: "ODT Barlow Semi", sans-serif; font-weight: 800;
  font-size: clamp(14px, 3cqw, 19px); letter-spacing: .03em; text-transform: uppercase;
  box-shadow: 0 5px 0 #1f5fd6, 0 10px 18px rgba(11, 60, 140, .25);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.odt-flyer__cta svg { width: .7em; height: .7em; }
.odt-flyer__cta:hover { background: #ffe066; transform: translate(-50%, calc(-50% - 2px)); box-shadow: 0 7px 0 #1f5fd6, 0 14px 22px rgba(11, 60, 140, .28); }
.odt-flyer__cta:focus-visible { outline: 3px solid #1f5fb4; outline-offset: 4px; }
a.odt-flyer__card:focus-visible { outline: 3px solid #1f5fb4; outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  a.odt-flyer__card:hover, .odt-flyer__card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11, 60, 140, .14); }
  .odt-flyer__card:hover .odt-flyer__img { transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .odt-flyer__card, .odt-flyer__img { transition: none; }
  .odt-flyer__card:hover, .odt-flyer__card:hover .odt-flyer__img { transform: none; }
}

@media (max-width: 1024px) {
  .odt-yt__frame { width: 100%; }
  .odt-grid { gap: 18px; }
  .odt-flyer { flex-basis: calc((100% - 18px) / 2); }      /* 2 per row */
}
@media (max-width: 600px) {
  .odt-yt { padding-top: 16px; }
  .odt-yt__frame { border-radius: 10px; }
  .odt-gallery { padding-block: 16px 20px; }
  .odt-grid { max-width: 460px; gap: 18px; }
  .odt-flyer { flex-basis: 100%; }                          /* 1 per row */
}
@media (prefers-reduced-motion: reduce) { .odt-flyer__cta { transition: none; } .odt-flyer__cta:hover { transform: translate(-50%, -50%); } }
