/* ========== GLOBAL STYLE ========== */
body {
  background-color: #ffffff;
  font-family: 'Poppins', sans-serif;
  color: #1f1f1f;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* cegah geser horizontal */
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #222;
}

p.lead {
  font-size: 1.125rem;
  color: #555;
  margin-bottom: 3rem;
}

.logo {
  width: 300px;
}

.object-fit-cover {
  object-fit: cover;
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    height: 80vh;
    background: url('../assets/img/bg-showcase-3.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(85, 60, 40, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* di atas overlay */
    text-align: center;
    color: #fff;
}

.divider {
    width: 50px;
    height: 3px;
    background: #ff5722;
    margin: 15px auto;
}

.platform-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.platform-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 20px;
    width: 200px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.platform-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.platform-card:hover {
    transform: translateY(-5px);
}



/* ========== PLATFORM SECTION ========== */
.akses-platform {
  padding: 5rem 1rem;
  margin-top: 2rem;
}

.platform-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.platform-card {
  background-color: #ffffff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 12px;
  width: 320px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  color: #111;
}

.platform-card h4 {
  margin-bottom: 10px;
  font-weight: 600;
}

.platform-card p {
  margin-bottom: 0;
}

/* ========== NAVBAR ========== */
.custom-navbar {
  background-color: #ffffff;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 1rem 0;
  z-index: 1030;
}

.custom-navbar .nav-link {
  color: #1f1f1f;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.custom-navbar .nav-link:hover {
  background-color: #007bff;
  color: #fff;
}

.custom-navbar .navbar-brand {
  font-weight: 700;
  color: #1f1f1f;
  font-size: 1.5rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .platform-buttons {
    flex-direction: column;
    align-items: center;
  }

  .akses-platform {
    margin-top: 2rem;
  }

  .hero-section {
    padding-top: 90px;
  }

  .hero-content {
    padding: 15px;
  }

  .platform-card {
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-section {
    min-height: 120vh;
}
  .navbar {
    padding: 0.4rem 0.8rem; /* lebih kecil */
  }
  .navbar-brand img {
    height: 35px; /* kecilin logo */
  }
  .navbar-nav .nav-link {
    font-size: 14px; /* kecilin teks menu */
    padding: 0.3rem 0.6rem;
  }

@media (max-width: 320px) {
  .platform-buttons {
    gap: 1rem;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .platform-card {
    width: 100% !important;
    max-width: 350px;
    word-wrap: break-word;
  }
  .hero-section {
    min-height: 120vh;
}
}}