:root {
  /* color */
  /* Latar belakang utama website (Medium Sand Grey) */
  --bg:        #D0C2B2; 
  
  /* WARNA PINK/ROSE DIPERTEGAS MAKSIMAL (Bold Crimson Velvet) */
  --rose:      #B54F4F;
  --rose-dark: #822F2F;
  --rose-pale: #E2CECE;
  
  /* WARNA TULISAN DIPERTEGAS (Sangat Hitam & Pekat agar super kontras!) */
  --ink:       #1A1818;
  --grey:      #4A4343; /* Jauh lebih gelap dari sebelumnya agar tidak pudar */
  
  /* WARNA KOTAK ELEMEN (Soft Cream Tan — Benar-benar kontras & tidak putih) */
  --white:     #EADCC9; 
 
  /* type */
  --font-display: 'Fraunces', serif;
  --font-body:    'Inter', sans-serif;
 
  /* layout */
  --radius: 14px;
  --maxw:   1100px;
  /* Bayangan dipertebal dan dipergelap agar elevasi kotak terlihat sangat nyata */
  --shadow: 0 14px 36px -4px rgba(26, 24, 24, 0.3);
}
 
* { box-sizing: border-box; }
 
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
}
 
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700; /* Ditebalkan agar lebih tegas */
  color: var(--ink);
  margin: 0;
}
 
a { color: var(--rose-dark); font-weight: 700; }
 
/* ============================================
   NAVIGATION
   ============================================ */
 
.menu {
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--rose); /* Dipertebal dengan warna rose lebih tua */
  box-shadow: 0 6px 20px rgba(26, 24, 24, 0.15);
}
 
.menu a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700; /* Teks menu dibuat bold agar jelas terbaca */
  font-size: 0.95rem;
  margin-left: 32px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
 
.menu a:first-child { margin-left: 0; }
 
.menu a:hover {
  color: var(--rose-dark);
}
 
.menu a.btn-login {
  background: var(--rose-dark);
  color: #FFFFFF; /* Putih murni khusus tombol login agar terbaca jelas di latar gelap */
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(130, 47, 47, 0.3);
}
 
.menu a.btn-login:hover {
  background: var(--ink);
  color: var(--white);
}
 
#menu {
  display: none;
  cursor: pointer;
  filter: brightness(0.1); /* Membuat ikon menu responsif menjadi hitam pekat */
}

.menu > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 0;
}
 
/* ============================================
   HERO (TEXT SHARPENING)
   ============================================ */
 
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
}
 
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('hero.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  filter: blur(4px) brightness(0.45); /* Digelapkan lagi agar teks putih di atasnya sangat kontras */
  transform: scale(1.06); 
  z-index: 1;
}
 
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 13, 13, 0.85) 0%, rgba(15, 13, 13, 0.45) 60%, transparent 100%);
  z-index: 2;
}
 
.hero-text {
  position: relative;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  color: #FFFFFF;
  z-index: 3;
}
 
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #FFFFFF;
  line-height: 1.15;
  max-width: 650px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8); /* Shadow diperkuat */
}
 
.hero-text p {
  font-family: var(--font-body);
  margin-top: 20px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  opacity: 1;
  max-width: 480px;
  font-weight: 600; /* Teks deskripsi dibuat lebih tebal */
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}
 
@media screen and (max-width: 700px) {
  .hero { height: 400px; }
  .hero::after { background: linear-gradient(180deg, rgba(15, 13, 13, 0.3) 0%, rgba(15, 13, 13, 0.95) 100%); }
  .hero-text { padding: 0 24px; align-self: flex-end; margin-bottom: 40px; }
}
 
/* ============================================
   SECTION WRAPPER + WAVE DIVIDER
   ============================================ */
 
section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px;
}
 
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
 
.section-head .eyebrow {
  display: block;
  color: var(--rose-dark);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700; /* Dipertegas */
}
 
.section-head h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
}
 
.wave-divider {
  width: 100%;
  height: 40px;
  display: block;
}
 
.wave-divider path {
  fill: var(--rose-pale);
}
 
/* ============================================
   FASILITAS (GAMBAR & IKON DIPERTEGAS)
   ============================================ */
 
.fasilitas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
 
.fasilitas > div {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid rgba(26, 24, 24, 0.08); /* Memberi bingkai halus agar kotak sangat terlihat batasnya */
  border-bottom: 5px solid transparent;
}
 
.fasilitas > div:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -4px rgba(26, 24, 24, 0.35);
  border-bottom-color: var(--rose);
}
 
