/* ═══════════════════════════════════════════════════════════
   Buddha Heritage Hotel, Patna
   Design system: boutique-hotel-editorial (Monalisa-derived)
   Cormorant Garamond display + Switzer body
   Brass accent on warm paper
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Inter:wght@400;500&display=swap');

@font-face {
  font-family: 'Switzer';
  src: url('https://cdn.fontshare.com/wf/FSVNQGBXPXSYMHO5RCNKBDFWN4QXRQBS/JMMVGLJ3GGK7PMDZS7XGJWRUWFKP4RQI/QNLB5K3RML3KXWPB4FSWWVQPCUQULHJQ.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('https://cdn.fontshare.com/wf/FSVNQGBXPXSYMHO5RCNKBDFWN4QXRQBS/GMNYEWFKP5PNPACXRXLQUKKJQN5JDCHM/QNLB5K3RML3KXWPB4FSWWVQPCUQULHJQ.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --ink:         #2D1F18;
  --paper:       #F8F2E8;
  --accent:      #A87832;
  --muted:       #8E8576;
  --ink-subtle:  #524633;
  --rule:        #E5E0D5;
  --section-alt: #F0E6D2;
  --footer-bg:   #1F1A14;
  --brass:       #A87832;
  --brass-hover: #8E6428;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Switzer', 'Inter', system-ui, -apple-system, sans-serif;

  --h1-hero: clamp(3rem, 9vw, 7rem);
  --h1:      clamp(2.5rem, 7vw, 5rem);
  --h2:      clamp(2rem, 5vw, 3.5rem);
  --h3:      clamp(1.5rem, 3vw, 2.25rem);
  --body:    clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --body-lg: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --small:   clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --eyebrow: 0.75rem;

  --sp-xs:  clamp(0.5rem, 1vw, 0.75rem);
  --sp-sm:  clamp(0.75rem, 2vw, 1.25rem);
  --sp-md:  clamp(1.25rem, 3vw, 2rem);
  --sp-lg:  clamp(2rem, 5vw, 4rem);
  --sp-xl:  clamp(3rem, 8vw, 6rem);
  --sp-xxl: clamp(5rem, 12vw, 10rem);

  --max-w:      1280px;
  --max-text:   640px;
}

/* ═══ Reset ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brass); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
p  { margin-bottom: var(--sp-sm); }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-md); }
.section { padding: var(--sp-xl) 0; }
.section-alt { background: var(--section-alt); }
.section-deep { background: var(--footer-bg); color: #F0ECE6; }
.section-deep h2, .section-deep h3, .section-deep h4 { color: #F0ECE6; }
.section-deep .eyebrow { color: var(--brass); }
.section-deep a { color: var(--brass); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ═══ Eyebrow with section number ═══ */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--eyebrow);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-sm);
}
.eyebrow .num {
  display: inline-block;
  margin-right: 0.5em;
  color: var(--brass);
  font-weight: 500;
}
.muted { color: var(--muted); }
.narrow { max-width: var(--max-text); }

/* ═══ Top Bar ═══ */
.top-bar {
  background: var(--footer-bg);
  color: rgba(240,236,230,0.5);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
}
.top-bar .wrap {
  display: flex; justify-content: space-between; align-items: center;
}
.top-bar a { color: rgba(240,236,230,0.7); text-decoration: none; }
.top-bar a:hover { color: #fff; }

/* ═══ Header ═══ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,242,232,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: 0.75rem 0;
}
.site-header .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.site-header__nav-left,
.site-header__nav-right {
  display: flex; gap: 2rem; align-items: center;
}
.site-header__nav-right { justify-content: flex-end; }
.site-header__nav-left a,
.site-header__nav-right a {
  font-size: var(--eyebrow); font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.site-header__nav-left a:hover,
.site-header__nav-right a:hover { color: var(--ink); }
.site-header__logo { text-align: center; text-decoration: none; }
.site-header__logo img { height: 56px; width: auto; margin: 0 auto; }
@media (max-width: 768px) {
  .site-header .wrap { grid-template-columns: auto 1fr; }
  .site-header__nav-left, .site-header__nav-right { display: none; }
  .site-header__logo { text-align: left; }
  .site-header__logo img { height: 44px; }
}

/* ═══ Buttons ═══ */
.btn {
  display: inline-block; padding: 0.875rem 2.25rem;
  font-family: var(--font-body); font-size: var(--eyebrow); font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none;
  transition: all 0.25s; cursor: pointer; border: none;
}
.btn:hover { text-decoration: none; }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: var(--brass-hover); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--rule); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: #F0ECE6; border: 1px solid rgba(240,236,230,0.3); }
.btn-ghost:hover { border-color: #F0ECE6; }

.btn-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; border: 1px solid var(--brass); border-radius: 999px;
  color: var(--brass); font-size: var(--eyebrow); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  transition: all 0.25s; background: var(--paper);
}
.btn-pill:hover { background: var(--brass); color: #fff; text-decoration: none; }

/* ═══ Hero — full-bleed photographic ═══ */
.hero {
  position: relative;
  height: 90vh; min-height: 560px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31,26,20,0.7) 0%, rgba(31,26,20,0.2) 45%, rgba(31,26,20,0.05) 100%);
}
.hero__body {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 1;
  padding: 0 0 8rem;
}
.hero__body .wrap { text-align: center; }
.hero__body h1 {
  font-size: var(--h1-hero);
  color: #fff;
  font-style: italic;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.hero__sub {
  font-family: var(--font-body);
  font-size: var(--body);
  color: rgba(255,255,255,0.6);
  max-width: 44ch; margin: 0 auto; line-height: 1.7;
  letter-spacing: 0.05em;
}

/* ═══ Booking Widget — overlaps hero bottom (SIGNATURE MOVE) ═══ */
.booking-bar {
  position: relative; z-index: 10;
  margin-top: -4rem;
  padding: 0 var(--sp-md);
}
.booking-bar__inner {
  max-width: 860px; margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr 1fr 1fr auto;
  align-items: end;
}
.booking-bar__field {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--rule);
}
.booking-bar__field:last-of-type { border-right: none; }
.booking-bar__label {
  font-size: 0.625rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem;
}
.booking-bar__value {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--ink);
}
.booking-bar__cta { padding: 0; }
.booking-bar__cta a {
  display: flex; align-items: center; justify-content: center;
  height: 100%; padding: 1.25rem 2rem;
  background: var(--brass); color: #fff;
  font-family: var(--font-body);
  font-size: var(--eyebrow); font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.2s;
}
.booking-bar__cta a:hover { background: var(--brass-hover); text-decoration: none; }
@media (max-width: 640px) {
  .booking-bar__inner { grid-template-columns: 1fr 1fr; }
  .booking-bar__field:nth-child(2) { border-right: none; }
  .booking-bar__cta { grid-column: span 2; }
  .booking-bar__cta a { padding: 1rem; }
}

