/* Bhuiyan Plaza public site. One light theme, one blue accent. */
/* Layout idea: classic mall-site frame (contact bar, brand row, menu bar, banner
   slider, notice cards, separate pages) on a calm white page with one blue accent.
   Single light theme by the owner's choice. */
:root {
  color-scheme: light;
  --paper: #fbfcfd;
  --surface: #ffffff;
  --ink: #1d2733;
  --muted: #5a6676;
  --line: #e2e7ee;
  --accent: #2c5f9e;
  --accent-strong: #234c80;
  --accent-soft: #eaf1f9;
  --good: #23764f;
  --good-soft: #e6f4ec;
  --font-display: "Anek Bangla", "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  --font-body: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  --radius: 10px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-strong); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 600; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.lead { color: var(--muted); max-width: 64ch; margin-top: 10px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* contact bar */
.topbar { background: var(--accent-soft); font-size: 0.9rem; color: var(--ink); }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; padding-top: 7px; padding-bottom: 7px; }
.topbar .label { color: var(--muted); }
.topbar .push { margin-left: auto; }
.lang { display: flex; border: 1px solid #cdd9e8; border-radius: 7px; overflow: hidden; background: var(--surface); }
.lang a { color: var(--muted); font-size: 0.86rem; padding: 2px 11px; text-decoration: none; }
.lang a[aria-current="true"] { background: var(--accent); color: #fff; font-weight: 600; }

/* brand row */
.brandrow { background: var(--surface); }
.brandrow .wrap { display: flex; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.logo { width: 58px; height: 58px; object-fit: contain; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; display: block; }
.brand-sub { font-size: 0.86rem; color: var(--muted); display: block; margin-top: 3px; }
.brandrow .btn { margin-left: auto; }
@media (max-width: 560px) { .brandrow .btn { display: none; } }

/* menu bar */
.menubar { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.menubar .wrap { display: flex; align-items: stretch; }
.menu { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 11px 16px; text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: 0.98rem; border-bottom: 3px solid transparent;
}
.menu a:hover { background: var(--accent-soft); }
.menu a[aria-current="page"] { background: var(--accent); color: #fff; }
.menu-toggle { display: none; font: inherit; font-weight: 600; background: none; border: 0; color: var(--ink); padding: 11px 0; cursor: pointer; }
@media (max-width: 860px) {
  .menubar .wrap { flex-direction: column; }
  .menu-toggle { display: block; text-align: left; }
  .menu { display: none; flex-direction: column; padding-bottom: 8px; }
  .menu.open { display: flex; }
  .menu a { padding: 9px 12px; border-radius: 6px; }
}

/* buttons */
.btn {
  display: inline-block; text-decoration: none; font: inherit; font-weight: 600; cursor: pointer;
  padding: 10px 20px; border-radius: 8px; border: 1.5px solid var(--accent);
  background: var(--accent); color: #fff;
}
.btn:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn.ghost { background: transparent; color: var(--accent-strong); }
.btn.ghost:hover { background: var(--accent-soft); }

/* pages */
.page-head { padding-top: 34px; padding-bottom: 6px; }
.block { padding: 32px 0; }
.block.tint { background: var(--accent-soft); margin-top: 32px; padding: 44px 0; }

/* banner slider */
.slider { position: relative; margin-top: 22px; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.caption {
  position: absolute; left: 36px; bottom: 36px; max-width: 470px;
  background: rgba(255, 255, 255, .95); border-radius: var(--radius); padding: 22px 26px;
}
.caption .eyebrow { color: var(--accent-strong); font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.caption h1, .caption h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; }
.caption p.text { color: var(--muted); margin-top: 8px; font-size: 0.99rem; }
.caption .btn { margin-top: 14px; }
.arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.arrow:hover { background: #fff; }
.arrow.prev { left: 14px; }
.arrow.next { right: 14px; }
.dots { position: absolute; right: 18px; bottom: 14px; display: flex; gap: 4px; }
.dots button { width: 26px; height: 26px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.75); border: 1px solid rgba(29,39,51,.35); }
.dots button[aria-pressed="true"]::before { background: var(--accent); border-color: var(--accent); }
@media (max-width: 760px) {
  .slide img { aspect-ratio: 4 / 3; }
  .caption { position: static; max-width: none; border-radius: 0; padding: 18px 18px 44px; }
  .arrow { display: none; }
  .dots { left: 14px; right: auto; bottom: 8px; }
  .dots button::before { background: #d5dce5; }
}
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-top: 22px; }
.fact { padding: 16px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--accent-strong); line-height: 1.2; }
.fact span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* notice cards */
.sechead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.sechead small { color: var(--muted); font-size: 0.88rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card .body { padding: 16px 18px 18px; }
.card .meta { display: flex; gap: 10px; align-items: center; font-size: 0.84rem; color: var(--muted); margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* quick links */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick a { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); display: block; }
.quick a:hover { outline: 2px solid var(--accent); }
.quick b { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--accent-strong); display: block; }
.quick span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 860px) { .quick { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .quick { grid-template-columns: 1fr; } }

/* pills */
.pill { display: inline-block; font-size: 0.82rem; font-weight: 600; padding: 2px 11px; border-radius: 999px; white-space: nowrap; }
.pill.open { background: var(--good-soft); color: var(--good); }
.pill.part { background: var(--accent-soft); color: var(--accent-strong); }
.pill.plan { background: #f0f2f5; color: var(--muted); }

/* about */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split p { color: var(--muted); margin-top: 12px; max-width: 58ch; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 22px; } }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.point { background: var(--surface); border-radius: var(--radius); padding: 20px 22px; }
.point p { color: var(--muted); margin-top: 6px; font-size: 0.96rem; }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } }

/* rows: spaces and directory */
.rows { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.row { display: grid; grid-template-columns: 160px 1fr auto; gap: 8px 20px; align-items: center; padding: 15px 20px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row .floor { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.row .detail { color: var(--muted); font-size: 0.97rem; }
.row .detail b { color: var(--ink); font-weight: 600; }
.shops { display: flex; flex-wrap: wrap; gap: 8px; }
.shop { border: 1px solid var(--line); border-radius: 7px; padding: 4px 12px; color: var(--ink); font-weight: 500; font-size: 0.95rem; background: var(--paper); }
.row .pill { justify-self: end; }
@media (max-width: 640px) {
  .row { grid-template-columns: 1fr auto; }
  .row .pill { grid-row: 1; grid-column: 2; }
  .row .detail, .row .shops { grid-column: 1 / -1; }
}
.note { margin-top: 14px; color: var(--muted); font-size: 0.96rem; max-width: 70ch; }
.cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }

/* facilities */
.facilities { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border-top: 1px solid var(--line); }
.facility { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.facility p { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.facility .tag { font-size: 0.78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; margin-left: 6px; font-weight: 500; font-family: var(--font-body); white-space: nowrap; }
@media (max-width: 860px) { .facilities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facilities { grid-template-columns: 1fr; } }

/* gallery */
.albums { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.albums button { font: inherit; font-size: 0.93rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 4px 16px; cursor: pointer; }
.albums button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.gallery button { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 8px; overflow: hidden; }
.gallery button[hidden] { display: none; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
dialog.viewer { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); }
dialog.viewer::backdrop { background: rgba(20, 28, 38, .82); }
dialog.viewer img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 8px; }
dialog.viewer form { text-align: right; margin-bottom: 8px; }
dialog.viewer button { font: inherit; background: #fff; border: 0; border-radius: 6px; padding: 5px 14px; cursor: pointer; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; margin-top: 22px; align-items: start; }
.contact dl { margin: 0; display: grid; gap: 16px; }
.contact dt { font-size: 0.85rem; color: var(--muted); }
.contact dd { margin: 0; font-weight: 500; font-size: 1.05rem; }
form.inquiry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
form.inquiry label { display: grid; gap: 4px; font-size: 0.92rem; font-weight: 500; }
form.inquiry .full { grid-column: 1 / -1; }
form.inquiry input, form.inquiry select, form.inquiry textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid #cdd5df; border-radius: 7px; padding: 9px 11px; width: 100%;
}
form.inquiry textarea { min-height: 84px; resize: vertical; }
.form-msg { grid-column: 1 / -1; background: var(--good-soft); color: var(--good); border-radius: 7px; padding: 10px 14px; font-size: 0.95rem; }
.form-msg[hidden] { display: none; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 520px) { form.inquiry { grid-template-columns: 1fr; } }

/* footer */
footer { margin-top: 48px; background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.94rem; }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 30px; padding: 34px 0 26px; }
footer h3 { color: var(--ink); font-size: 1rem; margin-bottom: 8px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent-strong); text-decoration: underline; }
footer .base { border-top: 1px solid var(--line); padding: 14px 0 22px; font-size: 0.88rem; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; gap: 20px; } }

/* ---- additions for the live site ---- */
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }
.menu a[aria-current="page"] { border-bottom-color: transparent; }
.brandrow .actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.btn.wa { background: #1f7a4d; border-color: #1f7a4d; }
.btn.wa:hover { background: #17613c; border-color: #17613c; }
@media (max-width: 560px) { .brandrow .actions { display: none; } }

.crumbs { font-size: 0.9rem; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-current] { color: var(--ink); }

.empty { color: var(--muted); padding: 28px 0; }

.card a.stretch { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.card a.stretch:hover h3 { color: var(--accent-strong); text-decoration: underline; }
.card img { background: var(--accent-soft); }

.pager { display: flex; gap: 14px; align-items: center; margin-top: 26px; color: var(--muted); }
.pager a { text-decoration: none; font-weight: 600; }
.pager .off { opacity: .45; }

.article { max-width: 760px; }
.article .meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 0.9rem; margin: 10px 0 18px; }
.article img.hero { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 18px 0; }
.article .body { white-space: pre-line; margin-top: 8px; }

.shop-head { display: flex; gap: 18px; align-items: center; }
.shop-head img { width: 84px; height: 84px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px; }
.facts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 22px 0; }
.facts-list div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.facts-list dt { font-size: 0.82rem; color: var(--muted); }
.facts-list dd { margin: 2px 0 0; font-weight: 600; }

.shop { text-decoration: none; }
a.shop:hover { border-color: var(--accent); color: var(--accent-strong); }
.row .empty-note { color: var(--muted); }

.gallery .gtile { position: relative; }
.gallery .play { position: absolute; inset: auto 8px 8px auto; background: rgba(20,28,38,.78); color: #fff; border-radius: 999px; padding: 2px 12px; font-size: 0.82rem; }
dialog.viewer figcaption { color: #fff; text-align: center; margin-top: 8px; font-size: 0.95rem; }
dialog.viewer figure { margin: 0; }

.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 18px; background: var(--accent-soft); }

form.inquiry .err { color: #b3261e; font-size: 0.84rem; font-weight: 500; }
form.inquiry [aria-invalid="true"] { border-color: #b3261e; }
.form-msg.error { background: #fdecea; color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.error-page { padding: 70px 0 40px; text-align: left; }
.error-page .code { color: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: 3rem; }

footer ul li { overflow-wrap: anywhere; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
#form { scroll-margin-top: 80px; }
