/* =====================================================
   DUDUNG TAAT (DUTA) - Stylesheet Utama
   Desain: Minimalis, Elegan, Modern, Dinamis
   ===================================================== */

:root {
  --navy: #0f2942;
  --navy-light: #1c4066;
  --gold: #c8a45e;
  --gold-dark: #b08d44;
  --bg: #f7f8fa;
  --white: #ffffff;
  --text: #1f2933;
  --muted: #6b7785;
  --border: #e4e8ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 41, 66, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 41, 66, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-3px);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-light); transform: translateY(-3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(200,164,94,0.25), transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  background: rgba(200,164,94,0.15);
  border: 1px solid rgba(200,164,94,0.4);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 18px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
}
.hero-stats .stat strong {
  font-size: 30px;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  display: block;
}
.hero-stats .stat span { font-size: 14px; color: rgba(255,255,255,0.75); }

/* ---------- Section ---------- */
.section { padding: 90px 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head .tag {
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: 36px;
  margin: 10px 0 14px;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Profil ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-text h2 { font-size: 32px; margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.feature-list { margin-top: 20px; }
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.feature-list .ico {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: rgba(200,164,94,0.15);
  color: var(--gold-dark);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 50px;
}
.vm-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.vm-card h3 { color: var(--gold-dark); margin-bottom: 12px; }

/* ---------- Layanan ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.35s ease-in-out;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease-in-out;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card > p { color: var(--muted); margin-bottom: 16px; }
.service-card h4 { font-size: 14px; color: var(--navy); margin: 14px 0 8px; }
.service-card ul li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.service-card ul li::before {
  content: '\2713';
  position: absolute; left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}
.service-price {
  margin-top: 18px;
  font-weight: 600;
  color: var(--gold-dark);
}

/* ---------- Kontak ---------- */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.kontak-info .info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.kontak-info .ico {
  width: 46px; height: 46px;
  background: rgba(200,164,94,0.15);
  color: var(--gold-dark);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.kontak-info h4 { margin-bottom: 4px; }
.kontak-info p { color: var(--muted); font-size: 15px; }
.map-box {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 100%;
}
.map-box iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- Form pemesanan ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-q {
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q .plus { color: var(--gold-dark); font-size: 22px; transition: transform 0.3s ease; }
.faq-item.active .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  padding: 0 22px;
  color: var(--muted);
}
.faq-item.active .faq-a { max-height: 300px; padding: 0 22px 20px; }

.order-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.order-form h3 { margin-bottom: 6px; }
.order-form > p { color: var(--muted); margin-bottom: 22px; font-size: 15px; }
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 15px;
}
.alert-success { background: #e7f6ec; color: #1b6b3a; border: 1px solid #b6e2c6; }
.alert-error { background: #fdecec; color: #b3261e; border: 1px solid #f5c2c0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer h4 { color: var(--white); margin-bottom: 18px; font-size: 16px; }
.footer .brand { color: var(--white); margin-bottom: 16px; }
.footer p { font-size: 14px; margin-bottom: 10px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 14px; transition: color 0.3s ease; }
.footer ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ---------- Animasi Reveal (ease in/out) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

/* ---------- Auth (Login) ---------- */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 20px;
}
.auth-card {
  background: var(--white);
  border-radius: 18px;
  padding: 44px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.6s ease-in-out;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.auth-card .brand { justify-content: center; color: var(--navy); margin-bottom: 8px; }
.auth-card h2 { text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--muted); margin-bottom: 26px; font-size: 15px; }
.auth-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.auth-back { text-align: center; margin-top: 18px; font-size: 14px; }
.auth-back a { color: var(--gold-dark); font-weight: 600; }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg); }
.admin-topbar {
  background: var(--navy);
  color: var(--white);
  padding: 16px 0;
}
.admin-topbar .nav-inner .brand { color: var(--white); }
.admin-topbar .logout {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 14px;
  transition: background 0.3s ease;
}
.admin-topbar .logout:hover { background: rgba(255,255,255,0.25); }
.admin-main { padding: 40px 0; }
.admin-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.admin-card span { color: var(--muted); font-size: 14px; }
.admin-card strong { font-size: 32px; color: var(--navy); font-family: 'Poppins', sans-serif; display: block; margin-top: 6px; }
.admin-card.gold strong { color: var(--gold-dark); }

.table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.table-wrap h3 { padding: 22px 24px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
table th, table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
table th { background: #f0f3f7; color: var(--navy); font-weight: 600; white-space: nowrap; }
table tr:hover td { background: #fafbfc; }
.badge {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.badge-Baru { background: #e3eefb; color: #1c5fb8; }
.badge-Diproses { background: #fff3da; color: #a5750f; }
.badge-Selesai { background: #e7f6ec; color: #1b6b3a; }
.badge-Dibatalkan { background: #fdecec; color: #b3261e; }
.table-action a {
  font-size: 13px;
  font-weight: 600;
  margin-right: 10px;
}
.table-action .edit { color: var(--gold-dark); }
.table-action .del { color: #b3261e; }
.status-form select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .kontak-grid, .faq-grid,
  .services-grid, .footer-grid, .vm-grid, .admin-cards {
    grid-template-columns: 1fr;
  }
  .hero-img { display: none; }
  .hero h1 { font-size: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .admin-cards { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--white);
    padding: 20px;
    gap: 18px;
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  }
  .nav-links.open { max-height: 400px; padding: 20px; }
  .nav-links a { color: var(--text) !important; }
}
