/* Shannon Tillery, MD PLLC — Site Styles
   Palette: celestial dusk (lilac marble, mauve orchid, hydrangea, petunia + warm gold / deep plum)
   Fonts: Playfair Display (headers) + EB Garamond (body) */

:root {
  --bg: #F7F3F1;
  --bg-deep: #EFE7E9;
  --white: #FFFFFF;
  --charcoal: #392B3E;
  --charcoal-soft: #6B5C68;
  --border: #E6DBDE;

  /* Primary accent (buttons, links, brand) */
  --primary: #B58299;
  --primary-dark: #4F3466;

  /* Celestial dusk set — bg + matching text tone */
  --rb1-bg: #EDE6DD; --rb1-text: #7D6F58;  /* lilac marble */
  --rb2-bg: #F3E3EA; --rb2-text: #8A4F66;  /* mauve orchid */
  --rb3-bg: #E2E8F5; --rb3-text: #4F6699;  /* hydrangea */
  --rb4-bg: #E8E1EC; --rb4-text: #4F3466;  /* petunia */
  --rb5-bg: #F5EBD8; --rb5-text: #9C7A3D;  /* warm gold */
  --rb6-bg: #F0E0E6; --rb6-text: #6B3B52;  /* deep plum */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'EB Garamond', Georgia, serif;
  color: var(--charcoal);
  background:
    radial-gradient(circle at 10% 10%, rgba(132,155,204,0.10) 0%, transparent 40%),
    radial-gradient(circle at 90% 25%, rgba(181,130,153,0.10) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(156,122,61,0.08) 0%, transparent 40%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-top: 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.85rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; color: var(--charcoal); font-weight: 600; }

p {
  margin-top: 0;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.brand span {
  display: block;
  font-family: 'EB Garamond', serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--charcoal-soft);
  letter-spacing: 0.04em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* Hero — layered glow, evokes the swirled dusk / shimmering water moodboard */
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(181,130,153,0.55) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(79,52,102,0.5) 0%, transparent 50%),
    radial-gradient(circle at 75% 85%, rgba(156,122,61,0.35) 0%, transparent 45%),
    radial-gradient(circle at 20% 90%, rgba(132,155,204,0.45) 0%, transparent 45%),
    linear-gradient(135deg, #EDE6DD 0%, #F3E3EA 35%, #E2E8F5 70%, #E8E1EC 100%);
  padding: 72px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(156,122,61,0.5) 1px, transparent 1.5px),
    radial-gradient(rgba(255,255,255,0.6) 1px, transparent 1.5px);
  background-size: 140px 140px, 90px 90px;
  background-position: 0 0, 45px 60px;
  opacity: 0.5;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 16px;
  color: var(--charcoal);
}

.hero .subhead {
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.15rem;
  color: var(--charcoal-soft);
}

/* Hero with photo */
.hero-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 44px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-photo-wrap {
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  max-width: 380px;
  height: auto;
}

.hero-text {
  text-align: left;
}

.hero-text h1 {
  margin: 0 0 16px;
  max-width: none;
}

.hero-text .subhead {
  margin: 0 0 28px;
  max-width: none;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white) !important;
  padding: 13px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary-dark) !important;
  padding: 11px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  margin-left: 12px;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white) !important;
  text-decoration: none;
}

/* Sections */
section {
  padding: 56px 24px;
}

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

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

