/*
 * Winter Tango München – Main Stylesheet
 * =======================================
 * Design: Light theme – white/grey backgrounds, red accent, dark nav
 *
 * BLOCK GUIDE (search for the marker to jump to each block):
 *   FONTS           Self-hosted @font-face (Cabin, Roboto)
 *   CSS-VARS        CSS custom properties / color palette
 *   RESET           Normalize / base resets
 *   TYPOGRAPHY      Headings, paragraphs, links
 *   LAYOUT          Container, sections, grid helpers
 *   NAV             Header & navigation (incl. dropdowns, mobile hamburger)
 *   HERO            Full-height hero / banner section
 *   FORMS           Shared form styles (inputs, buttons, labels)
 *   NEWSLETTER      "Keep me informed" section
 *   VENUE           Venue section + photo gallery
 *   LIGHTBOX        Photo gallery lightbox viewer
 *   DJS             DJ grid (shared: orchestra, DJs, photographers, workshops, hotels)
 *   PROGRAM         Schedule / programme table
 *   TICKETS         Ticket pricing cards
 *   CATERING        Catering section
 *   FOOTER          Footer
 *   FLASH           Success / error flash messages
 *   RESPONSIVE      Media queries (tablet ≤1024px, mobile ≤767px)
 */

/* =========================================================
   FONTS
   Self-hosted (no request to Google's servers at page load, so no
   visitor IP is sent to Google before consent – see LG München I,
   Az. 3 O 17493/20). Files in ../fonts/, downloaded from
   fonts.gstatic.com.
   Cabin  – SIL Open Font License 1.1  (https://github.com/google/fonts/blob/main/ofl/cabin/OFL.txt)
   Roboto – Apache License 2.0         (https://github.com/googlefonts/roboto/blob/main/LICENSE)
   ========================================================= */
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/cabin-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cabin';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/cabin-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/roboto-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/roboto-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   CSS-VARS
   ========================================================= */
:root {
  /* Color palette – light theme, red accent, dark grey nav */
  --bg-dark:       #ffffff;        /* main page background         */
  --bg-mid:        #f5f5f5;        /* alternating section bg       */
  --bg-card:       #ffffff;        /* card / box background        */
  --bg-card-alt:   #f0f0f0;        /* slightly darker card bg      */
  --gold:          #c83803;        /* primary accent – warm red    */
  --gold-light:    #e04a18;        /* lighter red for hover states */
  --gold-dark:     #8f2500;        /* darker red for headers       */
  --text:          #111111;        /* primary body text            */
  --text-muted:    #666666;        /* secondary / caption text     */
  --text-dim:      #333333;        /* slightly dimmed body text    */
  --border:        #dddddd;        /* default border colour        */
  --border-light:  #eeeeee;        /* subtle border                */
  --nav-bg:        rgba(61, 61, 61, 0.98);  /* dark grey nav      */
  --nav-height:    68px;

  /* Typography */
  --font-head:     'Cabin', Arial, sans-serif;
  --font-body:     'Roboto', Helvetica, Arial, sans-serif;

  /* Spacing */
  --section-pad:   80px;
  --container:     1200px;
  --radius:        4px;
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #3d3d3d;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--gold-light);
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.25;
  color: var(--gold);
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); margin-bottom: 0.4em; }
h4 { font-size: 1.1rem; color: var(--gold-light); }

p {
  margin-bottom: 1em;
  color: var(--text-dim);
}
p:last-child { margin-bottom: 0; }

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0.8rem auto 0;
}

