@font-face {
  font-family: "GC Vank";
  src: url("/fonts/GC Vank.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent-yellow: #eece14; /* High-visibility yellow for color-blind accessibility */
  --accent-yellow-hover: #fa0075; /* High-visibility yellow for color-blind accessibility */
  --dark-bg: #000000;
  --text-on-yellow: #000000;
  --text-on-pink: #eddfce;
  --text-light: #ffffff;
  --bg-color: #eddfce;
  --section-gap: 30px;
  --accent-orange: #ff2e00;
  --accent-pink: #fa0075;
  --accent-pink-hover: #eece14; /* High-visibility yellow for color-blind accessibility */
  --accent-blue: #009ee0;
}

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 107.6px;
}

body {
  font-family: "Archivo", "Arial Black", "Helvetica Neue", sans-serif;
  background-color: var(--bg-color);
  background-image:
    linear-gradient(rgba(237, 223, 206, 0.85), rgba(237, 223, 206, 0.85)),
    url("/bg_grunge.jpg");
  background-repeat: no-repeat, repeat-y;
  background-position:
    center top,
    center top;
  background-size:
    cover,
    100% auto;
  background-blend-mode: normal, multiply;
  line-height: 1.4;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOP ANNOUNCEMENT BAR */
.promo-bar {
  background-color: var(--accent-yellow);
  color: var(--text-on-yellow);
  text-align: center;
  padding: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

/* CENTERED HEADER & LOGO */
.main-header {
  background-color: var(--dark-bg);
  border-bottom: 8px solid var(--accent-yellow);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 140px;
  padding: 0 20px;
  transition: height 0.3s ease;
}

.main-header.scrolled .container {
  height: 70px;
}

.centered-logo {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.centered-logo img {
  height: 140px; /* Large Logo - fills container height */
  width: auto;
  transition: all 0.3s ease;
}

.main-header.scrolled .centered-logo img {
  height: 60px;
}

.centered-logo img:hover {
  transform: scale(1.05);
}

.centered-nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  transition: all 0.3s ease;
}

.centered-nav .nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 0;
  transition: gap 0.3s ease;
}

.centered-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 900;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.centered-nav a:hover {
  color: var(--accent-yellow);
}

.main-header.scrolled .centered-nav .nav-links {
  gap: 25px;
}

/* HAMBURGER MENU BUTTON */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  padding: 10px;
  margin-right: auto;
  z-index: 1001;
  position: relative;
  width: 28px;
  height: 24px;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--accent-yellow);
  transition: all 0.4s ease;
  border-radius: 2px;
  position: absolute;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}

.menu-toggle.active span:nth-child(1) {
  opacity: 0;
  transform: rotate(45deg) translateY(10px);
  top: 10px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 1;
  transform: rotate(45deg);
  top: 10px;
}

.menu-toggle.active span:nth-child(3) {
  opacity: 1;
  transform: rotate(-45deg);
  top: 10px;
}

/* CTA BUTTON IN NAV */
.nav-btn {
  background-color: var(--accent-pink);
  color: var(--text-on-pink);
  padding: 10px 25px;
  border-radius: 4px;
  text-transform: uppercase;
}

.nav-btn:hover,
a.nav-btn:hover {
  background-color: var(--accent-yellow);
  transform: translateY(-3px);
  color: var(--dark-bg);
}

.badge-btn {
  background-color: var(--accent-orange);
}

/* SPONSORS SECTION */
.sponsor-section {
  margin: var(--section-gap) 0;
}

.sponsor-tier-title {
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark-bg);
  margin-bottom: 25px;
}

.presenting-sponsor {
  display: flex;
  justify-content: center;
  margin-bottom: var(--section-gap);
}

.presenting-sponsor-logo {
  display: inline-block;
  max-width: 400px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  border: 2px solid #e0e0e0;
}

.presenting-sponsor-logo img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

.presenting-sponsor-logo:hover {
  border-color: var(--accent-orange);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.premium-sponsors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: var(--section-gap);
}

