:root {
  --primary: #663399;
  --accent: #ff5722;
  --white: #ffffff;
  --gray-50: #f7f7fb;
  --gray-800: #222222;
  --rounded: 8px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  padding-top: 76px;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.navbar {
  position: fixed;
  inset: 0 0 auto;
  height: 76px;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
}
.nav-container {
  max-width: 1200px;
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.125rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary);
}
.brand img { height: 46px; }
.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}
.nav-links a {
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--rounded);
  transition: background 0.3s;
}
.nav-links a:hover { background: rgba(102, 51, 153, 0.08); }
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  border: none;
  background: none;
}
.hamburger span {
  width: 22px;
  height: 3px;
  background: var(--gray-800);
  margin: 3px 0;
  border-radius: 2px;
}

.hero {
  background: url('assets/hero-kaaba.jpg') center/cover no-repeat;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: 2.625rem; margin-bottom: 0.5rem; }
.hero .subtitle { margin-bottom: 1.25rem; font-size: 1.125rem; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.3s;
}
.btn:hover { transform: translateY(-2px); }

.container { max-width: 1100px; margin: auto; padding: 3.75rem 1.125rem; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2.5rem;
}

.paket {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); }
.card-body { padding: 1.25rem 1.5rem 1.5rem; }
.card-body h3 { margin-bottom: 0.5rem; }
.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0.5rem 0 1rem;
}

.faq-list { max-width: 800px; margin: auto; }
details {
  background: var(--white);
  border-radius: var(--rounded);
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  cursor: pointer;
}
summary { font-weight: 700; color: var(--primary); }

.form-daftar {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: flex;
  flex-direction: column;
}
.form-row label {
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--primary);
}
.form-row input,
.form-row select {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--rounded);
  font-size: 1rem;
}
.form-row input:focus,
.form-row select:focus {
  border-color: var(--primary);
  outline: none;
}

footer {
  background: var(--gray-800);
  color: #f1f2f6;
  text-align: center;
  padding: 1.75rem 0.75rem;
}

.wa-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float img { width: 32px; height: 32px; }

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 0 auto;
    width: 70vw;
    height: calc(100vh - 76px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.3s;
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateX(0); }
  .hamburger { display: flex; }
}