.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.text-white   { color: var(--text); }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-pad) 0;
  background:
    linear-gradient(to bottom, #f8f8f8, #c8c8c8) center / var(--container) 100% no-repeat,
    #3d3d3d;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* =========================================================
   NAV
   ========================================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-img {
  height: 44px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;           /* white text on dark nav */
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: #bbbbbb;           /* light grey subtitle on dark nav */
  letter-spacing: 0.12em;
}

/* Main nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0 16px;
  line-height: var(--nav-height);
  color: #dddddd;           /* light text on dark nav */
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-item:hover > .nav-link {
  color: var(--gold);
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--nav-bg);
  border: 1px solid #555555;
  border-top: 2px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  color: #cccccc;           /* light text inside dark dropdown */
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #555555;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--gold);
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Language switcher */
/* Language switcher – dropdown */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 0 0 12px;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.2s;
}
.lang-btn:hover { background: rgba(255,255,255,0.1); }
.lang-btn .lang-flag { font-size: 1.35rem; line-height: 1; }
.lang-chevron {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.55);
  line-height: 1;
  margin-top: 1px;
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  flex-direction: column;
  background: #3d3d3d;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  overflow: hidden;
  min-width: 130px;
  z-index: 50;
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
}
.lang-switcher.open .lang-dropdown { display: flex; }
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.lang-dropdown a .lang-flag { font-size: 1.1rem; }
.lang-dropdown a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.lang-dropdown a.active { color: var(--gold); font-weight: 600; }

/* Offset for fixed nav */
body { padding-top: var(--nav-height); }

/* =========================================================
   PAGE BANNER  (full-width image strip, shared across pages)
   ========================================================= */
.page-banner {
  line-height: 0;
  background: #3d3d3d;
}
.page-banner .container {
  padding: 0;
}
.page-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.banner-wrap {
  position: relative;
  line-height: 0;
  container-type: inline-size; /* needed so cqw units scale with the image width */
}
.banner-text {
  position: absolute;
  right: 2.5%;
  bottom: 10%;
  text-align: right;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55), 0 2px 14px rgba(0,0,0,0.3);
  pointer-events: none;
}
.banner-title {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 5.3cqw;
  line-height: 1.2;
  letter-spacing: 0.01em;
  transform: translateY(0.5em);
}
.banner-date {
  display: block;
  color: #FFB300;
  font-weight: 700;
  font-size: 4.1cqw;
  line-height: 1.35;
  transform: translateY(0.5em);
}
/* Content section */
#hero {
  padding: 48px 0 56px;
}

/* Centered full-width title */
.hero-title {
  text-align: center;
  color: var(--text);
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
}

/* Two-column row */
.hero-body {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2.5rem;
  align-items: start;
}

/* Left column photo */
.hero-photo img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* Right column text */
.hero-announcement {
  color: var(--gold) !important;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.hero-reg-status { margin-bottom: 1.4rem; }
.hero-reg-text {
  color: var(--gold);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}
.hero-cd {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-bottom: 0.9rem;
}
.hero-cd span[id] {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.hero-cd-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-right: 0.15rem;
}
.hero-cd-sep { color: var(--text-muted); opacity: 0.4; }
.hero-reg-btn { margin-top: 0.25rem; }

.hero-signature {
  margin-top: 1.2rem;
  font-style: italic;
  color: var(--text-muted) !important;
  font-size: 0.95rem;
}

/* =========================================================
   FORMS  (shared across newsletter + registration)
   ========================================================= */
.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.form-label .required {
  color: var(--gold);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background: #f9f9f9;      /* light grey input bg on white page */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 56, 3, 0.12);
}
.form-control::placeholder { color: var(--text-muted); }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Radio / checkbox groups */
.radio-group,
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.radio-label,
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.4;
}
.radio-label input,
.check-label input {
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--gold);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn:hover {
  background: var(--gold-light);
  color: #ffffff;
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #ffffff;
}

/* =========================================================
   NEWSLETTER  (#newsletter)
   ========================================================= */
#newsletter {
  padding: 60px 0;
}

.newsletter-inner p {
  text-align: center;
  margin-bottom: 2rem;
}

.newsletter-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* =========================================================
   VENUE  (#venue)
   ========================================================= */

/* Slideshow */
.venue-slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-mid);
  aspect-ratio: 16/7;
}
.slideshow-track {
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.slide.active {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 2.4rem;
  height: 3.5rem;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s;
  z-index: 2;
}
.slideshow-btn:hover { background: rgba(0,0,0,0.6); }
.slideshow-prev { left: 0.5rem; }
.slideshow-next { right: 0.5rem; }
.slideshow-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}
.slideshow-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.slideshow-dots button.active { background: #fff; }

.venue-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.6rem 0 2rem;
}