/* Frame lingkaran gambar fasilitas dibuat kontras tinggi */
.fasilitas img {
  width: 76px; /* Ukuran gambar diperbesar sedikit agar lebih kelihatan */
  height: 76px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
  background: var(--rose-pale); /* Background lingkaran diubah menjadi pink kontras */
  padding: 8px;
  border: 2px solid var(--rose-dark); /* Garis lingkar luar gambar dipertegas */
  box-shadow: 0 4px 12px rgba(26, 24, 24, 0.15);
}
 
.fasilitas img[src*="ruangtunggu"] {
  padding: 0;
  border: 3px solid var(--rose-dark);
}
 
.fasilitas .label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700; /* Teks label fasilitas dipertebal maksimal */
  color: var(--ink);
  margin-top: 4px;
}
 
/* ============================================
   TESTIMONI
   ============================================ */
 
.testimoni {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}
 
.testimoni > div {
  text-align: center;
  flex: 1;
  min-width: 140px;
}
 
.testimoni img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--rose-dark); /* Bingkai foto testimoni ditebalkan */
  padding: 2px;
  box-shadow: 0 4px 12px rgba(26, 24, 24, 0.15);
}
 
.testimoni .nama {
  margin-top: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
 
.testimoni .kutipan {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--grey); /* Menggunakan grey yang lebih gelap agar terbaca jelas */
  margin-top: 6px;
  font-style: italic;
}
 
/* ============================================
   FORMS (buku tamu, login, daftar)
   ============================================ */
 
.card-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 480px;
  margin: 0 auto;
  border: 2px solid rgba(26, 24, 24, 0.08);
}
 
table { border-collapse: collapse; width: 100%; }

.card-form table {
  table-layout: fixed;
}
 
td { 
  padding: 10px 6px; 
  vertical-align: middle; 
  border: none; 
  font-weight: 700; /* Membuat label form menjadi tebal */
  color: var(--ink);
}
 
input[type=text],
input[type=email],
input[type=password],
textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--rose-dark); /* Border input dipertegas */
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  background: #FFFFFF; /* Di dalam form menggunakan putih bersih agar ketikan teks terlihat sangat tajam */
  color: var(--ink);
  transition: border-color 0.2s ease;
}
 
input:focus, textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(26, 24, 24, 0.15);
}
 
button[type=submit], .btn {
  background: var(--rose-dark);
  color: #FFFFFF;
  border: none;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(130, 47, 47, 0.3);
  transition: background 0.2s ease, transform 0.15s ease;
}
 
button[type=submit]:hover, .btn:hover {
  background: var(--ink);
  transform: translateY(-1px);
}
 
/* ============================================
   TABLE TAMU
   ============================================ */
 
.tbltamu {
  border          : none;
  border-collapse : collapse;
  margin          : 0 auto;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--rose-dark);
}
 
.tbltamu td, .tbltamu th {
  border: none;
  border-bottom: 2px solid var(--rose-pale);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.95rem;
}
 
.tbltamu td {
  color: var(--ink);
  font-weight: 600;
}
 
.tbltamu th {
  background-color: var(--rose-dark);
  color: #FFFFFF;
  font-weight: 700;
  font-family: var(--font-body);
}
 
.tbltamu tr:last-child td { border-bottom: none; }
 
.tbltamu tr:hover td { background: var(--bg); }

/* ============================================
   RESPONSIVE LAYOUT
   ============================================ */

@media (max-width: 768px) {
  .menu {
    padding: 14px 20px;
    gap: 12px;
  }

  .menu > a:first-child {
    min-width: 0;
    line-height: 1.2;
  }

  .menu > div {
    width: 100%;
    justify-content: flex-start;
  }

  .menu a {
    margin-left: 0;
    margin-right: 18px;
    font-size: 0.86rem;
  }

  .menu a.btn-login {
    padding: 8px 16px;
    margin-right: 0;
  }

  .hero-text {
    padding: 0 20px;
  }

  section {
    padding: 48px 20px;
  }

  .fasilitas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .fasilitas > div {
    padding: 22px 12px;
  }

  .testimoni {
    gap: 22px 12px;
  }

  .testimoni > div {
    flex: 0 1 calc(50% - 12px);
    min-width: 0;
  }

  .card-form {
    padding: 22px 16px;
  }

  .card-form td {
    display: block;
    padding: 5px 0;
  }

  .card-form td:nth-child(2) {
    display: none;
  }

  .card-form td[colspan="3"] {
    text-align: left;
    padding-top: 14px;
  }

  .tbltamu {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .menu {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu > a:first-child {
    width: calc(100% - 34px);
  }

  .menu > div {
    gap: 10px 16px;
  }

  .menu a {
    margin-right: 0;
  }

  .fasilitas {
    grid-template-columns: 1fr;
  }

  .testimoni > div {
    flex-basis: 100%;
  }

  .hero { height: 430px; }
  .hero-text h1 { font-size: 2rem; }
}