/* ═══ About — asymmetric two-column ═══ */
.about-split {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
  padding: var(--sp-xl) 0;
}
.about-split__img img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
}
.about-split__text h2 { margin-bottom: var(--sp-sm); }
.about-split__text p { max-width: 540px; }
.about-split__attr {
  margin-top: var(--sp-md);
  font-size: var(--small);
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: var(--sp-sm);
}
.about-split__attr strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--ink);
  font-weight: 400;
}
/* Vertical brand text — Monalisa move */
.about-split__vertical {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-style: italic;
  letter-spacing: 0.1em;
  color: var(--rule);
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: rotate(180deg) translateY(50%);
}
@media (max-width: 768px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split__img { order: -1; max-width: 320px; }
  .about-split__vertical { display: none; }
}

/* ═══ Numbers Fact — horizontal stat row ═══ */
.numbers-fact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: var(--sp-lg) 0;
}
.numbers-fact__item {
  padding: var(--sp-md) var(--sp-sm);
  border-right: 1px solid var(--rule);
}
.numbers-fact__item:last-child { border-right: none; }
.numbers-fact__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.numbers-fact__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 640px) {
  .numbers-fact { grid-template-columns: 1fr 1fr; }
  .numbers-fact__item:nth-child(2) { border-right: none; }
  .numbers-fact__item { border-bottom: 1px solid var(--rule); }
  .numbers-fact__item:nth-child(n+3) { border-bottom: none; }
}

/* ═══ Room Listing — numbered badges ═══ */
.room-listing {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 0;
  align-items: center;
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--rule);
}
.room-listing:last-child { border-bottom: none; }
.room-listing--flip .room__text { order: 1; }
.room-listing--flip .room__image { order: 2; }
.room-listing--flip .room__number { order: 0; }

.room__number {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  padding: 1rem;
  border: 1px solid var(--rule);
  text-align: center;
  margin-right: var(--sp-md);
  align-self: stretch;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
}
.room__number-label {
  font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.room__number-val {
  font-family: var(--font-display); font-size: 1.25rem; color: var(--ink);
}
.room__text { padding: var(--sp-md); }
.room__text h3 { font-size: var(--h2); margin-bottom: 0.25rem; }
.room__price {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--brass);
  margin: 0.75rem 0;
}
.room__price span { font-family: var(--font-body); font-size: var(--small); color: var(--muted); }
.room__meta {
  font-size: var(--small); color: var(--muted); line-height: 2;
  margin-top: var(--sp-sm);
}
.room__meta strong { color: var(--ink); font-weight: 500; }
.room__meta .accent { color: var(--brass); font-weight: 500; }
.room__link {
  display: inline-block; margin-top: var(--sp-sm);
  font-size: var(--eyebrow); font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink);
}
.room__link:hover { color: var(--brass); }
.room__image img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
@media (max-width: 768px) {
  .room-listing { grid-template-columns: 1fr; }
  .room__number {
    writing-mode: horizontal-tb; transform: none;
    flex-direction: row; margin-right: 0; margin-bottom: var(--sp-sm);
    padding: 0.75rem 1rem;
  }
  .room-listing--flip .room__text { order: unset; }
  .room-listing--flip .room__image { order: -1; }
  .room__image { order: -1; }
}

