/* ============================================================
   COLONIAL ELECTRIC — style.css
   Palette: Navy #0B2167 | Red #C8102E | Gold #F5A623 | White
   Fonts: Oswald (headings) + Open Sans (body)
   ============================================================ */

:root {
  --navy:        #0B2167;
  --navy-dark:   #071545;
  --navy-mid:    #122580;
  --red:         #C8102E;
  --red-dark:    #a50d25;
  --gold:        #F5A623;
  --white:       #FFFFFF;
  --light:       #F4F6FA;
  --light-mid:   #EBEEf5;
  --text:        #1C1C1E;
  --text-muted:  #6B7280;
  --border:      #E5E7EB;
}

/* =================== BASE =================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.02em;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.88; }
img { max-width: 100%; }

/* =================== NAVBAR =================== */
#mainNav {
  background: rgba(7, 21, 69, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.55rem 0;
  transition: background 0.3s, box-shadow 0.3s;
}

#mainNav.nav-scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.nav-badge {
  height: 42px;
  width: auto;
  display: block;
}

.brand-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.navbar-nav .nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85) !important;
  padding: 0.45rem 0.7rem;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover { color: var(--gold) !important; }

.btn-cta-nav {
  background: var(--red);
  color: #fff !important;
  border: none;
  font-family: 'Open Sans', sans-serif;
  border-radius: 6px;
  transition: background 0.2s;
}

.btn-cta-nav:hover { background: var(--red-dark); color: #fff !important; }

/* =================== HERO =================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 2.75rem 2.25rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 14px;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 300;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-tagline {
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  margin-bottom: 0;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

/* =================== TRUST STRIP =================== */
.trust-strip {
  background: var(--navy);
}

.trust-cell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.trust-cell:last-child { border-right: none; }

.trust-icon {
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
}

.trust-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  line-height: 1.35;
}

/* =================== SECTION COMMON =================== */
.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.65rem;
}

.section-eyebrow--light {
  color: rgba(255,255,255,0.5);
}

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

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.12;
}

.section-title--white { color: #fff; }

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* =================== SERVICES =================== */
.services-section {
  padding: 6rem 0;
  background: var(--light);
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(11,33,103,0.13);
}

.service-icon {
  display: block;
  font-size: 2.1rem;
  color: var(--red);
  margin-bottom: 0.9rem;
}

.service-card h5 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.btn-navy:hover {
  background: transparent;
  color: var(--navy);
}

/* =================== ABOUT =================== */
.about-section {
  padding: 7rem 0;
  background: var(--navy);
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 50%, var(--red) 100%);
}

.about-logo {
  max-width: 300px;
  width: 100%;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,0.5));
}

.about-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.about-stats {
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 1.5rem 0;
}

.about-stat-cell {
  border-right: 1px solid rgba(255,255,255,0.12);
  padding: 0.5rem;
}
.about-stat-cell:last-child { border-right: none; }

.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
}

.about-tagline {
  font-size: 1.1rem;
  color: var(--gold);
  margin: 0;
}

/* =================== PROCESS =================== */
.process-section {
  padding: 6rem 0;
  background: var(--white);
}

.process-step {
  padding: 1.5rem 1rem;
  position: relative;
}

.process-num {
  font-family: 'Oswald', sans-serif;
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--light-mid);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.process-icon {
  display: block;
  font-size: 1.8rem;
  color: var(--red);
  margin: 0.25rem auto 0.85rem;
}

.process-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* =================== GALLERY =================== */
.gallery-section {
  padding: 6rem 0;
  background: var(--light);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  display: block;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(7,21,69,0.88) 0%, transparent 100%);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2rem 1rem 0.85rem;
}

/* =================== FLASH PASS =================== */
.flash-pass-section {
  padding: 7rem 0;
  background: linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 45%, #162b8c 100%);
  position: relative;
  overflow: hidden;
}

.flash-pass-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,16,46,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.flash-pass-inner {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 4rem 3rem;
  position: relative;
}

.flash-icon {
  display: block;
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.flash-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.flash-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.85;
}

.flash-benefit {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
}

.flash-benefit i {
  color: var(--gold);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* =================== SERVICE AREAS =================== */
.areas-section {
  padding: 5.5rem 0;
  background: var(--white);
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.area-tag {
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: default;
}

.area-tag:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.area-tag i {
  font-size: 0.8rem;
  color: var(--red);
  transition: color 0.2s;
}

.area-tag:hover i { color: var(--gold); }

/* =================== FAQ =================== */
.faq-section {
  padding: 5.5rem 0;
  background: var(--light);
}

.accordion-item {
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
  border-radius: 10px !important;
  overflow: hidden;
}

.accordion-button {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
  background: var(--white);
  padding: 1.1rem 1.4rem;
}

.accordion-button:focus { box-shadow: none; }

.accordion-button:not(.collapsed) {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
}

.accordion-button::after {
  filter: none;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.8;
  background: var(--white);
  padding: 1.25rem 1.5rem;
}

/* =================== CONTACT =================== */
.contact-section {
  padding: 6rem 0;
  background: var(--white);
}

.contact-card {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--red);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.contact-detail i {
  font-size: 1.2rem;
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

.contact-detail > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-detail strong {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
}

.contact-detail a,
.contact-detail span {
  color: rgba(255,255,255,0.88);
  font-size: 0.94rem;
  line-height: 1.55;
}

.contact-detail a:hover { color: var(--gold); opacity: 1; }

.contact-cta {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-wrapper {
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid var(--border);
  min-height: 400px;
}

/* =================== FOOTER =================== */
.site-footer {
  background: var(--navy-dark);
  padding: 3.5rem 0 1.5rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.5rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-license {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.footer-nav-head {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.85rem;
}

.footer-nav a {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--gold); opacity: 1; }

.footer-phone {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.footer-phone:hover { color: var(--gold); opacity: 1; }

.footer-email {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
  transition: color 0.2s;
}

.footer-email:hover { color: var(--gold); opacity: 1; }

.footer-hours {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0;
}

.footer-credit {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.footer-credit a {
  color: var(--gold);
  font-weight: 700;
}

.footer-credit a:hover { opacity: 0.8; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 991.98px) {
  .about-section { padding: 5rem 0; }

  .trust-cell {
    flex-direction: column;
    text-align: center;
    padding: 1rem 0.5rem;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 0.5rem;
  }
  .trust-cell:last-child { border-bottom: none; }

  .flash-pass-inner { padding: 3rem 1.75rem; }

  .about-logo { max-width: 240px; }
}

@media (max-width: 767.98px) {
  .hero-content { padding: 2rem 1.25rem; }

  .services-section, .about-section, .process-section,
  .gallery-section, .flash-pass-section, .contact-section {
    padding: 4rem 0;
  }

  .areas-section, .faq-section { padding: 3.5rem 0; }

  .contact-card { padding: 1.75rem; }

  .brand-name { display: none; }

  .map-wrapper { min-height: 280px; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 2.4rem; }
  .process-num { font-size: 2.8rem; }
  .stat-number { font-size: 1.7rem; }
  .flash-pass-inner { padding: 2.25rem 1.25rem; }
  .area-tag { font-size: 0.8rem; padding: 0.4rem 0.85rem; }
}
