:root {
  --primary-color: #004aac;
}

.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  border: none;
  color: #fff !important;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 10px;
  display: inline-block;
}

.btn-primary-custom:hover {
  background-color: #003a8a;
  color: #fff !important;
}

/* Hero Section dengan background gambar */
.hero-section {
  background: url("images/background.png") no-repeat center center/cover;
  min-height: 100vh;
  position: relative;
}

/* Overlay gelap agar teks tetap terbaca */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-title {
  font-size: 2.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
}

/* Supaya teks di atas overlay */
.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Animasi fade-in + slide-up */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeSlideUp 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.navbar-brand,
.navbar-nav .nav-link {
  color: #ffffff !important;
}

.navbar-nav .nav-link:hover {
  color: #e6e6e6 !important;
}

.navbar .dropdown-toggle::after {
  border-top-color: #ffffff !important;
}

.navbar .dropdown-menu {
  background-color: #ffffff !important;
}

.navbar .dropdown-menu .dropdown-item {
  color: #000000 !important;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: #f1f1f1 !important;
  color: #000000 !important;
}

body {
  padding-top: 45px;
}

.btn-instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #ffffff !important;
  border: none;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-instagram:hover {
  filter: brightness(1.1);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(221, 42, 123, 0.4);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff !important;
  border: none;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.btn-gmail {
  background-color: #ea4335;
  color: #ffffff !important;
  border: none;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-gmail:hover {
  background-color: #d93025;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(234, 67, 53, 0.4);
}

.btn-youtube {
  background-color: #ff0000;
  color: #ffffff !important;
  border: none;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-youtube:hover {
  background-color: #cc0000;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.4);
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ig-item {
  position: relative;
  display: block;
  overflow: hidden;
}

.ig-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.3s;
}

.ig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.ig-overlay i {
  color: white;
  font-size: 40px;
}

.ig-item:hover img {
  transform: scale(1.08);
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .card .btn {
    width: 100%;
  }
  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ig-item:hover .ig-overlay{
  opacity:1;
}

.reels-badge{
  position:absolute;
  top:8px;
  left:8px;
  background:#000;
  color:white;
  font-size:12px;
  padding:3px 8px;
  border-radius:6px;
}
