:root {
  --green-900: #122a1f;
  --green-700: #1d3b2a;
  --green-500: #2f5a3f;
  --beige-100: #f6f1e7;
  --beige-200: #ece1cd;
  --gold-300: #d3b67a;
  --white: #ffffff;
  --text: #21352a;
  --danger: #b0322d;
  --warning: #d4a11d;
  --ok: #2f8f4e;
  --shadow: 0 10px 24px rgba(18, 42, 31, 0.12);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(211, 182, 122, 0.25), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(47, 90, 63, 0.12), transparent 40%),
    var(--beige-100);
  line-height: 1.6;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  margin-top: 0;
  color: var(--green-900);
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section {
  padding: 4.4rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(236, 225, 205, 0.72), rgba(246, 241, 231, 0.9));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 42, 31, 0.94);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  backdrop-filter: blur(6px);
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.main-nav a:hover {
  color: var(--gold-300);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
}

.hero {
  min-height: 78vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(10, 28, 18, 0.45), rgba(10, 28, 18, 0.58)),
    url("kepek/viz.webp") center/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  width: min(920px, 92%);
  background: rgba(18, 42, 31, 0.55);
  border: 1px solid rgba(236, 225, 205, 0.4);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 6vw, 4rem);
  margin: 0.4rem 0;
}

.hero-text {
  max-width: 700px;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.main-nav a:focus-visible,
.contact-info a:focus-visible,
.footer-link:focus-visible {
  outline: 2px solid rgba(211, 182, 122, 0.95);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gold-300);
  color: #1f2319;
}

.btn-secondary {
  background: var(--green-500);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.cards {
  display: grid;
  gap: 0.9rem;
}

.grid-5 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--green-500);
}

.info-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.8rem;
}

.service-item {
  background: var(--white);
  border: 1px solid rgba(29, 59, 42, 0.12);
  border-radius: 12px;
  padding: 0.95rem 1rem;
}

