/* Auto Care 2000 inspired styles */
:root {
  --red: #c8102e;          /* logo red */
  --blue: #253551;         /* logo blue */
  --dark: #1a1a1a;
  --gray: #4a4a4a;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --border: #e0e0e0;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header / Nav */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, nav right */
  padding: 0.9rem 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;   /* adjust logo size here */
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto; /* pushes links to the right edge */
}

.main-nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 1.50rem; /*Changes the font size for navigation */
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Hero sections */
.hero {
  background: linear-gradient(135deg, #f8f9fb 0%, #eef1f5 100%);
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.page-hero {
  background: var(--light-gray);
  padding: 2.75rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  color: var(--blue);
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
}

.lead {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 620px;
  margin: 0 auto 1.25rem;
}

.hours {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.15s;
}

.btn:hover {
  background: #a50d25;
}

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

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* Content */
.content-section {
  padding: 3rem 0;
}

h2 {
  font-size: 1.45rem;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.narrow {
  max-width: 720px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.service-card {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid var(--red);
}

.hours-note {
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Location / Contact */
.location-preview {
  background: var(--blue);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.location-preview h2 {
  color: var(--white);
}

.location-preview p {
  color: rgba(255,255,255,0.9);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.map-placeholder {
  background: var(--light-gray);
  border: 1px solid var(--border);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--gray);
}

.map-note {
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #ccc;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer p {
  color: #ccc;
  margin-bottom: 0.35rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .main-nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0; /* keep nav centered when header stacks */
  }

  .two-col,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }
}
