/* Slovenia on Stage — shared styles
   Brand tokens from the original coming-soon page */

@import url("photo-filters.css");
@import url("photo-filter-config.css");

:root {
  --bg: #040a08;
  --bg-elevated: #0a1410;
  --text: #fffdf0;
  --accent: #d7193f;
  --muted: #d8dfd9;
  --line: rgba(255, 253, 240, 0.14);
  --field: rgba(255, 253, 240, 0.06);
  --font-display: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --header-h: 72px;
  --sticky-cta-h: 64px;
  --max: 1120px;
  --ease: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(40, 72, 52, 0.45), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(215, 25, 63, 0.06), transparent 40%),
    var(--bg);
  line-height: 1.6;
  letter-spacing: 0.01em;
  padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px));
}

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

a {
  color: inherit;
}

/* —— Header / nav —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(4, 10, 8, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-text span {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: filter var(--ease), transform 0.15s ease;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: rgba(255, 253, 240, 0.35);
  filter: none;
}

.btn-book-header {
  margin-left: 8px;
  padding: 10px 18px;
  white-space: nowrap;
}

/* —— Sticky mobile Book —— */

.sticky-book {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(4, 10, 8, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.sticky-book .btn {
  width: 100%;
  min-height: 48px;
}

/* —— Layout —— */

main {
  display: block;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: clamp(24px, 4vw, 44px) 0;
}

.section--tight {
  padding: clamp(16px, 2.5vw, 28px) 0;
}

.section-label {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-lead {
  margin: 0 0 28px;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.prose p {
  margin: 0 0 1.1em;
}

.prose p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cta-band {
  margin: 36px 0;
  padding: clamp(28px, 5vw, 40px) clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(215, 25, 63, 0.18), transparent 55%),
    var(--field);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-band p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  max-width: 28ch;
}

/* —— Home hero —— */

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg-elevated);
  overflow: hidden;
}

/* Optional edge darkening — toggle in photo-filter-config.css */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--hero-vignette, 0);
  background: radial-gradient(
    ellipse at center,
    transparent var(--hero-vignette-softness, 42%),
    rgba(4, 10, 8, var(--hero-vignette-strength, 0.7)) 100%
  );
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 10, 8, 0.25) 0%, rgba(4, 10, 8, 0.45) 45%, rgba(4, 10, 8, 0.88) 100%),
    radial-gradient(ellipse at 50% 0%, transparent 40%, rgba(4, 10, 8, 0.35) 100%);
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Portrait group shot: keep faces higher in frame */
  object-position: center 60%;
}

.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 56px;
  animation: rise 0.9s ease both;
}

.hero__logo {
  width: min(160px, 38vw);
  margin-bottom: 20px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 12ch;
}

.hero__line {
  margin: 22px 0 0;
  max-width: 28rem;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  line-height: 1.55;
  font-style: italic;
  color: var(--text);
}

.hero__support {
  margin: 18px 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.essentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: -1px 0 0;
  padding: 0;
  list-style: none;
}

.essentials li {
  list-style: none;
  margin: 0;
  padding: 22px 18px;
  background: var(--bg);
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.essentials strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

/* —— Dates —— */

.dates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dates li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--field);
}

.dates .label {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dates .when {
  font-size: 1.05rem;
}

.dates .when span {
  color: var(--muted);
  font-size: 0.92rem;
}

.dates .date-action {
  justify-self: end;
}

/* —— Why list / who —— */

.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 36rem;
}

.why-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.08rem;
  color: var(--muted);
}

.why-list li:last-child {
  border-bottom: 0;
  color: var(--text);
  font-weight: 600;
}

.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--muted);
}

.audience strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 400;
}

.note-access {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--field);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* —— Gallery —— */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.gallery-grid figure {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--field);
  border: 1px solid var(--line);
}

.gallery-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--gallery-vignette, 0);
  background: radial-gradient(
    ellipse at center,
    transparent var(--gallery-vignette-softness, 45%),
    rgba(4, 10, 8, var(--gallery-vignette-strength, 0.55)) 100%
  );
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 16px;
  text-align: center;
  color: rgba(255, 253, 240, 0.35);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-status {
  margin: 0 0 12px;
  color: rgba(255, 253, 240, 0.45);
  font-size: 0.88rem;
}

/* —— Venue —— */

.venue-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}

.map-embed {
  border: 1px solid var(--line);
  background: var(--field);
  min-height: 280px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}

.travel-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.travel-list li {
  color: var(--muted);
  padding-left: 1.1em;
  position: relative;
}

.travel-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* —— Eventbrite placeholders —— */

.eb-slot {
  margin-top: 12px;
  padding: 20px;
  border: 1px dashed rgba(215, 25, 63, 0.45);
  background: rgba(215, 25, 63, 0.06);
}

.eb-slot p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.eb-slot code {
  font-size: 0.85em;
  color: var(--text);
}

/* —— FAQ —— */

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 720px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 4px;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list .answer {
  padding: 0 4px 20px;
  color: var(--muted);
  line-height: 1.75;
}

/* —— Forms (interest) —— */

form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

label.field {
  display: grid;
  gap: 6px;
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--ease), background var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(215, 25, 63, 0.55);
  background: rgba(255, 253, 240, 0.09);
}

textarea {
  min-height: 88px;
  resize: vertical;
}

.choices {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: var(--field);
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--ease), background var(--ease);
}

.choice:hover {
  border-color: rgba(255, 253, 240, 0.28);
}

.choice:has(input:checked) {
  border-color: rgba(215, 25, 63, 0.65);
  background: rgba(215, 25, 63, 0.1);
}

.choice input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.choice small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.85rem;
}

.choice.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ticket-form {
  max-width: 640px;
}

.ticket-form select {
  appearance: none;
  border-radius: 0;
}

.ticket-admin-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0 0 8px;
}

.ticket-admin-summary article {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--field);
  font-size: 0.9rem;
  color: var(--muted);
}

.ticket-admin-summary strong {
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ticket-admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.ticket-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.ticket-admin-table th,
.ticket-admin-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.ticket-admin-table th {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.optional {
  opacity: 0.6;
  text-transform: none;
  letter-spacing: normal;
}

.note {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  line-height: 1.7;
}

.form-error {
  margin: 4px 0 0;
  color: #ff8a9a;
  font-size: 0.9rem;
  line-height: 1.5;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.thanks {
  display: none;
  padding: 28px 18px;
  border: 1px solid var(--line);
  background: var(--field);
  max-width: 520px;
}

.thanks.is-visible {
  display: block;
  animation: rise 0.5s ease both;
}

.thanks strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.thanks p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* —— Footer —— */

.site-footer {
  margin-top: 24px;
  padding: 40px 0 32px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-footer .slogan {
  margin: 0 0 12px;
  font-style: italic;
  color: var(--muted);
  max-width: 28rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 223, 217, 0.35);
  transition: color var(--ease), border-color var(--ease);
}

.site-footer a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: baseline;
}

/* —— Utilities —— */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Responsive —— */

@media (max-width: 900px) {
  .essentials {
    grid-template-columns: repeat(2, 1fr);
  }

  .venue-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: rgba(4, 10, 8, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .btn-book-header {
    display: none;
  }

  .sticky-book {
    display: block;
  }

  .dates li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dates .date-action {
    justify-self: stretch;
  }

  .dates .date-action .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .essentials {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(88vh, 700px);
  }
}
