body, html {
  margin: 0;
  line-height: 1.4;
  font-family: 'Poppins-Regular', sans-serif;
  background: #001d57;
}

h1, h2 {
  line-height: 1.15;
  font-family: 'Poppins-Bold', sans-serif;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #002878;
  z-index: 1000;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  padding: 15px 40px;
  box-sizing: border-box;
}

.nav-side {
  display: flex;
  align-items: center;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.club-logo {
  height: 42px;
  width: auto;
  display: block;
  margin-left: 20px;   /* adds space from edge */
  margin-right: -6px;   /* brings it closer to "Contact Us" */
}

.club-handle {
  color: #F2A900;
  font-family: 'Poppins-Bold', sans-serif;
  font-size: large;
  text-decoration: none;
  white-space: nowrap;
}

.club-handle:hover {
  color: #ffd24d;
}

.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.nav-center a {
  color: #F2A900;
  text-decoration: none;
  font-weight: bolder;
  font-size: large;
  letter-spacing: 1px;
}

.nav-center a:hover {
  color: #ffd24d;
}

.nav-logo {
  height: 60px;
  width: auto;
  display: block;
  margin-right: 10px;
}

.section {
  min-height: 100vh;
  padding-top: 110px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;

  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.section-heading {
  color: white;
  font-family: 'Poppins-Bold', sans-serif;
  margin: 10px 0 10px 0;
}

.content {
  background: rgba(0,0,0,0.6);
  padding: 30px;
  border-radius: 15px;
  max-width: 800px;
  animation: fadeIn 1s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content p {
  margin: 0 0 8px 0;
}

.content h1 {
  margin: 0 0 8px 0;
}

.hero-logo {
  display: block;
  max-width: 100%;
  width: 280px;
  height: auto;
  margin: 0 auto 12px auto;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery img:hover { transform: scale(1.05); }

form input, form textarea, form select {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  border: none;
}

button {
  padding: 10px 20px;
  background: #66c2ff;
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
}

button:hover { transform: scale(1.05); }

#countdown {
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  margin-top: 20px;
  padding: 10px 28px;

  border-radius: 999px;
  background: #66c2ff;
  color: white;

  min-width: 420px;
  min-height: 62px;

  text-align: center;
  box-shadow: 0 0 15px #66c2ff;
  transition: 0.3s;

  gap: 8px;
}

#countdown:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #66c2ff;
}

#countdown .date {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  margin: 6px;
  padding: 0;
}

#countdown .time {
  display: block;
  font-size: 1.1rem;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.countdown-link-text {
  display: block;
  /* margin-top: 10px; */
  font-size: large;
  font-family: 'Poppins-Bold', sans-serif;
  color: white;
  opacity: 0.95;
  text-decoration: underline;
}

.info-sections {
  background: #001d57;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.info-row.reverse .info-text-card {
  order: 2;
}

.info-row.reverse .info-image-card {
  order: 1;
}

.info-image-card,
.detail-image-card {
  border-radius: 24px;
  overflow: hidden;
}

.info-text-card,
.detail-text-card {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);

  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);

  max-width: 520px;
}

.info-text-card h2,
.detail-text-card h2 {
  margin: 0 0 12px 0;
}

.info-text-card p,
.detail-text-card p {
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.info-image-card img,
.detail-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

.info-button {
  display: inline-block;
  align-self: flex-start;
  padding: 12px 22px;
  border-radius: 999px;
  background: #66c2ff;
  color: white;
  text-decoration: none;
  font-family: 'Poppins-Bold', sans-serif;
  box-shadow: 0 0 15px #66c2ff;
  transition: 0.3s;
}

.info-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #66c2ff;
}

.subpage-hero {
  min-height: 32vh;
  padding-top: 110px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;

  position: relative; /* ADD THIS */
}


.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  /* dark overlay */
  background: rgba(0, 0, 0, 0.50);
}

.subpage-overlay {
  position: relative;
  z-index: 1;
  
  width: min(900px, 100%);
  padding: 24px 36px;
  text-align: center;
  color: white;

  /* glass look */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 24px;

  /* subtle border + depth */
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.subpage-overlay h1 {
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.text-link {
  color: #66c2ff;
  text-decoration: underline;
  font-family: 'Poppins-Bold', sans-serif;
}

.text-link:hover {
  color: #9ad9ff;
}

.eyebrow {
  margin: 0 0 8px 0;
  color: #F2A900;
  font-family: 'Poppins-Bold', sans-serif;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(242, 169, 0, 0.5);
}

.detail-section {
  background: #001d57;
  padding: 80px 40px;
}

.detail-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: stretch;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.detail-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.detail-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: stretch;
}

.detail-full-image-card {
  border-radius: 24px;
  overflow: hidden;
}

.detail-full-image-card img {
  width: 100%;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  min-height: 320px;
}

.map-card-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.map-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-sizing: border-box;
  min-width: 0;
}

.map-card-heading {
  color: white;
  margin: 0 0 16px 0;
  text-align: center;
}

