/* === Newcastle Pet Cremation — Shared Styles === */

:root {
  --sage: #5b7b6f;
  --sage-dark: #3d5a4e;
  --sage-light: #e8f0eb;
  --sage-subtle: #f4f8f6;
  --cream: #faf7f2;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --border: #e0ddd6;
  --white: #ffffff;
  --shadow: rgba(0,0,0,0.06);
  --shadow-md: rgba(0,0,0,0.10);
  --max-width: 1140px;
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 1.9rem; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; font-size: 1.05rem; }

a { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--sage); }

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

/* ── Navigation ── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 1.1rem; font-weight: 700; color: var(--sage-dark);
  text-decoration: none; letter-spacing: -0.3px;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 0.95rem; color: var(--text-light); text-decoration: none;
  font-family: -apple-system, 'Segoe UI', sans-serif;
}
.nav-links a:hover { color: var(--sage-dark); }
.nav-cta {
  background: var(--sage-dark); color: var(--white) !important; padding: 8px 18px;
  border-radius: 4px; font-family: -apple-system, 'Segoe UI', sans-serif;
  font-size: 0.9rem; text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--sage); color: var(--white) !important; }

/* ── Hero ── */
.hero {
  background: var(--cream);
  padding: 100px 24px 80px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--sage), #8fb3a2, var(--sage));
}
.hero h1 { font-size: 2.8rem; max-width: 700px; margin: 0 auto 16px; }
.hero p {
  font-size: 1.15rem; color: var(--text-light); max-width: 560px;
  margin: 0 auto 32px; line-height: 1.6;
}
.hero-cta {
  display: inline-block; background: var(--sage-dark); color: var(--white);
  padding: 14px 32px; border-radius: 4px; font-size: 1.05rem;
  text-decoration: none; font-family: -apple-system, 'Segoe UI', sans-serif;
  transition: background 0.2s;
}
.hero-cta:hover { background: var(--sage); color: var(--white); }

/* ── Sections ── */
section { padding: 80px 24px; }
.section-subtitle {
  text-align: center; color: var(--text-light); font-size: 1.1rem;
  max-width: 560px; margin: 0 auto 48px;
}

/* ── Service Cards ── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; padding: 40px 32px; text-align: center;
  box-shadow: 0 2px 12px var(--shadow);
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 4px 20px var(--shadow-md); }
.service-card .icon {
  width: 56px; height: 56px; margin: 0 auto 20px;
  background: var(--sage-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; color: var(--text-light); }

/* ── Two-column ── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.two-col img {
  width: 100%; border-radius: 6px; box-shadow: 0 4px 20px var(--shadow-md);
}

/* ── Testimonials ── */
.testimonial {
  background: var(--sage-subtle); padding: 48px 32px;
  border-left: 4px solid var(--sage); border-radius: 0 6px 6px 0;
  margin-bottom: 24px;
}
.testimonial p { font-style: italic; margin-bottom: 8px; }
.testimonial .author { font-size: 0.9rem; color: var(--sage); font-weight: 600; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--sage-dark); color: var(--white); text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.8); }
.cta-banner .hero-cta { background: var(--white); color: var(--sage-dark); }
.cta-banner .hero-cta:hover { background: var(--sage-light); }

/* ── Contact Form ── */
.contact-form { max-width: 560px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; margin-bottom: 6px; font-size: 0.9rem;
  font-family: -apple-system, 'Segoe UI', sans-serif; color: var(--text);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 4px; font-size: 1rem; font-family: inherit;
  background: var(--white);
}
.form-group textarea { min-height: 120px; }
.form-submit {
  background: var(--sage-dark); color: var(--white); border: none;
  padding: 14px 32px; border-radius: 4px; font-size: 1rem; cursor: pointer;
  font-family: -apple-system, 'Segoe UI', sans-serif;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--sage); }

/* ── Pricing Table ── */
.pricing-table {
  width: 100%; border-collapse: collapse; margin-top: 24px;
}
.pricing-table th {
  text-align: left; padding: 14px 16px;
  background: var(--sage-dark); color: var(--white);
  font-family: -apple-system, 'Segoe UI', sans-serif; font-weight: 500;
}
.pricing-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.pricing-table tr:nth-child(even) { background: var(--sage-subtle); }

/* ── Breadcrumbs ── */
.breadcrumbs {
  padding: 16px 0; font-size: 0.85rem; color: var(--text-light);
  font-family: -apple-system, 'Segoe UI', sans-serif;
}
.breadcrumbs a { color: var(--text-light); text-decoration: none; }
.breadcrumbs a:hover { color: var(--sage-dark); }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
.faq-item h3 { color: var(--sage-dark); cursor: pointer; margin-bottom: 8px; }
.faq-item p { color: var(--text-light); }

/* ── Footer ── */
footer {
  background: var(--sage-dark); color: rgba(255,255,255,0.8);
  padding: 60px 24px 40px; font-family: -apple-system, 'Segoe UI', sans-serif;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  max-width: var(--max-width); margin: 0 auto 40px;
}
.footer-grid h4 {
  color: var(--white); font-size: 1rem; margin-bottom: 12px;
  font-family: -apple-system, 'Segoe UI', sans-serif;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  max-width: var(--max-width); margin: 0 auto;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2rem; }
  .services-grid, .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 48px 16px; }
  .hero { padding: 60px 16px 48px; }
}
