/* =========================================================
   Double Black Electric Inc.
   Stylesheet — cinematic mountain-photo hero, dark palette,
   warm electric-yellow accents.
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-panel: #111;
  --bg-light: #ffffff;
  --ink: #1a1a1a;
  --ink-muted: #6b6b6b;
  --line: #e5e5e5;
  --accent: #d9a521;       /* warm sign-yellow */
  --accent-soft: #f2c94c;
  --max-width: 1220px;
  --radius: 4px;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);

  /* ---- Swap this URL to your own Mt. Currie photo ---- */
  /* Unsplash photo by Sven Scheuermeier — free for commercial use */
  --hero-photo: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=2400&q=80&auto=format&fit=crop');
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: #e9e9e9;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.12;
  margin: 0 0 0.6em;
  text-transform: uppercase;
  color: #fff;
}

p { margin: 0 0 1em; }

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

.section { padding: 96px 0; position: relative; }

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  text-align: center;
  margin-bottom: 1.4em;
  position: relative;
  letter-spacing: 0.08em;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px; height: 3px;
  background: var(--accent);
  margin: 18px auto 0;
}
.section-title--light { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn + .btn { margin-left: 14px; }
.btn--primary {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(217,165,33,0.28);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.85);
}
.btn--ghost:hover {
  background: #fff;
  color: #0a0a0a;
  transform: translateY(-1px);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.brand__logo {
  height: 58px;
  width: auto;
  display: block;
}
/* Wordmark is baked into the logo; hide the separate text label */
.brand__text { display: none; }

.primary-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 36px;
}
.primary-nav a {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--accent);
}
.primary-nav a.is-active { border-bottom-color: var(--accent); }

.primary-nav a.nav-cta {
  background: var(--accent);
  color: #0a0a0a;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.primary-nav a.nav-cta:hover {
  background: var(--accent-soft);
  color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217,165,33,0.3);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero (full-bleed mountain photo) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 90px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}
.hero__photo,
.page-header .hero__photo {
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center 35%;
  z-index: -2;
  transform: scale(1.02);
}
.hero__overlay,
.page-header .hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.9) 100%),
    radial-gradient(ellipse at center, rgba(10,10,10,0) 30%, rgba(10,10,10,0.55) 100%);
  z-index: -1;
}

.hero__inner {
  position: relative;
  text-align: center;
  width: 100%;
}
.hero__logo {
  width: 220px;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.7));
}
.hero__title {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.65);
  color: #fff;
}
/* Visually-hidden but available to screen readers & SEO */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.hero__tagline {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.38em;
  color: var(--accent);
  margin-bottom: 38px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.hero__intro {
  max-width: 780px;
  margin: 0 auto 1em;
  color: #e9e9e9;
  font-size: 1.05rem;
  line-height: 1.8;
  text-shadow: 0 2px 18px rgba(0,0,0,0.65);
}
.hero__intro--accent {
  color: #cfcfcf;
  font-style: italic;
  margin-bottom: 44px;
}
.hero__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__cta .btn + .btn { margin-left: 0; }

/* ---------- Page header (sub-pages) ---------- */
.page-header {
  position: relative;
  padding: 180px 0 110px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
.page-header__subtitle {
  color: var(--accent);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.95rem;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}

/* ---------- Services (dark, mountain photo tied through) ---------- */
.section--services {
  background: #0a0a0a;
  padding: 110px 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.section--services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center 70%;
  filter: blur(14px) brightness(0.45) saturate(0.8);
  transform: scale(1.08);
  z-index: -2;
}
.section--services::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.85), rgba(10,10,10,0.92));
  z-index: -1;
}
.section--services .section-title { color: #fff; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.service-card {
  background: rgba(16,16,16,0.75);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--accent);
  padding: 44px 28px;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.service-card:hover {
  transform: translateY(-4px);
  background: rgba(22,22,22,0.85);
  border-color: rgba(217,165,33,0.4);
  border-top-color: var(--accent-soft);
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: 0.1em;
}
.service-card p {
  color: #bcbcbc;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* ---------- About (centered dark block) ---------- */
.section--about {
  background: #050505;
  padding: 110px 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.section--about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center 20%;
  filter: blur(28px) brightness(0.28) saturate(0.6);
  transform: scale(1.12);
  z-index: -2;
}
.section--about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.5), rgba(5,5,5,0.95));
  z-index: -1;
}
.about-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.about__logo {
  width: 170px;
  height: auto;
  margin: 0 auto 32px;
  filter: drop-shadow(0 8px 26px rgba(0,0,0,0.55));
}
.about__body {
  color: #d8d8d8;
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 36px;
}

