@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;600;700&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  --primary: #1a2e4a;
  --accent: #d4622a;
  --dark-bg: #1c1c1c;
  --light-bg: #f5f4f0;
  --text-dark: #2b2b2b;
  --white: #ffffff;
  --border-gray: #d8d8d8;
  --muted-text: #6b7280;
  
  --shadow-main: 0 4px 18px rgba(0,0,0,0.10);
  --section-padding: 80px;
  --max-width: 1200px;
  --br-btn: 4px;
}

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  padding-top: 38px; /* For emergency banner */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 58px; }
h2 { font-size: 42px; margin-bottom: 20px; }
h3 { font-size: 28px; margin-bottom: 15px; }

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

ul {
  list-style: none;
}

/* Base Utility Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding { padding: var(--section-padding) 0; }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-bg); color: var(--white); }
.bg-navy { background-color: var(--primary); color: var(--white); }
.bg-orange { background-color: var(--accent); color: var(--white); }

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-navy { color: var(--primary); }
.text-orange { color: var(--accent); }

.pre-heading {
  font-family: 'Oswald', sans-serif;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1.5px;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

/* Global Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 28px;
  border-radius: var(--br-btn);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  border: 2px solid transparent;
  font-size: 16px;
}

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

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background-color: #bd5523; }

.btn-secondary {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover { background-color: var(--light-bg); }

.btn-outline-white {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary);
}

/* Emergency Top Banner */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--accent);
  color: var(--white);
  z-index: 1000;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  height: 38px;
  display: flex;
  align-items: center;
}

.top-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-banner a.phone-pill {
  background: var(--white);
  color: var(--accent);
  padding: 2px 12px;
  border-radius: 20px;
  font-weight: 700;
}

/* Header & Nav */
.header-main {
  position: fixed;
  top: 38px; /* Below banner */
  width: 100%;
  z-index: 999;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 15px 0;
}

.header-main.transparent {
  background-color: transparent;
}

.header-main.solid, .header-main:not(.transparent) {
  background-color: var(--primary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white) !important;
}

.brand-logo svg { width: 32px; height: 32px; fill: var(--white); }
.logo-text { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 26px; line-height: 1; }
.logo-sub { font-family: 'Oswald', sans-serif; color: var(--accent); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a.nav-item {
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav-links a.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a.nav-item:hover::after, .nav-links a.nav-item.active::after {
  width: 100%;
}
.nav-links a.nav-item.active { color: var(--accent); }

.mobile-toggle { display: none; background: none; border: none; font-size: 28px; color: var(--accent); cursor: pointer; }

/* Mobile Menu */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--primary);
  z-index: 1001;
  transition: right 0.3s ease;
  padding: 60px 20px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 15px rgba(0,0,0,0.3);
}

.mobile-menu-drawer.open { right: 0; }

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 32px;
  cursor: pointer;
}

.mobile-phone { display: block; font-family: 'Oswald', sans-serif; color: var(--white); font-size: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 15px; margin-bottom: auto; }
.mobile-nav-links a { color: var(--white); font-size: 18px; padding: 10px 0; display: block; }
.mobile-nav-links a.active { color: var(--accent); }

/* Hero Sections */
.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Offset for nav */
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.65);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--white);
}

.hero p.subheadline {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.hero-trust-strip {
  font-size: 14px;
  color: #ddd;
}

/* Trust Badges Section */
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.badge-card {
  background: var(--white);
  padding: 20px;
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  box-shadow: var(--shadow-main);
  text-align: center;
  transition: transform 0.3s;
}

.badge-card:hover { transform: translateY(-5px); }
.badge-icon { font-size: 32px; margin-bottom: 10px; color: var(--primary); }
.badge-title { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 18px; margin-bottom: 5px; }
.badge-sub { font-size: 13px; color: var(--muted-text); }

/* Services Overview */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: var(--br-btn);
  border: 1px solid var(--border-gray);
  transition: box-shadow 0.3s;
}

.service-card.emergency-card { border: 2px solid var(--accent); }

