:root {
  --gold: #907b4a;
  --gold-soft: #e3d2aa;
  --teal: #00595d;
  --black: #000000;
  --text-main: #ffffff;
  --text-muted: #c1c6d4;

  --font-heading: "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;

  --radius-card: 18px;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.6);
  --max-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER / NAV */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: grayscale(100%) saturate(1.05);
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(144, 123, 74, 0.4);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links a {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-muted);
  transition: background 0.15s ease-out,
    border-color 0.15s ease-out,
    color 0.15s ease-out;
}

.nav-links a:hover {
  color: var(--gold-soft);
  border-color: rgba(144, 123, 74, 0.7);
  background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 720px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.2rem 1.25rem 3.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("hero.jpg");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.9) contrast(1.1);
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.72); /* darkened for better text contrast */
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 2.3rem;
  align-items: center;
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold-soft);
  margin-bottom: 0.4rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 32rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.hero-meta {
  margin-bottom: 1.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-meta-line {
  margin: 0 0 0.25rem;
}

.hero-meta-line strong {
  color: var(--gold-soft);
  font-weight: 600;
  margin-right: 0.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-primary,
.btn-ghost {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    background 0.18s ease-out,
    border-color 0.18s ease-out,
    color 0.18s ease-out;
}

.btn-primary {
  background: var(--gold);
  color: #000000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.8);
  background: #b79a5b;
}

.btn-ghost {
  background-color: transparent;
  color: var(--gold-soft);
  border-color: rgba(227, 210, 170, 0.9);
}

.btn-ghost:hover {
  background-color: rgba(0, 89, 93, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
}

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-note strong {
  color: var(--gold-soft);
  font-weight: 600;
}

/* COUNTDOWN CARD */
.countdown-card {
  background: rgba(0, 0, 0, 0.9);
  border-radius: var(--radius-card);
  border: 1px solid rgba(227, 210, 170, 0.7);
  box-shadow: var(--shadow-soft);
  padding: 1.7rem 1.5rem 1.4rem;
  position: relative;
  overflow: hidden;
}

.countdown-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.14), transparent 60%);
  opacity: 0.2;
  pointer-events: none;
}

.countdown-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.countdown-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.countdown-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

@media (max-width: 600px) {
  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.time-block {
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.9);
  text-align: center;
  padding: 0.8rem 0.4rem 0.85rem;
  border: 1px solid rgba(227, 210, 170, 0.7);
  min-width: 0;
}

.time-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}

.time-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.countdown-footer {
  position: relative;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.next-midnight {
  font-weight: 500;
}

/* MAIN CONTENT */
main {
  flex: 1;
  padding: 0 1.25rem 3.3rem;
  background: radial-gradient(circle at top, rgba(0, 89, 93, 0.32), transparent 60%), var(--black);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.4rem 0 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.section-kicker {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--teal);
}

.section-intro {
  max-width: 36rem;
  font-size: 0.94rem;
  color: var(--text-muted);
}

@media (max-width: 800px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 2fr);
  gap: 1.6rem;
  align-items: stretch; /* ensure equal-height columns */
}

@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  position: relative;
  background: rgba(0, 0, 0, 0.9);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.4rem 1.3rem;
  border: 1px solid rgba(227, 210, 170, 0.3);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.7);
}

.about-photo-card {
  padding: 0;
  display: flex;
  height: 100%; /* match height of text card */
}

.about-photo-card img {
  width: 100%;
  height: 100%; /* ensures full-height crop */
  object-fit: cover;
  border-radius: var(--radius-card);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.card p,
.card li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
}

.card-tagline {
  font-size: 0.86rem;
  color: var(--gold-soft);
  margin-bottom: 0.6rem;
}

/* SCHEDULE + ENTERTAINMENT */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: 1.6rem;
}

@media (max-width: 880px) {
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 14px;
  background-color: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(227, 210, 170, 0.35);
  overflow: hidden;
}

.schedule-item {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(227, 210, 170, 0.22);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-time {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.schedule-detail-title {
  font-weight: 600;
  font-size: 0.94rem;
}

.schedule-detail-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.ent-item {
  position: relative;
  padding: 0;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(227, 210, 170, 0.35);
  overflow: hidden;

  /* New: give each entertainment card an explicit height */
  height: 200px;
}

/* Image fills that fixed-height box */
.ent-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Title pill overlay (keep as-is) */
.ent-item-title {
  position: absolute;
  left: 0.75rem;
  bottom: 0.6rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.78);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}

/* On smaller screens, make the cards shorter so they don't feel huge */
@media (max-width: 640px) {
  .ent-item {
    height: 135px; /* tweak up/down to taste for iOS */
  }
}


/* MAP + KNOW BEFORE YOU GO */
.map-card {
  padding: 0;
  overflow: hidden;
}

.map-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 4px);
  margin: 1.1rem 1.1rem 0.8rem;
}

.map-legend {
  padding: 0 1.6rem 1.3rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.list-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem;
  margin-top: 0.75rem;
}

@media (max-width: 640px) {
  .list-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

.list-heading {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.2rem;
  color: var(--gold-soft);
}

.bullet-list {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.88rem;
}

.bullet-list li + li {
  margin-top: 0.15rem;
}

/* SAFETY + ACCESSIBILITY */
.safety-points {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.safety-points strong {
  color: var(--gold-soft);
  font-weight: 600;
}

.safety-points li + li {
  margin-top: 0.25rem;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(227, 210, 170, 0.35);
  padding: 1.8rem 1.25rem 2.2rem;
  background: var(--black);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
}

.footer-presented-by {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}

.footer-logos {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.footer-logos img {
  height: 46px;
  width: auto;
}

.footer-copy {
  margin-top: 1.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.entertainment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.8rem;
}

#map-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#map-modal img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

/* SMALL UTILITIES */
.muted {
  color: var(--text-muted);
}

.nowrap {
  white-space: nowrap;
}

.hub-img {
  max-width: 320px;
  border-radius: 12px;
  object-fit: cover;
  margin: 0.6rem 1.2rem;
}

.hub-img-left {
  float: left;
}

.hub-img-right {
  float: right;
}

@media (max-width: 700px) {
  .hub-img {
    float: none;
    display: block;
    margin: 1rem auto;
  }
}