.detail-list {
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.detail-list div {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 0.5rem;
  background: var(--white);
  border-radius: 10px;
  padding: 0.8rem;
  border: 1px solid rgba(29, 59, 42, 0.1);
}

.detail-list dt {
  font-weight: 700;
}

.detail-list dd {
  margin: 0;
}

.section-note {
  margin-top: -0.4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.95rem;
}

.gallery-grid figure {
  margin: 0;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-grid figcaption {
  padding: 0.7rem 0.8rem;
  font-size: 0.95rem;
}

.gallery-subtitle {
  margin: 2rem 0 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #143642;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.lightbox.is-open {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 12, 0.82);
  backdrop-filter: blur(2px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  height: 100%;
  width: min(1100px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.lightbox-figure {
  margin: 0;
  min-width: 0;
}

.lightbox-figure img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  background: #0e1511;
}

.lightbox-figure figcaption {
  margin-top: 0.55rem;
  color: #eef5f0;
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(17, 28, 21, 0.72);
  color: #fff;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 0.2rem;
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
}

.lightbox-nav {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  font-size: 1.45rem;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(35, 53, 42, 0.9);
}

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .lightbox-content {
    width: 94vw;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    justify-items: center;
    gap: 0.6rem;
    padding-top: 0.5rem;
  }

  .lightbox-close {
    top: 0.55rem;
    right: 0.2rem;
  }

  .lightbox-nav {
    width: 2.1rem;
    height: 2.1rem;
  }

  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .lightbox-prev {
    left: 0.35rem;
  }

  .lightbox-next {
    right: 0.35rem;
  }

  .lightbox-figure img {
    max-height: 72vh;
  }
}

.price-box {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(29, 59, 42, 0.14);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.booking-note {
  background: rgba(211, 182, 122, 0.22);
  border-left: 5px solid var(--gold-300);
  padding: 0.8rem;
  border-radius: 10px;
}

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.booking-toggle {
  margin: 0.1rem 0 0.55rem;
  padding: 0.42rem 0.64rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-700);
  background: rgba(29, 59, 42, 0.06);
  border: 1px solid rgba(29, 59, 42, 0.2);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.booking-toggle:hover {
  background: rgba(29, 59, 42, 0.1);
  border-color: rgba(29, 59, 42, 0.32);
}

.booking-toggle:focus-visible {
  outline: 2px solid rgba(211, 182, 122, 0.9);
  outline-offset: 2px;
}

.booking-toggle-chevron {
  width: 0.48rem;
  height: 0.48rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.booking-toggle.is-collapsed .booking-toggle-chevron {
  transform: rotate(-45deg) translateY(1px);
}

.booking-calendar-wrap.is-collapsed .booking-calendar {
  display: none;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.dot-free {
  background: var(--ok);
}

.dot-booked {
  background: var(--danger);
}

.dot-inquiry {
  background: var(--warning);
}

.table-wrap {
  overflow-x: auto;
}

.booking-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.month-card {
  background: var(--white);
  border: 1px solid rgba(29, 59, 42, 0.12);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.85rem;
}

.month-card h3 {
  margin: 0.1rem 0 0.7rem;
  font-size: 1.05rem;
}

.weekday-row,
.days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.weekday-row span {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(33, 53, 42, 0.7);
  text-align: center;
}

.day-cell {
  border-radius: 8px;
  min-height: 36px;
  font-size: 0.83rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(29, 59, 42, 0.1);
  background: rgba(47, 143, 78, 0.14);
  color: #1f6a37;
}

.day-cell.booked {
  background: rgba(176, 50, 45, 0.15);
  color: #8c231f;
}

.day-cell.pending {
  background: rgba(212, 161, 29, 0.2);
  color: #825f00;
}

.day-cell.empty {
  background: transparent;
  border-color: transparent;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 10px;
  overflow: hidden;
}

th,
td {
  padding: 0.85rem;
  border-bottom: 1px solid rgba(29, 59, 42, 0.1);
  text-align: left;
}

th {
  background: var(--green-700);
  color: var(--white);
}

.status {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.free {
  background: rgba(47, 143, 78, 0.17);
  color: #1f6a37;
}

.booked {
  background: rgba(176, 50, 45, 0.15);
  color: #8c231f;
}

.inquiry {
  background: rgba(212, 161, 29, 0.2);
  color: #825f00;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  padding: 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(29, 59, 42, 0.12);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.contact-form label {
  display: block;
  margin-top: 0.7rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #b7c0b8;
  font: inherit;
  background: #fff;
  color: #143642;
  box-sizing: border-box;
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form button {
  justify-self: start;
}

.form-feedback {
  min-height: 1.5rem;
  margin-top: 0.7rem;
  font-size: 0.95rem;
}

.site-footer {
  background: var(--green-900);
  color: var(--white);
  text-align: center;
  padding: 1.6rem 1rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 700;
}

.footer-link:hover {
  color: var(--gold-300);
  text-decoration: underline;
}

.footer-link-admin {
  font-size: 0.92rem;
  opacity: 0.9;
}

.site-footer p {
  margin: 0.25rem 0;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--green-900);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 1rem 1.2rem;
    gap: 0.65rem;
  }

  .main-nav.show {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .detail-list div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 3.3rem 0;
  }

  th,
  td {
    padding: 0.65rem;
    font-size: 0.92rem;
  }
}

.contact-info a {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 1rem;
  color: rgba(33, 53, 42, 0.85);
}

.form-note {
  margin-top: 0.8rem;
  margin-bottom: 0;
  font-size: 0.92rem;
  color: rgba(33, 53, 42, 0.82);
}

.map-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(29, 59, 42, 0.12);
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 380px;
  border: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(211, 182, 122, 0.7);
  outline-offset: 2px;
  border-color: var(--gold-300);
}
.map-link {
  margin-top: 1rem;
  text-align: center;
}

.btn-map {
  background: var(--green-500);
  color: var(--white);
  border: 1px solid var(--green-500);
  box-shadow: 0 8px 20px rgba(29, 59, 42, 0.15);
}

.btn-map:hover {
  background: var(--gold-300);
  color: #1f2319;
  border-color: var(--gold-300);
}
.hidden {
  display: none;
}