/* ==========================================================================
   JAX DRYER VENT CLEANING — MAIN STYLESHEET
   File: style.css

   COLOR PALETTE:
   --navy       → primary dark navy — nav, footer, buttons, headings
   --navy-dark  → deeper navy — footer background
   --navy-light → very light navy tint — card backgrounds, area pills
   --navy-soft  → muted blue-gray — text on dark backgrounds
   --white      → white — card surfaces, text on dark
   --black      → near-black — body text

   FONTS:
   Montserrat 700/800 → headings, large display text
   Inter 400/700      → body text, nav links, buttons
   ========================================================================== */


/* ==========================================================================
   1. FONTS & BRAND COLORS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Montserrat:wght@700;800&display=swap');

:root {
  /* Navy palette */
  --navy:       #0D2358;   /* primary navy — nav, footer, dark buttons */
  --navy-dark:  #081840;   /* deeper navy — footer background */
  --navy-mid:   #1A3570;   /* medium navy — dividers on dark sections */
  --navy-light: #e8edf5;   /* very light navy tint — pills, icon boxes */
  --navy-soft:  #8A9BBD;   /* muted — secondary text on dark backgrounds */

  /* Neutrals */
  --white:      #ffffff;
  --black:      #1a1a1a;   /* near-black — primary body text */
  --gray:       #f5f5f5;   /* light gray — alternating section backgrounds */
  --text:       #1a1a1a;
  --text-muted: #555555;

  /* Layout */
  --max:    1100px;
  --radius: 8px;
}


/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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


/* ==========================================================================
   3. NAVIGATION — DESKTOP
   ========================================================================== */

nav {
  background: var(--navy);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--navy-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

/* White phone number in nav */
.nav-phone {
  color: var(--white) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* "Book now" white pill button in nav */
.nav-cta {
  background: var(--white);
  color: var(--navy) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 700 !important;
}


/* ==========================================================================
   4. NAVIGATION — MOBILE HAMBURGER
   ========================================================================== */

.nav-hamburger-wrap {
  display: none;
  position: relative;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-soft);
  border-radius: 2px;
}

.mobile-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--navy);
  padding: 16px 24px;
  border-top: 1px solid var(--navy-mid);
  border-radius: 0 0 8px 8px;
  min-width: 220px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.mobile-nav-dropdown.is-active { display: block; }

/* Sticky Mobile CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #C49A3D; /* Gold/Teal contrast */
  color: #fff;
  text-align: center;
  padding: 16px;
  font-weight: 800;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.mobile-nav-dropdown ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* ==========================================================================
   5. BUTTONS

   .btn-navy    → navy background, white text — primary CTA on light sections
   .btn-gold    → white background, navy text — primary CTA on dark sections
   .btn-white   → white background, navy text — same as btn-gold
   .btn-outline → transparent, white border   — secondary on dark sections
   .btn-teal    → navy background, white text — same as btn-navy
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  border: none;
}

.btn:hover  { opacity: 0.88; }
.btn:active { transform: scale(0.98); }

/* Primary on dark sections — white button, navy text */
.btn-gold    { background: var(--white);  color: var(--navy); }
.btn-white   { background: var(--white);  color: var(--navy); }

/* Secondary on dark sections */
.btn-outline { background: transparent;   color: var(--white); border: 2px solid var(--white); }

/* Primary on light sections — navy button, white text */
.btn-teal    { background: var(--navy);   color: var(--white); }
.btn-navy    { background: var(--navy);   color: var(--white); }


/* ==========================================================================
   6. SECTION LABELS
   Small ALL-CAPS eyebrow text above section headings.
   ========================================================================== */

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-label-light { color: var(--navy-soft); }
.hero .section-label-light { color: rgba(255,255,255,0.75); }


/* ==========================================================================
   7. HERO — HOMEPAGE
   ========================================================================== */

.hero {
  background: url('Images/Hero-Image3.jpg') center/cover no-repeat;
  padding: 72px 24px 64px;
}

.hero-inner {
  max-width: 740px;
  margin: 0;
  background: rgba(8, 24, 64, 0.85);
  padding: 36px 40px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  max-width: 720px;
  margin-bottom: 16px;
}

/* No special color on span — keep headline uniform */
.hero h1 span { color: var(--white); }

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}


/* ==========================================================================
   8. HERO TRUST BADGES
   ========================================================================== */

.hero-trust { display: flex; gap: 14px; flex-wrap: nowrap; }

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.trust-dot {
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}


/* ==========================================================================
   9. STATS BAR
   ========================================================================== */

.stats-bar {
  background: var(--navy);
  padding: 20px 24px;
}

.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: 8px 32px;
  border-right: 0.5px solid var(--navy-mid);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 9px;
  color: var(--navy-soft);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
}


/* ==========================================================================
   10. SECTION WRAPPERS
   ========================================================================== */

.section      { padding: 72px 24px; }
.section-gray { background: var(--gray); }
.section-dark { background: var(--navy); }

.section-header { margin-bottom: 40px; }

.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
}

.section-dark .section-header h2 { color: var(--white); }

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 10px;
}

.section-dark .section-header p { color: var(--navy-soft); }


