/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;700&display=swap");

/* === Global === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.active {
  color: #01a3de;
  border-bottom: 2px solid;
  font-weight: bold;
}

body,
html {
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

/* Navbar */
.nav {
  position: fixed;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4em;
  background: #008bbf;
  z-index: 999;
}

nav a {
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  padding: 0 1em;
  font-size: 12px;
}

.logo-container img {
  border-radius: 50%;
  max-width: 15%;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5em;
  z-index: 1000;
  color: white;
}

.container {
  width: 100%;
  height: 100vh;
  background-color: #008bbf;
  margin-bottom: 150px;
}

.line {
  width: 150px;
  height: 4px;
  background: #008bbf;
  margin: 10px auto;
  border-radius: 5px;
}

.header-content h1 {
  font-size: 7vmin;
  margin-top: 50px;
  margin-bottom: 30px;
}

/* Events */
.events {
  width: 80%;
  margin: 10px auto;
}

.title {
  text-align: center;
  font-size: 4vmin;
  color: rgb(73, 73, 126);
}

.row {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.row .col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.events .row {
  margin-top: 50px;
}

.card-area h4 {
  font-size: 3vmin;
  color: #484872;
  margin: 20px auto;
}

.overlay p {
  color: #7c7c7c;
  padding: 0px 40px;
}

/* footer */

.footer-logo {
  border-radius: 50%;
  width: 3em;
}

.logo-footer-container {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.7rem;
}

.footer-description {
  font-size: 30px !important;
  font-weight: bold !important;
}

.footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  padding: 80px 13% 70px;
  gap: 3.5rem;
  background: #1a242f;
}

.footer-content h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 20px;
}

.footer-content li {
  margin-bottom: 16px;
}

.footer-content li a {
  display: block;
  color: #d6d6d6;
  font-size: 15px;
  font-weight: 400;
  transition: all 0.4s ease;
}

.footer-content li a:hover {
  transform: translateY(-3px) translateX(-5px);
  color: #fff;
}

.footer-content p {
  color: #d6d6d6;
  font-size: 16px;
  line-height: 30px;
  margin: 20px 0;
}

.icons a {
  display: inline-block;
  font-size: 22px;
  color: #d6d6d6;
  margin-right: 17px;
  transition: all 0.4s ease;
}

.icons a:hover {
  transform: translateY(-3px) translateX(-5px);
  color: #fff;
}

.embed-map h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 20px;
}
.embed-map {
  width: 100%; /* Sesuaikan lebar */
  max-width: 400px; /* Batasi lebar maksimal */
  margin: 0 auto; /* Pusatkan maps */
}

.embed-map iframe {
  width: 100%;
  height: 200px; /* Sesuaikan tinggi */
  border: none; /* Hilangkan border */
  border-radius: 10px; /* Tambahkan rounded corners */
}

/* card */
.card {
  width: 90%;
  margin: 10px auto;
}

.wrapper {
  padding: 10px;
}

#card-area {
  padding: 30px 0;
}

.box-area {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 25px;
  margin-top: 10px;
}

.box {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
  width: 100%; /* Lebar menyesuaikan */
  aspect-ratio: 1.5 / 1.2; /* Rasio lebar:tinggi (contoh: 1:1.2) */
}

.box img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
  object-fit: cover;
}

.overlay {
  height: 100%;
  width: 100%;
  background: linear-gradient(transparent, #1c1c1c 64%);
  border-radius: 20px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 60px;
  text-align: center;
  font-size: 14px;
  transition: height 0.5s;
}

.overlay h3 {
  color: white;
  margin-bottom: 5px;
  margin-top: 60%;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.overlay a {
  color: white;
  margin-top: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  background: #008bbf;
  border-radius: 20px;
  text-align: center;
  padding: 0.5em 1em;
  transition: 0.5s;
}

.box:hover img {
  transform: scale(1.1);
}

.overlay a:hover {
  opacity: 0.8;
}

/* Media Queries */
@media (max-width: 768px) {
  .box-area {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
  }

  .overlay h3 {
    font-size: 1.5rem;
    margin-top: 50%;
  }

  .overlay a {
    font-size: 0.8rem;
    padding: 0.4em 0.8em;
  }
}

@media (max-width: 480px) {
  .box-area {
    grid-template-columns: 1fr;
    grid-gap: 15px;
  }

  .overlay {
    padding: 0 10px;
  }

  .overlay h3 {
    font-size: 1.2rem;
    margin-top: 40%;
  }
}

@media (max-width: 1690px) {
  .footer {
    padding: 50px 5% 40px;
  }
}

@media (max-width: 1120px) {
  .footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    gap: 1.5rem;
  }

  .footer-description {
    font-size: 22px !important;
  }

  .logo-container {
    font-size: 2vmin;
  }
}