.premium-sponsor-logo {
  display: block;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.premium-sponsor-logo:hover {
  border-color: var(--accent-orange);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.premium-sponsor-logo img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.area-sponsors-container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-bottom: var(--section-gap);
}

.area-sponsors {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  flex-grow: 1;
  min-width: 0;
}

.area-sponsor-logo {
  display: block;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  flex: 0 1 180px;
}

.area-sponsor-logo:hover {
  border-color: var(--accent-orange);
  transform: scale(1.05);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.area-sponsor-logo img {
  width: 100%;
  height: 100px;
  object-fit: contain;
}

.sponsor-nav-btn {
  background-color: var(--accent-yellow);
  color: var(--text-on-yellow);
  border: none;
  padding: 10px 15px;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 4px;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  flex-shrink: 0;
}

.sponsor-nav-btn:hover {
  background-color: var(--accent-yellow-hover);
  transform: scale(1.1);
}

/* HERO SECTION WITH VIDEO */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-video {
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  max-height: 677.5px;
  z-index: -1;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overlay for text readability */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(0, 0, 0, 0.5);*/
  z-index: 0;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 677.5px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
}

.hero-image::after {
  background: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content p {
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: 1.5rem;
}

.hero h1 {
  font-family: "GC Vank", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.9;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--accent-yellow);
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent-yellow);
  color: var(--text-on-yellow);
  padding: 18px 45px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: 4px;
  margin-top: 25px;
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--accent-yellow-hover);
  color: var(--text-on-pink);
  transform: translateY(-3px);
}

/* COUNTDOWN AND TICKET SECTION */
.ticket-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.countdown-container {
  margin-top: 25px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  align-items: center;
  justify-items: center;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.countdown-value {
  font-family: "GC Vank", "Arial Black", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-yellow);
  line-height: 1;
  min-width: 80px;
  text-align: center;
}

.countdown-label {
  font-family: "GC Vank", "Arial Black", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
}

.hero-tagline {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* CONTENT SECTIONS */
.section-header {
  position: relative;
  font-family: "GC Vank", "Arial Black", sans-serif;
  font-size: 3rem;
  margin: var(--section-gap) 0 30px;
  padding: 8px 20px 0px 20px;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 1);
  text-transform: uppercase;
  font-weight: 900;
  text-align: center;
  background-color: var(--accent-blue);
  color: var(--text-on-pink);
}

.section-header::before,
.section-header::after,
.section-header-nobg::before,
.section-header-nobg::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent-yellow);
  clip-path: polygon(
    50% 0%,
    60% 35%,
    100% 50%,
    60% 65%,
    50% 100%,
    40% 65%,
    0% 50%,
    40% 35%
  );
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.section-header::before,
.section-header-nobg::before {
  left: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(18deg);
}

.section-header::after,
.section-header-nobg::after {
  right: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(-18deg);
  background: var(--accent-pink);
}

.section-header-nobg {
  position: relative;
  font-family: "GC Vank", "Arial Black", sans-serif;
  font-size: 3rem;
  margin: var(--section-gap) 0 30px;
  padding: 8px 20px 0px 20px;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 1);
  text-transform: uppercase;
  font-weight: 900;
  text-align: center;
  color: var(--text-on-pink);
}

.faq-toc {
  margin: 0 auto 36px;
  padding: 24px 24px 20px;
  border: 2px solid var(--accent-pink);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.faq-toc p {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

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

.faq-toc a {
  color: var(--text-on-yellow);
  text-decoration: underline;
  font-size: 1rem;
  font-weight: 700;
}

.faq-toc a:hover,
.faq-toc a:focus {
  text-decoration: underline;
}

.faq-updated {
  margin: 2rem;
  font-style: italic;
  color: var(--accent-orange);
  text-align: center;
}

.numbered-text-header {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.content-block h3 {
  margin: 1.2rem 0 1.2rem;
}

.content-block p {
  line-height: 1.75;
  margin: 0.2rem 0 0.2rem;
}

.content-block ul,
.content-block ol {
  margin: 0 0 1.4rem 1.5rem;
  padding-left: 1.2rem;
}

.content-block li {
  margin-bottom: 0.65rem;
}

.accessibility-hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  border: 2px solid var(--accent-pink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.18);
}

.accessibility-hours-table th,
.accessibility-hours-table td {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(250, 0, 117, 0.3);
  text-align: left;
  vertical-align: top;
}

.accessibility-hours-table thead th {
  background-color: var(--accent-yellow);
  color: var(--text-on-yellow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 900;
}

.accessibility-hours-table tbody tr:nth-child(odd) {
  background-color: rgba(0, 158, 224, 0.08);
}

.accessibility-hours-table tbody tr:nth-child(even) {
  background-color: rgba(250, 0, 117, 0.05);
}

.accessibility-hours-table th[scope="row"] {
  font-weight: 800;
  background-color: rgba(255, 255, 255, 0.12);
}

.sensory-inline-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0.75rem 0 1rem;
}

.sensory-inline-wrap p {
  margin: 0;
  flex: 1;
}

.sensory-badge {
  display: block;
  width: min(110px, 100%);
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
}

.map-page {
  margin-top: 2rem;
}

.map-layout {
  display: grid;
  /*grid-template-columns: minmax(0, 2.4fr) minmax(220px, 0.9fr);*/
  gap: 1.5rem;
  align-items: start;
}

.map-card {
  background: var(--dark-bg);
  border: 8px solid var(--accent-yellow);
  border-radius: 20px;
  padding: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.map-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 0.9;
  background: #f7f3ee;
  border: 4px solid var(--accent-pink);
  overflow: hidden;
}

.map-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7f3ee;
}

.route-panel {
  margin-top: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 158, 224, 0.88),
    rgba(7, 76, 120, 0.94)
  );
  border: 3px solid var(--accent-yellow);
  border-radius: 18px;
  padding: 1rem 1rem 1.1rem;
  min-height: 100%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.route-panel h3 {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-pink);
}

