/* ==========================================================================
   QuoData @ IAFP 2026 — Landing Page Styles (Version 2: Editorial)
   Brand tokens pulled from quodata.de theme CSS, navy-led palette
   ========================================================================== */

:root {
  --color-navy: #114785;          /* primary in this version */
  --color-navy-dark: #0c3563;
  --color-orange: #d6620e;        /* accent — CTAs only */
  --color-orange-dark: #a84c0a;
  --color-olive: #a7bd43;         /* accent — secondary */
  --color-cream: #f6f1e9;

  --color-text: #4a4a4a;
  --color-heading: #17233a;
  --color-white: #ffffff;
  --color-bg-alt: #f6f1e9;
  --color-border: #e2dccf;

  --font-heading: 'Playfair Display', serif;
  --font-text: 'Open Sans', sans-serif;

  --max-width: 1180px;
  --radius: 4px;
  --shadow: 0 14px 34px rgba(17, 35, 58, 0.10);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  margin: 0;
  font-weight: 700;
}
p { margin: 0 0 1rem; }
section { position: relative; }

.placeholder-text {
  outline: 1px dashed rgba(214, 98, 14, 0.5);
  outline-offset: 3px;
  background: rgba(214, 98, 14, 0.06);
}

.section-inner, .header-inner, .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  font-family: var(--font-text);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange-dark);
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  margin-bottom: 16px;
}
.section-lede {
  max-width: 640px;
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--color-orange-dark); }
.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-outline:hover { background: var(--color-navy); color: var(--color-white); }

/* ---------- Consent banner ---------- */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--color-navy-dark);
  color: #cfd8e6;
  padding: 18px 24px;
  box-shadow: 0 -8px 24px rgba(17, 35, 58, 0.18);
}
.consent-banner[hidden] { display: none; }
.consent-text { margin: 0; max-width: 640px; font-size: 0.9rem; }
.consent-text a { color: var(--color-white); text-decoration: underline; }
.consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.btn-small { padding: 9px 20px; font-size: 0.85rem; }
.consent-banner .btn-outline { color: var(--color-white); border-color: rgba(255,255,255,0.5); }
.consent-banner .btn-outline:hover { background: rgba(255,255,255,0.12); color: var(--color-white); }

@media (max-width: 720px) {
  .consent-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .consent-actions { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand-logo { height: 46px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav a {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-heading);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover { border-bottom-color: var(--color-orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-heading);
  border-radius: 2px;
}

/* ---------- Hero (split layout) ---------- */
.hero {
  background: var(--color-cream);
  padding: 80px 0;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-text);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--color-orange-dark);
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  color: var(--color-navy);
  margin-bottom: 22px;
}
.hero-subtitle {
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  justify-self: center;
  display: block;
  cursor: pointer;
}
.hero-visual-img {
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(17, 35, 58, 0.25);
  transform: rotate(3deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-visual:hover .hero-visual-img {
  transform: rotate(1deg) translateY(-4px);
  box-shadow: 0 36px 70px rgba(17, 35, 58, 0.32);
}
.hero-visual-tag {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius);
  white-space: nowrap;
  box-shadow: var(--shadow);
}

/* ---------- Poster gallery ---------- */
.posters { padding: 90px 0; background: var(--color-white); }

.gallery-stage {
  background: var(--color-cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.gallery-stage img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  background: var(--color-cream);
}
.gallery-caption {
  padding: 22px 28px 30px;
  border-top: 1px solid var(--color-border);
}
.gallery-caption h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.gallery-caption p { margin: 0 0 14px; font-size: 0.96rem; }
.gallery-download {
  display: inline-block;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-navy);
  border-bottom: 2px solid var(--color-orange);
  padding-bottom: 2px;
}
.gallery-download:hover { color: var(--color-orange-dark); }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-thumb {
  position: relative;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.gallery-thumb img { width: 100%; height: 90px; object-fit: cover; }
.gallery-thumb:hover { transform: translateY(-3px); }
.gallery-thumb.active { border-color: var(--color-navy); }
.gallery-thumb-num {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(17, 35, 58, 0.85);
  color: var(--color-white);
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 3px;
  z-index: 2;
}

/* ---------- Offerings — numbered list ---------- */
.offerings { padding: 90px 0; background: var(--color-cream); }

.offerings-list {
  border-top: 1px solid var(--color-border);
}
.offering-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: baseline;
}
.offering-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-orange);
  font-weight: 700;
}
.offering-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--color-navy);
}
.offering-body p {
  font-size: 0.98rem;
  margin: 0;
  max-width: 640px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy-dark);
  color: #cfd8e6;
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo {
  height: 32px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col p { font-size: 0.9rem; }
.footer-col a { display: block; }
.footer-col a.footer-contact-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-white);
  border-bottom: 2px solid var(--color-orange);
  padding-bottom: 2px;
}
.footer-contact-link:hover { color: var(--color-orange); }
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer .placeholder-text {
  outline-color: rgba(214,98,14,0.7);
  background: rgba(214,98,14,0.14);
  color: #f5ebe0;
}
.footer-qr {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.qr-image {
  width: 84px;
  height: 84px;
  background: var(--color-white);
  padding: 5px;
  border-radius: 6px;
}
.qr-caption {
  margin: 0;
  font-size: 0.85rem;
  color: #a8b6cc;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #90a0ba;
}

/* ==========================================================================
   Responsive — mobile compatibility
   ========================================================================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; margin-bottom: 20px; }
  .hero-actions { justify-content: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    transition: max-height 0.25s ease;
  }
  .primary-nav.open { max-height: 320px; }
  .primary-nav a {
    width: 100%;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    border-bottom-width: 1px !important;
  }
  .hero { padding: 56px 0; }
  .hero-visual-img { max-width: 240px; }

  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
  .gallery-stage img { max-height: 320px; }

  .offering-row { grid-template-columns: 50px 1fr; }
  .offering-num { font-size: 1.3rem; }

  .footer-inner { grid-template-columns: 1fr; }
}
