/* =========================================
   Holly Shaw Counselling — Shared Styles
   ========================================= */

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

/* --- Custom Properties --- */
:root {
  --bg:           #FBF8F1;
  --surface:      #FFFFFF;
  --text:         #3F4745;
  --text-muted:   #8A7A6E;
  --accent:       #6E8C90;
  --accent-dark:  #4F686B;
  --accent-light: #E6EEED;
  --border:       #E6D5C6;
  --sand:         #C8B7A1;
  --radius:       8px;
  --max-width:    1100px;
  --nav-height:   84px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; }
h3 { font-size: 1.2rem; font-weight: 500; }
p  { color: var(--text-muted); }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--surface);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  border: none;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover { background: var(--accent-dark); }

.btn--outline {
  background: transparent;
  color: var(--accent-dark);
  border: 1.5px solid var(--accent);
}

.btn--outline:hover {
  background: var(--accent-light);
}

/* =========================================
   Navigation
   ========================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  display: block;
  height: 72px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--accent-dark);
}

.nav__links .nav__cta a {
  color: var(--accent-dark);
  font-weight: 500;
  border: 1.5px solid var(--accent);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.nav__links .nav__cta a:hover {
  background: var(--accent);
  color: #fff;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  padding: 0;
  margin-left: auto;
  color: var(--text);
  flex-shrink: 0;
  z-index: 2;
}

.nav__toggle svg {
  display: block;
  width: 22px;
  height: 22px;
}

@media (max-width: 680px) {
  .nav__toggle { display: flex; }
  .nav__logo img { height: 60px; }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
  }

  .nav__links.open { display: flex; }
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--text);
  color: #fff;
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__brand {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.footer__links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer__links a:hover { color: #fff; }

.footer__contact {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.footer__contact a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer__contact a:hover { color: #fff; }

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* =========================================
   Page Header (inner pages)
   ========================================= */
.page-header {
  padding: 72px 0 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-header p {
  max-width: 540px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

/* =========================================
   Cards
   ========================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
}

.card__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 { margin-bottom: 0.5rem; }

/* =========================================
   Responsive helpers
   ========================================= */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .container { padding: 0 1.25rem; }
}