.route-controls {
  display: grid;
  gap: 0.85rem;
}

.route-controls label {
  display: grid;
  gap: 0.4rem;
  font-weight: 800;
  color: #f3f7ff;
}

.route-controls select {
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--dark-bg);
}

.route-mode {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.route-mode p {
  margin: 0 0 0.6rem;
  font-weight: 800;
  color: #f3f7ff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.route-mode-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #f3f7ff;
  font-weight: 700;
}

.route-mode-option input {
  accent-color: var(--accent-yellow);
}

#routeOutput {
  margin-top: 1rem;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--accent-yellow);
  color: #f3f7ff;
  line-height: 1.6;
  border-radius: 10px;
}

.map-copy {
  margin-top: 1.5rem;
}

.recent-convention-info {
  margin-top: var(--section-gap);
  margin-bottom: 0;
  padding: 12px 20px;
  background-color: var(--accent-yellow);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.recent-convention-info p {
  margin: 0;
  color: var(--text-on-yellow);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

/* GRID LAYOUTS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 25px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

#information .info-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 220px));
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
}

#information .info-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 160px;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: 18px;
  border: 5px solid rgba(0, 0, 0, 0.92);
  text-decoration: none;
  color: var(--dark-bg);
  background: var(--card-color, var(--accent-yellow));
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.18),
    0 16px 0 rgba(0, 0, 0, 0.16),
    0 22px 42px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  overflow: hidden;
  transform: rotate(-1deg);
}

#information .info-card:nth-child(even) {
  transform: rotate(1deg);
}

#information .info-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

#information .info-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 10px;
  right: 12px;
  background: var(--spark-color, var(--accent-yellow));
  clip-path: polygon(
    50% 0%,
    60% 35%,
    100% 50%,
    60% 65%,
    50% 100%,
    40% 65%,
    0% 50%,
    40% 35%
  );
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.55),
    0 0 0 6px rgba(0, 0, 0, 0.06);
  opacity: 0.95;
  transform: rotate(18deg);
  z-index: 1;
}

#information .info-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

#information .info-card .spark-secondary {
  position: absolute;
  width: 14px;
  height: 14px;
  bottom: 12px;
  left: 14px;
  background: var(--spark-secondary, var(--accent-pink));
  clip-path: polygon(
    50% 0%,
    60% 35%,
    100% 50%,
    60% 65%,
    50% 100%,
    40% 65%,
    0% 50%,
    40% 35%
  );
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
  transform: rotate(-10deg);
  z-index: 1;
}

#information .info-card:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.2),
    0 18px 0 rgba(0, 0, 0, 0.18),
    0 28px 54px rgba(0, 0, 0, 0.2);
}

#information .info-card h2 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  font-size: clamp(1rem, 1.1vw, 1.45rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
}

#information .faq-info-card {
  --card-color: var(--accent-orange);
  --spark-color: var(--accent-yellow);
  --spark-secondary: var(--accent-pink);
}

#information .conduct-info-card {
  --card-color: #ff5cb8;
  --spark-color: var(--accent-orange);
  --spark-secondary: var(--accent-yellow);
}

#information .accessibility-info-card {
  --card-color: var(--accent-blue);
  --spark-color: var(--accent-pink);
  --spark-secondary: var(--accent-yellow);
}

#information .map-info-card {
  --card-color: #f7d95e;
  --spark-color: var(--accent-orange);
  --spark-secondary: var(--accent-pink);
}

#information .library-info-card {
  --card-color: #ff9e43;
  --spark-color: var(--accent-pink);
  --spark-secondary: var(--accent-yellow);
}

.guests-header-button-wrapper {
  text-align: right; /* Pushes inline/inline-flex items to the far right */
  margin: 0 0 30px 0; /* Moved the 30px bottom layout gap here */
}

.guests-history-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 1;
}

