@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap");

:root {
  --navy: #1a2744;
  --navy-light: #243460;
  --yellow: #f5c518;
  --yellow-dark: #d4a017;
  --green: #5cb85c;
  --frog-green: #7cb342;
  --purple: #8e44ad;
  --blue: #2980b9;
  --teal: #00897b;
  --gold: #d4a017;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family:
    "Nunito",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background: white;
}

/* Banner Image */
.banner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  line-height: 0;
  position: relative;
  overflow: hidden;
}

.banner img {
  width: 100%;
  min-width: 1280px;
  height: auto;
  display: block;
}

/* Clip banner from right on smaller screens */
@media (max-width: 1280px) {
  .banner {
    margin: 0;
    max-width: none;
  }

  .banner img {
    margin: 0;
    width: 100%;
    min-width: unset;
    object-fit: cover;
    object-position: left center;
  }
}

/* Responsive banner on mobile */
@media (max-width: 640px) {
  .banner {
    overflow: visible;
  }

  .banner img {
    min-width: unset;
    width: 100%;
    /* height: 120px; */
    object-fit: cover;
    object-position: left center;
  }
}

/* Hamburger Button - Hidden by default on larger screens */
.hamburger {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(26, 39, 68, 0.9);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  z-index: 200;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation Menu */
.navbar {
  background: var(--navy-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid rgba(245, 197, 24, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  transition: background 0.3s;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-menu a:hover {
  background: rgba(245, 197, 24, 0.2);
  color: var(--yellow);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 3.75rem; /* just below the hamburger button (1rem offset + 44px height) */
  right: 1rem;
  background: rgba(26, 39, 68, 0.97);
  min-width: 200px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  list-style: none;
  padding: 0.5rem 0;
  z-index: 300;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu li {
  width: 100%;
}

.mobile-menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 1.1rem 1.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  transition: background 0.3s;
}

.mobile-menu a:hover {
  background: rgba(245, 197, 24, 0.2);
  color: var(--yellow);
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

section {
  margin-bottom: 4rem;
  padding: 2rem 0;
}

section h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--navy);
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 0.5rem;
}

section p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Hero / Overview Card */
.hero-card {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

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

.free-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 1.4rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-date {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--yellow);
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 16px rgba(245, 197, 24, 0.3);
}

.hero-time {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero-countdown {
  display: inline-block;
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 800;
  color: var(--navy);
  background: var(--yellow);
  letter-spacing: 0.02em;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.hero-venue {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* Decorative SVG stars */
.star {
  position: absolute;
  z-index: 1;
}

.star-1 {
  top: 12%;
  left: 6%;
  transform: rotate(15deg);
}
.star-2 {
  top: 20%;
  right: 8%;
  transform: rotate(-20deg);
}
.star-3 {
  bottom: 15%;
  left: 12%;
  transform: rotate(30deg);
}
.star-4 {
  bottom: 20%;
  right: 5%;
  transform: rotate(-10deg);
}
.star-5 {
  top: 55%;
  left: 3%;
  transform: rotate(5deg);
}

/* Callout Grid - side by side */
.callout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Callout Cards */
.callout-card {
  background: var(--yellow);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 6px 24px rgba(245, 197, 24, 0.25);
}

.callout-card h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.callout-card p {
  font-size: 1rem;
  text-align: center;
  color: var(--navy);
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: var(--navy);
  color: white;
  text-decoration: none;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  transition:
    background 0.2s,
    transform 0.1s;
}

.cta-button:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

/* Sponsorship Tiers */
.tiers-heading {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tier-card {
  background: white;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  padding: 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition:
    box-shadow 0.2s,
    transform 0.15s;
}

.tier-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.tier-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tier-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.tier-presenting .tier-icon {
  background: var(--gold);
  box-shadow: 0 4px 16px rgba(212, 160, 23, 0.5);
}

.tier-presenting .tier-icon img {
  width: 50%;
  height: 50%;
}

.tier-premier .tier-icon {
  background: var(--purple);
  box-shadow: 0 4px 16px rgba(142, 68, 173, 0.5);
}
.tier-event .tier-icon {
  background: var(--blue);
  box-shadow: 0 4px 16px rgba(41, 128, 185, 0.5);
}
.tier-supporting .tier-icon {
  background: var(--frog-green);
  box-shadow: 0 4px 16px rgba(124, 179, 66, 0.5);
}
.tier-supporting .tier-icon img {
  width: 70%;
  height: 70%;
}
.tier-community .tier-icon {
  background: var(--teal);
  box-shadow: 0 4px 16px rgba(0, 137, 123, 0.5);
}

.tier-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.availability-badge {
  display: inline-block;
  background: #f0f4f8;
  color: #555;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}

/* Sponsor CTA */
.sponsor-cta {
  text-align: center;
  padding: 1.75rem;
  background: #f8f9fa;
  border-radius: 14px;
}

.sponsor-cta p {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  color: #333;
}

.sponsor-cta .cta-button {
  word-break: break-all;
}

/* About */
.about-content h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.about-content h3:first-child {
  margin-top: 0;
}

.about-content ul {
  margin: 0 0 1rem 1.5rem;
  padding-left: 0.5rem;
}

.about-content li {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.about-tagline {
  text-align: center;
  font-weight: 800;
  font-style: italic;
  color: var(--yellow-dark);
  font-size: 1.3rem;
  margin-top: 2rem;
}

/* Carousel (generic) */
.carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc(100% / 3);
  padding: 0 0.6rem;
  margin: 0;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.carousel-slide figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d4dae3;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.carousel-dot:hover {
  background: var(--yellow-dark);
}

.carousel-dot.active {
  background: var(--yellow);
  transform: scale(1.25);
}

@media (max-width: 640px) {
  .carousel-slide {
    flex-basis: 100%;
  }
}

/* Footer */
footer {
  background: var(--navy);
  color: white;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.footer-content p {
  margin-bottom: 0.5rem;
}

.footer-content a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 700;
}

.footer-content a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.5;
  margin-top: 1rem;
}

/* Responsive - Tablet */
@media (max-width: 900px) {
  .tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 0.3rem;
  }

  .nav-menu a {
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

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

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

/* Responsive - Mobile (< 640px) */
@media (max-width: 640px) {
  .navbar {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-card {
    padding: 2.5rem 1.25rem;
  }

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