/* ============================================================
   Level Up Electrical — Shared Styles
   Light theme: white/gray bg, brand blue headings, green accents
   Brand colors from logo: green #5DB82E · blue #1F5DAD
   ============================================================ */

:root {
  --navy:        #0f1b2d;
  --navy-mid:    #1F5DAD;
  --yellow:      #5DB82E;
  --yellow-dark: #4a9422;
  --yellow-pale: #eef7e6;
  --bg:          #f5f7fa;
  --white:       #ffffff;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --border:      #e2e8f0;
  --radius:      10px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { color: var(--text-muted); line-height: 1.7; }

.accent { color: var(--yellow); }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  background: var(--yellow-pale);
  border: 1px solid rgba(245,166,35,0.3);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(245,166,35,0.35);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.5);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-1px);
}

/* ── Layout ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-logo svg { width: 28px; height: 28px; color: var(--yellow); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: var(--bg);
}
.nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.nav-cta svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--navy);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ── Hero ── */
.hero {
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8,18,32,0.88) 0%,
    rgba(10,24,46,0.75) 55%,
    rgba(10,24,46,0.45) 100%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.35);
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 span { color: var(--yellow); }
.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--white);
  padding: 0;
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 36px;
  border-right: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { width: 22px; height: 22px; color: var(--yellow); flex-shrink: 0; }

/* ── Section Headers ── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header p { max-width: 580px; margin: 0.6rem auto 0; font-size: 1.05rem; }

/* ── Service Cards ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245,166,35,0.4);
}
.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--yellow-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-card-icon svg { width: 26px; height: 26px; color: var(--yellow-dark); }
.service-card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; }

/* ── Two-column overview cards (homepage) ── */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.overview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.overview-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.overview-card-header { display: flex; align-items: center; gap: 16px; }
.overview-card-icon {
  width: 60px;
  height: 60px;
  background: var(--navy);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.overview-card-icon svg { width: 30px; height: 30px; color: var(--yellow); }
.overview-card h3 { font-size: 1.6rem; color: var(--navy); }
.overview-card ul { display: flex; flex-direction: column; gap: 8px; }
.overview-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
}
.overview-card li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Why Choose Us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.why-card-icon {
  width: 64px;
  height: 64px;
  background: var(--yellow-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.why-card-icon svg { width: 28px; height: 28px; color: var(--yellow-dark); }
.why-card h3 { margin-bottom: 8px; color: var(--navy); font-size: 1.1rem; }
.why-card p { font-size: 0.88rem; }

/* ── About Snippet ── */
.about-snippet {
  background: var(--navy);
  padding: 80px 0;
}
.about-snippet-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-snippet h2 { color: var(--white); }
.about-snippet h2 span { color: var(--yellow); }
.about-snippet p { color: rgba(255,255,255,0.7); margin-top: 12px; }
.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 16px 18px;
}
.cred-icon {
  width: 38px;
  height: 38px;
  background: rgba(245,166,35,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cred-icon svg { width: 20px; height: 20px; color: var(--yellow); }
.cred-item h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 2px; }
.cred-item p { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin: 0; }
.about-graphic { display: flex; justify-content: center; align-items: center; }
.about-graphic svg { width: 100%; max-width: 340px; opacity: 0.85; }

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--yellow) 0%, #e8950d 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: var(--navy); margin-bottom: 12px; }
.cta-band p { color: rgba(15,27,45,0.7); margin-bottom: 32px; font-size: 1.05rem; }
.cta-band-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(245,166,35,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; }
.page-hero .breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.page-hero .breadcrumb a:hover { color: var(--yellow); }
.page-hero .breadcrumb span { color: var(--yellow); }
.page-hero h1 { color: var(--white); }
.page-hero h1 span { color: var(--yellow); }
.page-hero p { color: rgba(255,255,255,0.65); margin-top: 12px; max-width: 580px; font-size: 1.05rem; }

/* ── Services List Page ── */
.services-section { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245,166,35,0.35);
}
.svc-card-icon {
  width: 46px;
  height: 46px;
  background: var(--yellow-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-card-icon svg { width: 22px; height: 22px; color: var(--yellow-dark); }
.svc-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.svc-card p { font-size: 0.88rem; }

/* ── About Page ── */
.about-section { background: var(--white); }
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.about-sidebar {
  background: var(--bg);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--border);
}
.about-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.about-avatar svg { width: 80px; height: 80px; color: rgba(245,166,35,0.5); }
.about-sidebar h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 4px; }
.about-sidebar .title { color: var(--yellow-dark); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.degree-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.degree-item {
  padding: 12px 14px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.degree-item strong { display: block; font-size: 0.85rem; color: var(--navy); }
.degree-item span { font-size: 0.8rem; color: var(--text-muted); }
.about-body h2 { margin-bottom: 20px; }
.about-body p { margin-bottom: 16px; }
.projects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.project-tag {
  background: var(--yellow-pale);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
}

/* ── Contact Page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--yellow-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; color: var(--yellow-dark); }
.contact-info-card h4 { color: var(--navy); font-size: 0.9rem; margin-bottom: 4px; }
.contact-info-card p { font-size: 0.88rem; }
.contact-info-card a { color: var(--navy-mid); font-weight: 600; transition: color 0.2s; }
.contact-info-card a:hover { color: var(--yellow-dark); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { color: var(--navy); margin-bottom: 24px; font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand .nav-logo svg { color: var(--yellow); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.footer-phone svg { width: 18px; height: 18px; color: var(--yellow); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.footer-bottom span { color: rgba(255,255,255,0.35); }

/* ── Hero photo ── */
.hero-photo {
  width: 100%;
  max-width: 440px;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
  border: 3px solid rgba(255,255,255,0.08);
}

/* ── About snippet owner photo ── */
.about-owner-photo {
  width: 100%;
  max-width: 340px;
  height: 440px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  box-shadow: 0 20px 56px rgba(0,0,0,0.4);
  border: 3px solid rgba(255,255,255,0.08);
}

/* ── Photo Grid (services pages) ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.photo-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

/* ── Owner photo (about page) ── */
.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}
.about-avatar { overflow: hidden; background: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner          { grid-template-columns: 1fr; }
  .hero-graphic        { display: none; }
  .about-snippet-inner { grid-template-columns: 1fr; }
  .about-graphic       { display: none; }
  .overview-grid       { grid-template-columns: 1fr; }
  .about-content       { grid-template-columns: 1fr; }
  .contact-layout      { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .nav-links    { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 12px; gap: 2px; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-cta      { display: none; }
  .nav-toggle   { display: block; }
  .nav-links a  { padding: 10px 14px; width: 100%; }
  .trust-item   { padding: 16px 20px; }
  .form-row     { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
