* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

section > .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar {
  background-color: #fff;
  padding: 1rem 0.5rem; /* atas bawah, kanan kiri */
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}


.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem; /* Tambahkan jarak antar elemen */
  padding: 0 1rem; /* Tambahkan padding horizontal */
}


/* Logo */
.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 1rem; /* Tambahkan ini */
}


.nav-links a {
  font-weight: 600;
  color: #1b1b1b;
}

.nav-links a:hover {
  color: #FFD43B;
}

/* Burger */
.burger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}


.hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  z-index: 3;
  text-align: center;
  color: #1b1b1b;
  padding: 1rem;
}

.hero-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #1b1b1b;
}

.hero-content p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: #333;
}

.visi {
  background-color: #FFD43B;
  padding: 2rem 1rem;
  text-align: center;
}

.visi h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1b1b1b;
}

.visi p {
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
  font-size: 1rem;
  color: #1b1b1b;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1b1b1b;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #1b1b1b;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.cta-button {
  display: inline-block;
  background-color: #FFD43B; /* Kuning */
  color: #000; /* Hitam */
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.2s;
}

.cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-1px);
}

.misi {
    padding: 30px;
}

.misi .container h2 {
    text-align: center;
}

.misi-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.misi-item {
  flex: 1 1 22%;
  text-align: center;
}

.misi-icon {
  width: 60px;
  height: 60px;
  background-color: #FFD43B; /* kuning */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.misi-icon img {
  width: 28px;
  height: 28px;
}

.activities {
  padding: 2rem 1rem;
  background-color: #fff;
  max-width: 1200px;
  margin: auto;
  margin-top: 100px;
}

.activities-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.activities-nav {
  display: flex;
  gap: 0.5rem;
}

.activities-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1b1b1b;
  position: relative;
  z-index: 1;
}

.activities-header h2::before {
    content: "ACCI";
    position: absolute;
    top: -5.2rem;
    left: -23px;
    font-size: 6rem;
    font-weight: 800;
    color: rgb(0 0 0 / 2.5%);
    z-index: -1;
    pointer-events: none;
}


.activities-nav .nav-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin: 0 0.25rem;
  color: #1b1b1b;
}

.activity-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.activity-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  width: 280px;
  transition: transform 0.2s ease;
}

.activity-card:hover {
  transform: translateY(-4px);
}

.activity-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.activity-info {
  padding: 0.75rem 1rem;
}

.activity-date {
  font-size: 0.85rem;
  color: #666;
  display: block;
  margin-bottom: 0.25rem;
}

.activity-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1b1b1b;
}

.activity-carousel {
overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.activity-carousel::-webkit-scrollbar {
  display: none; /* Sembunyikan scrollbar */
}

.activity-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s ease-in-out;
}

.activity-card {
  flex: 0 0 calc(100% / 3 - 1rem);
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s;
}

.activity-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.activity-info {
  padding: 1rem;
}

.activities-nav {
  display: flex;
  gap: 0.5rem;
}

.nav-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.footer-cta {
  background: linear-gradient(to bottom, #FFD43B, #f1c40f);
  padding: 3rem 1rem 2rem;
  text-align: center;
  color: #1b1b1b;
}

.footer-cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-cta .subheading {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-cta .description {
  max-width: 100%;
  margin: 0 auto 1.5rem;
  font-size: 14px;
  line-height: 1.6;
}

.main-footer {
  background-color: #1a1a1a;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  padding: 0.8rem 1rem;
}

.image-modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.image-modal img.modal-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

.activity-card {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Jika lebar layar >= 768px, tampil 3 kartu */
@media (min-width: 768px) {
  .activity-card {
    flex: 0 0 calc((100% - 3rem) / 3); /* 3 kartu dengan jarak 1.5rem * 2 */
    max-width: calc((100% - 3rem) / 3);
  }
}


/* Responsive */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
    display: none; /* penting: sembunyikan saat awal */
    position: absolute;
    top: 100%;
    right: 1rem;
    background-color: white;
    flex-direction: column;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.5rem 0;
  }

  .misi-grid {
    flex-direction: row; /* Tetap baris */
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }

  .misi-item {
    flex: 1 1 45%;
    max-width: 45%;
    text-align: center;
  }

  .misi-icon {
    margin-bottom: 1rem;
  }

  .misi-item h3 {
    margin-bottom: 0.5rem;
  }

  .activity-cards {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .activities-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .activities-header h2 {
    flex: 1;
  }

  .activities-nav {
    order: 2;
    margin-top: 0.5rem;
    margin-left: auto;
  }

  .activity-cards {
    flex-direction: column;
    align-items: center;
    flex: 0 0 100%;
  }

}

@media (max-width: 480px) {
 .misi-item {
    max-width: 100%;
  }
}

