/* KC Brow Studio: one terracotta ground from top to bottom.
   Cream is for reading, gold for headings and prices, solid cream for the main action. */
@font-face { font-family: "Yatra One"; src: url("../fonts/YatraOne-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: Mukta; src: url("../fonts/Mukta-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Mukta; src: url("../fonts/Mukta-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ground: #b05033; --deep: #8d4029; --text: #fffaf1; --gold: #f3d9a4;
  --line: #fffaf14d; --gutter: 20px; --gap: 72px;
  --display: "Yatra One", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); scroll-behavior: smooth; text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); font: 400 18px/1.55 Mukta, "Segoe UI", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }
h1, h2 { font-family: var(--display); font-weight: 400; color: var(--gold); text-wrap: balance; }
h1 { font-size: clamp(40px, 11.5vw, 52px); line-height: 1.08; }
h2 { font-size: 34px; line-height: 1.15; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
main:focus, #contact:focus { outline: none; }
[id] { scroll-margin-top: 24px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.skip { position: absolute; left: 8px; top: -80px; z-index: 5; padding: 12px 16px; background: var(--text); color: var(--deep); }
.skip:focus { top: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 26px;
  border: 1.5px solid var(--text); border-radius: 4px; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap; touch-action: manipulation; transition: background-color .15s, color .15s;
}
.solid { background: var(--text); color: var(--deep); }
.solid:active { background: var(--gold); border-color: var(--gold); }
.line:active { background: var(--deep); }
@media (hover: hover) {
  .solid:hover { background: var(--gold); border-color: var(--gold); }
  .line:hover { background: var(--deep); }
  .nav a:hover, .text-link:hover { text-decoration-line: underline; }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.head { display: flex; flex-direction: column; align-items: center; padding-top: 16px; }
.logo img { width: auto; height: 52px; }
.nav { display: flex; gap: 12px; }
.nav a { display: flex; align-items: center; min-height: 48px; padding-inline: 12px; text-decoration: none; }
.head-book { display: none; }

/* Hero */
.hero-copy { padding-block: 40px 0; }
.lead { margin: 16px 0 28px; font-size: 20px; line-height: 1.5; max-width: 36ch; }
.hero .actions { flex-direction: column; }

/* Sections */
.section { padding-top: var(--gap); }
.section h2 { margin-bottom: 24px; }
.prices li { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); font-size: 22px; line-height: 1.4; }
.prices li:last-child { border-bottom: 1px solid var(--line); }
.price { font-size: 24px; font-weight: 600; color: var(--gold); }

.about-text { max-width: 36em; font-size: 20px; line-height: 1.55; }
.about-text p + p { margin-top: 16px; }

/* Gallery: justified rows, nothing cropped. */
.gallery { --row: 2.9; display: flex; flex-wrap: wrap; gap: 8px; }
.gallery li { flex: calc(1 * (var(--ratio))) 1 calc(100% * (var(--ratio)) / var(--row)); min-width: 0; }
.gallery a { display: block; }
.gallery img { width: 100%; aspect-ratio: var(--ratio); object-fit: cover; background: var(--deep); }

.visit { display: grid; gap: 56px; padding-bottom: var(--gap); }
.visit p + address, .visit address + p { margin-top: 8px; }
.visit .actions { margin-block: 24px 0; }
.phone { font-size: 28px; font-weight: 600; line-height: 1.3; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; }
.insta { margin-top: 12px; }

.band { height: 40px; background: url("../assets/dhaka-band-gold.svg") repeat-x center / auto 40px; }

/* Phone booking bar */
.book-bar {
  position: fixed; inset: auto 0 0; z-index: 2; display: flex; gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--ground); border-top: 1px solid var(--line); transition: transform .2s ease-out, visibility .2s;
}
.book-bar .btn { padding-inline: 18px; }
.book-bar .solid { flex: 1; }
.book-bar.is-hidden { transform: translateY(100%); visibility: hidden; }

/* Photo viewer */
.lightbox {
  width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; border: 0;
  background: #55230f; color: var(--text);
  padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
}
.lightbox[open] { display: flex; flex-direction: column; gap: 8px; }
.lightbox > img { flex: 1; min-height: 0; width: 100%; object-fit: contain; touch-action: pan-y pinch-zoom; }
.lightbox > .lb-btn { align-self: flex-end; }
.lb-btn { min-height: 48px; padding: 0 16px; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.lb-controls { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 480px; margin-inline: auto; }
html:has(.lightbox[open]) { overflow: hidden; }

@media (max-width: 899px) { body { padding-bottom: calc(73px + env(safe-area-inset-bottom)); } }

@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .hero .actions { flex-direction: row; }
  .gallery { --row: 4.6; gap: 16px; }
  .visit { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --gap: 112px; }
  [id] { scroll-margin-top: 112px; }
  .wrap { max-width: 1184px; }
  h1 { font-size: 80px; }
  h2 { font-size: 44px; }
  .site-head { position: sticky; top: 0; z-index: 2; background: var(--ground); }
  .head { flex-direction: row; gap: 24px; padding-block: 14px; }
  .logo { margin-left: -10px; }
  .nav { margin-left: auto; }
  .head-book { display: inline-flex; min-height: 48px; }
  .hero-copy { padding-block: 88px 0; }
  .lead { font-size: 22px; margin-block: 20px 32px; }
  .services, .about { display: grid; grid-template-columns: 1fr 1fr; }
  .visit { gap: 0; }
  .book-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .book-bar, .btn { transition: none; } }
