/* =================================
   Lead Gen Site — Shared Stylesheet
   Adapted from chattanooga-computer-repair
   iDeVRM / GitHub Pages template
   ================================= */

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

:root {
  --primary: #e05a2b;
  --primary-dark: #c44e22;
  --dark: #1a1a1a;
  --dark2: #2b2b2b;
  --text: #333;
  --light: #f5f5f5;
  --white: #ffffff;
  --border: #ddd;
}

body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── BUTTONS ── */
.btn-primary { display: inline-block; background: var(--primary); color: var(--white); padding: 14px 28px; border-radius: 4px; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.2s; cursor: pointer; border: none; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { display: inline-block; border: 2px solid var(--white); color: var(--white); padding: 12px 26px; border-radius: 4px; font-size: 16px; font-weight: 600; transition: all 0.2s; }
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* ── NAV ── */
nav { background: var(--dark); padding: 0 5%; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.nav-logo { color: var(--white); font-size: 20px; font-weight: 700; padding: 16px 0; line-height: 1.2; }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a { color: #ccc; padding: 8px 14px; font-size: 15px; transition: color 0.2s; border-radius: 4px; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-phone { background: var(--primary); color: var(--white) !important; padding: 10px 18px !important; border-radius: 4px; font-weight: 700; }
.nav-phone:hover { background: var(--primary-dark) !important; color: var(--white) !important; }

/* ── HERO ── */
.hero { background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), var(--hero-bg, url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1400&q=80')) center/cover no-repeat; min-height: 480px; display: flex; align-items: center; padding: 60px 5%; }
.hero-content { max-width: 650px; }
.hero h1 { color: var(--white); font-size: 42px; line-height: 1.2; margin-bottom: 16px; }
.hero p { color: #ddd; font-size: 18px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-phone { color: var(--white); font-size: 22px; font-weight: 700; margin-bottom: 30px; display: block; }
.hero-phone span { color: var(--primary); }
.free-quote-badge { background: var(--white); border: 3px solid var(--primary); border-radius: 6px; padding: 6px 16px; font-weight: 800; font-size: 13px; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 16px; }

/* ── SECTIONS ── */
section { padding: 60px 5%; }
.section-title { font-size: 30px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.section-sub { font-size: 16px; color: #666; margin-bottom: 40px; }
.bg-light { background: var(--light); }

/* ── SERVICE CARDS ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin-top: 16px; }
.service-card { background: var(--white); border-radius: 8px; padding: 28px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); border-top: 4px solid var(--primary); transition: transform 0.2s, box-shadow 0.2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.service-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--dark); }
.service-card p { font-size: 15px; color: #555; line-height: 1.5; }

/* ── FAQ ── */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { font-size: 17px; color: var(--dark); margin-bottom: 10px; }
.faq-item p { color: #555; font-size: 15px; line-height: 1.6; }

/* ── WHY US ── */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; margin-top: 30px; text-align: center; }
.trust-item { padding: 20px; }
.trust-icon { font-size: 36px; margin-bottom: 12px; }
.trust-item h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.trust-item p { font-size: 14px; color: #666; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--primary); padding: 50px 5%; text-align: center; }
.cta-banner h2 { color: var(--white); font-size: 28px; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 24px; font-size: 17px; }
.btn-white { background: var(--white); color: var(--primary); padding: 14px 32px; border-radius: 4px; font-weight: 700; font-size: 16px; display: inline-block; transition: opacity 0.2s; }
.btn-white:hover { opacity: 0.9; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 1000px; }
.contact-info h2 { font-size: 26px; margin-bottom: 16px; }
.contact-info p { color: #555; margin-bottom: 20px; font-size: 16px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 16px; }
.contact-detail strong { color: var(--dark); }
form .form-group { margin-bottom: 18px; }
form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; color: #444; }
form input, form textarea, form select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 4px; font-size: 15px; font-family: inherit; transition: border-color 0.2s; }
form input:focus, form textarea:focus { border-color: var(--primary); outline: none; }
form textarea { height: 130px; resize: vertical; }
form button { width: 100%; margin-top: 6px; font-size: 17px; }

/* ── FOOTER ── */
footer { background: var(--dark); color: #bbb; padding: 40px 5%; text-align: center; }
footer .footer-logo { color: var(--white); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
footer .footer-logo span { color: var(--primary); }
footer p { font-size: 14px; margin-top: 8px; }
footer nav { margin-top: 16px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
footer nav a { color: #aaa; font-size: 14px; transition: color 0.2s; }
footer nav a:hover { color: var(--white); }

/* ── PAGE HEADER ── */
.page-header { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), var(--hero-bg, url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1400&q=80')) center/cover no-repeat; padding: 60px 5%; text-align: center; }
.page-header h1 { color: var(--white); font-size: 36px; margin-bottom: 10px; }
.page-header p { color: #ddd; font-size: 17px; }

/* ── PHOTO GALLERY ── */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.photo-item { position: relative; overflow: hidden; border-radius: 8px; background: #eee; }
.photo-item--wide { grid-column: span 3; }
.photo-item img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform 0.3s; }
.photo-item--wide img { height: 380px; }
.photo-item:hover img { transform: scale(1.03); }
.photo-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.65)); color: var(--white); padding: 24px 16px 12px; font-size: 14px; font-weight: 600; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { flex-wrap: wrap; padding: 12px 5%; gap: 8px; }
  .nav-links { flex-wrap: wrap; gap: 4px; }
  .hero h1 { font-size: 28px; }
  .hero { min-height: auto; padding: 50px 5%; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-item--wide { grid-column: span 2; }
  .photo-item--wide img { height: 260px; }
}