/* ==========================================================================
   11. SERVICE CARDS
   ========================================================================== */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 28px;
  transition: border-color 0.2s;
}

.service-card:hover { border-color: var(--navy); }

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--navy-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.service-price { margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--navy); }


/* ==========================================================================
   12. HOW IT WORKS — NUMBERED STEPS
   ========================================================================== */

.steps { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.step  { display: flex; gap: 18px; align-items: flex-start; }

.step-num {
  min-width: 36px;
  height: 36px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  flex-shrink: 0;
}

.step h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.step p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }


/* ==========================================================================
   13. REVIEW CARDS
   ========================================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.review-card {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 22px;
}

.stars { display: flex; gap: 3px; margin-bottom: 10px; }

.star {
  width: 14px;
  height: 14px;
  background: var(--navy);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.review-text  { font-size: 14px; color: var(--text); line-height: 1.6; margin-bottom: 12px; font-style: italic; }
.reviewer     { font-size: 12px; color: var(--text-muted); font-weight: 700; }


/* ==========================================================================
   14. SERVICE AREA PILLS
   ========================================================================== */

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

.area-pill {
  background: var(--navy-light);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}


/* ==========================================================================
   15. CTA BAND
   ========================================================================== */

.cta-band {
  background: var(--navy);
  padding: 64px 24px;
  text-align: center;
}

.cta-band h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

/* Large white phone number */
.cta-phone {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  color: var(--white);
  margin: 16px 0;
  display: block;
}

.cta-band p { color: var(--navy-soft); font-size: 15px; margin-bottom: 24px; }


/* ==========================================================================
   16. FOOTER
   ========================================================================== */

footer {
  background: var(--navy-dark);
  padding: 32px 24px;
  text-align: center;
}

.footer-inner { max-width: var(--max); margin: 0 auto; }

.footer-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 12px 0; }
.footer-links a { color: var(--navy-soft); font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 11px; color: var(--navy-soft); margin-top: 12px; }


/* ==========================================================================
   17. INNER PAGE HERO
   ========================================================================== */

.page-hero { background: var(--navy); padding: 52px 24px; }

.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.page-hero p { color: rgba(255,255,255,0.75); font-size: 16px; margin-top: 10px; max-width: 560px; }


/* ==========================================================================
   18. CONTACT PAGE — LAYOUT GRID
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}


/* ==========================================================================
   19. CONTACT PAGE — FORM INPUTS
   ========================================================================== */

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); }

.form-group textarea { min-height: 120px; resize: vertical; }


/* ==========================================================================
   20. CONTACT ACTION BUTTONS
   Large click-to-call and click-to-email buttons on the contact page.
   ========================================================================== */

.contact-action-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  margin-bottom: 16px;
  transition: opacity 0.2s;
}

.contact-action-btn:hover { opacity: 0.88; }

.contact-action-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-action-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--navy-soft);
  margin-bottom: 4px;
}

.contact-action-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}


/* ==========================================================================
   21. CONTACT PAGE — CONTACT INFO SIDEBAR
   ========================================================================== */

.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--navy-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.contact-info-item p { font-size: 15px; font-weight: 700; color: var(--text); }


/* ==========================================================================
   21. JOBBER EMBED SECTION
   ========================================================================== */

.jobber-embed-wrapper {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #ddd;
  min-height: 500px;
}

.jobber-embed-wrapper iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  display: block;
}

.jobber-placeholder {
  background: var(--navy-light);
  border: 2px dashed var(--navy-soft);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.jobber-placeholder h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.jobber-placeholder p { font-size: 14px; color: var(--text-muted); margin-bottom: 6px; line-height: 1.6; }

.jobber-placeholder code {
  display: block;
  background: #e0e6ef;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--navy);
  margin-top: 12px;
  text-align: left;
  word-break: break-all;
}


/* ==========================================================================
   22. PRICING CARDS
   ========================================================================== */

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

.pricing-card { border: 1px solid #ddd; border-radius: 10px; overflow: hidden; }

.pricing-card-header { background: var(--navy); padding: 20px 24px; }

.pricing-card-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}

.pricing-card-header .price {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-top: 4px;
}

.pricing-card-header .price-note { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 2px; }

.pricing-card-body { background: var(--white); padding: 20px 24px; }

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 0.5px solid #f0f0f0;
  font-size: 14px;
}

.pricing-item:last-child  { border-bottom: none; }
.pricing-item-name        { color: var(--text); }
.pricing-item-price       { font-weight: 700; color: var(--navy); }


/* ==========================================================================
   23. MOBILE RESPONSIVE OVERRIDES
   ========================================================================== */

@media (max-width: 768px) {
  .nav-links           { display: none; }
  .nav-hamburger-wrap  { display: flex; }
  .stat            { padding: 8px 16px; }
  .section         { padding: 48px 20px; }
  .hero            { padding: 48px 20px 44px; }
  .service-grid-2col { grid-template-columns: 1fr; }
  .hero-trust      { flex-wrap: wrap; gap: 10px; }
  .mobile-sticky-cta { display: block; }
}

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
  .hero-inner   { padding: 28px 24px; }
}