.btn-secondary {
  background-color: var(--accent-pink);
  color: var(--text-on-pink);
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  font-weight: 900;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--accent-pink-hover);
  color: var(--text-on-yellow);
  transform: translateY(-3px);
}

.guests-year-header {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-on-yellow);
  margin: 0;
  text-transform: uppercase;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  overflow-y: auto;
  padding: 20px;
}

.modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 30px;
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  padding: 40px;
  max-width: 1000px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--accent-yellow);
}

.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  border-left: 15px solid var(--accent-yellow);
  padding-left: 20px;
}

.previous-years-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.year-section {
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 40px;
}

.year-section:last-child {
  border-bottom: none;
}

.year-title {
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: var(--dark-bg);
}

/* MODAL GUEST CARDS */
.modal-guests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.modal-guest-card {
  position: relative;
  overflow: hidden;
  background-color: #000;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.modal-guest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
    filter 0.6s ease;
}

.modal-guest-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.5);
}

.modal-guest-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

.modal-guest-overlay h4 {
  margin: 0 0 5px 0;
  font-size: 0.8rem;
}

.modal-guest-bio {
  margin: 0;
  font-size: 0.65rem;
  text-transform: none;
  font-weight: normal;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 0.4s ease;
  max-height: 0;
  overflow: hidden;
}

.modal-guest-card:hover .modal-guest-bio {
  opacity: 1;
  max-height: 100px;
}

/* CARDS */
.card {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  aspect-ratio: 1;
  transition: transform 0.3s ease;
}

/* Animated zoom effect for linked cards */
a.card {
  transition: transform 0.3s ease;
}

a.card:hover {
  transform: scale(1.05);
}

a.card:hover img {
  transform: scale(1.02);
}

.card-overlay {
  position: static;
  padding: 15px;
  background: none;
  color: #000;
  text-transform: uppercase;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-overlay h3 {
  margin: 0 0 10px 0;
  font-size: 1rem;
  font-weight: 900;
}

.tall-card {
  min-height: 360px;
}

.tall-card img {
  aspect-ratio: 4 / 5;
  filter: saturate(0.95) contrast(1.08);
}

.faq-card {
  border-color: var(--accent-yellow);
  background: rgba(238, 206, 20, 0.14);
}

.conduct-card {
  border-color: var(--accent-pink);
  background: rgba(250, 0, 117, 0.08);
}

.accessibility-card {
  border-color: var(--accent-blue);
  background: rgba(0, 158, 224, 0.1);
}

.map-card {
  border-color: var(--accent-yellow);
  background: rgba(238, 206, 20, 0.12);
}

.library-card {
  border-color: var(--accent-pink);
  background: rgba(250, 0, 117, 0.08);
}

.guest-bio {
  visibility: visible;
  opacity: 1;
  margin: 0;
  font-size: 0.85rem;
  text-transform: none;
  font-weight: normal;
  line-height: 1.4;
  color: #1a1a1a;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: none;
  max-height: none;
  overflow: hidden;
}

.card:hover .guest-bio {
  opacity: 1;
}

/* GUESTS PAGE SPECIFIC CARD STYLING */
#previousGuestsContainer .card {
  display: flex;
  flex-direction: row;
  background-color: #fff;
  aspect-ratio: auto;
  margin: 0 auto;
  align-items: stretch;
}

/* Override all grids on guests page to single column */
#previousGuestsContainer .grid-2,
#previousGuestsContainer .grid-3,
#previousGuestsContainer .grid-4,
#previousGuestsContainer .grid-5 {
  grid-template-columns: 1fr;
}

