/* Rebecca Guthrie, FNP-BC — site stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Lato:wght@400;700&family=Cormorant+Garamond:ital,wght@1,500;1,600&display=swap');

:root {
  --sage: #4F8AA3;
  --sage-dark: #2F4E66;
  --cream: #FFF8F1;
  --cream-dark: #F7E9DE;
  --charcoal: #322E36;
  --terracotta: #D9738A;
  --terracotta-dark: #B8566C;
  --gold: #EFC077;
  --white: #FFFFFF;
  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', Arial, sans-serif;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--sage-dark);
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--sage-dark);
  letter-spacing: 0.3px;
}

.wordmark span {
  display: block;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--terracotta);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

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

nav a:hover, nav a.active { color: var(--sage-dark); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--terracotta-dark); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--sage-dark) !important;
  border: 2px solid var(--sage);
  padding: 11px 26px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
}
.btn-outline:hover { background: var(--sage); color: var(--white) !important; }

/* Hero */
.hero {
  background: var(--cream);
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-contour {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 130px;
  z-index: 1;
}
.hero .container { max-width: 780px; position: relative; z-index: 2; }
.hero h1 { margin-bottom: 18px; }
.hero p.sub { font-size: 1.2rem; color: var(--charcoal); margin-bottom: 12px; }
.hero p.topics { font-size: 1rem; color: #5f6a5f; margin-bottom: 30px; }
.hero .cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Real-photo hero (homepage) ===== */
.hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
}
.hero-photo .hero-photo-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('https://images.pexels.com/photos/6070608/pexels-photo-6070608.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center 50%;
  animation: photoKenBurns 55s ease-in-out infinite alternate;
}
@keyframes photoKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
.hero-photo .hero-photo-tint {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(20,20,40,0.06) 0%,
    rgba(20,20,40,0.08) 45%,
    rgba(25,20,35,0.32) 78%,
    rgba(15,12,25,0.55) 100%);
}
.hero-photo .container { position: relative; z-index: 2; max-width: 780px; }
.hero-photo h1 { color: #fff; margin-bottom: 18px; text-shadow: 0 2px 14px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.6); }
.hero-photo p.sub { color: #fff; font-size: 1.2rem; margin-bottom: 12px; text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.hero-photo p.topics { color: #f1f2ec; font-size: 1rem; margin-bottom: 30px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-photo .cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-photo .btn-outline-photo {
  display: inline-block; background: rgba(255,255,255,0.08); color: #fff !important;
  border: 2px solid rgba(255,255,255,0.85); padding: 11px 26px; border-radius: 30px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
}
.hero-photo .btn-outline-photo:hover { background: rgba(255,255,255,0.2); }
@media (prefers-reduced-motion: reduce) {
  .hero-photo .hero-photo-bg { animation: none; }
}

/* ===== Page banner (About / Services / Contact) ===== */
.page-banner {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
}
.page-banner .page-banner-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('https://images.pexels.com/photos/6070608/pexels-photo-6070608.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center 60%;
  animation: photoKenBurns 70s ease-in-out infinite alternate;
}
.page-banner .page-banner-tint {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(20,20,40,0.10) 0%,
    rgba(20,20,40,0.14) 45%,
    rgba(25,20,35,0.38) 78%,
    rgba(15,12,25,0.6) 100%);
}
.page-banner .container { position: relative; z-index: 2; max-width: 780px; }
.page-banner h1 { color: #fff; font-size: 2rem; margin-bottom: 8px; text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.page-banner p.sub { color: #fff; margin-bottom: 0; text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
@media (prefers-reduced-motion: reduce) {
  .page-banner .page-banner-bg { animation: none; }
}
@media (max-width: 600px) {
  .hero-photo h1 { font-size: 1.9rem; }
  .hero-photo { min-height: 440px; padding: 46px 0; }
  .page-banner { min-height: 190px; padding: 30px 0; }
  .page-banner h1 { font-size: 1.6rem; }
}

/* Section */
section { padding: 64px 0; }
section.alt { background: var(--white); }

.section-title { text-align: center; margin-bottom: 40px; }
.section-title p { color: #6b6d64; max-width: 600px; margin: 8px auto 0; }

/* Grid / cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 14px;
  padding: 30px 26px;
}
.card.alt-bg { background: var(--cream); border: 1px solid var(--cream-dark); }

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* Photo placeholder */
.photo-placeholder {
  background: var(--cream-dark);
  border: 2px dashed var(--sage);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 20px;
  min-height: 320px;
}

/* Newsletter box */
.newsletter-box {
  background: var(--sage);
  color: var(--white);
  border-radius: 16px;
  padding: 44px 36px;
  text-align: center;
}
.newsletter-box h2 { color: var(--white); }
.newsletter-box p { color: var(--cream); }

.signup-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.signup-form input[type="email"] {
  padding: 13px 18px;
  border-radius: 30px;
  border: none;
  min-width: 260px;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
}
.signup-form button {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
}
.signup-form button:hover { background: var(--terracotta-dark); }

/* Pricing / services list */
.service-item {
  border-bottom: 1px solid var(--cream-dark);
  padding: 28px 0;
}
.service-item:last-child { border-bottom: none; }
.service-item h3 { color: var(--terracotta); }

/* Contact form */
.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #c9c5b8;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button { margin-top: 20px; }

/* Footer */
footer.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 40px 0 30px;
  text-align: center;
  font-size: 0.9rem;
}
footer.site-footer a { color: var(--terracotta); }
footer.site-footer .disclaimer {
  color: #b3b5a9;
  max-width: 700px;
  margin: 16px auto 0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav a { color: var(--cream); font-weight: 700; }
.footer-nav a:hover { color: var(--terracotta); }

@media (max-width: 600px) {
  h1 { font-size: 1.9rem; }
  .hero { padding: 56px 0 46px; }
  section { padding: 46px 0; }
}
