/* ============================================================
   Coventry Enterprises Group — Shared Stylesheet
   Colors: Navy #1a2f5e | Gold #c9a84c | Light #f5f7fa | Text #222 | Muted #555
   ============================================================ */

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #f5f7fa;
  color: #222;
  line-height: 1.75;
}

a { color: #c9a84c; text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Georgia', serif;
  color: #1a2f5e;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; margin-top: 2rem; }
h3 { font-size: 1.4rem; margin-top: 1.5rem; }
p { margin-bottom: 1rem; color: #333; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }
strong { color: #1a2f5e; }

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

section { padding: 4rem 0; }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #1a2f5e;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-brand span { color: #c9a84c; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  color: #ccd6f0;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover {
  color: #c9a84c;
  border-bottom-color: #c9a84c;
  text-decoration: none;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #1a2f5e 0%, #243d7a 60%, #1a2f5e 100%);
  color: #fff;
  padding: 8rem 1.5rem 5rem;
  text-align: center;
  margin-top: 64px;
}
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero .hero-sub {
  font-size: 1.2rem;
  color: #c9a84c;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  color: #d0d9ee;
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 2rem;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-gold {
  background: #c9a84c;
  color: #1a2f5e;
  border-color: #c9a84c;
}
.btn-gold:hover {
  background: #b8962e;
  border-color: #b8962e;
  color: #fff;
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #c9a84c;
}
.btn-outline:hover {
  background: #c9a84c;
  color: #1a2f5e;
  text-decoration: none;
}

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}
.card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 4px solid #c9a84c;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.card h3 { margin-top: 0; color: #1a2f5e; }
.card p { color: #555; font-size: 0.95rem; }
.card-icon { font-size: 2.2rem; margin-bottom: 1rem; }

/* ── Values / Feature columns ── */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.value-block {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.value-block h3 { color: #1a2f5e; }
.value-block .value-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

/* ── Blog Cards ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.blog-card-img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c9a84c;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.blog-card h3 { font-size: 1.05rem; margin-top: 0; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.9rem; color: #555; flex: 1; }
.blog-card .read-more {
  display: inline-block;
  margin-top: 1rem;
  color: #c9a84c;
  font-weight: bold;
  font-size: 0.9rem;
}

/* ── FAQ (CSS-only accordion style) ── */
.faq-section { background: #fff; border-radius: 8px; padding: 2rem; margin-top: 2rem; }
.faq-section h2 { margin-top: 0; }
.faq-item {
  border-bottom: 1px solid #e5e8ef;
  padding: 1.25rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 1.05rem;
  font-weight: bold;
  color: #1a2f5e;
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.5rem;
}
.faq-q::before {
  content: "Q";
  position: absolute;
  left: 0;
  color: #c9a84c;
  font-weight: 900;
}
.faq-a {
  font-size: 0.97rem;
  color: #444;
  padding-left: 1.5rem;
}

/* ── CTA Section ── */
.cta-section {
  background: #1a2f5e;
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}
.cta-section h2 { color: #fff; margin-top: 0; }
.cta-section p { color: #c0cce8; max-width: 600px; margin: 0 auto 2rem; }

/* ── Quote Block ── */
.quote-block {
  background: linear-gradient(135deg, #1a2f5e, #243d7a);
  color: #fff;
  border-left: 6px solid #c9a84c;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  font-size: 1.15rem;
  font-style: italic;
}
.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #c9a84c;
  font-style: normal;
  font-weight: bold;
}

/* ── Section alternating bg ── */
.section-light { background: #f5f7fa; }
.section-white { background: #fff; }

/* ── Breadcrumbs ── */
.breadcrumbs {
  background: #e8ecf4;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  margin-top: 64px;
}
.breadcrumbs .container { color: #555; }
.breadcrumbs a { color: #1a2f5e; }
.breadcrumbs span { margin: 0 0.4rem; color: #999; }

/* ── Image placeholders ── */
.img-placeholder {
  background: linear-gradient(135deg, #1a2f5e, #243d7a);
  width: 100%;
  height: 320px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a84c;
  font-size: 1.1rem;
  font-style: italic;
}

/* ── Article / content body ── */
.content-body { max-width: 800px; margin: 0 auto; }
.content-body img { margin: 1.5rem 0; border-radius: 6px; }

/* ── Author byline ── */
.author-byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f5f7fa;
  border-left: 4px solid #c9a84c;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.9rem;
  color: #555;
}
.author-byline strong { color: #1a2f5e; }

/* ── Comparison table ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.compare-table th {
  background: #1a2f5e;
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
}
.compare-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #dde3ee;
}
.compare-table tr:nth-child(even) td { background: #f5f7fa; }

/* ── Case study block ── */
.case-study {
  background: #fff;
  border: 1px solid #dde3ee;
  border-left: 5px solid #c9a84c;
  border-radius: 6px;
  padding: 1.75rem;
  margin: 1.75rem 0;
}
.case-study h3 { margin-top: 0; }

/* ── Checklist ── */
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.75rem; position: relative; margin-bottom: 0.6rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: #c9a84c; font-weight: bold; }
.checklist-danger li::before { content: "✗"; color: #c0392b; }

/* ── Contact form ── */
.contact-form {
  background: #fff;
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: bold;
  color: #1a2f5e;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  color: #222;
  background: #fafbfd;
}
.form-group textarea { height: 140px; resize: vertical; }

/* ── Footer ── */
.site-footer {
  background: #0f1e3d;
  color: #aabbd4;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  color: #c9a84c;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-col p { font-size: 0.88rem; line-height: 1.6; }
.footer-col a {
  display: block;
  color: #aabbd4;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: #c9a84c; text-decoration: none; }
.footer-brand {
  font-size: 1.2rem;
  color: #fff;
  font-weight: bold;
  margin-bottom: 0.75rem;
}
.footer-brand span { color: #c9a84c; }
.footer-bottom {
  border-top: 1px solid #1a2f5e;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: #667;
}
.footer-network { margin-top: 1rem; }
.footer-network a { color: #c9a84c !important; }

/* ── Highlight box ── */
.highlight-box {
  background: linear-gradient(135deg, #fff8e8, #fffdf5);
  border: 1px solid #c9a84c;
  border-left: 5px solid #c9a84c;
  padding: 1.5rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}
.highlight-box h3 { margin-top: 0; color: #1a2f5e; }

/* ── Warning box ── */
.warning-box {
  background: #fff5f5;
  border: 1px solid #e74c3c;
  border-left: 5px solid #e74c3c;
  padding: 1.5rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}
.warning-box h3 { margin-top: 0; color: #c0392b; }

/* ── Responsive ── */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 5rem 1rem 3rem; }
  .hero-ctas { flex-direction: column; align-items: center; }

  .nav-links { display: none; }
  .nav-inner { justify-content: center; }

  .cards-grid,
  .blog-grid,
  .cols-3,
  .footer-grid { grid-template-columns: 1fr; }

  .cols-2 { grid-template-columns: 1fr; }

  section { padding: 2.5rem 0; }
  .container { padding: 0 1rem; }

  .compare-table { font-size: 0.82rem; }
  .compare-table th, .compare-table td { padding: 0.5rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
}