#venue .venue-intro,
#orchestra .venue-intro {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 2rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-card);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item {
  cursor: pointer;
}

/* Lightbox viewer (opened from .gallery-item clicks) */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.94);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 1rem;
}
.lightbox.open {
  display: flex;
}

.lightbox-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  line-height: 1;
  z-index: 2;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
  z-index: 2;
}
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
  padding: 0.25rem;
  max-width: 100%;
  overflow-x: auto;
}

.lightbox-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius);
  opacity: 0.55;
  cursor: pointer;
  flex: 0 0 auto;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.lightbox-thumb:hover {
  opacity: 0.85;
}
.lightbox-thumb.active {
  opacity: 1;
  border-color: var(--gold);
}

/* Link to a photographer's full external album (e.g. Flickr) */
.gallery-external-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.gallery-external-link a {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 2px;
  transition: transform 0.2s;
}
.gallery-external-link a:hover {
  transform: scale(1.08);
}

/* Placeholder when no image is loaded */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: #e0e0e0;      /* visible grey on white page */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999999;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =========================================================
   MEDIA CARD  (shared: orchestra, DJs, photographers, workshops, hotels)
   ========================================================= */

/* Media card – horizontal row: fixed photo left, flexible content right */
.media-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.media-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.media-card:hover { border-color: var(--gold-dark); }

.media-photo {
  width: 220px;
  height: 220px;
  flex-shrink: 0;
  background: var(--bg-mid);
  overflow: hidden;
}
.media-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.media-body {
  padding: 1.5rem 1.5rem 1.5rem 0;
}
.media-body h4 {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.media-body p,
.media-body ul { font-size: 0.9rem; color: var(--text-dim); }

/* =========================================================
   PROGRAM  (#program)
   ========================================================= */

.program-days {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2rem;
  row-gap: 0;
  margin-top: 2rem;
}

.program-day-header {
  background: var(--gold-dark);
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
}
.program-day-header h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0;
}

.program-entry {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.5rem;
  padding: 10px 16px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.program-entry.program-row-last {
  border-radius: 0 0 var(--radius) var(--radius);
}
.program-entry.program-empty {
  background: var(--bg-card);
}

.program-time {
  color: var(--gold);
  font-weight: 500;
  font-family: var(--font-head);
  white-space: nowrap;
}
.program-event { color: var(--text-dim); font-weight: 500; display: block; }
.program-event-block { display: flex; flex-direction: column; gap: 0.2rem; }
.program-desc { color: var(--text-muted); font-size: 0.82rem; line-height: 1.5; }

/* ── Dinner menu ─────────────────────────────────────────── */
.dinner-menu {
  width: 100%;
}
.menu-course {
  margin-bottom: 1.8rem;
}
.menu-course-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
  margin-bottom: 0.9rem;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px dotted var(--border);
}
.menu-item-name {
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
}
.menu-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: right;
}
.menu-item-desc em {
  font-style: italic;
  font-size: 0.8rem;
}

/* =========================================================
   TICKETS  (#tickets)
   ========================================================= */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.ticket-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.ticket-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
}

.ticket-card.featured {
  border-color: var(--gold);
  background: var(--bg-card-alt);
}

.ticket-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.ticket-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-head);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.ticket-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.tickets-notes {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border-left: 3px solid var(--gold-dark);
  border-radius: var(--radius);
}
.tickets-notes p { font-size: 0.9rem; }

/* =========================================================
   CATERING  (#catering)
   ========================================================= */

