/* ============================================================
   BAGUA ACUPUNCTURE — styles.css
   ============================================================ */

/* ---- Custom Fonts ----------------------------------------- */
@font-face {
  font-family: 'Canva Sans';
  src: url('../fonts/CanvaSans-Regular.woff2') format('woff2'),
       url('../fonts/CanvaSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Canva Sans';
  src: url('../fonts/CanvaSans-Bold.woff2') format('woff2'),
       url('../fonts/CanvaSans-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Canva Sans';
  src: url('../fonts/CanvaSans-Italic.woff2') format('woff2'),
       url('../fonts/CanvaSans-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---- CSS Variables ---------------------------------------- */
:root {
  --font-display: 'Canva Sans', 'Raleway', 'Georgia', serif;
  --font-body:    'Roboto Mono', 'Courier New', monospace;

  --cream:     #F0E4CC;
  --cream-dim: rgba(240, 228, 204, 0.75);
  --gold:      #C9A84C;
  --gold-dim:  #B8963E;
  --btn-dark:  #1A0E06;
  --btn-mid:   #6B4C30;
  --border:    rgba(240, 228, 204, 0.25);
  --bg-color:  #6B3D1E;

  --section-pad: clamp(60px, 8vw, 120px);
  --container:   1200px;
  --gutter:      clamp(20px, 5vw, 80px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--cream);
  background-color: var(--bg-color);
  background-image: url('../images/bg-texture.png');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ---- Announcement Bar ------------------------------------- */
.announcement-bar {
  width: 100%;
  background: rgba(15, 8, 2, 0.55);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cream);
  position: relative;
  z-index: 100;
}
.announcement-bar a {
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.announcement-bar a:hover { opacity: 0.75; }

/* ---- Navigation ------------------------------------------- */
.site-header {
  position: fixed;
  top: 36px; /* below announcement bar */
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  pointer-events: none;
}
.site-header > * { pointer-events: all; }

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}
.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--cream);
  transition: opacity 0.2s;
}
.hamburger:hover span { opacity: 0.65; }

/* ---- Language Switcher ------------------------------------ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 6px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cream-dim);
  padding: 4px 6px;
  transition: color 0.2s;
  line-height: 1;
}
.lang-btn:hover { color: var(--cream); }
.lang-btn.active {
  color: var(--gold);
  font-weight: 500;
}
.lang-sep {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--border);
  user-select: none;
}
/* Inside mobile nav */
.mobile-nav .lang-switcher {
  margin-right: 0;
  gap: 4px;
}
.mobile-nav .lang-btn { font-size: 13px; padding: 6px 10px; }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(18, 8, 2, 0.97);
  display: flex;
  flex-direction: column;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

/* Scrollable inner container */
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 80px 32px 48px;
  min-height: 100%;
  gap: 0;
}

/* Main site links (Ethos, Shop, About) */
.mobile-nav-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(240,228,204,0.12);
}
.mobile-nav-main-link {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--cream);
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-decoration: none;
}
.mobile-nav-main-link:hover { opacity: 0.65; }

/* Treatment category sections */
.mobile-nav-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(240,228,204,0.08);
}