/* ═══ Banquet Table ═══ */
.banquet-table { width: 100%; border-collapse: collapse; margin-top: var(--sp-md); }
.banquet-table th, .banquet-table td {
  padding: 0.75rem 1rem; text-align: left;
  border-bottom: 1px solid var(--rule); font-size: var(--small);
}
.banquet-table th {
  font-size: var(--eyebrow); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.banquet-table td:first-child { font-family: var(--font-display); font-size: 1rem; }

/* ═══ Story — split layout ═══ */
.story {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg); align-items: center;
}
.story__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story--flip .story__img { order: -1; }
@media (max-width: 768px) {
  .story { grid-template-columns: 1fr; }
  .story__img { order: -1; }
}

/* ═══ Testimonial — centered italic serif ═══ */
.testimonial {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: var(--sp-xl) var(--sp-md);
}
.testimonial blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--h3); line-height: 1.6; color: var(--ink);
  margin-bottom: var(--sp-sm);
}
.testimonial__stars {
  color: var(--brass); font-size: 1.25rem;
  letter-spacing: 0.15em;
  margin-bottom: var(--sp-xs);
}
.testimonial cite {
  font-style: normal; font-size: var(--small); color: var(--muted);
  display: block;
}

/* ═══ Facilities Grid ═══ */
.facilities-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0; border: 1px solid var(--rule);
}
.facility {
  padding: 1.5rem; border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.facility:nth-child(4n) { border-right: none; }
.facility h4 {
  font-family: var(--font-body); font-size: var(--small); font-weight: 500;
  letter-spacing: 0.05em; margin-bottom: 0.25rem;
}
.facility p { font-size: 0.75rem; color: var(--muted); margin: 0; line-height: 1.5; }
@media (max-width: 768px) {
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .facility:nth-child(4n) { border-right: 1px solid var(--rule); }
  .facility:nth-child(2n) { border-right: none; }
}

/* ═══ Gallery ═══ */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
}
.gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: opacity 0.3s; cursor: pointer;
}
.gallery img:hover { opacity: 0.85; }
.gallery img:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/9; }
}

/* ═══ Contact ═══ */
.contact-row { display: flex; flex-wrap: wrap; gap: var(--sp-xs); }
.contact-item {
  padding: 0.5rem 1rem; border: 1px solid var(--rule);
  font-size: var(--small); color: var(--ink); text-decoration: none;
  transition: all 0.2s;
}
.contact-item:hover { border-color: var(--brass); color: var(--brass); text-decoration: none; }

/* ═══ Footer — dark espresso ═══ */
.site-footer {
  background: var(--footer-bg); color: rgba(240,236,230,0.5);
  padding: var(--sp-xl) 0 var(--sp-md);
}
.site-footer a { color: rgba(240,236,230,0.7); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(240,236,230,0.1);
  margin-bottom: var(--sp-md);
}
.footer-grid h4 {
  font-family: var(--font-body); font-size: var(--eyebrow); font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(240,236,230,0.35); margin-bottom: var(--sp-sm);
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid li a { font-size: var(--small); }
.footer-brand img { height: 50px; margin-bottom: var(--sp-sm); filter: brightness(0) invert(0.85); }
.footer-brand p { font-size: var(--small); line-height: 1.7; max-width: 280px; }
.footer-newsletter {
  display: flex; border: 1px solid rgba(240,236,230,0.2); margin-top: var(--sp-sm);
}
.footer-newsletter input {
  flex: 1; padding: 0.625rem 0.75rem;
  background: transparent; border: none; color: #F0ECE6;
  font-size: var(--small); font-family: var(--font-body);
}
.footer-newsletter input::placeholder { color: rgba(240,236,230,0.3); }
.footer-newsletter button {
  padding: 0.625rem 1rem; background: var(--brass); border: none;
  color: #fff; font-size: var(--eyebrow); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s;
}
.footer-newsletter button:hover { background: var(--brass-hover); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(240,236,230,0.3); margin: 0; }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a { font-size: var(--small); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══ Sticky CTAs ═══ */
.sticky-ctas {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 200;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.sticky-ctas .btn-pill { box-shadow: 0 4px 24px rgba(0,0,0,0.12); background: var(--paper); }
@media (max-width: 640px) {
  .sticky-ctas { flex-direction: row; bottom: 0.75rem; right: 0.75rem; }
  .sticky-ctas .btn-pill span { display: none; }
  .sticky-ctas .btn-pill { padding: 0.75rem; border-radius: 50%; width: 48px; height: 48px; justify-content: center; }
}

/* ═══ Scroll reveal ═══ */
@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 20%;
  }
  @keyframes reveal-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ═══ Print ═══ */
@media print {
  .site-header, .top-bar, .sticky-ctas, .booking-bar { display: none; }
  body { background: #fff; color: #000; }
}

/* ═══ Reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