.service-card:hover { box-shadow: var(--shadow-main); }
.service-icon svg { width: 40px; height: 40px; fill: var(--primary); margin-bottom: 15px; }
.service-card.emergency-card .service-icon svg { fill: var(--accent); }
.service-link { font-family: 'Oswald', sans-serif; color: var(--accent); font-weight: 500; font-size: 15px; margin-top: 15px; display: inline-block; }

/* Split Sections (About, Why Choose Us, Contact etc) */
.split-layout {
  display: flex;
  gap: 50px;
  align-items: center;
}

.split-content { flex: 1; }
.split-image { flex: 1; }
.split-image img { border-radius: var(--br-btn); box-shadow: var(--shadow-main); object-fit: cover; width: 100%; max-height: 500px; }

/* Split CTA specific */
.split-cta { display: flex; }
.split-cta > div { flex: 1; padding: 60px 40px; text-align: center; }

/* Grid layout for features / process / testimonials */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-block { margin-bottom: 25px; }
.feature-icon { font-size: 24px; margin-bottom: 10px; color: var(--accent); }
.feature-title { font-family: 'Oswald', sans-serif; font-size: 20px; margin-bottom: 5px; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.review-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--br-btn);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-main);
}
.stars { color: #f59e0b; font-size: 18px; margin-bottom: 15px; }
.quote { font-style: italic; margin-bottom: 15px; font-size: 15px; }
.reviewer { font-weight: 700; font-family: 'Oswald', sans-serif; color: var(--primary); }

/* Work Process */
.process-row {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 50px;
}
.process-row::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  height: 2px;
  border-top: 2px dashed var(--border-gray);
  z-index: 1;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 0 10px;
}
.step-num {
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--br-btn);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 46, 74, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label {
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  text-align: center;
  padding: 10px;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border-gray);
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  color: var(--primary);
  padding: 15px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-dark);
}

.faq-answer p { padding-bottom: 20px; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-item.active { border-left: 3px solid var(--accent); padding-left: 15px; }
.faq-icon { font-size: 24px; transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: var(--br-btn);
  box-shadow: var(--shadow-main);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
}
.radio-group { display: flex; flex-direction: column; gap: 10px; }

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.filter-btn {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--border-gray);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: #ccc;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

/* Lightbox */
#lightbox {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: none; align-items: center; justify-content: center;
  flex-direction: column;
}
#lightbox.active { display: flex; }
#lightbox img { max-width: 90%; max-height: 80vh; }
#lightbox-caption { color: var(--white); margin-top: 15px; font-size: 18px; text-align: center; max-width: 800px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: var(--white); font-size: 40px; cursor: pointer; }

/* Service Detail blocks */
.service-detail-block {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}
.service-detail-block:nth-child(even) {
  flex-direction: row-reverse;
}
.service-text { flex: 1; }
.service-image { flex: 1; }
.service-image img { border-radius: var(--br-btn); box-shadow: var(--shadow-main); }


/* Inner Page Hero (Smaller) */
.inner-hero {
  min-height: 400px;
  display: flex;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 80px;
}
.inner-hero .hero-content {
  margin: 0 auto;
}

/* Callout Box */
.callout-box {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* Mobile Responsiveness Rules */
@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
  }
  
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  
  .top-banner { height: auto; text-align: center; }
  .top-banner .container { flex-direction: column; padding: 5px 15px; gap: 5px; }
  body { padding-top: 55px; }
  .header-main { top: 55px; }

  .nav-links, .header-main .btn { display: none; }
  .mobile-toggle { display: block; }
  
  .trust-badges-grid, .services-grid, .testimonials-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .split-layout, .split-cta, .process-row, .service-detail-block {
    flex-direction: column !important;
  }
  
  .process-row::before { display: none; }
  .process-step { border-left: 2px dashed var(--accent); padding-left: 20px; margin-bottom: 20px; text-align: left; }
  .step-num { margin: 0 0 10px 0; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .hero-btns { flex-direction: column; }
  .btn { width: 100%; }

  .map-container iframe { height: 300px; }
}

@media (max-width: 992px) and (min-width: 769px) {
  .trust-badges-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .testimonials-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
