:root {
  --primary: #0d47a1;
  --accent: #ffc107;
  --muted: #6c757d;
  --soft: #fff8e1;
  --card-radius: 14px;
}

/* ===== BODY GLOBAL ===== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  height: 100%;
}

/* ===== NAVBAR ===== */
.logo-navbar {
  width: 58px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.logo-navbar:hover {
  transform: scale(1.05);
}

.navbar .nav-link {
  color: #fff !important;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 20px;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  background-color: var(--accent);
  color: var(--primary) !important;
}

/* Tombol login / CTA */
.btn-cta,
.btn-warning {
  background: linear-gradient(90deg, var(--accent), #ffb300);
  color: #222;
  border: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 18px;
  box-shadow: 0 6px 18px rgba(255, 193, 7, 0.18);
  transition: all 0.3s ease;
}
.btn-cta:hover,
.btn-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 193, 7, 0.25);
  background-color: #ffee58;
}

/* ===== HERO SECTION ===== */
.hero,
.hero-section {
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
  border-radius: 0 0 25px 25px;
  padding: 90px 0;
}
.hero-title span {
  color: var(--accent);
}
.hero-logo {
  max-width: 280px;
  width: 80%;
  animation: float 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}
.hero-logo:hover {
  transform: scale(1.05);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== CARD ===== */
.book-card,
.card {
  border-radius: var(--card-radius);
  background: #fff;
  border: 1px solid #f1f3f5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.book-card:hover,
.hover-lift:hover,
.hover-scale:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.book-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: var(--muted);
  border-radius: 0.75rem;
  height: 150px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.book-cover i {
  font-size: 2.5rem;
}
.book-cover:hover {
  transform: scale(1.05);
}

/* ===== TESTIMONI ===== */
.testimoni,
.testimoni-card {
  background: #fff;
  border-left: 6px solid var(--accent);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimoni-card i.bi-quote {
  font-size: 1.2rem;
  color: var(--accent);
}

/* ===== FOOTER ===== */
.site-footer,
footer {
  background: var(--primary);
  color: #fff;
  padding: 35px 0;
  font-size: 0.9rem;
  line-height: 1.6;
}
.site-footer a,
footer a { 
  color: #fff; 
  opacity: 0.95; 
  transition: color 0.3s ease;
}
.site-footer a:hover,
footer a:hover { color: var(--accent); }

/* ===== MAP SECTION ===== */
.map-container {
  width: 80%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.map-container iframe {
  width: 80%;
  height: 80%;
  border: 0;
  filter: brightness(0.95);
}

/* ===== FAQ ACCORDION ===== */
.accordion-button {
  border-radius: 0.5rem;
  font-weight: 600;
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-button i {
  font-size: 1.2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .logo-navbar { height: 40px; }
  .navbar .nav-link { margin-top: 5px; }
  .map-container { height: 280px; }
  .accordion-button { font-size: 0.95rem; }
  .hero-logo { max-width: 200px; }
  .book-cover { height: 120px; }
}
