/* ============================================================
   Peachy Psychological Services — Shared Stylesheet
   Edit here to update nav, footer, and base styles across
   every page on the site at once.
   ============================================================ */

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

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --coral:       #FF6464;
  --coral-light: #FF8888;
  --coral-dark:  #E04848;
  --pink:        #F68DDA;
  --grape:       #5D5D98;
  --purple:      #9960D2;
  --cream:       #FFFBF9;
  --dark:        #1C1C2E;
  --mid:         #6B6B7B;
  --white:       #FFFFFF;
}

/* ── BASE ──────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NAV ───────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 0.65rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  box-sizing: border-box; width: 100%;
}
.nav-logo {
  text-decoration: none;
  display: flex; align-items: center;
}
.nav-logo img { height: 60px; width: auto; }

.nav-links { display: flex; gap: 2.25rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--dark);
  font-weight: 500; font-size: .9rem;
  transition: color .2s; letter-spacing: .01em;
}
.nav-links a:hover { color: var(--coral); }

.nav-cta {
  background: var(--coral) !important; color: #fff !important;
  padding: .62rem 1.5rem; border-radius: 50px;
  font-weight: 700 !important;
  transition: background .25s, transform .2s !important;
}
.nav-cta:hover { background: var(--coral-light) !important; transform: translateY(-1px); }

/* Hamburger — hidden on desktop */
.nav-mobile-btn { display: none; }

/* ── FOOTER ────────────────────────────────────────────────── */
footer { background: var(--grape); padding: 5rem 4rem 2.5rem; }
.footer-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3.5rem;
}
.footer-brand {
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: .9rem;
}
.footer-brand p {
  color: rgba(255,255,255,.55); font-size: .87rem;
  line-height: 1.68; max-width: 270px; margin: 0;
}
.footer-col h4 {
  font-weight: 700; font-size: .8rem; text-transform: uppercase;
  letter-spacing: .07em; color: rgba(255,255,255,.45); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.footer-col a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--coral); }
.footer-bottom {
  max-width: 1180px; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,.45); font-size: .82rem; }
.footer-socials { display: flex; align-items: center; gap: 1.1rem; }
.footer-social-btn {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-social-btn:hover { color: var(--coral); }
.footer-social-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.footer-social-btn svg { width: 28px; height: 28px; }
@media (max-width: 480px) {
  .footer-social-btn svg { width: 34px; height: 34px; }
}

/* ── MOBILE MENU OVERLAY ───────────────────────────────────── */
#mobileMenu {
  display: none; position: fixed; inset: 0;
  background: var(--grape); z-index: 10000;
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
#mobileMenu.open { display: flex; }
.mm-header {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; box-sizing: border-box;
}
.mm-header img { height: 58px; width: auto; }
.mm-close {
  background: rgba(255,255,255,.15); border: none; border-radius: 10px;
  width: 42px; height: 42px; cursor: pointer; color: #fff; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.mm-close:hover { background: rgba(255,255,255,.25); }
.mm-links { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 2rem; padding: 0; margin: 0; }
.mm-links a { color: #fff; text-decoration: none; font-size: 1.35rem; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; }
.mm-links .mm-cta { background: var(--coral); padding: .85rem 2.5rem; border-radius: 50px; margin-top: .5rem; display: block; white-space: nowrap; }

/* ── RESPONSIVE — NAV & FOOTER ─────────────────────────────── */
@media (max-width: 1000px) {
  .nav-inner { padding: 0.9rem 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-logo img { height: 58px; }
  .nav-mobile-btn {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(93,93,152,.1); border: none; cursor: pointer;
    flex-direction: column; gap: 5px;
  }
  .nav-mobile-btn span {
    display: block; width: 22px; height: 2px;
    background: var(--grape); border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }
  footer { padding: 3.5rem 1.5rem 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

@media (min-width: 769px) { .nav-mobile-btn { display: none; } }

/* ── LARGE SCREENS ─────────────────────────────────────────── */
/* Scales everything (text, containers, spacing) proportionally */
/* to match how the site looks at 125% Windows display scaling  */
@media (min-width: 1920px) {
  body { zoom: 1.25; }
}

@media (max-width: 480px) {
  .nav-inner { padding: .7rem 1.25rem; }
  .nav-logo img { height: 58px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-brand {
    width: 100%; text-align: center; padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 1.5rem;
    display: flex; flex-direction: column; align-items: center;
    gap: 1rem;
  }
  .footer-brand a { display: flex; justify-content: center; }
  .footer-brand .footer-logo-img { height: 86px !important; display: block; }
  .footer-brand p { width: 100%; text-align: center; margin: 0; }
  .footer-socials { justify-content: center; margin-top: 0; gap: 1.4rem; }
  .footer-col { padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .footer-col:last-child { border-bottom: none; }
}
