
/* =========================
   GLOBAL / BASE
========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* =========================
   HOME PAGE BACKGROUND
========================= */

body.home-page {
  background: url('../images/main back.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
}

/* =========================
   HEADER + NAV
========================= */

.logo-header {
  padding: 20px 0 10px;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.logo-header img {
  max-width: 320px; /* slightly smaller so nav fits */
  height: auto;
  display: block;
}

/* Nav */
.top-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(0,0,0,0.25);
}

.top-nav a:hover {
  background: rgba(0,0,0,0.4);
}

/* Nav CTA matches your button vibe */
.top-nav .nav-cta {
  background-color: #1a73e8;
  border-radius: 6px;
}

.top-nav .nav-cta:hover {
  background-color: #155bc0;
}

/* =========================
   LAYOUT HELPERS
========================= */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center; /* IMPORTANT: readable, professional */
}

/* =========================
   HERO
========================= */

.hero {
  padding: 30px 0 10px;
}

.hero .container {
  /* translucent panel for readability on photo background */
  background-color: rgba(0, 0, 0, 0.60);
  border-radius: 12px;
  padding: 28px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.2;
  text-align: center;
}

.hero-subhead {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
}

.hero-lead {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Secondary button */
.secondary-button {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
}

.secondary-button:hover {
  background: rgba(255,255,255,0.20);
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 32px 0;
}

/* Alternating background panels so sections don’t blend together */
.section .container {
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  padding: 26px;
}

.section-alt .container {
  background-color: rgba(0, 0, 0, 0.68);
}

.section h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.section p {
  margin: 0 0 14px;
  font-size: 16.5px;
  line-height: 1.6;
}

.section-lead {
  opacity: 0.95;
}

/* =========================
   FEATURE LISTS
========================= */

.feature-list {
  list-style-position: inside;
  padding-left: 0;
  text-align: center;
}

.feature-list li {
  text-align: center;
}

/* =========================
   SERVICE CARDS
========================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 16px;
}

.card h4 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  opacity: 0.95;
}

/* =========================
   BUTTONS (KEEP YOUR ORIGINAL)
========================= */

.quote-button {
  background-color: #1a73e8;
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

.quote-button:hover {
  background-color: #155bc0;
}

/* Quote section minor text */
.quote-note {
  margin: 12px 0 0;
  font-size: 14.5px;
  opacity: 0.95;
}

.quote-note a {
  color: #fff;
  text-decoration: underline;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  padding: 22px 0 34px;
}

.footer-inner {
  text-align: center;
  background: rgba(0,0,0,0.55);
  border-radius: 12px;
  padding: 16px;
}

.footer-badge {
  max-width: 120px;
  height: auto;
  display: inline-block;
  margin-bottom: 8px;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .top-nav {
    justify-content: center;
  }

  .logo-header img {
    max-width: 280px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 28px;
  }
}

/* =========================
   QUOTE PAGE (YOUR ORIGINAL, KEPT)
========================= */

body.quote-page {
  background: url('../images/quote back.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.form-container {
  background-color: rgba(255, 255, 255, 0.95);
  max-width: 500px;
  margin: 5% auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  text-align: center;
}

form input, form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

form textarea {
  height: 120px;
  resize: vertical;
}

form button {
  background-color: #1a73e8;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #155bc0;
}