/* ==========================================
   WILD WEST ROOFING â GLOBAL STYLES
   Sister site to Wild West Garage Door
   Dark theme + Gold accents
   ========================================== */

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

:root {
  --bg-dark: #0a0e17;
  --bg-card: #111827;
  --bg-card-hover: #1a2235;
  --gold: #d4a017;
  --gold-light: #f0c040;
  --gold-dark: #b8860b;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --text-white: #ffffff;
  --border-color: #1e293b;
  --border-gold: rgba(212, 160, 23, 0.3);
  --accent-blue: #3b82f6;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.gold { color: var(--gold); }

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: #000;
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: #000;
  border-color: var(--gold-light);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #000;
}
.btn-full {
  width: 100%;
}

.section {
  padding: 80px 0;
}

.section-label {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-white);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: 40px;
}

/* Center sections that need it */
.pricing-section,
.process-section,
.areas-section,
.testimonials-section {
  text-align: center;
}
.pricing-section .section-sub,
.process-section .section-sub,
.areas-section .section-sub,
.testimonials-section .section-sub {
  margin-left: auto;
  margin-right: auto;
}


/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold-dark);
  padding: 8px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  flex-shrink: 0;
}
.logo-icon {
  font-size: 2rem;
  opacity: 0.7;
}
.logo-main {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
  display: block;
  color: var(--gold);
}
.logo-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  display: block;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  gap: 28px;
}
.nav-link {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-same-day {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}
.btn-same-day .lightning {
  font-size: 1.2rem;
}
.btn-same-day:hover {
  background: var(--gold);
  color: #000;
}

.btn-call-now {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--gold);
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: var(--radius);
  letter-spacing: 0.5px;
}
.btn-call-now:hover {
  background: var(--gold-light);
  color: #000;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: 0.3s;
}


/* ---------- HERO ---------- */
.hero {
  padding: 140px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0f1520 100%);
  border-bottom: 3px solid var(--gold-dark);
}

.hero-banner {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-areas {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text-white);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 36px;
}
.trust-badges .dot {
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ---------- TRUST ROW ---------- */
.trust-row {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 28px 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
}
.trust-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}


/* ---------- PRICING ---------- */
.pricing-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1117 100%);
  border-top: 1px solid var(--border-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 20px;
  transition: border-color 0.2s;
}
.price-card:hover {
  border-color: var(--border-gold);
}
.price-card h3 {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.price-card .price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 6px;
}
.price-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}


/* ---------- SERVICES ---------- */
.services-section {
  background: var(--bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.25s;
}
.service-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}
.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
}


/* ---------- WHY CHOOSE US ---------- */
.why-section {
  background: linear-gradient(180deg, #0d1117 0%, var(--bg-dark) 100%);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.compare-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.compare-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}
.compare-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}


/* ---------- PROCESS ---------- */
.process-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.process-step {
  text-align: center;
}
.step-number {
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: #000;
  font-size: 1.5rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.process-step h3 {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-white);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
  background: linear-gradient(180deg, #0d1117 0%, var(--bg-dark) 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
  text-align: left;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.quote-mark {
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stars {
  margin-bottom: 12px;
  font-size: 1rem;
}
.testimonial-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 16px;
}
.testimonial-author {
  font-weight: 800;
  font-size: 0.9rem;
}
.testimonial-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-cta {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 600px;
  margin: 0 auto;
}
.review-cta h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.review-cta p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.92rem;
}


/* ---------- SERVICE AREAS ---------- */
.areas-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.area-tag {
  display: block;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  text-align: center;
}
.area-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}


/* ---------- FAQ ---------- */
.faq-section {
  background: linear-gradient(180deg, #0d1117 0%, var(--bg-dark) 100%);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--bg-card);
  border: none;
  color: var(--gold);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}
.faq-question:hover {
  background: var(--bg-card-hover);
}
.faq-toggle {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--bg-card);
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}


/* ---------- CONTACT ---------- */
.contact-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  margin-top: 32px;
}

.contact-info-card,
.quote-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.contact-info-card h3,
.quote-form-card h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-light);
}
.contact-line span:first-child {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-line a {
  color: var(--text-light);
}
.contact-line a:hover {
  color: var(--gold);
}
.contact-line.emergency {
  color: var(--gold);
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-light);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: border-color 0.2s;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.quote-form select {
  cursor: pointer;
}
.quote-form textarea {
  resize: vertical;
}


/* ---------- FINAL CTA ---------- */
.final-cta {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(135deg, #1a1400 0%, #2d1f00 40%, #1a1400 100%);
  border-top: 3px solid var(--gold-dark);
}
.final-cta h2 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 12px;
}
.final-cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}
.phone-big {
  display: block;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 20px;
}
.phone-big:hover {
  color: var(--gold-light);
}


/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg-card);
  border-top: 2px solid var(--gold-dark);
  padding: 48px 0 24px;
}

.footer-top {
  margin-bottom: 32px;
}
.footer-section h4,
.footer-contact h4 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.footer-grid span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact {
  margin-bottom: 32px;
}
.footer-contact p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.footer-links {
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
  margin-bottom: 6px;
}


/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 2px solid var(--gold-dark);
    z-index: 999;
  }
  .main-nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-right {
    gap: 8px;
  }
  .btn-same-day {
    display: none;
  }

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

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

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

@media (max-width: 600px) {
  .hero {
    padding: 120px 16px 48px;
  }
  .trust-badges {
    flex-direction: column;
    gap: 6px;
  }
  .trust-badges .dot {
    display: none;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-ctas .btn {
    width: 100%;
    max-width: 340px;
  }
  .section {
    padding: 60px 0;
  }
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}
