/* Root Variables - Color Scheme */

:root {
  /* Primary colors - Tema Merah Putih */
  --bg: #dc2626;
  --bg-color: #F0AC9C;
  --bg-color2: #b91c1c;
  --text-color: #66bef9;
  --text-color-darker: #5094ee;
  --text-color2: #fef2f2;
  /* UI colors */
  --nav-headings: white;
  --overlay-bg: rgba(220, 38, 38, 0.8);
  --accent-color: white;
  --nav-bg: #b91c1c;
  --dropdown-bg: #5094ee;
  --splash-bg: rgb(133, 20, 20);
  /* navbar footer */
  --primary: #66bef9;
    --primary-dark: #5094ee;
    --text-white: #ffffff;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background-color: var(--bg-color);
  color: white;
  width: 100vw;
}

p,
li {
  font-size: 110%;
}

a.btn {
  background-color: var(--bg-color2);
  color: white;
}

/* Layout Components */

.kewa {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.kepan {
  display: flex;
  flex-direction: column;
  width: 100%;
}


/* Banner Section */

section.banner {
  --size: 100vw;
  position: relative;
  width: var(--size);
  height: calc(var(--size) / 1.6);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 0;
  background-color: var(--bg-color);
}

section.banner img {
  width: 100vw;
  height: calc(100vw / 1.6);
  object-fit: cover;
}

section.banner .gradient-banner {
  position: absolute;
  z-index: 10;
  left: 0;
  bottom: 0;
  height: 10rem;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), var(--bg-color));
}

/* Content Sections */

section.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  max-width: 100vw;
  text-align: center;
  padding: 0 4vw 0 4vw;
}
.about-title {
  margin: 3rem 0 0.5rem 0;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}
.about-desc {
  font-size: 1.2rem;
  margin: 0 auto 1rem auto;
  color: #fff;
  max-width: 1700px;
  background: none;
  border: none;
  padding: 0 2vw;
  line-height: 1.4;
  font-weight: 350;
}
.about-panitia-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2vw;
  width: 100%;
  max-width: 1600px;
  justify-items: center;
  align-items: start;
  margin-bottom: 30px;
}
.about-panitia-item {
  margin: 2.2rem 0 0 0;
  padding: 0 8px;
}
.about-panitia-role {
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.about-panitia-name {
  margin-top: 1.3rem;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 400;
}
@media (max-width: 900px) {
  .about-desc { font-size: 1.05rem; }
  .about-panitia-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.5vw;
  }
  .about-title { font-size: 2.2rem; }
}
@media (max-width: 600px) {
  .about-title {margin: 2.4rem 0 1.3rem 0; font-size: 1.35rem;}
  .about-desc { font-size: 0.99rem; margin-bottom: 2.2rem; }
  .about-panitia-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.3vw;
  }
  .about-panitia-role { font-size: 1.1rem; }
  .about-panitia-name { font-size: 1.08rem; margin-top: 0.8rem; }
  .about-panitia-item { margin-top: 1.2rem; }
}


section.about h1 {
  margin-top: 5rem;
  font-weight: 700;
}

section.content {
  display: flex;
  flex-direction: column;
  width: 100vw;
  background-color: var(--bg-color);
  padding: 2rem 5%;
  box-sizing: border-box;
  align-items: center;
  text-align: center;
}

section.content h1 {
  font-weight: 700;
  color: white;
  margin: 0;
}

section.content h2 {
  font-weight: 700;
  color: var(--accent-color);
}

/* List Cards */