/* ---------- Service detail (services page) ---------- */
.section--service-detail {
  background: #fff;
  color: var(--ink);
  padding: 80px 0;
}
.section--service-detail.section--alt { background: #f5f5f5; }
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.service-detail__header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
  color: #0a0a0a;
  display: inline-block;
  position: relative;
}
.service-detail__header h2::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  background: var(--accent);
  margin-top: 14px;
}
.service-detail__header p {
  color: #4d4d4d;
  font-size: 1.05rem;
  line-height: 1.75;
}
.service-list {
  list-style: none;
  padding: 0; margin: 0;
}
.service-list li {
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 1rem;
  color: #333;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 24px;
  width: 22px; height: 2px;
  background: var(--accent);
}
.service-list li:last-child { border-bottom: 0; }
.service-list strong {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a0a0a;
}

/* ---------- Contact strip / page ---------- */
.section--contact-strip {
  background: #0a0a0a;
  padding: 90px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.section--contact-strip .section-title { color: #fff; }

.contact-card {
  background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  color: #fff;
  max-width: 540px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-card__company {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--accent);
}
.contact-card__person {
  color: #c9c9c9;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.contact-card__line {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  margin: 8px 0;
}
.contact-card__line a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
}
.contact-card__line a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.section--contact { background: #0a0a0a; padding: 100px 0; }
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}
.contact-layout__intro .lead {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 1.2em;
  line-height: 1.7;
}
.contact-layout__intro p { color: #bcbcbc; font-size: 1rem; line-height: 1.8; }
.contact-card--large {
  max-width: 100%;
  padding: 46px 34px;
  text-align: left;
}
.contact-card__button {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 12px 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.contact-card__button:hover {
  background: rgba(217,165,33,0.1);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.contact-card__button-label {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.72rem;
  color: #9a9a9a;
  margin-bottom: 4px;
}
.contact-card__button-value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.22rem;
  color: #fff;
  letter-spacing: 0.04em;
}
.contact-card__area {
  margin: 22px 0 0;
  color: #9a9a9a;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #050505;
  color: #9a9a9a;
  padding: 70px 0 30px;
  border-top: 3px solid var(--accent);
}
.footer__tagline {
  max-width: 900px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #c2c2c2;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}
.footer__bottom nav a {
  margin-left: 22px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: #bcbcbc;
}
.footer__bottom nav a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .service-detail,
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 820px) {
  .brand__text { display: none; }
  .nav-toggle { display: inline-block; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(5,5,5,0.98);
    border-top: 1px solid rgba(255,255,255,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .primary-nav.is-open { max-height: 420px; }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 24px;
    align-items: stretch;
  }
  .primary-nav li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .primary-nav li:last-child { border-bottom: 0; padding-top: 8px; }
  .primary-nav a {
    display: block;
    padding: 15px 0;
    border-bottom: 0;
  }
  .primary-nav a.nav-cta { text-align: center; margin-top: 8px; }
  .nav-container { position: relative; }

  .hero { padding: 120px 0 80px; min-height: auto; }
  .hero__logo { width: 100px; }
  .section { padding: 72px 0; }
  .footer__bottom { justify-content: center; text-align: center; }
  .footer__bottom nav a { margin: 0 10px; }
}

@media (max-width: 480px) {
  .btn { display: block; width: 100%; }
  .btn + .btn { margin-left: 0; margin-top: 10px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__tagline { letter-spacing: 0.22em; }
}
