/* Sahay Care — shared stylesheet */

:root {
  --teal-dark: #1f4d47;
  --teal: #2f7a6f;
  --teal-light: #e7f2ef;
  --orange: #e8823c;
  --cream: #fbf8f3;
  --text: #2b2b28;
  --muted: #6a6a63;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 77, 71, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand .name {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-dark);
}

.brand .tagline {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--teal);
  border-bottom-color: var(--orange);
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover { background: #d6712c; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}

.nav-cta { display: flex; align-items: center; gap: 16px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--teal-dark);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  padding: 96px 24px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Light darkening only, so the photo carousel stays visible behind the text */
  background: linear-gradient(100deg, rgba(10,20,18,0.58) 0%, rgba(10,20,18,0.32) 45%, rgba(10,20,18,0.15) 100%);
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
}

.hero-dot.active { background: var(--white); }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 16px;
}

.hero p.lede {
  font-size: 18px;
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 520px;
}

.quote-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 28px;
  font-style: italic;
  font-size: 18px;
}

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

.section-title {
  text-align: center;
  font-size: 30px;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.section-eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-lede {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--muted);
}

/* Cards grid */
.card-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}

.card:hover { transform: translateY(-4px); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 10px; color: var(--teal-dark); }
.card p { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.card .link { font-weight: 700; color: var(--orange); font-size: 14px; }

/* Locations */
.locations {
  background: var(--teal-light);
}

.location-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.location-grid .loc {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.location-grid .loc h4 { color: var(--teal-dark); margin: 0; }

/* Pricing */
.pricing-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  text-align: center;
  border-top: 4px solid var(--teal);
}

.price-card.featured { border-top-color: var(--orange); transform: scale(1.03); }

.price-card h3 { color: var(--teal-dark); margin-bottom: 4px; }
.price-card .price { font-size: 34px; font-weight: 800; color: var(--orange); margin: 12px 0; }
.price-card .price span { font-size: 14px; font-weight: 500; color: var(--muted); }

.price-card ul { list-style: none; padding: 0; margin: 20px 0; text-align: left; }
.price-card ul li { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 14px; color: var(--text); }
.price-card ul li::before { content: "\2713  "; color: var(--teal); font-weight: 700; }

.price-note {
  max-width: 700px;
  margin: 32px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  background: var(--teal-light);
  border-radius: var(--radius);
  padding: 18px 22px;
}

/* Contact */
.contact-wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

form.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

form.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label { font-size: 13px; font-weight: 700; color: var(--teal-dark); margin-bottom: 6px; display: block; }

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d9d4c9;
  font-family: inherit;
  font-size: 14px;
  background: var(--cream);
}

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

.info-block h3 { color: var(--teal-dark); }
.info-block p { color: var(--muted); }
.info-block .info-item { margin-bottom: 20px; }
.info-block .info-item strong { display: block; color: var(--text); }

.form-status { font-size: 14px; margin-top: 6px; display: none; }
.form-status.success { color: var(--teal); display: block; }
.form-status.error { color: #b8452f; display: block; }

/* Footer */
footer.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.85);
  padding: 40px 24px 24px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-inner .col h4 { color: var(--white); margin-top: 0; }
.footer-inner .col p, .footer-inner .col a { color: rgba(255,255,255,0.75); font-size: 14px; display:block; margin-bottom: 6px; }

.footer-bottom {
  max-width: 1120px;
  margin: 24px auto 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  font-size: 13px;
  text-align: center;
  color: rgba(255,255,255,0.6);
}

/* Service detail hero */
.page-hero {
  background: var(--teal-light);
  padding: 48px 24px;
  text-align: center;
}

.page-hero h1 { color: var(--teal-dark); margin-bottom: 8px; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* Responsive */
@media (max-width: 860px) {
  nav.main-nav, .nav-cta .btn-outline { display: none; }
  .menu-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; }
  .card-grid, .location-grid, .pricing-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  form.contact-form .row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