section.content .lists {
  margin-top: 50px;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

section.content .list {
  width: 200px;
  height: 200px;
  background-color: var(--text-color);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 20px var(--text-color2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

section.content .list:hover {
  animation: box-hover 0.5s linear, box-size 0.3s linear;
  scale: 1.05;
  background-color: var(--text-color-darker);
}

section.content .list i {
  font-size: 50pt;
  color: var(--box-list-colour);
}

section.content .list p {
  font-weight: bold;
  color: var(--box-list-colour);
  margin-bottom: 0;
}

.detail {
  display: none;
  position: fixed;
  z-index: 9999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.599);
}

.detail .detail-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.detail .content {
  position: relative;
  width: 70vw;
  height: 350px;
  border-radius: 15px;
  background-color: var(--text-color);
  padding: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: white;
  font-weight: 600;
  box-shadow: 0px 0px 20px white;
}

.detail .content .close {
  position: absolute;
  display: inline;
  color: white;
  cursor: pointer;
  top: 25px;
  right: 30px;
  font-weight: bold;
  font-size: 28px;
  color: var(--box-list-colour);
}

.detail .content .content-desc {
  width: 75%;
  height: 100%;
  overflow: auto;
  color: var(--text-color-darker);
  background-color: rgba(229, 229, 229, 0.327);
  padding: 30px;
  border-radius: 15px;
  color: var(--box-list-colour);
}

.detail .content .content-logo {
  width: 250px;
  height: 250px;
  /* background-color: red; */
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 140px;
  cursor: pointer;
  color: var(--box-list-colour);
}

/* Performance Section */
.performance .gambar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.image-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  width: calc(33.333% - 2rem);
  min-width: 300px;
  max-width: 400px;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0px 0px 20px white;
}

.image-container:hover {
  transform: translateY(-10px);
}

.image-container::before {
  content: "";
  display: block;
  padding-top: 177.78%;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem;
}

.image-container:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */

footer {
  margin-top: 0;
  background-color: var(--text-color);
  width: 100vw;
  margin-bottom: 0;
}

footer .gradient {
  background: linear-gradient(var(--bg-color), var(--text-color));
}

footer .column2 a h1,
footer .column3 a h2 {
  margin: 0;
  color: var(--bg-color);
}

footer .copyright {
  color: var(--bg-color);
}

footer .footer-content a:hover {
  color: var(--nav-headings);
  animation: nav-hover-a 0.2s linear;
}

/* Waves Footer */

.waves-footer {
  background-color: var(--bg-color);
}

/* Second Content Section */

section.second-content {
  background-color: var(--bg-color2);
}

/* Utility Classes */

.hidden {
  transform: translateY(100%);
  filter: blur(10px);
}

.show {
  transform: translateY(0);
  filter: blur(0);
  transition: all 0.7s ease-in-out;
}

/* Animations */

@keyframes colorLetters {
  0% {
    color: var(--nav-headings);
    text-shadow: none;
  }

  25% {
    color: rgb(228, 15, 115);
    text-shadow: 0 0.05vh 0.5vh rgba(238, 98, 240, 0.8),
      0 -0.4vh 0.5vh rgba(238, 98, 240, 0.8),
      0.2vh 0 0.5vh rgba(238, 98, 240, 0.8),
      -0.2vh 0 0.5vh rgba(238, 98, 240, 0.8);
  }

  50% {
    color: rgb(172, 8, 84);
    text-shadow: 0 0.3vh 0.5vh rgba(238, 98, 240, 0.8),
      0 -0.3vh 0.5vh rgba(238, 98, 240, 0.8),
      0.2vh 0 0.5vh rgba(238, 98, 240, 0.8),
      -0.2vh 0 0.5vh rgba(238, 98, 240, 0.8);
  }

  75% {
    color: rgb(228, 15, 115);
    text-shadow: 0 0.4vh 0.5vh rgba(238, 98, 240, 0.8),
      0 -0.05vh 0.5vh rgba(238, 98, 240, 0.8),
      0.2vh 0 0.5vh rgba(238, 98, 240, 0.8),
      -0.2vh 0 0.5vh rgba(238, 98, 240, 0.8);
  }

  100% {
    color: var(--nav-headings);
    text-shadow: none;
  }
}

@keyframes hovering {
  0% {
    color: white;
  }

  100% {
    color: var(--text-color2);
  }
}

@keyframes box-hover {
  0% {
    background-color: var(--text-color);
  }

  100% {
    background-color: var(--text-color-darker);
  }
}

@keyframes box-size {
  0% {
    scale: 1;
  }

  100% {
    scale: 1.05;
  }
}

/* Media Queries */

@media screen and (max-width: 1200px) {
  .image-container {
    width: calc(50% - 2rem);
  }
}

@media screen and (max-width: 850px) {
  p,
  li {
    font-size: 100%;
  }

  section.banner .gradient-banner {
    height: 5rem;
  }
}

@media screen and (max-width: 768px) {
  .performance .gambar {
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .image-container {
    width: calc(100% - 2rem);
    max-width: 500px;
  }

  .overlay h5 {
    font-size: 1.25rem;
  }

  .overlay .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 590px) {
  header nav ul.menu-nav {
    background-color: var(--bg-color);
    border-color: white;
    box-shadow: 0px 0px 10px white;
  }

  .detail .content {
    display: flex;
    flex-direction: column-reverse;
    height: 50vh;
  }

  .detail .content .content-desc {
    width: 100%;
  }

  .detail .content .content-logo {
    font-size: 100px;
  }
}

@media screen and (max-width: 480px) {
  .performance .gambar {
    gap: 1rem;
    padding: 1rem;
  }

  .overlay {
    padding: 1rem;
  }

  .overlay h5 {
    font-size: 1.1rem;
  }
}

/* documentations */

.hero-section {
  min-height: 80vh;
  background-color: var(--bg-color);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-section__header {
  text-align: center;
  padding: 1rem 0;
}

.hero-section__title {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
}

.gallery {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.gallery__container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: start;
}

.gallery__item {
  width: calc(33.333% - 1.35rem);
  min-width: 280px;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #c6ebc5;
  box-shadow: 0px 0px 10px white;
}

.gallery__item-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid #fbf2cf;
  border-radius: 15px;
}

/* Example background images */
.gallery__item:nth-child(1) .gallery__item-inner {
  background-image: url(/static/valiance/img/documentations/atheria/1.JPG);
}
.gallery__item:nth-child(2) .gallery__item-inner {
  background-image: url(/static/valiance/img/documentations/atheria/2.JPG);
}
.gallery__item:nth-child(3) .gallery__item-inner {
  background-image: url(/static/valiance/img/documentations/atheria/3.jpeg);
}
.gallery__item:nth-child(4) .gallery__item-inner {
  background-image: url(/static/valiance/img/documentations/atheria/4.JPG);
}
.gallery__item:nth-child(5) .gallery__item-inner {
  background-image: url(/static/valiance/img/documentations/atheria/5.JPG);
}
.gallery__item:nth-child(6) .gallery__item-inner {
  background-image: url(/static/valiance/img/documentations/atheria/6.JPG);
}

@media screen and (max-width: 1200px) {
  .gallery__item {
    width: calc(50% - 1rem);
  }

  .hero-section {
    padding: 1.5rem;
  }

  .gallery__container {
    gap: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    padding: 1rem;
  }

  .hero-section__title {
    font-size: 2rem;
  }

  .gallery__container {
    gap: 1rem;
  }

  .gallery__item {
    width: 100%;
    min-width: unset;
  }

  .gallery__item-inner {
    border-width: 3px;
  }
}

@media screen and (max-width: 480px) {
  .hero-section__title {
    font-size: 1.5rem;
  }

  .gallery__item-inner {
    border-width: 2px;
  }
}
.navbar {
    background-color: var(--primary);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5000;
  }
.footer {
    background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
  }
  .sidebar {
    background: linear-gradient(to bottom, var(--primary-dark), var(--primary));
    position: fixed;
    z-index: 9999;
  }
   .sidebar-header {
    background-color: var(--primary-dark);
    position: fixed;
    z-index: 9999;
  }
  .about-panitia-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 20px;
    border-radius: 18px;
    backdrop-filter: blur(6px);
    height: 100px;
    width: 250px;
  }
    .about-panitia-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0;
  }
.about-panitia-name {
    margin-top: 8px;
    font-size: 1.1rem;
  }
  .about-desc {
    max-width: 900px;
    max-height: 500px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 20px;
    border-radius: 18px;
    backdrop-filter: blur(6px);
  }
.performance h1{
  font-size: 3rem;
}