@font-face {
  font-family: "Sugar Magic";
  src: url("/css/fonts/sugarmagicpersonaluseonly-jemyo.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: 100vh;
  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;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* 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.2);
  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: 200px;
}

/* 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 a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: orange;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* HERO TEXT */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.hero-content h1 {
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

/* BUTTON */
.hero-content button {
  background: #f2b6c6;
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
}

/* 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;
}

/* 📱 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: 12px;
    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%;
  }
}

.upcoming-event {
  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;
}

.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;
  justify-content: center;
}

.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: 2rem;
  font-weight: 500;
  margin: 0 0 10px 0;
  font-family: "Georgia", serif;
  text-align: center; /* first line centered */
}

.event-name .event-subtitle {
  display: block;
  text-align: left; /* second line left aligned */
  font-size: 1.8rem; /* same size as first line */
}

.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 {
  margin: 0 auto; /* horizontal centering */
  padding: 0 20px;
  display: flex;
  flex-direction: column; /* stack content vertically */
  align-items: center; /* horizontal centering of children */
  text-align: center; /* center text inside */
  gap: 30px; /* spacing between elements */
  min-height: 85vh;
}

.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;
}

.overlay-parent {
  position: relative;
  overflow: hidden;
}

.video-button {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  background: rgba(255, 255, 255, 0);
  color: white;

  padding: 12px 24px;
  border-radius: 30px;

  font-size: 1rem;
  font-family: "Lanston Bell", serif;

  z-index: 2;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  color: white;
  font-size: 0.8rem;
  font-family: "Georgia", serif;

  text-align: center;

  z-index: 2;

  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 8px;
}

.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;
  filter: brightness(50%);
}

.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;
}

.video-section {
  padding: 0;
}

.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;
}

/* # footer */
.footer {
  width: 100%;
  border-top: 1px solid var(--border-dark);
  padding: 15px 20px;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;

  max-width: 1100px; /* keeps it from stretching too wide */
  margin: 0 auto; /* centers it */
  padding: 20px 40px; /* adds breathing room inside */
}
.footer-social {
  margin: 15px 15px 15px 0;
  color: white;
}
.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;
}
.container {
  max-width: 1170px;
  margin: auto;
  padding: 0 15px;
}