#previousGuestsContainer .card img {
  width: 150px;
  height: 150px;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
  transform: none;
  filter: none;
  transition: none;
}

#previousGuestsContainer .card:hover img {
  transform: none;
  filter: none;
}

/* FOOTER */
footer {
  background-color: var(--dark-bg);
  color: var(--text-on-pink);
  text-align: center;
  padding: 80px 20px;
  margin-top: var(--section-gap);
  font-size: 0.8rem;
}

footer img,
.okbg img {
  max-height: 50px;
  width: auto;
  vertical-align: middle;
}

footer p + p {
  margin-top: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 0.75rem 1.5rem;
  margin: 0 auto 3rem;
  max-width: 840px;
  text-align: left;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

@media (max-width: 1000px) {
  .main-header .container {
    height: 70px;
    padding: 15px 20px;
    flex-wrap: nowrap;
    gap: 15px;
  }

  .main-header.scrolled .container {
    height: 70px;
  }

  .centered-logo {
    display: flex;
  }

  .centered-logo img {
    height: 60px;
  }

  .main-header.scrolled .centered-logo {
    display: flex;
  }

  .main-header.scrolled .centered-logo img {
    height: 60px;
  }

  .main-header .centered-nav .nav-links {
    gap: 25px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  #information .info-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-links {
    grid-template-columns: 1fr;
  }
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus {
  text-decoration: underline;
  color: #fff;
}

/* Footer Hosting - Centered with GAMA Right */
.footer-hosting {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}

.footer-hosting .host {
  text-align: center;
}

.footer-hosting .gama {
  position: absolute;
  right: 0;
  margin-right: 40px;
}

/* GAMA Member Icon - Float Right on Desktop */
.gama-member-icon {
  float: right;
  margin-left: 20px;
  max-height: 100px;
  width: auto;
}

@media (max-width: 768px) {
  .gama-member-icon {
    float: none;
    display: block;
    margin: 20px auto 0;
    max-height: 80px;
  }
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  bottom: 40px;
  left: 40px;
  width: 72px;
  height: 72px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
  z-index: 999;
}

.back-to-top img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.back-to-top:hover {
  transform: translateY(-5px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* RESPONSIVE ADJUSTMENTS - TABLET (iPad) */
@media (max-width: 1024px) and (min-width: 769px) {
  .main-header .container {
    height: 70px;
    padding: 15px 20px;
    flex-wrap: nowrap;
    gap: 15px;
  }

  .main-header.scrolled .container {
    height: 70px;
  }

  .centered-logo {
    display: flex;
  }

  .main-header.scrolled .centered-logo {
    display: flex;
  }

  .centered-logo img {
    height: 60px;
  }

  .main-header.scrolled .centered-logo img {
    height: 60px;
  }

  .menu-toggle {
    display: none;
  }

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

  /* Hide placeholder card on tablet */
  #previousGuestsContainer .card[style*="visibility: hidden"] {
    display: none;
  }

  /* Tablet Sponsors Styles */
  .presenting-sponsor {
    max-width: 100%;
  }

  .presenting-sponsor-logo {
    max-width: 100%;
  }

  .presenting-sponsor-logo img {
    max-width: 100%;
    height: auto;
  }

  .premium-sponsors {
    grid-template-columns: 1fr 1fr;
  }

  .area-sponsors {
    grid-template-columns: 2fr 1fr;
  }
}

/* RESPONSIVE ADJUSTMENTS - MOBILE (Phone) */
@media (max-width: 768px) {
  .main-header .container {
    height: auto;
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .main-header.scrolled .container {
    height: auto;
  }

  .centered-logo img {
    height: 80px;
  }

  .main-header.scrolled .centered-logo {
    display: flex;
  }

  .main-header.scrolled .centered-logo img {
    height: 80px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
    margin-right: 0;
  }

  .centered-nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--dark-bg);
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
  }

  .centered-nav.active {
    max-height: 500px;
  }

  .centered-nav .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 20px;
    width: 100%;
  }

  .centered-nav .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
  }

  .centered-nav .nav-links li:last-child {
    border-bottom: none;
  }

  .centered-nav a {
    display: block;
    font-size: 0.95rem;
  }

  .nav-btn {
    display: inline-block;
    margin-top: 10px;
  }

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

  .premium-sponsors {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .area-sponsors-container {
    gap: 10px;
  }

  .area-sponsors {
    gap: 10px;
  }

  .area-sponsor-logo {
    flex: 0 1 140px;
  }

  .area-sponsor-logo img {
    height: 80px;
  }

  .sponsor-nav-btn {
    padding: 8px 12px;
    font-size: 1rem;
  }

  /* Mobile Guests & Modal */
  .guests-header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
  }

  .guests-header-container .section-header {
    margin-bottom: 0;
  }

  .guests-history-link {
    display: none;
  }

  .btn-secondary {
    width: 100%;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .modal {
    padding: 10px;
  }

  .modal.active {
    padding-top: 20px;
  }

  .modal-content {
    padding: 25px;
    border-radius: 4px;
  }

  .modal-close {
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
  }

  .modal-content h2 {
    font-size: 1.5rem;
    padding-left: 15px;
    border-left-width: 10px;
  }

  .year-title {
    font-size: 1.3rem;
  }

  .previous-years-content {
    gap: 30px;
  }

  .year-section {
    padding-bottom: 25px;
  }

  /* Mobile Footer - Stack vertically */
  .footer-hosting {
    flex-direction: column;
    gap: 20px;
  }

  .footer-hosting .gama {
    position: static;
    right: auto;
  }
}

/* HISTORY PAGE STYLES */
.page-hero {
  background: url("/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-on-pink);
}

.page-hero::after {
  background: none;
}

.page-hero h1 {
  font-size: clamp(3.75rem, 9vw, 6.75rem);
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 1);
  margin: 0;
}

.history-year-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0;
  justify-content: center;
}

