
/* ============================================================
DE PERE JAM SESSION - CUSTOM STYLES
============================================================ */
/* ============================================================
ROOT VARIABLES
============================================================ */
:root {
  --brand: #8b1538;
  --brand-dark: #6b1028;
  --red: #dc2626;
  --coral: #ff6b6b;
  --gold: #f9c846;
  --navy: #0f1419;
  --sky-blue: #87ceeb;
  --jet-gray: #4a5568;
  --ink: #232323;
  --ink-2: #424242;
  --white: #ffffff;
  --bg-1: #fff8f6;
  --bg-2: #ffe9e9;
  --bg-3: #fffdf8;
  --shadow-pop: 0 10px 30px rgba(255, 107, 107, 0.25);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --blur: saturate(150%) blur(6px);
}
/* ============================================================
GLOBAL RESET
============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
/* ============================================================
BACKGROUND
============================================================ */
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--sky-blue) 0%, #ffffff 25%, var(--bg-1) 50%, var(--bg-2) 75%, var(--bg-3) 100%),
    radial-gradient(ellipse at top, rgba(135, 206, 235, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(255, 201, 107, 0.2) 0%, transparent 50%);
  min-height: 100vh;
  overflow-x: hidden;
}
/* ============================================================
HEADER
============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  padding: 1rem 0.75rem;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.header-content img {
  flex-shrink: 0;
}
.hashtag {
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 1px;
}
header h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  margin: 0;
  background: linear-gradient(90deg, var(--brand) 0%, var(--gold) 50%, var(--brand) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s ease-in-out infinite;
  letter-spacing: 0.4px;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
/* ============================================================
LAYOUT
============================================================ */
.page-layout {
  display: flex;
  min-height: calc(100vh - 110px);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
}
.main-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
/* ============================================================
TEASER SECTION
============================================================ */
.teaser-section {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  padding: 1.5rem;
}
.danger-zone-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.jet-icon {
  width: 150px;
  height: 100px;
  margin: 0 1.5rem;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
  object-fit: contain;
}
.jet-left {
  transform: rotate(-15deg);
}
.jet-right {
  transform: rotate(15deg) scaleX(-1);
}
.teaser-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--navy);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.teaser-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--jet-gray);
  margin-bottom: 1rem;
  font-style: italic;
}
.call-sign-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.call-sign {
  display: inline-block;
  background: linear-gradient(45deg, var(--navy), var(--jet-gray));
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 2px solid var(--gold);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.call-sign:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.mission-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}
/* ============================================================
SORTIE: NEW LONDON – PLANE LAYOUT
============================================================ */
.sortie-section {
  margin: 2.5rem auto;
  padding: 2rem 1rem;
  text-align: center;
}
.sortie-title {
  position: relative;
  display: inline-block;
}
.sortie-title h1,
.sortie-title h2 {
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--brand));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
.sortie-title h2 {
  font-size: clamp(26px, 4vw, 40px);
}
.sortie-title h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}
/* Sky background with drifting clouds */
.plane-sky {
  margin-top: 2rem;
  padding: 2rem 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--sky-blue) 0%, #bfe6ff 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
