/* === NAVBAR TANPA BLUR DAN SOLID === */
.navbar-blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.95);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-blur::before,
.navbar-blur::after {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* === HERO SECTION FULLSCREEN === */
.hero-full-bg {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-start; /* Konten lebih ke atas */
  justify-content: center;
  text-align: center;
  background-color: #000;
  margin-top: 0;
  padding-top: 100px; /* Ruang untuk navbar + naikkan konten */
}

/* Background animasi gambar */
.hero-full-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/IMG/bg.jpg');
  background-size: cover;
  background-position: center;
  animation: zoomBg 15s ease-in-out infinite;
  z-index: 0;
}

@keyframes zoomBg {
  0%   { transform: scale(1); opacity: 1; filter: brightness(100%) contrast(100%); }
  50%  { transform: scale(1.05); opacity: 0.98; filter: brightness(105%) contrast(105%); }
  100% { transform: scale(1); opacity: 1; filter: brightness(100%) contrast(100%); }
}

/* Overlay gelap */
.overlay-dark {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
  z-index: 1;
}

/* === HERO CONTENT === */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 15px 60px; /* dinaikkan */
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-content h2 {
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-weight: 300;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-content h1 .text-primary {
  font-size: 4rem; /* TRIVECTA lebih besar */
  font-weight: 800;
}

.hero-content h1 .text-success {
  font-size: 3rem; /* UMKM sedikit lebih kecil */
  font-weight: 600;
}

.hero-content p {
  max-width: 700px;
  margin: 15px auto;
  font-size: 1.1rem;
  padding: 0 10px;
  line-height: 1.6;
}

.hero-content .btn {
  font-size: 1rem;
  padding: 12px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* === RESPONSIVE TABLET === */
@media (max-width: 768px) {
  .hero-full-bg {
    padding-top: 80px;
  }
  .hero-content h1 {
    font-size: 2.6rem;
  }
  .hero-content h1 .text-primary {
    font-size: 3rem;
  }
  .hero-content h1 .text-success {
    font-size: 2.4rem;
  }
  .hero-content h2 {
    font-size: 1.1rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-content .btn {
    font-size: 0.95rem;
    padding: 10px 22px;
  }
  .d-flex.flex-md-row {
    flex-direction: column !important;
  }
  .d-flex.flex-md-row .btn {
    width: 100%;
    max-width: 300px;
    margin: 5px auto;
  }
}

/* === RESPONSIVE HP === */
@media (max-width: 480px) {
  .hero-full-bg {
    padding-top: 70px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content h1 .text-primary {
    font-size: 2.6rem;
  }
  .hero-content h1 .text-success {
    font-size: 2rem;
  }
  .hero-content h2 {
    font-size: 1rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  .hero-content .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
  .d-flex.flex-md-row {
    flex-direction: column !important;
  }
  .d-flex.flex-md-row .btn {
    width: 100%;
    margin-bottom: 10px;
  }
} 

/* ========== STRUKTUR DASAR ========== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f4f6f9;
}

main {
  flex: 1;
}

footer.footer {
  width: 100%;
  margin-top: auto;
  background-color: #1e1f22;
  color: white;
  padding: 20px 0 10px;
  font-size: 13px;
}

/* ========== NAVBAR STYLE ========== */
.navbar-blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  transition: transform 0.3s ease-in-out;
  z-index: 9999;
}

.navbar-blur.hidden {
  transform: translateY(-100%);
}

.navbar-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===================== LOGO ===================== */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-biru {
  color: #1e88e5;
  font-weight: 800;
  font-size: 1.8rem;
}

.logo-hijau {
  color: #4caf50 !important;
  font-weight: bold;
  font-size: 1.8rem;
}

/* ==================== NAVIGASI TENGAH ===================== */
.navbar-center {
  display: flex;
  gap: 16px;
}

.navbar-center a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-center a:hover {
  color: #00acc1;
}

/* ===================== AUTH BUTTONS (KANAN) ===================== */
.auth-buttons a {
  color: white;
  text-decoration: none;
  margin-left: 12px;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.auth-buttons a:hover {
  background-color: #00acc1;
  color: white;
}

/* ===================== TOGGLE MENU (MOBILE) ===================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  border-radius: 2px;
}

/* ===================== SIDEBAR MOBILE ===================== */
.nav-links {
  position: fixed;
  top: 64px; 
  right: -100%; 
  width: 80%;
  max-width: 320px;
  height: calc(100vh - 64px);
  background-color: rgba(20, 20, 20, 0.97);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center; 
  transition: right 0.3s ease-in-out;
  z-index: 9998;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 10px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00acc1;
}

.nav-links.show {
  right: 0;
}

.nav-links .spacer {
  flex-grow: 1;
}

.nav-links .bottom-links {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-links .bottom-links a {
  flex: 1;
  padding: 10px 0;
  font-size: 1rem;
  color: white;
  text-align: center;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  transition: background-color 0.3s, color 0.3s;
}

.nav-links .bottom-links a:hover {
  background-color: #00acc1;
  color: white;
  border-color: #00acc1;
}

/* ===================== RESPONSIVE NAVBAR ===================== */
@media (max-width: 992px) {
  .navbar-center {
    display: none;
  }

  .auth-buttons {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    top: 64px;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 64px);
    background-color: rgba(20, 20, 20, 0.97);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease-in-out;
    z-index: 9998;
  }

  .nav-links.show {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .nav-links {
    position: fixed;             /* ⬅️ Ini penting agar tidak tertumpuk */
    width: 70%;
    max-width: 220px;
    top: 0;
    bottom: 0;
    right: -70%;
    height: 100vh;
    padding: 20px 16px;
    background-color: rgba(20, 20, 20, 0.97);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: right 0.3s ease-in-out;
    z-index: 9998;
  }

  .nav-links.show {
    right: 0;
  }

  .nav-links a {
    font-size: 0.88rem;
    padding: 10px 0;
    text-align: center;
    width: 100%;
  }

  .menu-toggle {
    font-size: 1.4rem;
    padding: 6px;
    scale: 0.85;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    margin: 3px 0;
    background-color: white;
  }

  .logo-biru,
  .logo-hijau {
    font-size: 1.3rem;
  }
}

















/* ========== HERO SECTION ========== */
.hero-full-bg {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-full-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/IMG/bg.jpg');
  background-size: cover;
  background-position: center;
  animation: zoomBg 15s ease-in-out infinite;
  z-index: 0;
}

@keyframes zoomBg {
  0% {
    transform: scale(1);
    opacity: 1;
    filter: brightness(100%) contrast(100%);
  }
  50% {
    transform: scale(1.05);
    opacity: 0.98;
    filter: brightness(105%) contrast(105%);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    filter: brightness(100%) contrast(100%);
  }
}

.overlay-dark {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 15px 60px;
  text-align: center;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero-content p {
  max-width: 700px;
  margin: 15px auto;
  font-size: 1.1rem;
}

.hero-content .btn {
  font-size: 1rem;
  padding: 12px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}