/* =========================================
   THE MANOMANTRA
   Brand theme:
   Yellow #F4B400
   Brown  #7A4B2A
   Green  #4CAF50
========================================= */

:root {
  --yellow: #f4b400;
  --yellow-soft: #fff3cf;
  --yellow-pale: #fff9e8;
  --brown: #7a4b2a;
  --brown-dark: #4b2103;
  --brown-soft: #f2e8df;
  --green: #4caf50;
  --green-dark: #2f7d34;
  --green-soft: #eaf5e9;
  --cream: #fffdf8;
  --white: #ffffff;
  --ink: #2e2119;
  --muted: #6d625a;
  --border: rgba(122, 75, 42, 0.14);
  --shadow: 0 20px 55px rgba(76, 48, 27, 0.1);
  --container: 1280px;
  --radius-lg: 34px;
  --radius-md: 22px;
  --forest: #102d1b;
  --forest-deep: #0a2113;
  --text-muted: #d6c7b5;
  --cream-soft: #f7ead3;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* =========================================
   HEADER
========================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  width: 100%;

  background: rgba(255, 253, 248, 0.98);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(122, 75, 42, 0.08);

  /* Drop shadow below header */
  box-shadow:
    0 8px 20px rgba(77, 46, 27, 0.12),
    0 2px 6px rgba(77, 46, 27, 0.08);

  transition:
    box-shadow 0.3s ease,
    background 0.3s ease;
}

/* =========================================
   COMPACT HEADER ON SCROLL
========================================= */

.site-header.scrolled {
  box-shadow:
    0 8px 24px rgba(77, 46, 27, 0.16),
    0 3px 8px rgba(77, 46, 27, 0.09);
}

.site-header.scrolled .nav-wrap {
  min-height: 76px;
}
.site-header.scrolled .brand {
  width: 68px;
  height: 68px;
}
.site-header.scrolled .brand img {
  width: 62px;
  height: 62px;
}

.nav-wrap {
  min-height: 112px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 32px;

  transition: min-height 0.3s ease;
}

/* =========================================
   BIGGER LOGO
========================================= */

.brand {
  width: 92px;
  height: 92px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.brand img {
  width: 82px;
  height: 82px;

  object-fit: contain;
  object-position: center;

  border-radius: 50%;

  display: block;

  transition:
    width 0.3s ease,
    height 0.3s ease;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  color: var(--brown-dark);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-tagline {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  margin-top: 7px;
  text-transform: lowercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav > a {
  position: relative;

  color: var(--ink);

  font-size: 14px;
  font-weight: 500;

  padding: 42px 0 39px;

  transition:
    color 0.25s ease,
    padding 0.3s ease;
}

/* Header Book a Session button */
.main-nav > a.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;

  padding: 13px 21px;
  min-height: 46px;
  height: auto;

  border-radius: 13px;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
}

/* Prevent navigation underline on CTA */
.main-nav > a.nav-cta::after {
  display: none;
}

/* Keep CTA compact while scrolling */
.site-header.scrolled .main-nav > a.nav-cta {
  padding: 13px 21px;
  min-height: 46px;
}

.site-header.scrolled .main-nav > a {
  padding: 25px 0 22px;
}

.main-nav > a::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 29px;

  width: 0;
  height: 2px;

  background: var(--yellow);

  transform: translateX(-50%);

  transition:
    width 0.25s ease,
    bottom 0.3s ease;
}

.site-header.scrolled .main-nav > a::after {
  bottom: 16px;
}

.main-nav > a:hover,
.main-nav > a.active {
  color: var(--brown);
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
  width: 22px;
}

.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #4d2e1b;
  background: var(--yellow);
  box-shadow: 0 12px 28px rgba(244, 180, 0, 0.23);
}

.btn-primary:hover {
  background: #e7a900;
  box-shadow: 0 16px 34px rgba(244, 180, 0, 0.3);
}

.nav-cta {
  padding: 13px 21px;
  border-radius: 13px;
  font-size: 13px;
}

.calendar-icon {
  font-size: 14px;
}

.btn-large {
  min-height: 58px;
  padding: 0 28px;
  font-size: 15px;
}

.btn-outline {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(76, 175, 80, 0.55);
}

.btn-outline:hover {
  background: var(--green-soft);
  border-color: var(--green);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--brown);
}