.history-year-menu a {
  color: var(--text-on-yellow);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 8px 16px;
  background-color: var(--accent-yellow);
  transition: all 0.2s ease;
}

.history-year-menu a:hover {
  background-color: var(--accent-pink);
  color: var(--text-on-pink);
}

.history-year-section {
  margin-bottom: 0;
  padding-bottom: 40px;
}

.history-year-section:first-child {
  padding-top: 0;
}

.history-year-section:not(:last-child)::before {
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 0;
  margin-left: -20px;
  margin-right: -20px;
}

.history-year-title {
  position: relative;
  font-family: "GC Vank", "Arial Black", sans-serif;
  font-size: 3rem;
  margin: var(--section-gap) 0 30px;
  padding: 8px 20px;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 1);
  text-transform: uppercase;
  font-weight: 900;
  text-align: center;
  background-color: var(--accent-orange);
  color: var(--text-on-pink);
}

.history-year-title::before,
.history-year-title::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 50%;
  background: var(--accent-yellow);
  clip-path: polygon(
    50% 0%,
    60% 35%,
    100% 50%,
    60% 65%,
    50% 100%,
    40% 65%,
    0% 50%,
    40% 35%
  );
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) rotate(18deg);
}

.history-year-title::before {
  left: 18px;
}

.history-year-title::after {
  right: 18px;
  background: var(--accent-blue);
  transform: translateY(-50%) rotate(-18deg);
  content: "";
}

.history-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 30px;
}

.history-note {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  font-style: italic;
  padding: 20px;
  background-color: #f9f9f9;
  border-left: 4px solid var(--accent-yellow);
}

.history-guests h3,
.history-video h3,
.history-links h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: #000;
  text-transform: uppercase;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.history-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.history-links li {
  margin-bottom: 12px;
}

.history-links a {
  color: #333333;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.history-links a::after {
  content: "↗";
  font-size: 0.9em;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.history-links a:hover {
  color: var(--accent-yellow);
  text-decoration: underline;
}

.history-links a:hover::after {
  opacity: 1;
}

/* History Page Sponsors */
.history-sponsors {
  margin-top: 30px;
}

.history-sponsors h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: #000;
  text-transform: uppercase;
}

.history-sponsors .area-sponsors-container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 20px;
  width: 100%;
  overflow: hidden;
}

