/* Debug: Warna primer = #942dff */
/* Debug: Warna primer gelap = #831cee */

/* Variabel CSS */
:root {
  --primary-color: #942dff;
  --primary-dark:rgba(85, 85, 85, 0.8);
  --secondary-color: #FFC107;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-color) !important;
  box-shadow: 0 4px 10px rgba(90, 125, 194, 0.2);
  border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(90, 125, 194, 0.4);
  color: white;
  background: linear-gradient(to bottom, var(--primary-color), rgba(0, 0, 0, 0.2)), var(--primary-color);
  filter: brightness(0.9);
}

.btn-outline-primary {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: white !important;
}

/* Banner Background */
.banner-bg-primary,
.hero-section,
#cta {
  background-color: var(--primary-color) !important;
}

/* Text Color */
.text-primary-custom {
  color: var(--primary-color) !important;
}

/* Border Color */
.border-primary-custom {
  border-color: var(--primary-color) !important;
}

/* Navigation */
.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.nav-link::after {
  background-color: var(--primary-color) !important;
}

/* Custom Modern Style Overrides */
.carousel-item {
  /* height: 100vh;
  min-height: 500px; */
  position: relative;
  overflow: hidden;
}

.carousel-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease-in-out;
}

.carousel-overlay {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.03);
}

.carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  text-align: left;
  z-index: 10;
}

/* Card Hover Effects */
.card {
  transition: all 0.3s ease;
}

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

/* Rounded Images */
.card img {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
  object-fit: cover;
}

/* Section Spacing */
section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }

  /* .carousel-item {
    height: 70vh;
  } */
}