/* Highlight cards — cycle through pastel rainbow */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.card {
  background: var(--rb1-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
}

.card:nth-of-type(2) { background: var(--rb4-bg); }
.card:nth-of-type(3) { background: var(--rb5-bg); }

.card h3 {
  color: var(--rb1-text);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.card:nth-of-type(2) h3 { color: var(--rb4-text); }
.card:nth-of-type(3) h3 { color: var(--rb5-text); }

.card p {
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  margin: 0;
}

/* Service blocks — cycle through pastel rainbow via left border */
.service-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 6px solid var(--rb1-text);
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 20px;
}

.service-block:nth-of-type(2) { border-left-color: var(--rb2-text); }
.service-block:nth-of-type(3) { border-left-color: var(--rb4-text); }
.service-block:nth-of-type(4) { border-left-color: var(--rb5-text); }
.service-block:nth-of-type(5) { border-left-color: var(--rb6-text); }

.service-block h3 {
  color: var(--primary-dark);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  background: var(--rb1-bg);
  color: var(--rb1-text);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.tag:nth-of-type(6n+2) { background: var(--rb2-bg); color: var(--rb2-text); }
.tag:nth-of-type(6n+3) { background: var(--rb3-bg); color: var(--rb3-text); }
.tag:nth-of-type(6n+4) { background: var(--rb4-bg); color: var(--rb4-text); }
.tag:nth-of-type(6n+5) { background: var(--rb5-bg); color: var(--rb5-text); }
.tag:nth-of-type(6n+6) { background: var(--rb6-bg); color: var(--rb6-text); }

/* Visit steps — cycle through pastel rainbow */
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--rb1-text);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 18px;
}

.step:nth-of-type(2) { border-left-color: var(--rb2-text); }
.step:nth-of-type(3) { border-left-color: var(--rb5-text); }
.step:nth-of-type(4) { border-left-color: var(--rb6-text); }

.step h3 {
  margin-bottom: 6px;
}

.step .duration {
  color: var(--rb1-text);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.step:nth-of-type(2) .duration { color: var(--rb2-text); }
.step:nth-of-type(3) .duration { color: var(--rb5-text); }
.step:nth-of-type(4) .duration { color: var(--rb6-text); }

/* About page */
.about-hero {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

/* Full, uncropped photo (no circle mask) */
.profile-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(74,68,88,0.08);
  display: block;
}

.headshot-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--rb6-bg);
  border: 2px dashed var(--rb6-text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--rb6-text);
  font-size: 0.85rem;
  padding: 16px;
}

/* FAQ — cycle through pastel rainbow left border */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--rb1-text);
  border-radius: 10px;
  padding: 22px 26px;
  margin-bottom: 14px;
}

.faq-item:nth-of-type(2) { border-left-color: var(--rb2-text); }
.faq-item:nth-of-type(3) { border-left-color: var(--rb3-text); }
.faq-item:nth-of-type(4) { border-left-color: var(--rb4-text); }
.faq-item:nth-of-type(5) { border-left-color: var(--rb5-text); }
.faq-item:nth-of-type(6) { border-left-color: var(--rb6-text); }
.faq-item:nth-of-type(7) { border-left-color: var(--rb1-text); }

.faq-item h3 {
  color: var(--primary-dark);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.faq-item p {
  margin: 0;
  color: var(--charcoal-soft);
}

/* Contact / Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.contact-info {
  background: var(--rb5-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.contact-info h3 {
  color: var(--rb5-text);
}

.contact-info p {
  margin: 0 0 14px;
}

.crisis-note {
  background: var(--white);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  margin-top: 20px;
}

form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--charcoal);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--charcoal);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--charcoal-soft);
}

.checkbox-group input {
  margin-top: 4px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  margin-top: 16px;
}

/* Footer */
footer {
  background:
    radial-gradient(circle at 30% 30%, rgba(181,130,153,0.35) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(79,52,102,0.5) 0%, transparent 50%),
    var(--charcoal);
  color: var(--bg);
  padding: 36px 24px;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: var(--bg);
  text-decoration: underline;
}

footer .footer-crisis {
  margin-top: 10px;
  color: #C7BFCE;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 780px) {
  .cards { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; text-align: center; }
  .headshot-placeholder { margin: 0 auto; }
  .profile-photo { margin: 0 auto; max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text { text-align: center; }
  .hero-text h1, .hero-text .subhead { margin-left: auto; margin-right: auto; }
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 14px;
  }
  nav ul.open { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 1.9rem; }
}
