/* ============================================
   Excel Electric Inc. — Custom Overrides
   ============================================ */

/* Brand Color Override — Electric Blue Accent */
:root {
  --excel-primary: #1a73e8;
  --excel-secondary: #f59e0b;
  --excel-dark: #111827;
  --excel-light: #f8fafc;
}

/* Logo sizing */
.logo img {
  max-height: 60px !important;
  width: auto;
}
.nav-logo img {
  max-height: 50px !important;
}

/* Hero slider image positioning */
.slider-one_image-layer {
  background-position: center center;
  background-size: cover;
}

/* Service select dropdown styling */
.contact-form select {
  width: 100%;
  height: 54px;
  padding: 0 20px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 0;
  background: #fff;
  color: #888;
  font-size: 15px;
  font-family: 'Manrope', sans-serif;
  appearance: auto;
  cursor: pointer;
  transition: border-color .3s;
}
.contact-form select:focus {
  border-color: var(--excel-primary);
  outline: none;
}

/* Portfolio page grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}
.portfolio-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  transition: transform .4s ease, box-shadow .4s ease;
  background: #fff;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.portfolio-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.portfolio-card .card-content {
  padding: 24px 28px;
}
.portfolio-card .card-content .badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.portfolio-card .badge.commercial {
  background: rgba(26, 115, 232, 0.1);
  color: #1a73e8;
}
.portfolio-card .badge.residential {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.portfolio-card .card-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}
.portfolio-card .card-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* WHF product cards */
.whf-product-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 30px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .3s, box-shadow .3s;
}
.whf-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
}
.whf-product-card h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--excel-dark);
}
.whf-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}
.whf-spec-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 10px;
}
.whf-spec-list li:last-child {
  border-bottom: none;
}
.whf-spec-list li strong {
  color: var(--excel-dark);
  min-width: 100px;
}
.whf-spec-list li .icon-check {
  color: #22c55e;
  font-weight: bold;
}

/* Page banner */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,24,39,.85) 0%, rgba(17,24,39,.7) 100%);
}
.page-banner .auto-container {
  position: relative;
  z-index: 2;
}
.page-banner h1 {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
}
.page-banner .breadcrumb-text {
  font-size: 18px;
  color: rgba(255,255,255,.7);
}
.page-banner .breadcrumb-text a {
  color: #fff;
  text-decoration: none;
}

/* Service detail cards */
.service-detail-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  margin-bottom: 30px;
  border-left: 4px solid var(--excel-primary);
  transition: all .3s;
}
.service-detail-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
  transform: translateY(-3px);
}
.service-detail-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--excel-dark);
}
.service-detail-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-detail-card ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: #555;
  font-size: 15px;
}
.service-detail-card ul li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  font-size: 14px;
}

/* Contact page map container */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  margin-top: 40px;
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .page-banner h1 {
    font-size: 34px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .whf-product-card {
    padding: 24px;
  }
}