/* Category label */
.mobile-nav-category {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Individual treatment items */
.mobile-nav-item {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(240,228,204,0.75);
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 9px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(240,228,204,0.06);
  display: block;
  transition: color 0.2s;
}
.mobile-nav-item:last-child { border-bottom: none; }
.mobile-nav-item:hover { color: var(--cream); }

/* Footer: CTA + lang switcher */
.mobile-nav-footer {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.mobile-nav .nav-cta {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 12px 30px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav .nav-cta:hover {
  background: var(--gold);
  color: var(--btn-dark);
  opacity: 1;
}

.nav-close {
  position: fixed;
  top: 20px;
  right: var(--gutter);
  background: none;
  border: none;
  color: var(--cream);
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.75;
  z-index: 201;
}
.nav-close:hover { opacity: 1; }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 13px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.82; }

.btn-dark {
  background: var(--btn-dark);
  color: var(--cream);
}
.btn-mid {
  background: var(--btn-mid);
  color: var(--cream);
}

/* ---- Section Headings ------------------------------------- */
.section-heading {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.05;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  padding: calc(36px + 70px) var(--gutter) var(--section-pad);
  gap: 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 560px;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.65;
  color: var(--cream-dim);
  max-width: 380px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.hero-image img {
  width: 100%;
  max-width: 520px;
  height: clamp(400px, 60vh, 600px);
  object-fit: cover;
  border: 1px solid var(--border);
}

/* ============================================================
   HEALING ETHOS
   ============================================================ */
.healing-ethos {
  padding: var(--section-pad) var(--gutter);
}

.ethos-heading {
  font-size: clamp(42px, 6vw, 80px);
  text-align: right;
  margin-bottom: 48px;
}

.ethos-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.ethos-image img {
  width: 100%;
  max-width: 220px;
  height: 280px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.ethos-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ethos-lead {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.7;
  text-align: justify;
  font-weight: 500;
  color: var(--cream);
}

.ethos-text p {
  font-family: var(--font-body);
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.75;
  text-align: justify;
  color: var(--cream-dim);
}

.ethos-spiral {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
}
.ethos-spiral img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.ethos-closing {
  font-family: var(--font-body);
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.8;
  text-align: justify;
  color: var(--cream-dim);
  max-width: 100%;
}

/* ============================================================
   OFFERINGS
   ============================================================ */
.offerings {
  padding: var(--section-pad) var(--gutter);
}

.offerings-heading {
  font-size: clamp(42px, 6vw, 80px);
  margin-bottom: 48px;
}

/* Featured two-column row */
.offerings-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
  align-items: start;
}

.offering-featured-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offering-featured-right {
  padding-top: 0;
}

.offering-name {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.03em;
}

.offering-name-gold {
  color: var(--gold);
}

.offering-featured-image img {
  width: 100%;
  height: clamp(280px, 40vw, 460px);
  object-fit: cover;
  border: 1px solid var(--border);
}

.offering-desc {
  font-family: var(--font-body);
  font-size: clamp(10px, 0.9vw, 12px);
  line-height: 1.75;
  color: var(--cream-dim);
}

/* Three small offerings grid */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.offering-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offering-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* ============================================================
   BIO / ABOUT
   ============================================================ */
.bio {
  padding: var(--section-pad) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.bio-image img {
  width: 100%;
  height: clamp(400px, 55vw, 600px);
  object-fit: cover;
  border: 1px solid var(--border);
}

.bio-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bio-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
  color: var(--cream);
}

.bio-content p {
  font-family: var(--font-body);
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.8;
  color: var(--cream-dim);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  padding: var(--section-pad) var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--border);
}

.newsletter-heading {
  font-size: clamp(28px, 3vw, 42px);
}

.newsletter-subtitle {
  font-family: var(--font-body);
  font-size: clamp(11px, 1vw, 13px);
  color: var(--cream-dim);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.newsletter-input {
  background: rgba(240, 228, 204, 0.1);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 13px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--cream);
  outline: none;
  width: 260px;
}
.newsletter-input::placeholder { color: rgba(240, 228, 204, 0.45); }
.newsletter-input:focus { border-color: rgba(240, 228, 204, 0.6); }

/* ============================================================
   IMAGE PLACEHOLDERS (until real assets provided)
   ============================================================ */
img[src*="placeholder"], img:not([src]), img[src=""] {
  background: rgba(240, 228, 204, 0.08);
  border: 1px dashed var(--border) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(36px + 80px);
  }
  .hero-image {
    justify-content: center;
  }
  .hero-image img {
    max-width: 100%;
    height: 320px;
  }

  .ethos-grid {
    grid-template-columns: 1fr;
  }
  .ethos-image img {
    max-width: 100%;
    height: 240px;
  }
  .ethos-spiral {
    display: none;
  }

  .offerings-featured {
    grid-template-columns: 1fr;
  }

  .offerings-grid {
    grid-template-columns: 1fr;
  }

  .bio {
    grid-template-columns: 1fr;
  }

  .ethos-heading { text-align: left; }
}

@media (max-width: 600px) {
  .hero-buttons { flex-direction: column; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-input { width: 100%; }
}
