/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: url('img/menu-bg.jpg') center/cover no-repeat;
  color: white;
  overflow-x: hidden;
}

.brand-title, .menu-title, .headline, .scroll-down {
  font-family: 'Bungee', sans-serif;
}

/* Navbar */
.navbar {
  width: 100%;
  height: 105px;
  background-color: #683d90;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
}

.navbar-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo {
  position: absolute;
  left: 24px;
  width: 160px;
  height: 68px;
  margin-top: -35px;
  object-fit: contain;
}


.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  opacity: 0.5;
  transition: 0.2s;
}

.nav-links a.active,
.nav-links a:hover {
  opacity: 1;
}

/* NEWS Section */
.news-section {
  position: relative;
  overflow-y: auto;
}

.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('img/news-bg.png') center/cover no-repeat;
  z-index: -2;
}

.overlay-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 150vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.overlay-gradient.active {
  opacity: 1;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 80%);
}


.headline {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 60px;
  font-family: 'Bungee', sans-serif;
  color: white;
  transition: all 0.6s ease;
  position: relative;
  z-index: 2;
}

.headline h1 {
  font-size: 48px;
  line-height: 1.1;
  transition: all 0.6s ease;
}

.headline.scrolled {
  align-items: center;
  justify-content: start;
  padding-top: 150px;
}

.headline.scrolled h1 {
  font-size: 32px;
  text-align: center;
  color: #683d90;
}

/* Scroll down muncul di tengah bawah dan hilang saat scroll */
.scroll-down {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  background-color: #683d90;
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
  font-family: 'Bungee', sans-serif;
  transition: opacity 0.4s ease;
}

.scroll-down.hide {
  opacity: 0;
  pointer-events: none;
}

.arrow {
  font-size: 24px;
}

@keyframes bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 6px);
  }
}

.promo-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 60px 16px;
  background-color: #fff;
}

.promo-item {
  width: 300px; 
  max-width: 100%;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-items: center;
}

.promo-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.promo-item img {
  width: 100%;
  aspect-ratio: 3 / 4; 
  object-fit: cover;
}

.promo-info {
  padding: 12px 16px;
  text-align: center;
}

.promo-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #683d90;
}

.promo-info p {
  font-size: 13px;
  color: #555;
}

/* Footer */
.footer {
  background-color: #683d90;
  padding: 24px;
  color: white;
  z-index: 2;
  position: relative;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 200px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-left a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.footer-center {
  text-align: center;
  font-size: 14px;
  margin-top: 25px ;
}

.footer-right {
  text-align: right;
}

.footer-right h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-right p {
  font-size: 14px;
}

.sosmed-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

