/* =============================================================
   D.J. RICHARD ELECTRIC — style.css
   Color Scheme: Deep Navy + Amber/Electric Gold
   Fonts: Barlow Condensed (headings) + Inter (body)
   ============================================================= */

:root {
  --navy:        #0C1A2B;
  --navy-mid:    #1A2E44;
  --navy-light:  #2D4A66;
  --slate:       #28394E;
  --amber:       #F5A623;
  --amber-light: #FFD166;
  --amber-dark:  #D8901A;
  --light-bg:    #F3F6FA;
  --white:       #FFFFFF;
  --text-dark:   #111927;
  --text-muted:  #6B7E94;
  --border:      #DEE6EF;
}

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

html { scroll-behavior: smooth; }

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

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

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

a { text-decoration: none; }

/* ---- UTILITIES ---- */
.text-accent { color: var(--amber) !important; }

.btn-accent {
  background: var(--amber);
  color: var(--navy);
  border: 2px solid var(--amber);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 2rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-accent:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.35);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-navy:hover {
  background: var(--navy-mid);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  background: rgba(12, 26, 43, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.85rem 0;
  border-bottom: 2px solid transparent;
  transition: padding 0.3s, border-color 0.3s, background 0.3s;
}
#mainNav.scrolled {
  padding: 0.55rem 0;
  border-bottom-color: var(--amber);
  background: rgba(12, 26, 43, 0.99);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem !important;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--amber) !important; }

.nav-cta {
  background: var(--amber) !important;
  color: var(--navy) !important;
  border-radius: 4px;
  padding: 0.45rem 1.1rem !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--amber-dark) !important;
  color: var(--white) !important;
}

.navbar-toggler { border-color: rgba(255,255,255,0.35); }
.navbar-toggler-icon { filter: brightness(10); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  background: url('img/crew.jpg') center 30% / cover no-repeat;
  position: relative;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(12, 26, 43, 0.92) 0%,
    rgba(12, 26, 43, 0.72) 55%,
    rgba(12, 26, 43, 0.50) 100%
  );
  display: flex;
  align-items: flex-start;
  padding-top: 160px;
  padding-bottom: 5rem;
}
.hero-overlay .container { width: 100%; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  border-left: 3px solid var(--amber);
  padding-left: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.02;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  line-height: 1.72;
  margin-bottom: 2.5rem;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-cta-group .btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1.05rem;
}
.hero-cta-group .btn-outline-light {
  border-width: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ============================================================
   STATS BAR
   ============================================================ */
#stats { background: var(--navy); }

.stat-item {
  padding: 2.25rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.09);
}
.stat-last { border-right: none; }

@media (max-width: 767px) {
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.09); }
}

.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.4rem;
}

/* ============================================================
   SECTION WRAPPERS
   ============================================================ */
.section-light  { background: var(--light-bg); padding: 6rem 0; }
.section-white  { background: var(--white);    padding: 6rem 0; }
.section-navy   { background: var(--navy);     padding: 6rem 0; }
.section-slate  { background: var(--slate);    padding: 6rem 0; }

.section-header { margin-bottom: 3.5rem; }

.section-eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  border-left: 3px solid var(--amber);
  padding-left: 0.7rem;
  margin-bottom: 0.85rem;
}
.section-eyebrow-light {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  border-left: 3px solid var(--amber);
  padding-left: 0.7rem;
  margin-bottom: 0.85rem;
}
.section-title {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.section-title-light {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.72;
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.85rem;
  height: 100%;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(12, 26, 43, 0.1);
  border-color: var(--amber);
}
.service-card-accent {
  background: var(--navy);
  border-color: var(--amber);
}
.service-card-accent h3 { color: var(--amber); }
.service-card-accent p  { color: rgba(255,255,255,0.78); }

.service-icon {
  font-size: 2rem;
  color: var(--amber);
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin: 0;
}

/* ============================================================
   GENERATORS
   ============================================================ */
.gen-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.72;
  margin-bottom: 1.5rem;
}
.generator-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.generator-list li {
  color: rgba(255,255,255,0.85);
  padding: 0.42rem 0;
  font-size: 0.97rem;
}
.generator-photo-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gen-img-main {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}
.gen-img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.gen-img-pair img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-item {
  position: relative;
  border-radius: 7px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-mid);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s ease;
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 0.85rem 0.65rem;
  background: linear-gradient(transparent, rgba(12,26,43,0.88));
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-image-wrap {
  position: relative;
  padding-bottom: 3.5rem;
  padding-right: 2rem;
}
.about-img-main {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(12,26,43,0.15);
}
.about-img-float {
  position: absolute;
  bottom: 0; right: 0;
  width: 58%;
  border: 4px solid var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(12,26,43,0.2);
}
.about-img-float img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: center;
}

.lead-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.body-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.credential-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}
.credential-item i {
  font-size: 1.2rem;
  color: var(--amber);
  flex-shrink: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
  transition: border-color 0.2s, background 0.2s;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(245,166,35,0.4);
}
.stars {
  color: var(--amber);
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.testimonial-card p {
  font-style: italic;
  font-size: 0.93rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.82);
  margin: 0 0 1rem;
}
.testimonial-author {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--amber);
}

.testimonial-brand-block {
  background: var(--amber);
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-quote-mark {
  position: absolute;
  top: -1rem;
  left: 0.75rem;
  font-family: Georgia, serif;
  font-size: 9rem;
  line-height: 1;
  color: rgba(12,26,43,0.12);
  font-weight: 900;
  pointer-events: none;
}
.testimonial-brand-block p {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.68;
  margin-bottom: 0.75rem;
}
.brand-name-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}
.contact-info-item > i {
  font-size: 1.4rem;
  color: var(--amber);
  margin-top: 0.05rem;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}
a.contact-value:hover { color: var(--amber); }

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(12,26,43,0.08);
}
.map-wrap iframe { display: block; }

.contact-form .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.contact-form .form-control {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form .form-control:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
  outline: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--navy);
  padding: 4rem 0 1.5rem;
}
.footer-company {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-top: 0.4rem;
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.2rem;
}
.footer-addr {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--amber); }

.footer-phone {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--amber);
  display: block;
  margin-bottom: 0.3rem;
  transition: color 0.2s;
}
.footer-phone:hover { color: var(--amber-light); }
.footer-emergency {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}
.footer-powered {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
}
.footer-powered a {
  color: var(--amber);
  font-weight: 600;
  transition: color 0.2s;
}
.footer-powered a:hover { color: var(--amber-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .about-image-wrap {
    padding-bottom: 4rem;
    padding-right: 1.5rem;
  }
  .about-img-float {
    right: 0;
    width: 52%;
  }
}

@media (max-width: 767px) {
  .section-light, .section-white,
  .section-navy,  .section-slate { padding: 4rem 0; }

  #hero { min-height: 100svh; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; text-align: center; }

  .about-image-wrap {
    padding-bottom: 0;
    padding-right: 0;
  }
  .about-img-float {
    position: static;
    width: 100%;
    margin-top: 1rem;
    border: none;
    box-shadow: none;
  }
  .about-img-float img { height: 220px; }

  .gen-img-pair { grid-template-columns: 1fr; }
  .gen-img-pair img { height: 230px; }

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

  #footer .col-md-4 { text-align: center !important; }
  .footer-nav { align-items: center; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.6rem; }
  .stat-number   { font-size: 2.4rem; }
}