.menu-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-list li::before {
  content: '◆';
  font-size: 0.5rem;
  color: var(--gold);
  flex-shrink: 0;
}
.menu-list li:last-child { border-bottom: none; }

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  background: #3d3d3d;
  padding: 40px 0;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.footer-social a {
  color: #aaaaaa;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.82rem;
  color: #aaaaaa;
}
.footer-copy a { color: #aaaaaa; }
.footer-copy a:hover { color: var(--gold); }

/* =========================================================
   FLASH  (form feedback messages)
   ========================================================= */
.flash {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.flash-success {
  background: rgba(50, 180, 100, 0.12);
  border: 1px solid rgba(50, 180, 100, 0.4);
  color: #1a6b38;
  font-weight: 700;
}
.flash-error {
  background: rgba(220, 60, 60, 0.12);
  border: 1px solid rgba(220, 60, 60, 0.4);
  color: #8b1a1a;
  font-weight: 700;
}
.form-group.has-error .form-control {
  border-color: rgba(220, 60, 60, 0.7);
  box-shadow: 0 0 0 2px rgba(220, 60, 60, 0.12);
}
.form-group.has-error .check-label,
.form-group.has-error .radio-label { color: rgba(180, 30, 30, 0.9); }

/* =========================================================
   REGISTRATION PAGE – extra styles
   ========================================================= */
.reg-process {
  max-width: 780px;
  margin: 0 auto 3rem;
}

.reg-process p {
  font-size: 0.95rem;
}

.reg-process ol {
  list-style: none;
  counter-reset: step;
  margin-top: 1.5rem;
}

.reg-process ol li {
  counter-increment: step;
  padding: 0.8rem 0 0.8rem 3.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  position: relative;
  font-size: 0.95rem;
}
.reg-process ol li:last-child { border-bottom: none; }
.reg-process ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--gold-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
}

.reg-form-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.form-section-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  margin: 2rem 0 1.2rem;
}

.total-box {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.total-box .total-label {
  font-family: var(--font-head);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.total-box .total-amount {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-head);
}

/* =========================================================
   WORKSHOPS PAGE – extra styles
   ========================================================= */

.instructor-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.instructor-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.workshop-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.workshop-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.workshop-card-header {
  background: var(--gold-dark);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.workshop-card-header h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0;
}
.workshop-card-header .workshop-price {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}

.workshop-card-body {
  padding: 1.2rem 1.5rem;
}
.workshop-card-body .workshop-meta {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-family: var(--font-head);
}

/* =========================================================
   RESPONSIVE – Tablet  (≤1024px)
   ========================================================= */
@media (max-width: 1024px) {
  :root { --section-pad: 60px; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .program-days { column-gap: 1rem; }

  .instructor-layout {
    grid-template-columns: 1fr 1.5fr;
  }
}

/* =========================================================
   RESPONSIVE – Mobile  (≤767px)
   ========================================================= */
@media (max-width: 767px) {
  :root {
    --section-pad: 48px;
    --nav-height:  60px;
  }

  /* Nav: restore side padding so logo/hamburger aren't flush with screen edge */
  #site-header .container { padding: 0 16px; }

  /* Nav: show hamburger, hide menu */
  .nav-hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #3d3d3d;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    overflow-y: auto;
    padding: 1rem 0 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s;
    z-index: 999;
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-item { width: 100%; }
  .nav-link {
    line-height: 1;
    padding: 14px 24px;
    font-size: 1rem;
    border-bottom: 1px solid #555555;
  }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    border-top: none;
    background: #333333;    /* slightly darker than nav for mobile sub-menu */
    display: none;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-dropdown a {
    padding: 10px 40px;
  }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .newsletter-form .form-row { grid-template-columns: 1fr; }
  .photo-gallery { grid-template-columns: 1fr 1fr; }
  .program-days {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    column-gap: 0.5rem;
  }
  .program-entry { grid-template-columns: 70px 1fr; padding: 8px 10px; }
  .tickets-grid { grid-template-columns: 1fr 1fr; }
  .workshop-cards { grid-template-columns: 1fr; }

  .instructor-layout { grid-template-columns: 1fr; }

  /* Hero */
  .hero-body { grid-template-columns: 1fr; }

  /* Media cards: collapse to stacked photo-above-content on mobile */
  .media-card {
    grid-template-columns: 1fr;
  }
  .media-photo {
    width: 100%;
    height: 220px;
  }
  .media-body {
    padding: 1rem;
  }
  .hero-photo img { max-height: 260px; }

  .total-box { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .photo-gallery { grid-template-columns: 1fr; }
  .tickets-grid  { grid-template-columns: 1fr; }
}
