/* Hero Section*/
.hero {
  position: relative;
  width: 100vw;
  height: calc(80vh);
}
.bg-images img {
  position: absolute;
  width: 100vw;
  top: -150px;
}
.hero-image {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: fill;
}

.hero-text {
  transform: translateY(-5vh);
  padding: 0 calc(8vw);
  padding-right: 20vw;
  padding-bottom: 100px;
  background-image: url(../assets/decor.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
}

.hero-text h1 {
  padding-bottom: 1vh;
  text-decoration: none;
  background: linear-gradient(
    to right,
    var(--White) 50%,
    var(--Pink) 50%,
    var(--Red) 100%
  );
  background-size: 200%;
  background-clip: text;
  color: transparent;
  transition: 0.5s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.hero-text h1:hover {
  background-position: -100%;
}
.hero-text p{
  padding-bottom: 15px;
}
/* Rotate  Section */

.rotate-reverse {
  animation: rotate-reverse 16s linear infinite;
  width: 100%;
  height: auto;
}

.rotate1 {
  position: absolute;
  top: calc(20vh);
  right: 8vw;
  width: calc(10vw);
  height: calc(10vw);
  rotate: 30deg;
}
.rotate2 {
  position: absolute;
  top: calc((80vh + 64px) - 4vw);
  right: 10vw;
  width: calc(10vw);
  height: calc(10vw);
  rotate: -30deg;
}
.rotate3 {
  position: absolute;
  top: calc(85vh - 5vw);
  right: 8vw;
  width: calc(10vw);
  height: calc(10vw);
  rotate: -30deg;
}

/* Hype Section */

.hype-container {
  display: grid;
  grid-template-columns: auto 1fr; /* Video column auto-sizes */
  grid-template-rows: 25% 75%; /* Two rows */
  height: 85vh; /* Fixed height */
  grid-auto-rows: 1fr;
  margin-bottom: 150px;
  position: relative;
}
.hype-vid {
  padding: 0;
  grid-column: 1 / 2; /* Spans the first column */
  grid-row: 1 / -1; /* Spans both rows */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hype-vid video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hype {
  grid-column: 2 / 3; /* Second column */
  grid-row: 1 / 2; /* First row */
  display: flex;
  align-items: center;
  justify-content: center;
  display: flex;
  background-color: var(--Pink);
}
.hype h1 {
  margin: 0;
  font-size: 7vw;
}
.hype a {
  color: inherit;
  text-decoration: none;
}
.hype a:hover .event-arrow {
  transform: rotate(45deg);
}
.hype-pic {
  grid-column: 2 / 3; /* Second column */
  grid-row: 2 / 3; /* Second row */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hype-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.info-boxes{
  padding: 0 8vw;
  display: flex;
  align-items: stretch;
  flex-direction: row;
  background-color: var(--Yellow);
  margin-bottom: 100px;
  color: var(--Black);
}
.text-box {
  width: 33.33%;
  padding: 2vw;
  border-radius: 20px;
  scale: 1;
  transition: all 0.3s ease-in-out;
}
.text-box h3{
  margin: 0;
}
.text-box p{
  margin:0;
  font-family: "Bricolage Grotesque";
  font-weight: 100;
}
.text-box:hover {
  scale: 1.2;
}
/* Event Section */
.event-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5%;
  padding: 64px 0;
}

.event-image {
  width: 50%;
  height: 50%;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.event-details {
  width: 50%;
  margin: 10px;
}

.event-details p {
  margin-bottom: 20px;
}

.event-details h3,
.event-details h4 {
  margin: 0;
}

/* Upcoming Section */
.upcoming {
  padding: 0 calc(8vw);
  padding-bottom: 8vw;
}
.upcoming-event {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
}
.upcoming a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease-out;
}

.upcoming hr {
  margin: 10px 0;
}
.upcoming a:hover {
  color: var(--Yellow);
}
.upcoming-event-details {
  flex-grow: 1;
}

.event-arrow {
  width: 2vw;
  height: 2vw;
  object-fit: fill;
  transition: transform 0.3s ease-out;
}

.upcoming-event:hover .event-arrow {
  transform: rotate(-45deg);
}
.upcoming-event h3 {
  margin-right: 12px;
}
.upcoming-event h3,
.upcoming-event h4 {
  display: inline;
}
.upcoming button {
  margin-top: 40px;
}
/* Carousel Section */
.carousel-container {
  padding-top: 164px;
  padding-bottom: 120px;
}

/* Highlights Section */
.highlights-container {
  position: relative;
  padding-top: 80px;
}
.highlight {
  width: 100%;
  max-height: calc(80vh);
  object-fit: cover;
  display: flex;
}
.highlight-details {
  padding: 64px calc(8vw);
}
.highlight-details h3 {
  display: inline;
  margin-right: 12px;
}
.highlight-details h3,
.highlight-details h4 {
  display: inline;
}

/* Responsive Layout */
@media only screen and (max-width: 768px) {
  .bg-images img {
    top: 20%;
  }
  .hero {
    height: calc(80vh - 180px);
  }
  .hero-text {
    padding: 100px calc(8vw);
    transform: translateY(-5vh);
  }
  
  .rotate1 {
    display: none;
  }
  .rotate2 {
    top: calc(30vh - 15vw);
    right: 10vw;
    width: calc(30vw);
    height: calc(30vw);
  }
  .rotate3 {
    top: auto;
    bottom: calc(-15vw);
    right: 10vw;
    width: calc(30vw);
    height: calc(30vw);
  }
  .hype-container {
    display: block; /* Switch to block layout */
    height: auto; /* Let height adjust automatically */
    margin-bottom: 100px; /* Adjust margin as needed */
  }

  .hype-vid,
  .hype,
  .hype-pic {
    width: 100%; /* Full width for each element */
  }

  .hype-vid video,
  .hype-pic img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Ensures video and images are fully visible */
  }
  .info-boxes{
    flex-direction: column;
    padding: 8vw;
  }
  .text-box {
    width: 100%;
  }
  .text-box:hover {
    scale: 1.05;
  }
  .event-container {
    flex-direction: column;
    margin: calc(8vw);
    padding: 0px;
  }

  .event-image,
  .event-details {
    width: 100%;
  }
  .event-arrow {
    width: 5vw;
    height: 5vw;
  }
  .upcoming-event {
    margin-top: 0;
  }
  .upcoming-event h3,
  .upcoming-event h4 {
    display: block;
    margin: 12px 0;
  }
  .carousel-container {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .highlights-container {
    padding-top: 0;
  }
  .highlight {
    height: calc(30vh);
  }
  .highlight-details {
    padding: 0 calc(8vw);
    padding-top: calc(15vw);
  }
}
