/* Pembroke Well Drilling - Main Stylesheet */
/* Color scheme: deep blue #1a3a5c, white, orange CTA #e85d04 */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* =====================
   HEADER
===================== */
header {
  background: #1a3a5c;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

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

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.logo-sub {
  color: #a8c8e8;
  font-size: 0.75rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.header-phone:hover {
  color: #f5a623;
}

.btn-estimate-header {
  background: #e85d04;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-estimate-header:hover {
  background: #c94e00;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

/* Navigation */
nav {
  background: #122c47;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 0;
}

nav a {
  color: #d0e4f5;
  text-decoration: none;
  padding: 12px 16px;
  font-size: 0.9rem;
  display: block;
  transition: background 0.2s, color 0.2s;
}

nav a:hover {
  background: #1a3a5c;
  color: #fff;
}

/* =====================
   HERO
===================== */
.hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2238 100%);
  color: #fff;
  padding: 70px 20px;
  text-align: center;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-sub {
  font-size: 1.2rem;
  color: #c8dff0;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  display: inline-block;
  background: #e85d04;
  color: #fff;
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.1s;
}

.btn-cta:hover {
  background: #c94e00;
  transform: translateY(-1px);
}

.hero-trust {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-trust span {
  color: #a8cce5;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-trust span::before {
  content: "✓";
  color: #4caf50;
  font-weight: 700;
}

/* =====================
   SECTIONS
===================== */
section {
  padding: 60px 20px;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

section h2 {
  font-size: 1.9rem;
  color: #1a3a5c;
  margin-bottom: 30px;
  text-align: center;
}

section h3 {
  font-size: 1.3rem;
  color: #1a3a5c;
  margin-bottom: 12px;
}

.bg-light {
  background: #f5f8fc;
}

/* =====================
   SERVICES GRID
===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid #dce8f5;
  border-radius: 6px;
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(26,58,92,0.12);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: #555;
}

.service-card a {
  display: inline-block;
  margin-top: 12px;
  color: #e85d04;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

/* =====================
   SERVICE AREAS
===================== */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.area-tag {
  background: #e8f0f8;
  color: #1a3a5c;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* =====================
   TRUST SECTION
===================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 10px;
}

.trust-item {
  text-align: center;
  padding: 24px 16px;
}

.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.trust-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 0.9rem;
  color: #555;
}

/* =====================
   CTA BANNER
===================== */
.cta-banner {
  background: #1a3a5c;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.cta-banner h2 {
  color: #fff;
  font-size: 1.9rem;
  margin-bottom: 14px;
}

.cta-banner p {
  color: #c8dff0;
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================
   CONTENT PAGES
===================== */
.page-hero {
  background: #1a3a5c;
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1.2;
}

.page-hero p {
  color: #c8dff0;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 20px;
}

.content-section h2 {
  color: #1a3a5c;
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 14px;
  text-align: left;
}

.content-section h3 {
  color: #1a3a5c;
  font-size: 1.2rem;
  margin-top: 24px;
  margin-bottom: 10px;
}

.content-section p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.content-section ul, .content-section ol {
  margin: 0 0 16px 24px;
  line-height: 1.8;
}

.cost-box {
  background: #f0f6ff;
  border-left: 4px solid #1a3a5c;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 6px 6px 0;
}

.cost-box h3 {
  color: #1a3a5c;
  margin-bottom: 8px;
  margin-top: 0;
}

.cost-box ul {
  margin: 8px 0 0 18px;
}

.inline-cta {
  background: #fff4ee;
  border: 2px solid #e85d04;
  border-radius: 6px;
  padding: 24px;
  text-align: center;
  margin: 36px 0;
}

.inline-cta p {
  margin-bottom: 14px;
  font-weight: 600;
  color: #1a3a5c;
}

/* =====================
   FORM PAGE
===================== */
.form-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 50px 20px;
}

.form-intro {
  text-align: center;
  margin-bottom: 30px;
}

.form-intro h1 {
  color: #1a3a5c;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.form-trust-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.form-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #444;
}

.form-trust-item::before {
  content: "✓";
  color: #4caf50;
  font-weight: 700;
}

.estimate-form {
  background: #f5f8fc;
  border: 1px solid #dce8f5;
  border-radius: 8px;
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a3a5c;
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c0d0e0;
  border-radius: 4px;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #1a3a5c;
  box-shadow: 0 0 0 2px rgba(26,58,92,0.15);
}

.btn-submit {
  width: 100%;
  background: #e85d04;
  color: #fff;
  border: none;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  transition: background 0.2s;
  margin-top: 8px;
}

.btn-submit:hover {
  background: #c94e00;
}

.next-steps {
  max-width: 600px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.next-steps h2 {
  color: #1a3a5c;
  font-size: 1.4rem;
  margin-bottom: 24px;
  text-align: center;
}

.steps-list {
  list-style: none;
  padding: 0;
}

.steps-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.step-num {
  background: #1a3a5c;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.step-text strong {
  display: block;
  color: #1a3a5c;
  margin-bottom: 2px;
}

/* =====================
   SERVICE AREA PAGE
===================== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.area-card {
  background: #f5f8fc;
  border-radius: 6px;
  padding: 24px;
  border-left: 4px solid #1a3a5c;
}

.area-card h3 {
  color: #1a3a5c;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.area-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.all-areas {
  margin-top: 40px;
}

.all-areas h3 {
  color: #1a3a5c;
  font-size: 1.2rem;
  margin-bottom: 16px;
  text-align: center;
}

.all-areas-note {
  text-align: center;
  margin-top: 24px;
  font-style: italic;
  color: #555;
}

/* =====================
   FOOTER
===================== */
footer {
  background: #0d2238;
  color: #a0b8cc;
  padding: 50px 20px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  color: #a0b8cc;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid #1a3a5c;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .header-right {
    gap: 12px;
  }

  .btn-estimate-header {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  nav a {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-trust {
    gap: 16px;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .estimate-form {
    padding: 20px 16px;
  }

  .form-trust-row {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 50px 16px;
  }

  .btn-cta {
    padding: 14px 26px;
    font-size: 1rem;
  }

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