/* ============================================================
   B•Chemistry — Shared Styles (Navbar + Footer)
   ============================================================ */

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

/* Riviera Nights Trial — place font files in fonts/ folder */
@font-face {
  font-family: 'Riviera Nights Trial';
  src: url('../fonts/RivieraNightsTrial-Regular.otf') format('opentype'),
       url('../fonts/RivieraNightsTrial-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Riviera Nights Trial';
  src: url('../fonts/RivieraNightsTrial-Light.otf') format('opentype'),
       url('../fonts/RivieraNightsTrial-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Riviera Nights Trial';
  src: url('../fonts/RivieraNightsTrial-Medium.otf') format('opentype'),
       url('../fonts/RivieraNightsTrial-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  color: #1a1a1a;
  min-height: 100vh;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 65px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: #4A1413;
}

.logo-dot {
  font-size: 0.55em;
  vertical-align: middle;
  position: relative;
  top: -0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3a3a3a;
  padding-bottom: 3px;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #1a1a1a;
}

.nav-link.active {
  color: #1a1a1a;
  font-weight: 500;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #1a1a1a;
  border-radius: 1px;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #5c1a1a;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 11px 20px;
  border-radius: 9px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s;
}

.btn-book:hover {
  background-color: #7a2020;
}

.phone-icon {
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  padding: 48px 0 0;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(74, 20, 19, 0.35) 20%,
    rgba(74, 20, 19, 0.35) 80%,
    transparent 100%
  );
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}

.footer-logo-wrap {
  padding-bottom: 32px;
}

.footer-logo {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #4A1413;
  line-height: 1;
  display: block;
}

.footer-logo-dot {
  font-size: 0.45em;
  vertical-align: middle;
  position: relative;
  top: -0.1em;
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.footer-left {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 40px;
}

.footer-tagline {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #6a6a6a;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #c8c0b8;
  color: #3a3a3a;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.social-icon:hover {
  border-color: #4A1413;
  color: #4A1413;
}

.footer-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-divider {
  height: 1px;
  background-color: rgba(0,0,0,0.1);
  width: 100%;
  margin-bottom: 4px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section-label {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #888;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav-link:hover {
  color: #4A1413;
}

.footer-nav-sep {
  font-size: 1rem;
  color: #b0a89e;
}

.footer-address {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #3a3a3a;
  line-height: 1.7;
  max-width: 480px;
}

.footer-hours {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 4px;
}

.footer-days {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #888;
}

.footer-copy-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 8px;
}

.footer-copy {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #888;
}

.footer-copy-sep {
  color: #c8c0b8;
  font-size: 0.75rem;
}

.footer-copy-link {
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-copy-link:hover {
  color: #4A1413;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .navbar-inner {
    padding: 0 24px;
    gap: 20px;
  }

  .nav-links {
    gap: 20px;
  }

  .footer-inner {
    padding: 0 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 40px;
  }

  .footer-left {
    flex: none;
    width: 100%;
  }
}

/* ============================================================
   HAMBURGER BUTTON — hidden on desktop
   ============================================================ */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  margin-left: 8px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: #4A1413;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* White burger on transparent navbar */
.navbar--transparent .nav-burger span {
  background-color: #ffffff;
}

/* × animation when open */
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-drawer.is-open {
  opacity: 1;
  pointer-events: all;
}

.nav-drawer-link {
  text-decoration: none;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2E2E2E;
  transition: color 0.2s;
}

.nav-drawer-link.active {
  color: #4A1413;
  border-bottom: 1.5px solid #4A1413;
  padding-bottom: 2px;
}

.nav-drawer-link:hover {
  color: #4A1413;
}

.nav-drawer-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: 'Riviera Nights Trial', 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #5c1a1a;
  padding: 13px 28px;
  border-radius: 9px;
  margin-top: 8px;
  transition: background-color 0.2s;
}

.nav-drawer-cta:hover {
  background-color: #7a2020;
}

@media (max-width: 600px) {
  .navbar-inner {
    padding: 0 16px;
    height: 60px;
  }

  .nav-links {
    display: none;
  }

  .btn-book {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-drawer {
    display: flex;
  }

  .footer-inner {
    padding: 0 16px;
  }

  .footer-logo {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

  .footer-nav {
    gap: 8px;
  }

  .footer-nav-link {
    font-size: 0.95rem;
  }
}
