/* Hotel Gowtham — static rebuild
   Palette drawn from the hotel's own tariff-table brand brown (#513D32)
   plus a brass accent and warm parchment background. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --brown-900: #2b211b;
  --brown-800: #3d2e24;
  --brown-700: #513d32;
  --brown-500: #7a5f4d;
  --brass-500: #a67c3d;
  --brass-400: #c19a5b;
  --cream-100: #faf6ef;
  --cream-050: #fffdf9;
  --ink: #241c17;
  --line: #e6dccb;
  --radius: 3px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Work Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream-050);
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--brown-800);
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { max-width: 68ch; }
a { color: var(--brown-700); }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Skip link for keyboard users */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brown-800); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream-050);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 12px 24px;
  max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.brand-text { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.15rem; color: var(--brown-800); }
.brand-text span { display: block; font-family: 'Work Sans', sans-serif; font-weight: 400; font-size: .72rem; letter-spacing: .04em; color: var(--brass-500); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none; color: var(--brown-700); font-weight: 500; font-size: .95rem;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { border-bottom-color: var(--brass-500); color: var(--brown-900); }

.btn {
  display: inline-block; padding: 11px 22px; border-radius: var(--radius);
  background: var(--brown-700); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .92rem; border: 1px solid var(--brown-700);
  transition: background .15s ease, color .15s ease;
}
.btn:hover { background: var(--brown-900); border-color: var(--brown-900); }
.btn-outline { background: transparent; color: var(--brown-700); }
.btn-outline:hover { background: var(--brown-700); color: #fff; }
.btn-brass { background: var(--brass-500); border-color: var(--brass-500); }
.btn-brass:hover { background: #8c6730; border-color: #8c6730; }
.btn-block { display: block; width: 100%; text-align: center; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 10px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--brown-800); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background-size: cover; background-position: center;
  min-height: 56vh; display: flex; align-items: flex-end;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,28,23,.15) 0%, rgba(36,28,23,.75) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 60px 24px 48px; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero h1 { color: #fff; }
.hero p.lede { color: #f1e9dc; font-size: 1.1rem; max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.hero.small { min-height: 34vh; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.bg-cream { background: var(--cream-100); }
.bg-brown { background: var(--brown-800); color: #f1e9dc; }
.bg-brown h2, .bg-brown h3 { color: #fff; }

/* two-up about layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); }

/* service tiles */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; text-decoration: none; color: var(--ink);
}
.tile img { height: 46px; margin: 0 auto 14px; }
.tile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.tile p { font-size: .88rem; color: var(--brown-500); margin: 0; }

/* highlight strip */
.highlights { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.highlights div { flex: 1 1 220px; padding: 22px 24px; border-right: 1px solid var(--line); }
.highlights div:last-child { border-right: none; }
.highlights strong { display: block; font-family: 'Fraunces', serif; font-size: 1.4rem; color: var(--brown-800); }
.highlights span { font-size: .85rem; color: var(--brown-500); }

/* room cards */
.room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.room-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.room-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; }
.room-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.room-body p { font-size: .92rem; color: var(--brown-500); }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: .85rem; }
.feature-list li { display: flex; align-items: baseline; gap: 6px; }
.feature-list li::before { content: '✓'; color: var(--brass-500); font-weight: 700; }
.tariff-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .92rem; }
.tariff-table td { padding: 9px 4px; border-bottom: 1px solid var(--line); }
.tariff-table td:last-child { text-align: right; }
.tariff-table tr:last-child td { border-bottom: none; }
.room-body .btn { margin-top: 6px; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gallery-grid figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px;
  background: linear-gradient(0deg, rgba(36,28,23,.8), transparent);
  color: #fff; font-size: .78rem;
}

/* facilities list + tabs-as-sections */
.facility-list { columns: 2; column-gap: 40px; list-style: none; padding: 0; margin: 24px 0; }
.facility-list li { break-inside: avoid; padding: 6px 0 6px 22px; position: relative; font-size: .95rem; }
.facility-list li::before { content: '—'; position: absolute; left: 0; color: var(--brass-500); }
.facility-block { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.facility-block img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; height: 100%; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card dl { margin: 18px 0 0; }
.contact-card dt { font-weight: 600; color: var(--brown-800); margin-top: 14px; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.contact-card dd { margin: 2px 0 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* footer */
.site-footer { background: var(--brown-900); color: #d9cdbf; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.site-footer a { color: #d9cdbf; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.footer-bottom { border-top: 1px solid #4a3a2e; margin-top: 40px; padding-top: 20px; font-size: .82rem; color: #a8998a; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.brand-footer { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.brand-footer img { height: 40px; }

/* responsive */
@media (max-width: 860px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: block; }
  .split, .contact-grid, .facility-block { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .highlights div { flex: 1 1 45%; }
}
@media (max-width: 860px) {
  .main-nav.open ul {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream-050); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }
  .main-nav { position: static; }
}
