/* ============================================================
   WEST ELECTRICAL INSTALLERS — Main Stylesheet
   ============================================================ */

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

:root {
  --dark:       #2e2e2e;
  --darker:     #1a1a1a;
  --white:      #ffffff;
  --light-gray: #f5f5f5;
  --mid-gray:   #555555;
  --gold:       #FFD700;
  --body-font:  'Open Sans', Arial, sans-serif;
  --heading-font: 'Open Sans', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  font-size: 16px;
  color: #333;
  background: #fff;
  padding-bottom: 0;
}

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

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: #3a3a3a;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.announcement-bar a { color: #fff; text-decoration: underline; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--dark);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-logo img {
  height: 70px;
  width: auto;
}

.header-phone {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-phone::before {
  content: "📞";
  font-size: 14px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.google-review-badge img {
  height: 50px;
  width: auto;
}

/* Follow Us Dropdown */
.follow-us-wrapper {
  position: relative;
}

.follow-us-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  white-space: nowrap;
}

.follow-us-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid #ddd;
  min-width: 160px;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.follow-us-wrapper:hover .follow-us-dropdown,
.follow-us-wrapper.open .follow-us-dropdown {
  display: block;
}

.follow-us-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  transition: background 0.15s;
}
.follow-us-dropdown a:last-child { border-bottom: none; }
.follow-us-dropdown a:hover { background: #f5f5f5; }
.follow-us-dropdown .icon { font-size: 16px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.nav-list li a {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 18px;
  transition: opacity 0.2s;
}

.nav-list li a:hover { opacity: 0.8; }

.nav-list li.active a {
  border: 2px solid #fff;
  padding: 10px 16px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 60px 24px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1, .hero-content h2 {
  color: #fff;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-content .hero-sub {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-outline {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 26px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: #fff; color: #333; }

.btn-solid-dark,
a.btn-solid-dark,
a.btn-solid-dark:visited {
  display: inline-block;
  background: var(--dark);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.btn-solid-dark:hover { opacity: 0.85; }

.btn-solid-white {
  display: inline-block;
  background: #fff;
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 24px;
  border: 2px solid #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-solid-white:hover { opacity: 0.85; }

/* ============================================================
   PROMO BAND
   ============================================================ */
.promo-band {
  background: #3a3a3a;
  color: #fff;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.promo-band-text h3 {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 700;
  margin-bottom: 4px;
}
.promo-band-text p {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ============================================================
   SERVICES GRID (4-column cards on home)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
}

.service-card {
  overflow: hidden;
  position: relative;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.service-card:hover img { transform: scale(1.03); }

.service-card-body {
  padding: 18px 20px 22px;
  background: #fff;
}

.service-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #222;
}

.service-card-body p {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 24px;
}

.content-section h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.content-section .section-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 20px;
}

.content-section p {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 14px;
}

.content-section a { color: #2e2e2e; text-decoration: underline; }

.content-section ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}
.content-section ul li {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 8px;
}

/* ============================================================
   DARK CTA BAND
   ============================================================ */
.cta-band {
  background: var(--dark);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 50px 32px;
  text-align: center;
  color: #fff;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.cta-band-content {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-band .band-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 22px;
}

/* ============================================================
   TWO-COLUMN LAYOUT (interior pages)
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
  align-items: start;
}

.two-col img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.two-col-text {
  padding: 0 32px;
}

.two-col-text h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.two-col-text .section-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 18px;
}

.two-col-text p {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 14px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 22px 20px;
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 14px;
}

.testimonial-card .reviewer {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333;
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 40px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s, opacity 0.2s;
}
.gallery-grid a:hover img { transform: scale(1.04); opacity: 0.9; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 60% 40%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
  gap: 24px;
  align-items: start;
}

.contact-map iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

.contact-info-box {
  background: var(--dark);
  color: #fff;
  padding: 28px 26px;
}

.contact-info-box h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 12px;
}

.contact-info-box p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.contact-info-box a { color: #fff; text-decoration: underline; }

.hours-table {
  width: 100%;
  font-size: 14px;
  margin-top: 8px;
}
.hours-table td { padding: 3px 8px 3px 0; }
.hours-table td:first-child { font-weight: 700; min-width: 42px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.form-section h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.form-section .section-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 6px;
}

.form-section p {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 10px 12px;
  border: 1px solid #ccc;
  font-size: 14px;
  font-family: var(--body-font);
  background: #fff;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #555;
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.captcha-row label {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}

.captcha-row input {
  width: 80px;
  padding: 9px 10px;
  border: 1px solid #ccc;
  font-size: 14px;
  text-align: center;
}

.form-submit {
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 13px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.85; }

.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid #c3e6cb;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--darker);
  color: #ccc;
  padding: 40px 32px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 32px;
}

.footer-service-area h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.5;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.footer-nav a {
  color: #ccc;
  font-size: 13px;
  display: block;
  padding: 2px 0;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: #aaa;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-bottom p { margin-bottom: 4px; }

/* ============================================================
   STICKY CALL NOW BUTTON
   ============================================================ */
.sticky-call {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #fff;
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 20px;
  border: 2px solid #ccc;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  z-index: 999;
  cursor: pointer;
  transition: box-shadow 0.2s;
  text-decoration: none;
}
.sticky-call:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

/* ============================================================
   PAGE HEADING (interior pages)
   ============================================================ */
.page-heading {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 16px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: #222;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .two-col-text { padding: 24px 0 0; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  .site-header { padding: 12px 16px; flex-direction: column; align-items: flex-start; }
  .header-right { flex-wrap: wrap; }
  .nav-list li a { padding: 12px 10px; font-size: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-band { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 320px; padding: 48px 16px; }
}
