/* Nardi Electric LLC — Wicked Fast Web redesign
   Palette: charcoal ink + warm amber (voltage/lighting motif) + brand red accent
   Type: Oswald (headings) + IBM Plex Sans (body) */

:root {
  --ink: #14171c;
  --ink-2: #1c2029;
  --ink-3: #262c38;
  --paper: #f7f4ee;
  --paper-2: #efe8db;
  --amber: #d79a3b;
  --amber-dark: #b97f28;
  --red: #c8102e;
  --slate: #5b6472;
  --line: rgba(20, 23, 28, 0.1);
  --nav-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

h1, h2, h3, h4, .headline-font {
  font-family: 'Oswald', -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.section-eyebrow {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-dark);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 1rem;
  color: var(--ink);
}

.section-pad {
  padding: 5.5rem 0;
}

.bg-ink { background: var(--ink); color: var(--paper); }
.bg-paper-2 { background: var(--paper-2); }

a { text-decoration: none; }

.btn-amber {
  background: var(--amber);
  border: none;
  color: var(--ink);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 0.85rem 1.9rem;
  border-radius: 3px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-amber:hover { background: var(--amber-dark); color: var(--ink); transform: translateY(-2px); }

.btn-outline-light-custom {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 0.8rem 1.85rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}
.btn-outline-light-custom:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Navbar ---------- */
.navbar-wfw {
  background: var(--ink);
  min-height: var(--nav-h);
  padding: 0.6rem 0;
  box-shadow: 0 2px 18px rgba(0,0,0,0.25);
}

.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-chip {
  background: var(--paper);
  border-radius: 8px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  height: 46px;
}
.brand-chip img { height: 100%; width: auto; display: block; }

.navbar-brand-name {
  color: #fff !important;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.navbar-brand-name small {
  display: block;
  font-family: 'IBM Plex Sans', sans-serif;
  text-transform: none;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--amber);
  font-weight: 400;
}

.navbar-wfw .nav-link {
  color: #d8dae0 !important;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
}
.navbar-wfw .nav-link:hover { color: var(--amber) !important; }

.nav-call-btn {
  background: var(--amber);
  color: var(--ink) !important;
  border-radius: 3px;
  padding: 0.5rem 1.1rem !important;
  font-weight: 600 !important;
}
.nav-call-btn:hover { background: var(--amber-dark) !important; color: var(--ink) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  margin-top: calc(-1 * var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center 30%/cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%);
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 46%, rgba(10,12,16,0.45) 0%, rgba(10,12,16,0.08) 100%),
    linear-gradient(to bottom, rgba(14,17,23,0.55) 0%, rgba(20,26,36,0.35) 45%, rgba(10,13,18,0.75) 100%),
    linear-gradient(160deg, rgba(30,25,10,0.25), rgba(10,14,20,0.15));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 2.4rem 2rem;
  margin: 0 auto;
  padding-top: calc(var(--nav-h) + 1.5rem);
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
}

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
  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;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  margin: 0.5rem 0 0.75rem;
  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, 2vw, 1.35rem);
  color: #f3efe6;
  font-weight: 400;
  margin-bottom: 0.85rem;
  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 {
  color: #e7e1d3;
  font-size: 0.98rem;
  margin-bottom: 1.8rem;
  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);
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- About ---------- */
.about-photo-frame {
  border: 6px solid var(--paper);
  box-shadow: 0 18px 40px rgba(20,23,28,0.18);
  border-radius: 6px;
  overflow: hidden;
}
.about-photo-frame img { width: 100%; display: block; }

.guarantee-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  padding: 2.5rem;
}
.guarantee-band .bi { color: var(--amber); font-size: 2.4rem; }

