/* ============================================================
   BELL VILLA MOTEL — base.css
   Site-wide: fonts, color tokens, reset, header/nav, footer.
   Loaded on every page. Page-specific styles live in their own
   CSS file (home.css, rooms.css, etc.) and are loaded only on
   that page — matching the original per-page injection blocks.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@300;400;500&display=swap');

:root {
  --bv-mg:   #085041; /* mangrove   */
  --bv-teal: #1D9E75;
  --bv-td:   #0F6E56;
  --bv-tp:   #E1F5EE;
  --bv-sp:   #9FE1CB; /* spring     */
  --bv-co:   #D85A30; /* coral      */
  --bv-cd:   #C04E28;
  --bv-ow:   #F3F1EB;
  --bv-ww:   #FAFAF7; /* warm white */
  --bv-tx:   #1A1A1A;
  --bv-txm:  #5A5A5A;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--bv-ww);
  color: var(--bv-tx);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--bv-teal); outline-offset: 2px; }

/* ── SKIP LINK ─────────────────────────────────────────────── */
.bv-skip {
  position: absolute; left: -999px; top: 0;
  background: var(--bv-co); color: #fff; padding: 10px 16px;
  z-index: 1000; font-size: 13px; font-weight: 600;
}
.bv-skip:focus { left: 0; }

/* ── HEADER / NAV ─────────────────────────────────────────── */
.bv-header {
  background: var(--bv-mg);
  position: relative;
  z-index: 100;
}
.bv-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.bv-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}
.bv-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.bv-nav-links {
  display: flex;
  gap: 2.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bv-nav-links a {
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.15s ease;
}
.bv-nav-links a:hover,
.bv-nav-links a[aria-current="page"] {
  color: var(--bv-sp);
}
.bv-book-btn {
  background: var(--bv-co);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.bv-book-btn:hover { background: var(--bv-cd); }

/* Mobile hamburger */
.bv-burger {
  display: none;
  width: 35px;
  height: 35px;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.bv-burger span {
  position: absolute;
  left: 6px;
  width: 23px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.bv-burger span:nth-child(1) { top: 11px; }
.bv-burger span:nth-child(2) { top: 17px; }
.bv-burger span:nth-child(3) { top: 23px; }
.bv-burger.bv-open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.bv-burger.bv-open span:nth-child(2) { opacity: 0; }
.bv-burger.bv-open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

.bv-mobile-menu {
  display: none;
  background: var(--bv-mg);
  padding: 0.5rem 1.5rem 1.5rem;
}
.bv-mobile-menu.bv-open { display: block; }
.bv-mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88);
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}
.bv-mobile-menu a:last-child { border-bottom: none; }
.bv-mobile-menu a.bv-book-btn {
  display: inline-block;
  margin-top: 0.85rem;
  border-bottom: none;
}

@media (max-width: 900px) {
  .bv-header-inner { padding: 0 1.5rem; height: 68px; }
  .bv-nav-links, .bv-nav .bv-book-btn { display: none; }
  .bv-burger { display: block; }
}

/* ── FOOTER ───────────────────────────────────────────────── */
.bv-footer {
  background-color: var(--bv-mg);
  font-family: 'Barlow', sans-serif;
  width: 100%;
}
.bv-footer * { box-sizing: border-box; margin: 0; padding: 0; }

.bv-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.bv-footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.bv-footer-brand span { color: var(--bv-sp); }

.bv-footer-addr {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  line-height: 1.9;
  margin-bottom: 0.5rem;
}

.bv-footer-phone {
  font-size: 15px;
  font-weight: 500;
  color: var(--bv-sp);
  text-decoration: none;
  display: block;
  margin-top: 0.25rem;
}
.bv-footer-phone:hover { color: #ffffff; }

.bv-footer-col h4 {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-bottom: 1rem;
}

.bv-footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  margin-bottom: 0.55rem;
  transition: color 0.15s ease;
}
.bv-footer-col a:hover { color: var(--bv-sp); }

.bv-footer-bottom {
  background-color: rgba(0,0,0,0.28);
  padding: 0.85rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.bv-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  font-family: 'Barlow', sans-serif;
}
.bv-footer-copy a {
  color: rgba(255,255,255,0.38);
  text-decoration: none;
}
.bv-footer-copy a:hover { color: rgba(255,255,255,0.65); }

@media (max-width: 680px) {
  .bv-footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.5rem 1.5rem;
  }
  .bv-footer-bottom {
    padding: 0.85rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
}
