/* ===================================
   CSS RESET & VARIABLES
   =================================== */
:root {
  --yellow: #ffcd38;
  --red: #ff4d4d;
  --cream: #fff9e6;
  --black: #111111;
  --border-thick: 2px solid var(--black);
  --border-radius: 15px;
  --font-heading: 'Outfit', sans-serif;
  --font-display: 'Luckiest Guy', cursive;
  --font-body: 'Space Grotesk', sans-serif;
}

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

html, body {
  font-family: var(--font-body);
  color: var(--black);
  background-color: var(--yellow);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ===================================
   UTILITIES
   =================================== */
.bg-yellow { background-color: var(--yellow); }
.bg-red { background-color: var(--red); }
.bg-cream { background-color: var(--cream); }
.text-black { color: var(--black); }
.text-red { color: var(--red); }
.text-cream { color: var(--cream); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 900;
}

.section-title, h1 {
  font-family: var(--font-display);
  font-weight: 400;
}

/* ===================================
   NAVIGATION
   =================================== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background: transparent;
  pointer-events: none;
}

.top-nav .nav-links {
  display: none; /* Hidden on mobile */
}

/* ===================================
   MAIN LAYOUT — Normal vertical scroll
   =================================== */
.snap-container {
  width: 100%;
  overflow-x: hidden;
}

.snap-section {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 40px 15px 30px 15px;
}

#section-0 {
  padding-top: 70px;
}

#section-1 {
  padding-top: 20px;
  padding-bottom: 20px;
}

#section-4 {
  padding-bottom: 60px;
}

/* ===================================
   SECTION BACKGROUNDS
   =================================== */
#section-0, #section-1, #section-2, #section-3, #section-4 {
  background-color: var(--yellow);
  background-image: linear-gradient(rgba(255, 205, 56, 0.90), rgba(255, 205, 56, 0.90)), url('2.jpg');
  background-size: 100% auto;
  background-position: top center;
  background-repeat: repeat;
}

/* ===================================
   SECTION TITLE
   =================================== */
.section-title {
  font-size: 2.2rem;
  text-align: center;
  color: var(--cream);
  margin: 0 0 5px 0;
  line-height: 1;
  text-shadow: 2px 2px 0 var(--black);
  -webkit-text-stroke: 1px var(--black);
}

/* ===================================
   SECTION LAYOUT (generic)
   =================================== */
.section-layout {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===================================
   1. HERO SECTION
   =================================== */
.hero-full-image-container {
  width: 95%;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  border: var(--border-thick);
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--cream);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}

.image-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  color: var(--black);
  font-size: 1.2rem;
  z-index: 1;
  opacity: 0.5;
  text-align: center;
  padding: 10px;
}
.image-fallback span {
  font-size: 0.9rem;
  font-family: var(--font-body);
}

.scroll-down {
  display: none; /* Hidden on mobile */
}

/* ===================================
   2. TEAM — 3-column grid on mobile
   =================================== */
.carousel-container {
  position: relative;
  padding: 0;
  width: 100%;
  height: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

/* Hide carousel arrow buttons on mobile */
.carousel-container .carousel-btn {
  display: none;
}

#team-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 6px;
  padding: 0;
  width: 100%;
  height: auto;
  overflow: visible;
  transform: none;
}

/* Hide the first card (Koro) on mobile */
#team-track .team-card:nth-child(1) {
  display: none;
}

.team-card {
  width: 100%;
  border: 1px solid var(--black);
  border-radius: 8px;
  background: var(--cream);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.card-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-bottom: 1.5px solid var(--black);
  background: var(--yellow);
  margin-bottom: 0;
  display: block;
  overflow: hidden;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-card-content {
  padding: 3px;
  min-height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: normal;
  margin: 0;
  line-height: 1;
}

.team-card .lakap {
  font-family: var(--font-body);
  font-size: 0.4rem;
  font-weight: 900;
  margin: 0;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--red);
}

/* ===================================
   3. MAP SECTION
   =================================== */
.map-slider-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 95%;
  margin: 0 auto;
}

.map-slider-wrapper .map-slider {
  order: 1;
  flex: 0 0 100%;
  width: 100%;
}

.map-slider {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--cream);
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.20);
}

.map-slider img {
  object-fit: contain;
  border-radius: var(--border-radius);
  background: var(--cream);
}

/* Map arrow buttons — styled to match site design */
.map-slider-wrapper .carousel-btn {
  order: 2;
  position: static;
  display: inline-flex;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  font-weight: 900;
  flex-shrink: 0;
  background: var(--cream);
  color: var(--black);
  border: 3px solid var(--black);
  border-radius: 50%;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  z-index: 2;
  box-shadow: 3px 3px 0 var(--black);
  transition: transform 0.15s, box-shadow 0.15s;
  clip-path: none;
}

.map-slider-wrapper .carousel-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--black);
}

/* ===================================
   4. QUIZ SECTION
   =================================== */
.quiz-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.quiz-container {
  background: var(--cream);
  border: var(--border-thick);
  border-radius: var(--border-radius);
  padding: 20px 15px;
  width: 90%;
  margin: 0 auto;
}

.quiz-question h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--black);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-btn {
  background: var(--yellow);
  border: 2px solid var(--black);
  border-radius: 12px;
  padding: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  transition: all 0.2s;
  cursor: pointer;
}

.quiz-btn:active {
  transform: translateY(2px);
  background: var(--red);
  color: var(--cream);
}

.quiz-result {
  background: var(--cream);
  border: var(--border-thick);
  border-radius: var(--border-radius);
  padding: 20px 15px;
  width: 90%;
  margin: 0 auto;
}

.quiz-result h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 10px;
}

.quiz-result p {
  font-size: 1.1rem;
  font-weight: bold;
}

/* ===================================
   5. COMING SOON (VIDEO)
   =================================== */
.animation-container {
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: var(--border-thick);
  background: var(--cream);
}