.fb-callout {
  background: var(--paper-2);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.fb-callout .bi { font-size: 1.8rem; color: #1877F2; }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2rem 1.6rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(20,23,28,0.1); }
.service-card .bi {
  font-size: 1.9rem;
  color: var(--amber-dark);
  margin-bottom: 1rem;
  display: inline-block;
}
.service-card ul { padding-left: 1.1rem; margin-bottom: 0; }
.service-card li { margin-bottom: 0.35rem; }

.jump-card {
  display: block;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  padding: 1.9rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: background 0.2s ease, transform 0.2s ease;
  border: 1px solid var(--ink-3);
}
.jump-card:hover { background: var(--ink-2); color: var(--paper); transform: translateY(-3px); }
.jump-card .bi { font-size: 2.1rem; color: var(--amber); margin-bottom: 0.75rem; display: block; }
.jump-card span { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

/* ---------- FAQ ---------- */
.accordion-item { border: none; border-bottom: 1px solid var(--line); background: transparent; }
.accordion-button {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.03em;
  font-weight: 600;
  background: transparent;
  padding: 1.2rem 0;
  color: var(--ink);
}
.accordion-button:not(.collapsed) { color: var(--amber-dark); background: transparent; box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-body { padding: 0 0 1.4rem; color: var(--slate); }
.accordion-button::after { flex-shrink: 0; }

/* ---------- Alternating photo rows ---------- */
.feature-row { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.feature-row + .feature-row { margin-top: 4rem; }
.feature-row-img { flex: 1 1 420px; }
.feature-row-text { flex: 1 1 380px; }
.feature-row-img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(20,23,28,0.14);
  display: block;
}

/* ---------- Panel Upgrades ---------- */
#panel-upgrades { background: var(--paper-2); }

/* ---------- Generators ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 991px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .benefit-grid { grid-template-columns: 1fr; } }

.benefit-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.6rem 1.3rem;
}
.benefit-tile .bi { color: var(--amber-dark); font-size: 1.6rem; margin-bottom: 0.6rem; display: block; }
.benefit-tile h4 {
  font-size: 0.95rem;
  text-transform: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.benefit-tile p { font-size: 0.88rem; color: var(--slate); margin: 0; }

.generator-photos { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.generator-photos figure { flex: 1 1 320px; margin: 0; }
.generator-photos img { width: 100%; border-radius: 8px; display: block; box-shadow: 0 16px 34px rgba(20,23,28,0.14); }
.generator-photos figcaption { font-size: 0.82rem; color: var(--slate); margin-top: 0.5rem; }

/* ---------- Remodels ---------- */
#remodels { background: var(--ink); color: var(--paper); }
#remodels .section-eyebrow { color: var(--amber); }
#remodels .section-title { color: #fff; }
#remodels p { color: #cfd3da; }
#remodels .feature-row-text p { color: #cfd3da; }

.testimonial-block {
  border-left: 3px solid var(--amber);
  padding-left: 1.75rem;
  margin: 3rem 0;
}
.testimonial-block p { font-size: 1.25rem; font-style: italic; color: #f1efe8; }
.testimonial-block cite { color: var(--amber); font-style: normal; font-family: 'Oswald', sans-serif; letter-spacing: 0.03em; }

.knobtube-banner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-top: 3.5rem;
}
.knobtube-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.knobtube-banner .overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, rgba(20,23,28,0.92) 0%, rgba(20,23,28,0.55) 65%, rgba(20,23,28,0.15) 100%);
  width: 100%;
  padding: 2.5rem;
}
.knobtube-banner h3 { color: #fff; margin-bottom: 0.6rem; }
.knobtube-banner p { color: #dcdfe4; max-width: 480px; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 767px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item { border-radius: 8px; overflow: hidden; position: relative; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  color: #fff;
  font-size: 0.82rem;
  padding: 1.6rem 0.9rem 0.6rem;
}

/* ---------- Contact ---------- */
#contact { background: var(--paper-2); }
.contact-card {
  background: #fff;
  border-radius: 10px;
  padding: 2.2rem;
  box-shadow: 0 16px 36px rgba(20,23,28,0.08);
  height: 100%;
}
.contact-line { display: flex; gap: 0.9rem; margin-bottom: 1.3rem; align-items: flex-start; }
.contact-line .bi { color: var(--amber-dark); font-size: 1.3rem; margin-top: 0.15rem; }
.contact-line strong { display: block; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.04em; }
.contact-line span, .contact-line a { color: var(--slate); }
.contact-line a { color: var(--ink); }

.map-frame { border-radius: 10px; overflow: hidden; box-shadow: 0 16px 36px rgba(20,23,28,0.08); min-height: 320px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--ink); color: #c9ccd2; padding: 3.5rem 0 1.5rem; }
footer.site-footer h5 {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
}
footer.site-footer a { color: #c9ccd2; }
footer.site-footer a:hover { color: var(--amber); }
footer.site-footer .footer-chip {
  background: var(--paper);
  border-radius: 8px;
  padding: 6px 10px;
  display: inline-block;
  margin-bottom: 1rem;
}
footer.site-footer .footer-chip img { height: 40px; display: block; }
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  margin-right: 0.5rem;
}
.social-icons a:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.powered-by {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}
.powered-by a { color: var(--amber); font-weight: 600; }

@media (max-width: 767px) {
  .section-pad { padding: 3.5rem 0; }
  .feature-row { gap: 1.5rem; }
  .feature-row + .feature-row { margin-top: 2.5rem; }
}
