:root {
  --primary: #1e3a8a;
  --primary-dark: #172d63;
  --accent: #f59e0b;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--light);
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 16px 0;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s;
}
.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
}
.logo .icon { background: var(--accent); width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--dark); font-size: 1.3rem; font-weight: 800; }
.logo .logo-img { width: 42px; height: 42px; object-fit: cover; border-radius: 10px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer;
  width: 34px; height: 26px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    flex-direction: column;
    background: var(--dark);
    width: 240px; height: 100vh;
    padding: 80px 30px;
    gap: 24px;
    transition: right 0.3s;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: block; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-primary:hover { background: #eab308; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,158,11,0.4); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15,23,42,0.92) 30%, rgba(30,58,138,0.55));
}
.hero .container { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero-content { max-width: 620px; }
.hero .badge {
  display: inline-block;
  background: rgba(245,158,11,0.2);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid rgba(245,158,11,0.4);
}
.hero h1 { font-size: 3.2rem; line-height: 1.15; margin-bottom: 18px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.1rem; color: #cbd5e1; margin-bottom: 30px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head .tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 2.4rem; margin-bottom: 12px; }
.section-head p { color: var(--gray); max-width: 600px; margin: 0 auto; }

/* ===== CARDS ===== */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.card-body p { color: var(--gray); font-size: 0.93rem; }
.card .price { color: var(--primary); font-weight: 700; margin-top: 12px; font-size: 1.1rem; }

/* ===== ABOUT ===== */
.about-flex { display: flex; align-items: center; gap: 50px; }
.about-flex .text { flex: 1; }
.about-flex .image { flex: 1; }
.about-flex img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-flex .text h2 { font-size: 2.2rem; margin-bottom: 16px; }
.about-flex .text p { color: var(--gray); margin-bottom: 16px; }
.feature-list li { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; color: var(--dark); }
.feature-list .check { color: var(--accent); font-weight: 700; }
.feature-list li .check {
  display: inline-flex;
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: transparent;
  position: relative;
  border-radius: 50%;
  background: rgba(245,158,11,0.15);
}
.feature-list li .check::after {
  content: '';
  position: absolute;
  left: 4px; top: 5px;
  width: 9px; height: 5px;
  border: solid var(--accent);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
@media (max-width: 800px) { .about-flex { flex-direction: column; } }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}
.cta h2 { font-size: 2.2rem; margin-bottom: 14px; }
.cta p { color: #cbd5e1; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== FOOTER ===== */
footer { background: var(--dark); color: #94a3b8; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); margin-bottom: 16px; font-size: 1.1rem; }
.footer-grid a { display: block; margin-bottom: 10px; transition: color 0.3s; }
.footer-grid a:hover { color: var(--accent); }
footer .copy { border-top: 1px solid #1e293b; padding-top: 20px; text-align: center; font-size: 0.9rem; }

/* ===== OTHER PAGES HERO ===== */
.page-hero {
  padding: 160px 0 80px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
  text-align: center;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(15,23,42,0.85); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: 2.8rem; margin-bottom: 10px; }
.page-hero p { color: #cbd5e1; max-width: 600px; margin: 0 auto; }

/* ===== PROSES ===== */
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; margin-bottom: 30px; align-items: flex-start; }
.step .num {
  flex-shrink: 0;
  width: 50px; height: 50px;
  background: var(--accent);
  color: var(--dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem;
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--gray); }

/* ===== TESTIMONI ===== */
.testimoni {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimoni .quote { font-size: 3rem; color: var(--accent); line-height: 1; font-family: Georgia, serif; }
.testimoni p { color: var(--gray); margin: 12px 0 18px; font-style: italic; }
.testimoni .nama { font-weight: 700; color: var(--dark); }
.testimoni .lokasi { font-size: 0.85rem; color: var(--gray); }
.rating { color: var(--accent); letter-spacing: 2px; }

/* ===== FAQ ===== */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .arrow {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}
.faq-q .arrow::before, .faq-q .arrow::after {
  content: '';
  position: absolute;
  background: var(--primary);
  width: 100%; height: 2px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}
.faq-q .arrow::after { transform: translateY(-50%) rotate(90deg); }
.faq-item.open .faq-q .arrow::after { display: none; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-a p { padding: 0 24px 20px; color: var(--gray); }
.faq-item.open .faq-a { max-height: 200px; }

/* ===== MAPS ===== */
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-box iframe { width: 100%; height: 350px; border: 0; }

/* ===== FORM ===== */
.contact-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .contact-flex { grid-template-columns: 1fr; } }
.info-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); margin-bottom: 20px; }
.info-card h4 { margin-bottom: 8px; color: var(--primary); }
.info-card p { color: var(--gray); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.gallery-item img { height: 240px; width: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.08); }

/* ===== CONTACT LINK & WHATSAPP FLOAT ===== */
.contact-link { color: var(--primary); font-weight: 600; }
.contact-link:hover { text-decoration: underline; color: var(--accent); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 6px 16px rgba(37,211,102,0.4); }
.btn-wa:hover { background: #1ebe5b; }

.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(37,211,102,0.5);
  z-index: 2000;
  transition: transform 0.3s;
}
.wa-float:hover { transform: scale(1.1); }
