/* =============================================
   PULLEN POWER ELECTRICAL — style.css
   ============================================= */

:root {
  --yellow:     #F5C400;
  --navy:       #0A1A2F;
  --charcoal:   #1A1A1A;
  --light-grey: #F2F4F7;
  --white:      #ffffff;
  --text-muted: #6B7280;
  --radius:     10px;
  --transition: 0.2s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- UTILITY ---- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-pad { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--navy);
  line-height: 1.15;
}
.section-sub {
  margin-top: 12px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}
.btn-primary:hover {
  background: #e6b800;
  border-color: #e6b800;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-large { padding: 15px 30px; font-size: 1rem; }
.btn-full  { width: 100%; justify-content: center; }

.icon-phone { width: 18px; height: 18px; flex-shrink: 0; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo-link { display: flex; align-items: center; }
.logo-main  { max-height: 80px; width: auto; }
.logo-small { max-height: 40px; width: auto; }

/* NAV */
.nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  color: var(--light-grey);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-link:hover { color: var(--yellow); }
.nav-cta { padding: 9px 20px; font-size: 0.9rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--navy) center center / cover no-repeat;
  overflow: hidden;
}

/* Subtle angled accent */
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: var(--yellow);
  opacity: 0.07;
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(245,196,0,0.06) 0%, transparent 55%),
    linear-gradient(160deg, rgba(10,26,47,0.93) 0%, rgba(10,26,47,0.82) 60%, rgba(13,36,68,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 20px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-subtext {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-badge {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(245,196,0,0.3);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 40px;
  color: var(--light-grey);
  font-size: 0.85rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* =============================================
   SERVICES
   ============================================= */
.services { background: var(--light-grey); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.service-card .service-icon,
.service-card h3,
.service-card p {
  margin-left: 28px;
  margin-right: 28px;
}

.service-card .service-icon { margin-top: 28px; }
.service-card p { margin-bottom: 28px; }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
}
.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================
   WHY US
   ============================================= */
.why { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.why-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  min-height: 420px;
}

.why-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cartoon-electrician {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--yellow);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  margin-top: 2px;
}
.why-list strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.why-list p { font-size: 0.95rem; color: var(--text-muted); }

.why-cta-box {
  background: var(--navy);
  border-radius: 16px;
  padding: 48px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 3px solid var(--yellow);
}
.why-cta-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}
.why-cta-box p { color: rgba(255,255,255,0.65); font-size: 0.95rem; }

/* =============================================
   CONTACT
   ============================================= */
.contact { background: var(--light-grey); }

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  max-width: 820px;
  margin: 0 auto;
}

.contact-info {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
  border-right: 1px solid var(--light-grey);
}
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--yellow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 3px;
  font-family: 'Montserrat', sans-serif;
}
.contact-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color var(--transition);
}
a.contact-value:hover { color: var(--yellow); }

.contact-action {
  background: var(--navy);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}
.contact-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
}
.contact-title {
  font-size: 0.9rem;
  color: var(--yellow);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.55);
  padding: 36px 0;
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}
.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  color: rgba(255,255,255,0.55);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--yellow); }
.footer-copy { text-align: center; flex: 1 1 100%; order: 3; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .why-grid       { grid-template-columns: 1fr 1fr; gap: 36px; }
  .why-img-wrap   { grid-column: 1 / -1; min-height: 280px; }
}

@media (max-width: 900px) {
  .why-grid       { grid-template-columns: 1fr; gap: 40px; }
  .why-img-wrap   { min-height: 260px; grid-column: auto; }
  .why-cta-box    { padding: 40px 28px; }
  .contact-card   { grid-template-columns: 1fr; }
  .contact-info   { border-right: none; border-bottom: 1px solid var(--light-grey); padding: 36px 32px; }
  .contact-action { padding: 36px 32px; }
  .footer-copy    { order: unset; flex: 1 1 100%; }
}

@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }

  /* Header nav collapse */
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    border-top: 2px solid var(--yellow);
    padding: 16px 0 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .nav-list.open { display: flex; }
  .nav-list li { width: 100%; }
  .nav-link, .nav-cta {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
  }
  .nav-cta {
    margin: 8px 24px 0;
    width: calc(100% - 48px);
    text-align: center;
    border-radius: var(--radius);
  }

  /* Hero */
  .hero { min-height: 85vh; }
  .hero-content { padding: 60px 20px 100px; }
  .hero-badge {
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    white-space: nowrap;
  }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy  { text-align: left; }
}

@media (max-width: 480px) {
  .logo-main { max-height: 56px; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-info, .contact-action { padding: 28px 20px; }
}
