/* Spartan Renovations Stylesheet */
:root {
  --primary-blue: #1d4ed8;       /* Cobalt / Royal Blue from helmet */
  --primary-blue-hover: #1e40af; /* Darker blue on hover */
  --navy-dark: #0f172a;          /* Deep Slate / Black from logo font */
  --accent-gold: #d97706;        /* High-contrast accessible accent */
  --accent-gold-hover: #b45309;  /* Darker gold on hover */
  --bg-light: #f8fafc;           /* Crisp light background */
  --bg-white: #ffffff;
  --text-main: #1e293b;          /* WCAG AAA text contrast */
  --text-muted: #475569;         /* Accessible secondary text (4.8:1+) */
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --radius: 8px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

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

.container {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}



/* Header & Navigation */
header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  color: var(--navy-dark);
  transition: color 0.2s;
  font-size: 0.98rem;
}

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



/* Accessible Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.btn-primary {
  background: var(--primary-blue);
  color: #ffffff !important;
  border: 2px solid var(--primary-blue);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
  color: #ffffff;
}

.btn-accent {
  background: var(--accent-gold);
  color: #ffffff;
  border: 2px solid var(--accent-gold);
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  color: #ffffff;
}

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

.btn-outline:hover,
.btn-outline:focus {
  background: var(--navy-dark);
  color: #ffffff;
}

.btn-white {
  background-color: #ffffff;
  color: var(--navy-dark) !important;
  border: 2px solid #ffffff;
}

.btn-white:hover,
.btn-white:focus {
  background-color: #f1f5f9;
  border-color: #f1f5f9;
  color: var(--navy-dark) !important;
}



/* Hero Section */
.hero {
  background: var(--bg-white);
  padding: 72px 0 80px 0;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 2.85rem;
  line-height: 1.18;
  color: var(--navy-dark);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}



/* Photo Slots */
.photo-slot {
  width: 100%;
  min-height: 360px;
  background: #f1f5f9;
  border: 2px dashed #94a3b8;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #475569;
  text-align: center;
  padding: 24px;
}

.photo-slot span {
  font-weight: 600;
  margin-top: 10px;
  font-size: 0.95rem;
}



/* General Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.3rem;
  color: var(--navy-dark);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 48px auto;
}



/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.step-card {
  background: var(--bg-white);
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--primary-blue);
}

.step-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.3rem;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}



/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.service-card > img {
  width: 100%;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  object-fit: cover;
  display: block;
}

.service-card .card-content {
  padding: 24px;
  flex: 1;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}



/* Pricing & How Our Rates Work Section */
.pricing-section {
  padding: 64px 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px auto;
}

.pricing-header h2 {
  font-size: 2rem;
  color: var(--navy-dark);
  font-weight: 800;
  margin-bottom: 12px;
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--brand-blue, #2563eb);
  position: relative;
}

.pricing-badge {
  display: inline-block;
  background: var(--navy-dark);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.pricing-card h3 {
  font-size: 1.25rem;
  color: var(--navy-dark);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card p,
.pricing-card li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pricing-list {
  margin-top: 12px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-cta-box {
  background: var(--navy-dark);
  color: #ffffff;
  border-radius: 14px;
  padding: 40px 28px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-cta-box h3 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.pricing-cta-box p {
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 24px auto;
  font-size: 1.05rem;
  line-height: 1.6;
}



/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: var(--bg-white);
  padding: 28px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-blue);
  box-shadow: var(--card-shadow);
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.benefit-card h4 {
  font-size: 1.2rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}



/* Banner CTA */
.cta-banner {
  background: var(--navy-dark);
  color: #ffffff;
  padding: 72px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 2.3rem;
  margin-bottom: 16px;
  color: #ffffff;
  font-weight: 800;
}

.cta-banner p {
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 32px auto;
  color: #cbd5e1;
}

.contact-quick-info {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 1rem;
  color: #e2e8f0;
}



/* Footer */
footer {
  background: #020617;
  color: #94a3b8;
  padding: 48px 0 24px 0;
  font-size: 0.9rem;
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}



/* Quick Contact Row Alignment */
.contact-quick-info {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 999px; /* pill shape */
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Hover state for clickable chips (Call and Email) */
a.contact-chip:hover {
  background: #ffffff;
  color: var(--navy-dark) !important;
  border-color: #ffffff;
}

/* Static location badge */
span.contact-chip {
  cursor: default;
}



/* Responsive */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .navbar {
    height: auto;
    padding: 16px 0;
    flex-direction: column;
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
