/* =========================================================
   ST CENTRAL HOTEL — Design tokens
   Palette: deep river forest + brass gold + ivory sand
   Type: Fraunces (display serif) + Work Sans (body)
   ========================================================= */

:root {
  --forest:        #0F3D33;
  --forest-dark:   #0A2B24;
  --forest-tint:   #E4ECE9;
  --gold:          #C9A227;
  --gold-light:    #E4C766;
  --sand:          #EFE7D8;
  --ivory:         #FAF7F0;
  --charcoal:      #201D19;
  --charcoal-soft: #5B564C;
  --white:         #FFFFFF;
  --line:          rgba(32,29,25,0.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-lao: 'Noto Sans Lao', var(--font-body);

  --radius-s: 4px;
  --radius-m: 10px;
  --shadow-soft: 0 14px 40px -18px rgba(15,61,51,0.35);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body), var(--font-lao);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display), var(--font-lao);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--forest-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--charcoal-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--forest-dark);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(250,247,240,0.5);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-forest {
  background: var(--forest);
  color: var(--ivory);
}
.btn-forest:hover { background: var(--forest-dark); }
.btn-block { width: 100%; justify-content: center; }

/* -------------------- Header / Nav -------------------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-top: 18px;
}
.site-header.is-solid {
  position: sticky;
  background: var(--forest-dark);
  padding-top: 0;
  box-shadow: 0 6px 24px -14px rgba(0,0,0,0.4);
}
.topbar {
  background: var(--forest-dark);
  color: rgba(250,247,240,0.75);
  font-size: 0.8rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { color: rgba(250,247,240,0.75); transition: color .15s; }
.topbar-social a:hover { color: var(--gold-light); }
.lang-switch { display: flex; gap: 4px; align-items:center; }
.lang-switch a {
  padding: 2px 7px;
  border-radius: 3px;
  color: rgba(250,247,240,0.6);
  font-weight: 600;
  letter-spacing: .04em;
}
.lang-switch a.active { color: var(--gold-light); background: rgba(201,162,39,0.15); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ivory);
}
.brand-mark {
  width: 40px; height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.1rem;
}
.brand-name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .02em; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: .18em; color: var(--gold-light); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: rgba(250,247,240,0.85);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); border-color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-links {
    position: fixed; inset: 0 0 0 30%;
    background: var(--forest-dark);
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle {
    display: block;
    background: none; border: none; cursor: pointer;
    width: 30px; height: 22px; position: relative; z-index: 60;
  }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after {
    content: ''; display: block; height: 2px; background: var(--ivory);
    position: absolute; left: 0; right: 0; transition: transform .2s;
  }
  .nav-toggle span { top: 10px; }
  .nav-toggle::before { top: 2px; }
  .nav-toggle::after { top: 18px; }
  .topbar-social { display: none; }
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  background: linear-gradient(180deg, rgba(10,43,36,0.35) 0%, rgba(10,43,36,0.55) 55%, rgba(10,43,36,0.92) 100%),
              url('https://images.unsplash.com/photo-1566073771259-6a8506099945?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
}
.hero-inner { padding-bottom: 70px; max-width: 720px; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: .14em;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 18px;
  padding-left: 34px;
  position: relative;
}
.eyebrow::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 24px; height: 1px;
  background: var(--gold-light);
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero p.lead { color: rgba(250,247,240,0.85); font-size: 1.08rem; max-width: 540px; }
.hero-ctas { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }

/* Page (non-home) header banner */
.page-banner {
  position: relative;
  padding: 200px 0 90px;
  color: var(--ivory);
  background: linear-gradient(180deg, rgba(10,43,36,0.55), rgba(10,43,36,0.88)), var(--banner-img, url('https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?q=80&w=1600&auto=format&fit=crop')) center/cover;
}
.page-banner h1 { color: var(--white); margin-bottom: 8px; }
.page-banner .eyebrow { margin-bottom: 10px; }

/* -------------------- Section basics -------------------- */
section { padding: 96px 0; }
.section-alt { background: var(--forest-tint); }
.section-dark { background: var(--forest-dark); color: var(--ivory); }
.section-dark h2, .section-dark h3 { color: var(--ivory); }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { color: var(--gold); }
.section-dark .section-head .eyebrow { color: var(--gold-light); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* -------------------- Cards -------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--forest-tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--forest);
  background: var(--forest-tint);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.card-price {
  font-family: var(--font-display);
  color: var(--forest-dark);
  font-size: 1.3rem;
}
.card-price span { font-size: 0.75rem; color: var(--charcoal-soft); font-weight: 400; }
.card-meta { display: flex; gap: 16px; font-size: 0.82rem; color: var(--charcoal-soft); margin: 12px 0; flex-wrap: wrap; }
.card-meta strong { color: var(--charcoal); }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

/* -------------------- Amenities / icon list -------------------- */
.amenity {
  text-align: center;
  padding: 30px 18px;
}
.amenity-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
}
.amenity h3 { font-size: 1.05rem; margin-bottom: 6px; }
.amenity p { font-size: 0.9rem; margin: 0; }

/* -------------------- Forms -------------------- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest-dark);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-family: var(--font-body), var(--font-lao);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--charcoal);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.form-panel {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.alert {
  padding: 16px 20px;
  border-radius: var(--radius-s);
  margin-bottom: 24px;
  font-size: 0.92rem;
}
.alert-success { background: #E5F3EA; color: #1F5A34; border: 1px solid #B7DEC3; }
.alert-error { background: #FBEAEA; color: #8A2C2C; border: 1px solid #F0C5C5; }

/* -------------------- Gallery -------------------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-bar button {
  padding: 9px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--charcoal-soft);
  transition: all .15s;
}
.filter-bar button.active, .filter-bar button:hover { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 1; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(10,43,36,0.85), transparent);
  color: var(--white); font-size: 0.85rem; font-weight: 600;
  opacity: 0; transition: opacity .25s;
}
.gallery-item:hover .cap { opacity: 1; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* -------------------- Map -------------------- */
.map-frame {
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 0;
  width: 100%;
  height: 420px;
}

/* -------------------- Footer -------------------- */
.site-footer { background: var(--forest-dark); color: rgba(250,247,240,0.75); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(250,247,240,0.12); }
.site-footer h4 { color: var(--gold-light); font-size: 0.85rem; letter-spacing: .1em; text-transform: none; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer a { color: rgba(250,247,240,0.75); font-size: 0.92rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(250,247,240,0.25);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--gold-light); background: rgba(201,162,39,0.12); }
.footer-bottom {
  display: flex; justify-content: space-between; padding: 22px 0;
  font-size: 0.8rem; color: rgba(250,247,240,0.5); flex-wrap: wrap; gap: 10px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* -------------------- Utility -------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider-gold { width: 56px; height: 2px; background: var(--gold); margin: 18px 0; }
.badge-google {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 600; color: var(--forest);
}

/* Google Translate widget cosmetic reset */
#google_translate_element { display: inline-block; }
.goog-te-gadget { font-family: var(--font-body) !important; font-size: 0 !important; }
.goog-te-gadget .goog-te-combo {
  font-size: 0.8rem;
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid rgba(250,247,240,0.3);
  background: transparent;
  color: var(--ivory);
}
body > .skiptranslate { display: none !important; }
body { top: 0 !important; }
