@font-face {
  font-family: "Sugar Magic";
  src: url("/css/fonts/sugarmagicpersonaluseonly-jemyo.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Lanston Bell";
  src: url("/fonts/LanstonBell-Regular.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Sugar Magic";
}

body {
  overflow-x: hidden;
  background: black;
  opacity: 0;
  animation: fadeIn 0.8s ease-in forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.container {
  max-width: 170vh;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  flex-direction: column; /* stack content vertically */
  align-items: center; /* horizontal centering of children */
  text-align: center;
  gap: 30px;
}

/* HERO */
.hero {
  /*position: relative;*/
  width: 100vw;
  height: 60vh;
  color: white;
  overflow: hidden;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100vh; /* same as your hero video */
  overflow: hidden;
  background: black;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-slideshow button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 50px;
  height: 50px;
  border-radius: 50%; /* makes it perfectly round */

  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: 2px solid white;

  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 5;
  transition: all 0.3s ease;
}

/* Hover effect */
.hero-slideshow button:hover {
  background: white;
  color: black;
}

/* VIDEO */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  z-index: 10;
  transition: background 0.4s ease;
  box-sizing: border-box;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.9);
}

/* Logo */
.logo_Header {
  height: clamp(50px, 8vw, 80px);
  max-width: 100%;
}

/* Main logo (hero) */
.logo_Main {
  height: 150px;
  margin: 0 auto;
}

/* Nav links (desktop) */
nav {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
}

nav a {
  margin: 0 30px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  font-size: 20px;
}

nav a:hover {
  transform: scale(1.1);
  color: orange;
}

.nav-links a.active {
  color: orange;
}

.hero-text {
  text-align: center;
  font-size: 5rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: orange;
  transition: width 0.3s ease;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: orange;
}

nav a:hover::after {
  width: 100%;
}

/* HERO TEXT */
.hero {
  position: relative;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

/* HAMBURGER MENU (desktop hidden) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 12;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
  transition: all 0.3s ease;
}

.upcoming-event {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* stack content vertically */
  align-items: flex-start; /* horizontal centering of children */
  text-align: center;
  gap: 30px;
}

.event-title {
  font-size: clamp(1.5rem, 5vw, 3rem);
  letter-spacing: 4px;
  border: 1px solid white;
  margin-bottom: 40px;
  color: white;
  padding: 10px 25px;
  font-family: "Georgia", serif;

  display: inline-block;
  max-width: 100%;

  overflow-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

/* Typing animation */
/* .typing {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  font-family: "Georgia", serif;
  width: 0;
  animation: typingLoop 9s steps(16, end) infinite;
} */

/* Loop: type → pause → delete → pause */
@keyframes typingLoop {
  0% {
    width: 0;
  } /* start hidden */
  15% {
    width: 18ch;
  } /* typed in 3s */
  70% {
    width: 18ch;
  } /* pause for 1.8s */
  88% {
    width: 0;
  } /* delete in 3s */
  100% {
    width: 0;
  } /* pause before next loop */
}

.event-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  flex-wrap: wrap;
  color: white;
}

.event-image img {
  width: 350px;
  height: 470px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  display: block;
  border: 8px solid white;
}

.event-name {
  font-size: 2.5rem;
  margin: 0 0 10px 0;
  font-family: "Lanston Bell", serif;
  text-align: left;
  color: white;
  width: 50%;
}

.whatweDo-text {
  font-size: 2rem;
  margin: 0 0 10px 0;
  font-family: "Lanston Bell", serif;
  text-align: left;
  color: white;
}

.event-subtitle {
  padding: 0 20px;
  font-size: 3rem;
  color: white;
}

.event-date,
.event-location {
  font-family: monospace;
  font-size: 0.9rem;
  margin: 0 0 6px 0;
  opacity: 0.8;
}

.event-buttons {
  margin-top: 25px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  border: 1px solid white;
  background: transparent;
  color: white;
  padding: 10px 25px;
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 1.2px;
  cursor: pointer;
  text-transform: uppercase;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.btn:hover {
  background-color: white;
  color: black;
}

.past-events {
  max-width: 95%;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* stack content vertically */
  align-items: flex-start; /* horizontal centering of children */
  text-align: center;
  gap: 30px;
}

.gallery-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-group {
  position: relative; /* required for absolute button positioning */
  display: flex;
  gap: 20px;
}

.gallery-item {
  position: relative;
  flex: 1 1 0;
  max-width: 1080px;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Button centered between the two images */
.gallery-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background-color: transparent;
  color: white;
  border: 1.5px solid white;
  border-radius: 12px;

  padding: 12px 28px;
  font-weight: 600;
  font-family: Arial, sans-serif;
  font-size: 1.2rem;

  display: flex;
  align-items: center;
  gap: 10px;

  cursor: pointer;
  opacity: 0.9;
  transition:
    font-size 0.3s ease,
    opacity 0.3s ease;
  z-index: 10; /* ensure it stays on top */
  backdrop-filter: blur(15px);
  font-family: "Georgia", serif;
}

.gallery-button:hover {
  background-color: transparent;
  color: white;
  font-size: 1.4rem;
}

.schedule {
  padding: 0;
}

.schedule-tab {
  border: 1px solid white;
  border-radius: 5px;
  padding: 5px 30px;
  background-color: black;
  color: white;
  text-transform: uppercase;
  margin: 0px 5px 10px;
  font-size: var(--fs-body);
  font-weight: 500;
  font-family: "Georgia", serif;
  transition: all 0.3s ease;
}

/* Hover effect */
.schedule-tab:hover {
  transform: scale(1.1); /* makes it bigger */
  background-color: white; /* change background */
  color: black; /* invert text for contrast */
  cursor: pointer;
}
.schedule-tab.active {
  border-color: black;
  background-color: white;
  color: black;
  font-family: "Georgia", serif;
}
.schedule-tab span {
  display: block;
  font-size: 20px;
  margin-top: 5px;
  font-family: "Georgia", serif;
}
.schedule-table {
  border-collapse: collapse;
  width: 100%;
  display: none;
  font-family: "Georgia", serif;
}
.schedule-table.active {
  display: table;
  animation: schedule-table 0.5s ease;
  font-family: "Georgia", serif;
}
@keyframes schedule-table {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Even rows */
.schedule-table tr:nth-child(even) {
  background-color: #d4d4d4; /* light green for even rows */
}

/* Odd rows */
.schedule-table tr:nth-child(odd) {
  background-color: grey; /* white for odd rows */
}
.schedule-table td,
.schedule-table th {
  padding: 20px;
  text-align: left;
  text-transform: capitalize;
  color: black;
  font-family: "Georgia", serif;
}
.schedule-table span {
  display: inline-block;
}
.schedule-table img {
  max-width: 50px;
  border-radius: 50%;
}

@media (max-width: 575px) {
  .schedule-table td,
  .schedule-table th {
    font-size: 13px;
  }
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  aspect-ratio: 16 / 9; /* keeps proper video ratio */
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.youtube {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* stack content vertically */
  align-items: center; /* horizontal centering of children */
  text-align: center;
  gap: 30px;
}

.whoWeare {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column; /* stack content vertically */
  align-items: flex-start; /* horizontal centering of children */
  text-align: center;
  gap: 30px;
}

.whoWeare-title {
  font-size: 3rem;
  color: white;
}

.whoWeare-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 200px;
}

/* text side */
.whoWeare-text {
  width: 50%;
  font-size: 2.5rem;
  font-family: "Lanston Bell", serif;
  text-align: left;
  color: white;
}

/* image side */
.whoWeare-img {
  width: 45%;
  height: auto;
  object-fit: cover;
}

/* 📱 MOBILE STYLES */
@media (max-width: 768px) {
  /* Header changes */
  .header {
    padding: 15px;
  }

  .logo_Header {
    height: 55px;
  }

  .logo-mobile {
    display: block;
    height: 55px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
  }

  /* Hamburger menu */
  .hamburger {
    display: flex;
    position: absolute;
    left: 20px;
    top: 30px;
  }

  .hamburger span {
    background: white;
  }

  /* Mobile nav - slide from right */
  nav {
    position: fixed;
    top: 0;
    left: -100%; /* hidden initially */
    height: 100vh; /* full viewport height */
    width: 250px;
    background: black;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* align links to top */
    align-items: center;
    padding-top: 70px; /* optional: space for header/hamburger */
    transition: left 0.3s ease;
    z-index: 10;
  }

  nav a {
    margin: 20px 0;
    color: white;
    font-size: 18px;
  }

  nav.active {
    left: 0; /* slide in from left */
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .hero-content p {
    font-size: 35px;
    letter-spacing: 1.5px;
  }

  .event-title {
    letter-spacing: 2px;
    padding: 8px 16px;
    white-space: normal;
  }

  .event-info {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .event-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;

    width: 100%;
  }

  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
  }

  .whatweDo-text {
    font-size: 2rem;
    margin: 0 0 10px 0;
    font-family: "Lanston Bell", serif;
    text-align: left;
    color: white;
  }

  .whoWeare-content {
    flex-direction: column;
    gap: 20px; /* replaces 200px gap */
  }

  .whoWeare-text {
    width: 100%;
    font-size: 1.3rem;
    line-height: 1.5;
    color: white;
  }

  .whoWeare-img {
    width: 100%;
    height: auto;
  }

  .whoWeare-title {
    font-size: 3rem;
    padding: 0 20px;
    color: white;
  }
}

/* # footer */
.footer {
  border-top: 1px solid var(--border-dark);
  padding: 15px 0;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.footer-social {
  margin: 15px 15px 15px 0;
}
.footer-social a {
  height: 40px;
  width: 40px;
  border: 1px solid var(--main-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  border-radius: 50%;
  transition: all 0.3s ease;
  color: var(--main-color);
}
.footer-social a:hover {
  background-color: var(--main-color);
  color: var(--text-black);
}

.footer-copyright {
  color: white;
  font-family: auto;
}
