:root {
  --bg-ivory: #f8efe6;
  --brand-dark: #0f3f38;
  --muted: #9b8f86;
  --accent: #efe6db;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: #fff;
}

/* The centered page frame (rounded, shadowed) */
.frame {
  /* choose the desired visible size (keeps the page not-scrollable) */
  width: min(12000px, 95vw);
  min-height: (820px, 100vh);
  margin: auto;
  margin-top: calc(
    (100vh - min(820px, 95vh)) / 2
  ); /* vertically center on large screens */
  background: #b08d57;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(20, 20, 20, 0.12);
  display: flex;
  flex-direction: column;
}
.site-header {
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 20px;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(15, 63, 56, 0.04);
}
.brand {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: var(--brand-dark);
  letter-spacing: 1px;
  font-weight: 600;
}

.brand .muted {
  font-size: 12px;
  color: var(--muted);
  margin-left: 8px;
  font-weight: 400;
}

/* nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  color: #6e645e;
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  padding: 8px 6px;
}
.nav-link.active {
  color: #1e3b34;
  font-weight: 600;
}

/* phone pill on the right */
.phone-pill {
  border-radius: 28px;
  padding: 10px 20px;
  border: 1px solid rgba(15, 63, 56, 0.15);
  background: #f0dfc9;
  font-size: 13px;
  color: #1e3b34;
  cursor: pointer;
}
/* =========================
   Accomation
========================= */
.accommodation-section {
  padding: 40px 60px 90px;
  background: var(--bg-ivory);
  color: var(--brand-dark);
}
.accommodation-header {
  max-width: 700px;
  margin-bottom: 70px;
}

.accommodation-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  margin-bottom: 10px;
}
.accommodation-header p {
  color: var(--muted);
  font-size: 15px;
}
/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.gallery-header h4 {
  color: #5f4633;
}
.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 80%;
  max-height: 80%;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  color: white;
  font-size: 36px;
  cursor: pointer;
  user-select: none;
  padding: 10px;
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

/* LAYOUT */
.accommodation-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* LEFT */
.room-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: #5f4633;
  margin-bottom: 10px;
}

.room-info .intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.room-list {
  padding-left: 18px;
}

.room-list li {
  line-height: 1.6;
  font-size: 14px;
  color: #5e5e5e;
  margin-bottom: 14px;
}

/* RIGHT CARD */
.booking-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.booking-box h4 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 20px;
  color: #5f4633;
}

.booking-form label {
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
}

.booking-form input {
  width: 90%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  margin-bottom: 15px;
}

.date-row {
  display: block;
  gap: 14px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.radio-group input {
  accent-color: var(--brand-dark);
}
.btn-wrap {
  display: flex;
  justify-content: center;
}
.submit-btn {
  display: inline-block;
  background: var(--accent);
  border: none;
  color: var(--brand-dark);
  padding: 14px 34px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(15, 63, 56, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 63, 56, 0.16);
}
/* Toast */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.toast {
  min-width: 280px;
  padding: 14px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: sans-serif;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.4s ease;
}

.toast span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.6;
}

.toast button:hover {
  opacity: 1;
}

/* TYPES */
.toast.success {
  background: #eaf7ee;
  border: 1px solid #4caf50;
  color: #2e7d32;
}

.toast.error {
  background: #fdecea;
  border: 1px solid #f44336;
  color: #c62828;
}

.toast.warning {
  background: #fff7e6;
  border: 1px solid #ff9800;
  color: #ef6c00;
}

.toast.info {
  background: #eef3fd;
  border: 1px solid #3f51b5;
  color: #303f9f;
}

@keyframes slideIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--brand-dark);
}
@media (max-width: 768px) {
  frame {
    overflow: visible;
  }
  .menu-toggle {
    display: block;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;

    width: 80%;
    max-width: 280px;
    height: 100vh;

    background: #fff;
    padding: 80px 20px;

    display: flex;
    flex-direction: column; /* 1×1 layout */
    gap: 20px;

    transform: translateX(-100%);
    transition: transform 0.3s ease;

    z-index: 1000;
  }

  .main-nav.open {
    transform: translateX(0);
  }
  .phone-pill {
    display: none;
  }
  .nav-link {
    font-size: 16px;
    padding: 12px 0;
    text-align: left;
  }
  html,
  body {
    height: auto;
    overflow-y: auto;
  }

  /* Frame becomes full-width */
  .frame {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  /* Header spacing */
  .site-header {
    padding: 16px 20px;
    height: auto;
  }

  .brand {
    font-size: 18px;
  }

  .brand .muted {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }
  /* SECTION PADDING */
  .accommodation-section {
    padding: 28px 20px 60px;
  }

  /* HEADER */
  .accommodation-header {
    margin-bottom: 40px;
  }

  .accommodation-header h2 {
    font-size: 30px;
    line-height: 1.15;
  }
  .about-header p {
    font-size: 14px;
  }

  /* GALLERY → 1 COLUMN SCROLLABLE */
  .gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery img {
    height: 220px;
  }

  /* LAYOUT → STACK */
  .accommodation-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* ROOM INFO */
  .room-info h3 {
    font-size: 22px;
  }

  .room-info .intro {
    font-size: 13px;
    line-height: 1.6;
  }

  .room-list li {
    font-size: 13px;
  }

  /* BOOKING CARD */
  .booking-box {
    padding: 24px;
  }

  .booking-box h4 {
    font-size: 20px;
  }

  .booking-form input {
    width: 100%;
    padding: 10px;
  }

  /* BUTTON */
  .submit-btn {
    padding: 12px 26px;
    font-size: 14px;
    border-radius: 10px;
  }

  /* LIGHTBOX CONTROLS */
  .prev,
  .next {
    font-size: 28px;
  }

  .close {
    font-size: 30px;
    top: 50px;
    right: 30px;
  }

  /* TOAST → FULL WIDTH */
  #toast-container {
    right: 10px;
    left: 10px;
  }

  .toast {
    min-width: unset;
    width: 100%;
    font-size: 13px;
  }
}