.history-sponsors .sponsor-nav-btn {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 1.2rem;
  background-color: var(--accent-yellow);
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.history-sponsors .sponsor-nav-btn:hover {
  background-color: var(--accent-yellow-hover);
  transform: scale(1.1);
}

.sponsors-scroll-container {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
  flex: 1;
  min-width: 0;
}

.sponsors-scroll {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
  flex: 1;
  scroll-behavior: smooth;
  min-width: 0;
}

.sponsors-scroll::-webkit-scrollbar {
  height: 6px;
}

.sponsors-scroll::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.sponsors-scroll::-webkit-scrollbar-thumb {
  background: var(--accent-yellow);
  border-radius: 10px;
}

.sponsors-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--accent-yellow-hover);
}

.sponsor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
  text-align: center;
  cursor: pointer;
}

.sponsor-item:hover {
  border-color: var(--accent-yellow);
  background-color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.sponsor-logo-small {
  width: 80px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.sponsor-name-small {
  font-size: 0.75rem;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
  text-transform: uppercase;
}

.sponsors-nav-btn {
  background-color: var(--accent-yellow);
  color: #000;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sponsors-nav-btn:hover {
  background-color: var(--accent-yellow-hover);
  transform: scale(1.1);
}

/* History Sponsors Responsive */
@media (max-width: 768px) {
  .sponsors-scroll {
    gap: 10px;
  }

  .sponsor-item {
    padding: 8px;
  }

  .sponsor-logo-small {
    width: 60px;
    height: 50px;
  }

  .sponsor-name-small {
    font-size: 0.7rem;
  }

  .sponsors-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Hide placeholder cards on mobile for single guests */
@media (max-width: 768px) {
  #historyContainer .card[style*="visibility: hidden"] {
    display: none;
  }
}

/* PHOTO GALLERY STYLES */
.history-gallery {
  margin-top: 30px;
}

.history-gallery h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: #000;
  text-transform: uppercase;
}

.photo-gallery {
  width: 100%;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-bottom: 20px;
  width: 100%;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-grid a:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 211, 0, 0.3);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-gallery .loading,
.photo-gallery .no-photos,
.photo-gallery .error {
  text-align: center;
  padding: 30px;
  font-size: 1rem;
  color: #666;
}

.photo-gallery .error {
  color: #d32f2f;
  font-weight: 600;
}

.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
  width: 100%;
}

.gallery-nav-btn {
  padding: 10px 20px;
  background-color: var(--accent-yellow);
  color: var(--text-on-yellow);
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    opacity 0.2s ease;
  text-transform: uppercase;
}

.gallery-nav-btn:hover:not(:disabled) {
  background-color: var(--accent-yellow-hover);
  color: var(--text-on-pink);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(255, 211, 0, 0.3);
}

.gallery-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gallery-page-info {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  min-width: 80px;
  text-align: center;
}

.gallery-page-info-mobile {
  display: none;
}

#things-to-do {
  position: relative;
  z-index: 0;
  margin-top: 20px;
}

/* Photo Gallery Responsive */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .gallery-pagination {
    flex-wrap: wrap;
    gap: 10px;
  }

  .gallery-pagination-left {
    flex: 1 1 100%;
    justify-content: center;
  }

  .gallery-nav-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .show-all-btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-pagination {
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
  }

  .gallery-pagination-left {
    display: none;
  }

  .gallery-page-info-mobile {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
  }

  .gallery-nav-btn {
    width: 100%;
    padding: 10px;
  }

  .show-all-btn {
    width: 100%;
    margin-left: 0;
  }
}

/* Extra mobile spacing to prevent overlap */
@media (max-width: 480px) {
  .card {
    position: static;
  }

  .grid-2 {
    max-height: none;
  }

  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  #information .info-grid {
    grid-template-columns: repeat(2, minmax(180px, 220px));
  }

  #things-to-do .grid-3 {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  #things-to-do .card {
    min-height: 150px;
  }
}

/* All Photos Modal Styles */
.all-photos-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.all-photos-modal-content {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-yellow);
  color: var(--text-on-yellow);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal-btn:hover {
  background-color: #ffb300;
  transform: scale(1.1);
}

.all-photos-modal-content h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: #000;
  text-transform: uppercase;
}

.all-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.all-photos-grid a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 1;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.all-photos-grid a:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 211, 0, 0.3);
}

.all-photos-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-pagination {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
  width: 100%;
  position: relative;
}

