/* Font Family */
body {
  font-family: 'Open Sans', sans-serif;
  padding-top: 80px;
}

h1, h2, h3, h4, h5, h6,
.display-4, .fw-bold {
  font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar {
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
  height: 50px !important;
}

/* Header Paket */
.paket-header {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../image/paket-bg.jpg') center/cover;
  margin-top: 80px;
  padding-top: 120px;
}

/* Paket Card */
.paket-card {
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.paket-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.paket-features {
  margin: 15px 0;
}

.paket-features li {
  margin-bottom: 6px;
}

/* Toggle Button Compare */
.compare-toggle {
  width: 28px;
  height: 28px;
  padding: 0;
  transition: all 0.2s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-toggle .fa-square {
  display: inline;
}

.compare-toggle .fa-check-square {
  display: none;
}

.compare-toggle.active .fa-square {
  display: none;
}

.compare-toggle.active .fa-check-square {
  display: inline;
}

.compare-toggle.active {
  background-color: var(--bs-primary);
  color: white;
  border-color: var(--bs-primary);
}

/* Kartu terpilih */
.paket-card.selected {
  border: 2px solid var(--bs-primary);
  background-color: rgba(13, 110, 253, 0.05);
}

/* Tombol Bandingkan */
#compareBtn {
  position: relative;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  #compareBtn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    width: 90%;
  }
}

/* Tabel Modal Perbandingan */
.badge {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
}

.comparison-table td,
.comparison-table th {
  vertical-align: middle;
  text-align: center;
  padding: 12px;
}

.comparison-table th {
  white-space: nowrap;
}

.winner-feature {
  background-color: rgba(25, 135, 84, 0.1);
  position: relative;
}

.winner-feature::after {
  content: "✓ TERBAIK";
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--bs-success);
  color: white;
  font-size: 0.6rem;
  padding: 2px 5px;
  border-radius: 3px;
}

.comparison-table .price-cell {
  font-weight: bold;
  color: var(--bs-primary);
  font-size: 1.1rem;
}

.comparison-table .price-diff {
  font-size: 0.8rem;
  color: var(--bs-danger);
}

/* Footer */
.bdw-footer a {
  transition: color 0.3s ease;
}

.bdw-footer a:hover {
  color: var(--bs-warning) !important;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--bs-primary);
  color: white !important;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
  .paket-header {
    padding-top: 100px;
  }
}

@media (max-width: 768px) {
  .paket-card {
    margin-bottom: 20px;
  }

  .comparison-table th,
  .comparison-table td {
    font-size: 0.85rem;
    padding: 8px;
  }
}
