/* =============================================
   Issaquah Valley Natural Medicine — Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  --green-dark:   #3d6b47;
  --green-mid:    #5a8a5e;
  --green-light:  #8fbc8f;
  --green-pale:   #eef5ee;
  --cream:        #f8f5ef;
  --navy:         #1c2e3d;
  --text:         #3a3a3a;
  --text-light:   #6b6b6b;
  --white:        #ffffff;
  --border:       #dde8dd;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.3;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green-mid); }

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  height: 48px;
  width: auto;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-text .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.nav-brand-text .brand-sub {
  font-size: 0.72rem;
  color: var(--green-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.03em;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--green-pale);
  color: var(--green-dark);
}

.nav-cta {
  background: var(--green-dark) !important;
  color: var(--white) !important;
  border-radius: 6px;
  padding: 10px 18px !important;
}

.nav-cta:hover {
  background: var(--green-mid) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #2d5a35 0%, #3d6b47 40%, #5a8a5e 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text { flex: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #d4edda;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: #a8d5a2;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--green-dark);
}

.btn-primary:hover {
  background: #eef5ee;
  color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--white);
}

.hero-graphic {
  flex-shrink: 0;
  opacity: 0.18;
}

.hero-graphic img {
  height: 320px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ══════════════════════════════════════
   TRUST BAR
══════════════════════════════════════ */
.trust-bar {
  background: var(--navy);
  padding: 20px 0;
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-item svg {
  color: var(--green-light);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* ══════════════════════════════════════
   SERVICES CARDS
══════════════════════════════════════ */
.services-section { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green-dark);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ══════════════════════════════════════
   DOCTOR SECTION
══════════════════════════════════════ */
.doctor-section { background: var(--white); }

.doctor-card {
  display: flex;
  gap: 60px;
  align-items: center;
  background: var(--green-pale);
  border-radius: 20px;
  padding: 56px;
  border: 1px solid var(--border);
}

.doctor-photo {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background-image: url('../images/dr_nowicki.jpg');
  background-size: cover;
  background-position: center 8%;
  border: 4px solid var(--green-light);
  user-select: none;
  -webkit-user-select: none;
}

.doctor-photo-placeholder {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--green-light);
}

.doctor-photo-placeholder svg {
  color: rgba(255,255,255,0.7);
}

.doctor-info { flex: 1; }

.doctor-info .section-label { text-align: left; }

.doctor-info h2 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.doctor-credential {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

.doctor-info p {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
}

/* ══════════════════════════════════════
   NEW PATIENTS
══════════════════════════════════════ */
.patients-section { background: var(--cream); }

.patients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.patient-step {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--green-pale);
  line-height: 1;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 12px;
}

.patient-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.patient-step p {
  color: var(--text-light);
  font-size: 0.93rem;
}

.forms-box {
  background: var(--green-dark);
  border-radius: 14px;
  padding: 36px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.forms-box h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.forms-box p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.forms-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-form {
  background: var(--white);
  color: var(--green-dark);
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-form:hover {
  background: var(--green-pale);
  color: var(--green-dark);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-details h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.contact-details > p {
  color: var(--text-light);
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
  font-size: 0.9rem;
}

.contact-item-text span,
.contact-item-text a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 380px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ══════════════════════════════════════
   CTA BAND
══════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 48px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-about p {
  font-size: 0.87rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--white); }

.footer-col p {
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
}

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #2d5a35, #3d6b47);
  padding: 64px 0 48px;
  text-align: center;
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  section { padding: 56px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 4px;
  }

  .nav-links.open { display: flex; }

  nav { position: relative; }

  .nav-toggle { display: flex; }

  .hero { padding: 64px 0 56px; }

  .hero-inner { flex-direction: column; gap: 32px; }

  .hero-graphic { display: none; }

  .doctor-card {
    flex-direction: column;
    padding: 36px 28px;
    text-align: center;
  }

  .doctor-tags { justify-content: center; }
  .doctor-info .section-label { text-align: center; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .trust-bar .container { gap: 24px; }

  .forms-box { flex-direction: column; }
}
