/* ============================
   Heritage Auto Data – Global Styles
   main.css (Public Site)
================================*/

/* ----------- ROOT THEME ----------- */
:root {
  --brand-red: #6b2020;
  --brand-dark: #1e1e1e;
  --brand-grey: #2b2b2b;
  --brand-light: #f5f5f5;
  --accent: #3498db;
  --radius: 14px;
  --transition: 0.25s ease;
}

/* ----------- BASE RESET ----------- */
body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  margin: 0;
  background: var(--brand-light);
  color: #222;
  line-height: 1.6;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* ----------- HEADER ----------- */
header {
  background: var(--brand-red);
  padding: 1.5rem 1rem;
  color: #fff;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
header img {
  height: 80px;
  margin-bottom: 0.4rem;
}
header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

/* ----------- NAV BAR ----------- */
nav {
  background: var(--brand-dark);
  padding: 0.9rem 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
nav a {
  color: #fff;
  margin: 0 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}
nav a:hover {
  color: var(--accent);
}

/* ----------- HERO SECTIONS ----------- */
.hero,
.daisy-hero {
  background-size: cover;
  background-position: center;
  padding: 2.5rem 1rem;
  color: #fff;
  text-align: center;
  background-color: rgba(0,0,0,0.4);
  background-blend-mode: overlay;
}
.daisy-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
}
.daisy-hero p {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.15rem;
}

/* ----------- PRICING TABLES ----------- */
.pricing-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.pricing-section h2 {
  color: var(--brand-red);
  text-align: center;
}
.pricing-table th {
  background: var(--brand-red);
  color: #fff;
  padding: 1.2rem;
}
.pricing-table td {
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}
.price-tbd {
  font-weight: bold;
  color: var(--brand-red);
}

/* ----------- MANUALS GRID ----------- */
.manuals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.manual-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transition: var(--transition);
}
.manual-card:hover {
  transform: translateY(-6px);
}
.manual-card i {
  font-size: 3rem;
  color: var(--brand-red);
  margin-bottom: 0.5rem;
}

/* ----------- FORMS ----------- */
form {
  background: #fff;
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
form input,
form textarea,
form select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
}
form button {
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}
form button:hover {
  background: #277bb2;
}

/* ----------- FOOTER ----------- */
footer {
  background: var(--brand-dark);
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
}
footer a {
  color: #fff;
  margin-left: 0.5rem;
  font-size: 1.5rem;
}
footer a:hover {
  color: var(--accent);
}

/* ----------- UTILITY CLASSES ----------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}
.text-center {
  text-align: center;
}
.shadow {
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
