/* style.css - Modern, responsive, SEO-friendly design for Rogers Auto Service */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  line-height: 1.7;
  color: #1e293b;
  background-color: #f8fafc;
  padding: 0;
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- HEADER --- */
header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e9edf2;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: #0b3b5c;
}

.brand::before {
  content: "🔧 ";
  font-weight: 400;
}

nav {
  display: flex;
  gap: 1.8rem;
}

nav a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: #1e6f9f;
  text-decoration: underline;
}

/* --- HERO --- */
.hero {
  background: linear-gradient(145deg, #f1f5f9 0%, #e6edf4 100%);
  padding: 3.5rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 0 2rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #0b2b3f;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.2rem;
  color: #1e3a5f;
  max-width: 680px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

.cta-button {
  display: inline-block;
  background: #1a6d9e;
  color: #ffffff;
  padding: 0.9rem 2.4rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(26, 109, 158, 0.25);
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: #13547a;
  box-shadow: 0 8px 18px rgba(26, 109, 158, 0.3);
  transform: scale(1.02);
}

/* --- ARTICLE SECTION --- */
.article-section {
  padding: 2rem 0 1.5rem;
}

.article-section article {
  background: #ffffff;
  padding: 2.2rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
  border: 1px solid #f0f3f7;
}

.article-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
  color: #0b3b5c;
  border-bottom: 2px solid #e6edf4;
  padding-bottom: 0.4rem;
}

.article-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
  color: #1e4b6b;
}

.article-section p {
  margin-bottom: 1.2rem;
  color: #1e293b;
}

.article-section ul {
  margin: 1.2rem 0 1.8rem 1.8rem;
  list-style-type: disc;
}

.article-section ul li {
  margin-bottom: 0.5rem;
}

.article-section a {
  color: #1a6d9e;
  text-decoration: underline;
  font-weight: 500;
}

.article-section a:hover {
  color: #0b3b5c;
}

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.faq-item {
  background: #f8fafc;
  padding: 0.9rem 1.2rem;
  border-radius: 0.75rem;
  border-left: 4px solid #1a6d9e;
}

/* --- CONTACT SECTION --- */
.contact-section {
  background: #ffffff;
  padding: 2.8rem 1.5rem;
  margin: 2rem 0 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  border: 1px solid #eef2f6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #0b3b5c;
}

.contact-info p {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.contact-info a {
  color: #1a6d9e;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-info .cta-button {
  margin-top: 1.2rem;
}

.contact-map-placeholder .map-card {
  background: #eef2f6;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px dashed #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.map-card span {
  font-size: 1.2rem;
  font-weight: 500;
  color: #1e3a5f;
}

.map-link {
  display: inline-block;
  background: #1e293b;
  color: white;
  padding: 0.6rem 1.8rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.map-link:hover {
  background: #0b2b3f;
}

/* --- FOOTER --- */
footer {
  background: #ffffff;
  border-top: 1px solid #e9edf2;
  padding: 1.8rem 0;
  text-align: center;
  color: #475569;
}

footer a {
  color: #1a6d9e;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* --- RESPONSIVE --- */
@media (max-width: 820px) {
  .container {
    padding: 0 1rem;
  }

  .article-section article {
    padding: 1.8rem 1.2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .hero {
    padding: 2.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 540px) {
  .header-flex {
    flex-direction: column;
    gap: 0.5rem;
  }

  nav {
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand {
    font-size: 1.2rem;
  }

  .cta-button {
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }

  .hero p {
    font-size: 1rem;
  }

  .article-section h2 {
    font-size: 1.6rem;
  }

  .article-section h3 {
    font-size: 1.2rem;
  }

  .faq-item {
    padding: 0.7rem 1rem;
  }

  .contact-info h2 {
    font-size: 1.6rem;
  }
}