.map-image {
  width: 100%;
  height: 320px;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

.map-image-frame {
  background: white;
  border-radius: 20px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-image-full {
  width: 100%;
  height: 320px;
  display: block;
  object-fit: contain;
  object-position: center;
  background: white;
  border-radius: 12px;
}

.schedule-embed-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 20px;
  box-sizing: border-box;
}

.schedule-embed-shell {
  background: white;
  border-radius: 20px;
  padding: 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.schedule-embed {
  width: 100%;
  height: 350px;
  border: none;
  display: block;
  border-radius: 12px;
}

.contact-label {
  color: white;
  font-family: 'Poppins-Bold', sans-serif;
  font-size: 1rem;
  margin-left: 4px;
  white-space: nowrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #F2A900;
  text-decoration: none;
  white-space: nowrap;
  font-family: 'Poppins-Bold', sans-serif;
  font-size: 1rem;
}

.social-link:hover {
  color: #ffd24d;
}

.social-icon {
  height: 22px;
  width: 22px;
  object-fit: contain;
  display: block;
}

.social-text {
  line-height: 1;
}

.cosplay-detail-section {
  background:
    linear-gradient(rgba(0, 29, 87, 0.72), rgba(0, 29, 87, 0.72)),
    url('images/cosplay-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: calc(100vh - 32vh);
  box-sizing: border-box;
}

.performance-detail-section {
  background:
    linear-gradient(rgba(0, 29, 87, 0.72), rgba(0, 29, 87, 0.72)),
    url('images/performance2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 68vh;
}

.slideshow {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);

  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow .slide {
  position: absolute;
  max-width: 100%;
  max-height: 700px; /* control size here */
  width: auto;
  height: auto;

  opacity: 0;
  transition: opacity 0.35s ease;
}

.slideshow .slide.active {
  position: relative; /* THIS is key */
  opacity: 1;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;

  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  cursor: pointer;

  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 1.3rem;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.slide-btn:hover {
  background: rgba(0, 0, 0, 0.65);
  transform: translateY(-50%);
}

.slide-btn.prev {
  left: 14px;
}

.slide-btn.next {
  right: 14px;
}

.slide-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;

  display: flex;
  gap: 8px;
}

.slide-dots .dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
  box-shadow: none;
}

.slide-dots .dot.active {
  background: white;
}

.slide-dots .dot:hover {
  transform: none;
}

/* .schedule-table-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 20px;
  box-sizing: border-box;
  overflow-x: auto;
}

#schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
}

#schedule-table th,
#schedule-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

#schedule-table th {
  background: #002878;
  color: white;
}

#schedule-table td:nth-child(1) {
  background: #ccdeff;
}

#schedule-table td:nth-child(2) {
  background: #fff7e8;
}

#schedule-table td:nth-child(3) {
  background: #ffeed0;
}

#schedule-table td:nth-child(4) {
  background: #fff7e8;
}

#schedule-table td:nth-child(5) {
  background: #ffeed0;
}

#schedule-table td:nth-child(6) {
  background: #fff7e8;
}

#schedule-table td:nth-child(7) {
  background: #ffeed0;
}

#schedule-table th:first-child,
#schedule-table td:first-child {
  white-space: nowrap;
  width: 1%;
} */


.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F2A900;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  box-shadow: none;
}

.menu-toggle:hover {
  transform: none;
}

.feature-block {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 24px;
}

.feature-block img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 24px;

  transform: scale(1.08);
  transition: transform 0.8s ease-out;
  will-change: transform;
}

/* dark overlay for readability */
.feature-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 24px;
}

/* text card */
.feature-text {
  position: absolute;
  z-index: 2;

  top: 20px;
  left: 20px;
  right: 20px;

  padding: 20px 24px;
  color: white;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);

  max-width: 520px;
}

.feature-text.left {
  left: 20px;
  right: auto;
}

.feature-text.right {
  right: 20px;
  left: auto;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-contact {
  display: none;
}

@media (max-width: 1400px) {
  .mobile-contact {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.2);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .mobile-contact-label {
    color: white;
    font-family: 'Poppins-Bold', sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
  }

  .mobile-social {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #F2A900;
    text-decoration: none;
    font-family: 'Poppins-Bold', sans-serif;
  }

  .mobile-social:hover {
    color: #ffd24d;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    padding: 12px 20px;
    gap: 0;
  }

  .nav-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .nav-right {
    display: none;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #F2A900;
    font-size: 2rem;
    line-height: 1;
    padding: 0;
    margin: 0;
    box-shadow: none;
  }

  .menu-toggle:hover {
    transform: none;
  }

  .nav-logo {
    height: 44px;
    width: auto;
    display: block;
  }

  .nav-center {
    display: none;
    width: 100%;
    margin-top: 12px;

    flex-direction: column;
    align-items: center;
    gap: 14px;

    padding: 14px 0;
    background: rgba(0, 40, 120, 0.97);
    border-radius: 16px;
  }

  .nav-center.show {
    display: flex;
  }

  .nav-center a {
    font-size: 1rem;
  }

  .section,
  .subpage-hero {
    padding-top: 90px;
  }

  .info-row,
  .detail-row {
    grid-template-columns: 1fr;
  }

  .info-row.reverse .info-text-card,
  .info-row.reverse .info-image-card {
    order: unset;
  }

  .info-sections,
  .detail-section {
    padding: 60px 20px;
  }

  #countdown {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .detail-row {
    grid-template-columns: 1fr;
  }
  .map-card-grid {
  grid-template-columns: 1fr;
  }
  .feature-block img {
    height: 220px;
  }

  .feature-text {
    top: 12px;
    left: 12px !important;
    right: 12px !important;
    max-width: none;
    padding: 16px;
    font-size: 0.95rem;
  }
}

@font-face {
  font-family: 'Minecraft';
  src: url('fonts/3_Minecraft-Bold.otf');
}

@font-face {
  font-family: 'Poppins-Bold';
  src: url('fonts/Poppins-Bold.ttf');
}

@font-face {
  font-family: 'Poppins-Regular';
  src: url('fonts/Poppins-Regular.ttf');
}