/* ============================================================
   Garage Door Repair Amarillo Texas — Shared Stylesheet
   Copied from the Odessa sprinkler site, with a stronger
   CALL NOW button, a taller hero, and more whitespace.
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #f0f0f0;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: #1a1a1a; }
h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; margin-bottom: 0.85rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
ul { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

/* ---------- Page Wrapper ---------- */
.site-wrapper {
  max-width: 100%;
  margin: 0;
  background: #fff;
  border: none;
  min-height: 100vh;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.header-phone a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2e7d32;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(46, 125, 50, 0.35);
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.header-phone a:hover,
.header-phone a:focus {
  background: #1b5e20;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(27, 94, 32, 0.45);
}

.site-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 14px;
  color: #333;
  border: 2px solid transparent;
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
}
.site-nav a:hover { border-color: #bbb; text-decoration: none; color: #2e7d32; }
.site-nav a.active { border: 2px solid #333; color: #1a1a1a; text-decoration: none; }

/* ---------- Two-Column Layout ---------- */
.page-body {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 0;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.main-col {
  padding: 44px 48px 64px 48px;
  border-right: 1px solid #e8e8e8;
}

.sidebar-col {
  padding: 44px 28px 48px 36px;
  position: sticky;
  top: 0;
}

/* ---------- Sidebar Quote Form ---------- */
.quote-badge {
  background: #2e7d32;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  padding: 20px 20px;
  line-height: 1.4;
  border-radius: 4px 4px 0 0;
  position: relative;
}
.quote-badge::after {
  content: '';
  display: block;
  margin: 8px auto 0;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid rgba(255,255,255,0.5);
}

.quote-form {
  border: 1px solid #d0d0d0;
  border-top: none;
  padding: 28px 24px;
  border-radius: 0 0 4px 4px;
}

.quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background: #fafafa;
  transition: border-color 0.2s;
  margin-bottom: 14px;
}
.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: #2e7d32;
  background: #fff;
}
.quote-form textarea { resize: vertical; min-height: 100px; }

.quote-form .btn-submit {
  width: 100%;
  padding: 16px;
  border: 2px solid #333;
  background: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
.quote-form .btn-submit:hover { background: #333; color: #fff; }

/* ---------- Image Placeholders ---------- */
.img-placeholder {
  width: 100%;
  background: #e8ecf0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.85rem;
  text-align: center;
  border: 1px solid #d5d9de;
  border-radius: 4px;
  padding: 20px;
  gap: 10px;
}
.img-placeholder .img-icon {
  font-size: 2.5rem;
  opacity: 0.5;
}

/* ---------- Hero Section ---------- */
.hero-section {
  margin-bottom: 56px;
}
.hero-section h1 {
  font-size: 2.05rem;
  margin-bottom: 24px;
  color: #1a1a1a;
}
.hero-image {
  height: 400px;
  width: 100%;
  object-fit: cover;
  object-position: center 62%;
  border-radius: 6px;
  margin-bottom: 32px;
}

/* The main CALL NOW button: solid green pill, full width, with the number */
.btn-call-now {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 22px 32px 20px;
  background: #2e7d32;
  color: #fff;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 2.5px;
  border: none;
  border-radius: 999px;
  text-align: center;
  box-shadow: 0 6px 22px rgba(46, 125, 50, 0.42);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
}
.btn-call-now .btn-phone {
  display: block;
  font-size: 1.28rem;
  letter-spacing: 1.2px;
  margin-top: 7px;
  font-weight: 700;
}
.btn-call-now:hover,
.btn-call-now:focus {
  background: #1b5e20;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(27, 94, 32, 0.5);
}

/* ---------- Intro Text ---------- */
.intro-section { margin-bottom: 56px; }
.intro-section h3 { margin-top: 28px; }

/* ---------- Service Blocks ---------- */
.service-blocks { margin-bottom: 56px; }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 52px;
  border-bottom: 1px solid #eee;
}
.service-block:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-block-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}
.service-block-text h3 { color: #1a5c1e; font-size: 1.3rem; margin-bottom: 12px; }
.service-block-text p { margin-bottom: 0; }

/* Focal points so photos aren't cropped through the subject */
.img-pos-door { object-position: center 78%; }
.img-pos-spring { object-position: center 28%; }
.img-pos-tracks { object-position: center 38%; }
.img-pos-opener { object-position: center 48%; }
.img-pos-interior { object-position: center 42%; }
.img-pos-house { object-position: center 72%; }

/* ---------- FAQ Section ---------- */
.faq-section {
  margin-bottom: 56px;
}
.faq-section h2 { color: #1a1a1a; margin-bottom: 22px; }
.faq-item {
  margin-bottom: 8px;
  padding-bottom: 28px;
  border-bottom: 1px solid #eee;
}
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item h3 { color: #1a5c1e; font-size: 1.1rem; margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; }

/* ---------- Service Area / Map Section ---------- */
.map-section {
  background: #f5f7f5;
  padding: 40px 36px;
  margin: 0 -48px 56px;
}
.map-section h2 { margin-bottom: 28px; }
.map-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.map-embed {
  height: 300px;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }
.location-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.location-columns a {
  display: block;
  padding: 8px 0;
  color: #1a5c1e;
  font-weight: 600;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.95rem;
}
.location-columns a:hover { color: #2e7d32; text-decoration: none; background: none; }

/* ---------- Contact Callout ---------- */
.contact-callout { margin-bottom: 40px; }
.contact-callout h2 { margin-bottom: 14px; }
.contact-callout p { margin-bottom: 0; }

/* ---------- Gallery Row ---------- */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.gallery-row img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

/* ---------- Testimonials (kept from Odessa stylesheet, unused) ---------- */
.testimonials {
  margin-bottom: 48px;
}
.testimonials h2 { margin-bottom: 24px; }
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  background: #fafafa;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #444;
  font-size: 0.93rem;
  margin-bottom: 12px;
  line-height: 1.6;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
  color: #2e7d32;
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  padding: 8px 0 8px;
}
.btn-call-filled {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 56px 16px;
  background: #2e7d32;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.38);
  text-decoration: none;
  line-height: 1.15;
}
.btn-call-filled .btn-phone {
  display: block;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-top: 5px;
  font-weight: 700;
}
.btn-call-filled:hover,
.btn-call-filled:focus {
  background: #1b5e20;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 6px 20px rgba(27, 94, 32, 0.45);
}

/* ---------- Inner Page Styles ---------- */
.inner-hero-img { height: 300px; margin-bottom: 28px; }
.services-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 32px;
}
.services-list li {
  padding: 12px 16px;
  border-left: 4px solid #2e7d32;
  background: #f5f7f5;
  margin-bottom: 10px;
  font-size: 0.97rem;
  font-weight: 500;
}

.locations-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
  list-style: none;
  padding: 0;
  margin: 20px 0 32px;
}
.locations-list li {
  padding: 10px 14px;
  background: #f5f7f5;
  border-left: 4px solid #2e7d32;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #f2f2f2;
  border-top: 2px solid #ddd;
  padding: 44px 32px 24px;
}

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid #ddd;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
}
.footer-nav-cols h4 {
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.footer-nav-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-nav-cols li { margin-bottom: 8px; }
.footer-nav-cols a {
  font-size: 0.88rem;
  color: #555;
}
.footer-nav-cols a:hover { color: #2e7d32; }

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-map-embed {
  height: 200px;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}
.footer-map-embed iframe { width: 100%; height: 100%; border: none; }

.footer-info {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.8;
}
.footer-info strong { font-size: 1rem; color: #1a1a1a; display: block; margin-bottom: 6px; }
.footer-info a { color: #2e7d32; font-weight: 700; }
.footer-info a:hover { text-decoration: underline; }
.footer-info .footer-links { margin-top: 10px; font-size: 0.82rem; }
.footer-info .footer-links a { margin-right: 10px; color: #666; }

.footer-logo-col {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-placeholder {
  background: #e0e8e0;
  border: 2px solid #2e7d32;
  border-radius: 8px;
  width: 180px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.logo-placeholder .logo-icon { font-size: 2.2rem; }
.logo-placeholder .logo-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a5c1e;
  text-align: center;
  line-height: 1.3;
  padding: 0 10px;
}

/* ---------- Copyright Bar ---------- */
.copyright-bar {
  max-width: 1200px;
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 0.78rem;
  color: #888;
}

/* ---------- Sticky mobile click-to-call bar ---------- */
.mobile-call-bar {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .page-body { grid-template-columns: 1fr; }
  .sidebar-col { position: static; border-top: 1px solid #e8e8e8; padding: 36px 20px 40px; }
  .main-col { border-right: none; padding: 32px 24px 48px; }
  .service-block { grid-template-columns: 1fr; gap: 24px; padding-bottom: 44px; margin-bottom: 12px; }
  .service-block.reverse { direction: ltr; }
  .service-block.reverse .service-block-img { order: -1; }
  .hero-image { height: 280px; margin-bottom: 28px; }
  .testimonial-cards { grid-template-columns: 1fr; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
  .map-layout { grid-template-columns: 1fr; }
  .map-section { padding: 32px 24px; margin: 0 -24px 48px; }
  .footer-nav-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { grid-template-columns: 1fr; }
  .locations-list { grid-template-columns: repeat(2, 1fr); }

  .mobile-call-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #2e7d32;
    color: #fff;
    text-align: center;
    font-weight: 800;
    font-size: 1.28rem;
    letter-spacing: 1px;
    padding: 18px 16px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
    text-decoration: none;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.18);
  }
  .mobile-call-bar:hover,
  .mobile-call-bar:focus {
    color: #fff;
    text-decoration: none;
    background: #1b5e20;
  }
  body { padding-bottom: 80px; }
}

@media (max-width: 600px) {
  .site-header {
    padding: 16px 16px 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .header-phone a {
    width: 100%;
    font-size: 1.2rem;
    padding: 16px 20px;
  }
  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }
  .site-nav a {
    font-size: 0.7rem;
    padding: 6px 4px;
    letter-spacing: 0.4px;
    flex: 1;
    text-align: center;
  }
  .main-col { padding: 24px 18px 40px; }
  .hero-section { margin-bottom: 44px; }
  .hero-section h1 { font-size: 1.75rem; margin-bottom: 20px; }
  .hero-image { height: 240px; margin-bottom: 24px; }
  .btn-call-now {
    font-size: 1.4rem;
    padding: 20px 20px 18px;
    letter-spacing: 1.5px;
  }
  .btn-call-now .btn-phone { font-size: 1.15rem; }
  .intro-section { margin-bottom: 44px; }
  .map-section { padding: 28px 18px; margin: 0 -18px 44px; }
  .gallery-row { grid-template-columns: 1fr; gap: 16px; }
  .footer-nav-cols { grid-template-columns: 1fr 1fr; padding-left: 8px; padding-right: 8px; }
  .locations-list { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
}


/* Form labels and honeypot */
.form-field { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.form-field label { font-size: 0.8rem; font-weight: 600; color: #333; }
.form-row .form-field { flex: 1; min-width: 0; }
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.thank-you { max-width: 720px; margin: 8px auto 40px; padding: 0; }
.thank-you h1 { margin-bottom: 16px; }
.thank-you p { margin-bottom: 16px; line-height: 1.6; }

/* Photo credits list */
.credits-list { margin: 16px 0 32px; }
.credits-list li { margin-bottom: 14px; line-height: 1.6; }
