/* Global styles */
* {
  box-sizing: border-box;
}
 
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f5;
  color: #222;
}
 
/* Top bar */
.top-bar {
  background: #0b7a3b;
  color: #fff;
  padding: 8px 24px;
  font-size: 13px;
}
 
/* Header / nav */
.header {
  background: #0f8b3a;
  color: #fff;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
 
.header .logo {
  font-weight: 800;
  letter-spacing: 1px;
}
 
.header .tagline {
  font-size: 12px;
  opacity: 0.9;
}
 
.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
 
.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
 
.nav a:hover {
  text-decoration: underline;
}
 
.nav .phone-pill {
  background: #ffc107;
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}
 
/* Layout container */
.container {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 16px;
}
 
/* Hero */
.hero {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
 
.hero-title {
  font-size: 32px;
  margin: 0 0 8px;
}
 
.hero-subtitle {
  font-size: 20px;
  margin: 0 0 12px;
}
 
.hero p {
  font-size: 14px;
  margin-bottom: 10px;
}
 
.hero-buttons {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
 
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
 
.btn-primary {
  background: #0f8b3a;
  color: #fff;
}
 
.btn-primary:hover {
  background: #0c6c2f;
}
 
.btn-secondary {
  background: #ffc107;
  color: #222;
}
 
.btn-secondary:hover {
  background: #e5ae06;
}
 
.badge-note {
  margin-top: 12px;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fdf7e3;
  border: 1px dashed #f2cf68;
}
 
/* Hero right – neutral box instead of car photo */
.hero-visual {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f8b3a 0%, #f1c40f 50%, #ffffff 100%);
  min-height: 220px;
  overflow: hidden;
}
 
.hero-visual::after {
  content: "Carzone Motorz";
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 13px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
}
 
/* Section titles */
.section-title {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 22px;
}
 
/* Three-column info boxes */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 16px;
}
 
.info-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  font-size: 14px;
}
 
.info-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 16px;
}
 
/* Inventory cards */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 16px;
  margin-top: 16px;
}
 
.inventory-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  font-size: 14px;
}
 
.inventory-card img {
  width: 100%;
  display: block;
}
 
.inventory-card-body {
  padding: 12px 14px 14px;
}
 
.inventory-meta {
  font-size: 12px;
  color: #555;
}
 
/* Forms */
.form-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-width: 700px;
  margin-top: 16px;
}
 
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
 
.form-group {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
 
label {
  font-size: 13px;
  margin-bottom: 4px;
}
 
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 8px 10px;
  font-size: 14px;
}
 
textarea {
  min-height: 80px;
  resize: vertical;
}
 
small.muted {
  font-size: 11px;
  color: #777;
}
 
/* Footer */
.footer {
  margin-top: 40px;
  background: #0d5d29;
  color: #fff;
  padding: 28px 16px;
}
 
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1.1fr);
  gap: 18px;
  font-size: 13px;
}
 
.footer h4 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 15px;
}
 
.footer a {
  color: #ffe082;
  text-decoration: none;
  font-size: 13px;
}
 
.footer a:hover {
  text-decoration: underline;
}
 
.footer-bottom {
  text-align: center;
  margin-top: 16px;
  font-size: 11px;
  color: #e0e0e0;
}
 
/* Mobile tweaks */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
