/* Root Variables - Color Scheme */

/* Defaults to Festiora */
:root {
  /* Primary colors */
  --bg-color: #f0ac9c;
  --container-bg-color: #ffcabc;
  --container-bg-color-dark: #ffbbac;
  --primary: #66bef9;
  --primary-dark: #5094ee;
  --text-color-glow: #fef2f2;
  /* UI colors */
  --nav-headings: white;
  /* Navbar footer */
  --navbar-hover: #aedfff;
}

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

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

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

/* 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: 90vw;
  max-width: 90vw;
  margin: 5vw;
  background: linear-gradient(to bottom, var(--container-bg-color), var(--container-bg-color-dark));
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
  border-radius: 50px;
  text-align: center;
  padding: 2vw;
}
.about-title {
  margin-bottom: 2vw;
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}
.about-desc {
  font-size: 1.2rem;
  color: #fff;
  max-width: 1700px;
  background: none;
  border: none;
  padding-top: 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; 
}
.about-panitia-item {
  padding: 0 8px;
}
.about-panitia-role {
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.about-panitia-name {
  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; }
}


section.about h1 {
  font-weight: 700;
}

section.content {
  display: flex;
  flex-direction: column;
  width: 90vw;
  margin: 5vw;
  background: linear-gradient(to bottom, var(--container-bg-color), var(--container-bg-color-dark));
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
  border-radius: 50px;
  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: white;
}

/* List Cards */

section.content .lists {
  margin-top: 1rem;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

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

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

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;
}

section.content .list .list-actions {
  display: flex;
  gap: 6px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

section.content .list .list-btn {
  width: 150px;
  height: 40px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  background-color: var(--bg-color);
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

section.content .list .list-btn:hover {
  background-color: white;
  color: var(--bg-color);

}
.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(--primary);
  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(--primary-dark);
  background-color: rgba(229, 229, 229, 0.327);
  padding: 30px;
  border-radius: 15px;
  color: var(--box-list-colour);
}

.detail .content .content-desc .detail-banner {
  max-width: 100%;
  max-height: 95%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  margin-top: 10px;
}

.detail .content .content-logo {
  width: 250px;
  height: 250px;
  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;
}

.performance h1{
  font-size: 3rem;
}

.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: rgba(220, 38, 38, 0.8);
  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(--primary);
  width: 100vw;
  margin-bottom: 0;
}

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

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;
}

/* 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-color-glow);
  }
}

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

  100% {
    background-color: var(--primary-dark);
  }
}

@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;
  }

  .performance h1{
    font-size: 2rem;
  }

  .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;
}
/* Animasi nyala (fade-in) */
@keyframes glowUp {
  from {
    text-shadow: none;
  }
  to {
    text-shadow: 0 0 5px var(--navbar-hover), 0 0 2px white;
  }
}

/* Animasi mati (fade-out) */
@keyframes glowDown {
  from {
    text-shadow: 0 0 5px var(--navbar-hover), 0 0 2px white;
  }
  to {
    text-shadow: none;
  }
}
/* Animasi nyala (fade-in) */
@keyframes glowFade {
  from {
    text-shadow: none;
  }
  to {
    text-shadow: 0 0 5px var(--navbar-hover), 0 0 2px white;
  }
}

/* Animasi mati (fade-out) */
@keyframes glowFadeOut {
  from {
    text-shadow: 0 0 5px var(--navbar-hover), 0 0 2px white;
  }
  to {
    text-shadow: none;
  }
}
.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;
}
.sidebar-brand {
  text-shadow: 0 0 5px var(--navbar-hover), 0 0 2px white;
}
.sidebar-nav a:hover {
  text-shadow: 0 0 5px var(--navbar-hover), 0 0 2px white;
}
.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: 125px;
  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);
}

section.gallery-container {
  display: flex;
  flex-direction: column;
  width: 90vw;
  margin: 5vw;
  background: linear-gradient(to bottom, var(--container-bg-color), var(--container-bg-color-dark));
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
  border-radius: 50px;
  padding: 2rem 5%;
  box-sizing: border-box;
  align-items: center;
  text-align: center;
}

section.gallery-container h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.images {
  margin-top: 1rem;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.images img {
  object-fit: contain;
  width: 35vw;
  margin: 20px;
  border-radius: 20px;
  transition: 0.3s;
}

.images img:hover {
  transform: scale(1.02);
  box-shadow: 0px 0px 20px white;
}

@media screen and (max-width: 480px) {
  section.gallery-container h1 {
    font-size: 2rem;
  }
}