/* ===================================================
   Senior Feet Care — Shared Stylesheet
   =================================================== */

:root {
  --color-primary: #2f6f62;
  --color-primary-dark: #204b41;
  --color-primary-light: #e4f2ee;
  --color-accent: #ff8a3d;
  --color-accent-dark: #e56f22;
  --color-text: #2b2b2b;
  --color-text-light: #5c5c5c;
  --color-bg: #fffdf9;
  --color-bg-alt: #f6f1e7;
  --color-border: #e7ddc9;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(32, 75, 65, 0.08);
  --shadow-md: 0 8px 30px rgba(32, 75, 65, 0.12);
  --font-heading: "Georgia", "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.2;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { color: var(--color-text-light); margin: 0 0 16px; }

section { padding: 72px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-cta {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  box-shadow: 0 10px 25px rgba(255, 138, 61, 0.4);
}

.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(255, 138, 61, 0.5); }

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

.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-primary-dark);
}

.logo img { width: 42px; height: 42px; border-radius: 50%; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  color: var(--color-text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-copy .eyebrow {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Services Grid ---------- */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.card .icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.bg-alt { background: var(--color-bg-alt); }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.stars { color: var(--color-accent); font-size: 1.1rem; margin-bottom: 10px; }

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.reviewer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

.reviewer strong { display: block; font-size: 0.95rem; }
.reviewer span { font-size: 0.82rem; color: var(--color-text-light); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  margin: 0 auto;
  max-width: var(--max-width);
}

.cta-band h2, .cta-band p { color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: #dce9e5;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-grid h4 { color: #fff; margin-bottom: 14px; font-family: var(--font-body); font-size: 1rem; }

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #cfe0da; }
.footer-grid a:hover { color: #fff; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}
.footer-logo img { width: 38px; height: 38px; border-radius: 50%; }

.disclaimer {
  font-size: 0.82rem;
  color: #a9c2ba;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  line-height: 1.7;
}

.footer-bottom {
  font-size: 0.82rem;
  color: #a9c2ba;
  text-align: center;
  margin-top: 18px;
}

/* ---------- Blog cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.blog-card img { width: 100%; height: 220px; object-fit: cover; }

.blog-card .blog-body { padding: 26px; }

.blog-meta {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.blog-article img {
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  max-height: 420px;
  width: 100%;
  object-fit: cover;
}

.blog-article h1 { margin-bottom: 8px; }

/* ---------- Contact / forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--color-border);
}

form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

form input, form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* ---------- Legal pages ---------- */
.legal-content h2 { margin-top: 36px; }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content ul { color: var(--color-text-light); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fffdf9;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
  }
  .hamburger { display: flex; }
  .grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