/* Cloud elements */
.plane-sky::before,
.plane-sky::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 120px;
  background: rgba(255,255,255,0.55);
  filter: blur(30px);
  border-radius: 50%;
  animation: cloud-drift 22s linear infinite;
  will-change: transform;
}
.plane-sky::after {
  top: 40%;
  left: -20%;
  animation-duration: 28s;
}
.plane-sky::before {
  top: 10%;
  left: -30%;
}
@keyframes cloud-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(160%); }
}
/* Plane rows */
.plane-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}
/* Top layer */
.plane-top img {
  width: clamp(180px, 25vw, 260px);
}
/* Middle layer */
.plane-middle img,
.plane-middle video {
  width: clamp(120px, 18vw, 180px);
}
/* Bottom layer */
.plane-bottom img {
  width: clamp(150px, 20vw, 200px);
}
/* Shared media styling */
.plane-img,
.plane-video {
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.plane-img:hover,
.plane-video:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}
/* ============================================================
SLIDESHOW
============================================================ */
.livestream-content {
  width: 100%;
}
.stream-area {
  width: 100%;
}
.slideshow-container {
  max-width: 1000px;
  width: 100%;
  position: relative;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.slide {
  display: none;
  width: 100%;
  height: 100%;
  text-align: center;
}
.slide:first-child {
  display: block;
}
.slide img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}
.fade {
  animation-name: fade;
  animation-duration: 1.25s;
}
@keyframes fade {
  from { opacity: 0.35; }
  to { opacity: 1; }
}
/* ============================================================
TEXT BUTTONS SECTION
============================================================ */
.text-buttons-section-embed {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.5);
}
.text-buttons-section-embed p {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 1rem;
  color: var(--ink);
}
.cta-buttons-text {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.cta-btn-text {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-primary-text {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(139, 21, 56, 0.3);
}
.cta-primary-text:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 21, 56, 0.4);
}
/* ============================================================
FOOTER
============================================================ */
.footer-embed {
  background: linear-gradient(180deg, #ffffff 0%, #fff4f4 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  padding: 1rem;
  color: var(--ink-2);
  font-weight: 600;
}
/* ============================================================
RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .teaser-title {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  .teaser-subtitle {
    font-size: 1rem;
  }
  .call-sign {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
  .jet-icon {
    width: 100px;
    height: 70px;
    margin: 0 0.75rem;
  }
  .plane-row {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .header-content {
    flex-direction: column;
    gap: 0.5rem;
  }
}
@media (max-width: 480px) {
  .danger-zone-header {
    flex-direction: column;
  }
  .jet-left,
  .jet-right {
    transform: none;
    margin: 0.5rem 0;
  }
  .cta-buttons-text {
    flex-direction: column;
  }
  .cta-btn-text {
    width: 100%;
  }
}

/* ============================================================
IMAGE MODAL (LIGHTBOX) - CORRECTED
============================================================ */
.image-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.image-modal.open {
  display: flex;
}
.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.close-modal {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10001;
  transition: background 0.2s;
}
.close-modal:hover, .close-modal:focus {
  background: rgba(0, 0, 0, 0.8);
}
.plane-img {
  cursor: pointer;
  transition: opacity 0.2s;
}
.plane-img:hover {
  opacity: 0.85;
}

/* ============================================================
   SKIP NAVIGATION LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--brand);
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  z-index: 100001;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ============================================================
   HEADER SCHOOL NAME (replaces first h1)
   ============================================================ */
.header-school-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  margin: 0;
  background: linear-gradient(90deg, var(--brand) 0%, var(--gold) 50%, var(--brand) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s ease-in-out infinite;
  letter-spacing: 0.4px;
}

/* ============================================================
   SLIDESHOW PAUSE BUTTON
   ============================================================ */
.slideshow-controls {
  text-align: center;
  padding: 0.6rem 0 0.2rem;
}
.slideshow-pause-btn {
  background: rgba(0, 0, 0, 0.55);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.slideshow-pause-btn:hover,
.slideshow-pause-btn:focus {
  background: rgba(0, 0, 0, 0.85);
  border-color: white;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================
   MODAL CLOSE BUTTON — reset <button> defaults
   ============================================================ */
#closeBtn {
  border: none;
  font-family: inherit;
  line-height: 1;
  padding: 0;
}

/* ============================================================
   PRIOR SEASONS ARCHIVE SECTION
   Add one .season-card per past season. Use .season-card-soon
   for placeholder seasons not yet published.
   ============================================================ */
.prior-seasons-section {
  text-align: center;
  padding: 3rem 1.25rem 3.5rem;
  background:
    radial-gradient(1000px 600px at 10% 0%, rgba(249,200,70,0.07) 0%, transparent 60%),
    radial-gradient(800px 600px at 90% 100%, rgba(15,20,25,0.6) 0%, transparent 60%),
    linear-gradient(180deg, #0f1419 0%, #1a2035 100%);
  border-top: 1px solid rgba(249, 200, 70, 0.15);
}

.prior-seasons-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.prior-seasons-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.prior-seasons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.season-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 220px;
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(249, 200, 70, 0.25);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

a.season-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(249,200,70,0.2);
  text-decoration: none;
}

.season-card-year {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.season-card-theme {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.season-card-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

a.season-card:hover .season-card-cta {
  color: var(--gold);
}

/* Accent tint per season theme — add one per season */
.season-card.theme-dancefloor {
  border-color: rgba(0, 200, 83, 0.3);
  background: rgba(0, 200, 83, 0.05);
}

a.season-card.theme-dancefloor:hover {
  border-color: #00C853;
  box-shadow: 0 8px 28px rgba(0, 200, 83, 0.25);
}

.season-card.theme-dancefloor .season-card-year {
  color: #00C853;
}

/* Placeholder / coming soon state */
.season-card.season-card-soon {
  opacity: 0.45;
  cursor: default;
  border-style: dashed;
}

@media (max-width: 500px) {
  .season-card { width: 100%; max-width: 320px; }
}