.gallery-pagination-left {
  display: flex;
  align-items: center;
  gap: 20px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.show-all-btn {
  background-color: #000000;
  color: var(--accent-yellow);
  margin-left: auto;
  padding: 10px 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.show-all-btn:hover:not(:disabled) {
  background-color: #333333;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .all-photos-modal-content {
    padding: 20px;
    max-width: 95vw;
    max-height: 95vh;
  }

  .all-photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }

  .close-modal-btn {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .all-photos-modal {
    padding: 10px;
  }

  .all-photos-modal-content {
    padding: 15px;
  }

  .all-photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
  }

  .close-modal-btn {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
}

/* --- Exhibit Page Styles (moved from exhibit.html) --- */
.exhibit-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../exhibit.jpg");
  background-size: cover;
  background-position: center;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.exhibit-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin: 40px 0 60px;
  width: 100%;
}

.apply-card {
  background: #1a1a1d;
  padding: 40px;
  border: 1px solid #333;
  transition: border 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.apply-card.exhibit-callout {
  width: 100%;
  min-height: 0;
}

.exhibit-callout .callout-copy {
  max-width: 105ch;
  line-height: 1.7;
  color: #e4e4e4;
  font-size: 1.05rem;
}

.exhibit-callout .btn-primary {
  align-self: flex-start;
  margin-top: auto;
}

.apply-card:hover {
  border-color: #ffde00;
}

.apply-card h3 {
  color: #ffde00;
  margin-top: 0;
  font-size: 1.8rem;
  word-break: break-word;
}

.apply-card p {
  color: #ccc;
  margin-bottom: 25px;
  flex-grow: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 768px) {
  .exhibit-options {
    gap: 20px;
  }
  .apply-card {
    padding: 30px;
  }
  .apply-card h3 {
    font-size: 1.5rem;
  }
  .apply-card p {
    font-size: 0.95rem;
  }
}

.contact-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.contact-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #1a1a1d;
  padding: 50px;
  border: 2px solid var(--accent-yellow);
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content h2 {
  color: var(--accent-yellow);
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.close-modal {
  color: var(--accent-yellow);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-top: -40px;
  margin-right: -10px;
}

.close-modal:hover {
  transform: scale(1.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background-color: #2a2a2d;
  border: 1px solid #444;
  color: #fff;
  font-family: "Archivo", "Arial Black", sans-serif;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-yellow);
  box-shadow: 0 0 8px rgba(255, 211, 0, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input[type="submit"] {
  background-color: var(--accent-yellow);
  color: #000;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 30px;
  border: none;
  transition: all 0.3s ease;
}

.form-group input[type="submit"]:hover {
  background-color: #ffb300;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(255, 211, 0, 0.3);
}

.btn-submit {
  background-color: var(--accent-yellow);
  color: #000;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  width: 100%;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #ffb300;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 211, 0, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 4px;
  text-align: center;
  display: none;
}

.form-message.show {
  display: block;
}

.sent-message {
  background-color: #4caf50;
  color: white;
}

.error-message {
  background-color: #f44336;
  color: white;
}

.form-message.success,
.sent-message.show {
  background-color: #4caf50;
  color: white;
  display: block;
}

.form-message.error,
.error-message.show {
  background-color: #f44336;
  color: white;
  display: block;
}

.validation {
  color: #f44336;
  font-size: 0.9rem;
  margin-top: 5px;
  display: none;
}

.validation.show {
  display: block;
}

.loading {
  display: none;
}

.loading.show {
  display: block;
}

/* --- Card Modal (Things to Do) --- */
.card-modal-content {
  display: none;
}

.card:has(.card-modal-content) {
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:has(.card-modal-content):hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card-modal {
  display: none;
  position: fixed;
  z-index: 5000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.card-modal[hidden] {
  display: none !important;
}

.card-modal:not([hidden]) {
  display: flex;
}

.card-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.card-modal-body {
  position: relative;
  background-color: var(--dark-bg);
  border: 3px solid var(--accent-yellow);
  border-radius: 8px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 32px;
  font-weight: bold;
  color: var(--accent-yellow);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.card-modal-close:hover {
  transform: scale(1.2);
  color: #ffde00;
}

#cardModalTitle {
  color: var(--accent-yellow);
  margin: 0 0 20px;
  font-size: 1.8rem;
  text-transform: uppercase;
  font-weight: 900;
}

#cardModalImage {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 20px;
  display: block;
}

#cardModalContent {
  font-size: 1rem;
  line-height: 1.7;
  color: #e4e4e4;
  margin: 0;
}
