/* ==========================================================================
   AZETECH INFRA — ELV & BUILDING SERVICES SHOWCASE STYLESHEET
   Pixel-Accurate reproduction of AZETech ELV Building Services Page(1).png
   Consistent with Azetech Infra Mechanical, Electrical & Fire Protection standards.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HEADER NAV OVERRIDES (ACTIVE STATE & PILL BUTTON)
   -------------------------------------------------------------------------- */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #ECEEF2;
}

.site-nav .nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1F2937;
  padding: 0.5rem 0.25rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav .nav-link:hover {
  color: var(--color-primary-red);
}

.site-nav .nav-link.active {
  color: #111827;
}

/* Red underline strictly under the active menu link text */
.site-nav .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-primary-red);
  border-radius: 2px;
}

.btn-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background-color: var(--color-primary-red);
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.625rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(194, 19, 29, 0.25);
}

.btn-header-pill:hover {
  background-color: var(--color-primary-dark-red);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(194, 19, 29, 0.35);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   2. HERO SHOWCASE SECTION (ELV & BUILDING SERVICES)
   -------------------------------------------------------------------------- */
.elv-showcase-section {
  position: relative;
  background-color: #FFFFFF;
  padding-top: 3.25rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

/* Background Faint Architectural Wireframe */
.elv-bg-wireframe {
  position: absolute;
  left: -20px;
  top: 180px;
  width: 380px;
  height: 600px;
  background-image: url('../images/mepf/wireframe_alpha.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.elv-showcase-container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.elv-showcase-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.32fr;
  gap: 3.5rem;
  align-items: flex-start;
}

/* Left Column Content */
.elv-left-col {
  padding-top: 0.5rem;
}

.elv-eyebrow {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-red);
  margin-bottom: 0.625rem;
}

.elv-red-rule {
  width: 64px;
  height: 5px;
  background-color: var(--color-primary-red);
  margin-bottom: 1.5rem;
  border-radius: 3px;
}

.elv-headline {
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #101828;
  margin-bottom: 1.5rem;
}

.elv-headline .text-red {
  display: block;
  color: var(--color-primary-red);
}

.elv-intro-heading {
  font-size: 1.15625rem;
  font-weight: 700;
  color: #101828;
  line-height: 1.45;
  margin-bottom: 0.875rem;
}

.elv-desc-para {
  font-size: 0.96875rem;
  color: #000000;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.elv-services-label {
  font-size: 1.03125rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.875rem;
}

/* Bullet list (8 verbatim items from PDF Page 12) */
.elv-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.elv-bullet-list li {
  position: relative;
  padding-left: 1.625rem;
  margin-bottom: 0.625rem;
  font-size: 1.03125rem;
  font-weight: 600;
  color: #1F2937;
  line-height: 1.45;
  display: flex;
  align-items: center;
}

.elv-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7.5px;
  height: 7.5px;
  border-radius: 50%;
  background-color: var(--color-primary-red);
  flex-shrink: 0;
}

/* Right Column: Upper Hero Visual + Lower 3 Photo Cards */
.elv-right-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.elv-hero-visual {
  position: relative;
  width: 100%;
  margin-top: -1.75rem;
}

.elv-hero-visual img {
  width: 100%;
  height: 340px;
  display: block;
  max-height: 360px;
  object-fit: cover;
  object-position: right top;
}

/* 3 Tall Portrait Photo Cards */
.elv-three-photos-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
}

.elv-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 0.59;
  box-shadow: 0 12px 32px -4px rgba(16, 24, 40, 0.12);
  background-color: #E8EDF3;
}

.elv-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform var(--transition-smooth);
}

.elv-photo-card:hover img {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   3. COMPREHENSIVE ELV & BUILDING SOLUTIONS SECTION
   -------------------------------------------------------------------------- */
.elv-solutions-section {
  background-color: #F8FAFC;
  padding: 5.5rem 0 6rem;
  border-top: 1px solid #EEF2F6;
}

/* Section Header */
.elv-solutions-header {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: flex-end;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.elv-solutions-header-left .eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-red);
  margin-bottom: 0.625rem;
}

.elv-solutions-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: #101828;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.elv-solutions-desc {
  font-size: 1.03125rem;
  color: #000000;
  line-height: 1.6;
  margin: 0;
}

/* 8-Card Responsive Grid (4 columns on desktop: 4 + 4) */
.elv-solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

/* Base Card Styling */
.elv-card {
  background-color: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  box-shadow: 0 4px 16px -2px rgba(16, 24, 40, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.elv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(16, 24, 40, 0.12);
}

.elv-card-image-wrap {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  overflow: hidden;
  background-color: #E5E7EB;
  position: relative;
}

.elv-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.elv-card:hover .elv-card-image-wrap img {
  transform: scale(1.05);
}

/* Card Bottom Strip */
.elv-card-body {
  padding: 1.125rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background-color: #FFFFFF;
  flex-grow: 1;
}

.elv-card-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #101828;
  line-height: 1.35;
  margin: 0;
}

.elv-card-arrow-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-primary-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.elv-card:hover .elv-card-arrow-btn {
  background-color: var(--color-primary-dark-red);
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   4. PROJECT CALL-TO-ACTION BANNER
   -------------------------------------------------------------------------- */
.elv-cta-banner {
  position: relative;
  background-color: #0B1325;
  overflow: hidden;
  padding: 5rem 0;
  color: #FFFFFF;
}

/* Angular Red Polygon Facet */
.elv-cta-facet {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 38%;
  background: linear-gradient(135deg, #B5121B 0%, #8F0B12 100%);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.elv-cta-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.elv-cta-left {
  max-width: 640px;
}

.elv-cta-eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 0.75rem;
}

.elv-cta-title {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.elv-cta-text {
  font-size: 1.0625rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin: 0;
}

.elv-cta-right {
  flex-shrink: 0;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #FFFFFF;
  color: #0F172A;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9375rem 2.25rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn-cta-white:hover {
  background-color: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
  color: var(--color-primary-red);
}

/* --------------------------------------------------------------------------
   5. FOOTER STYLES OVERRIDES
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #05070A;
  color: #FFFFFF;
  padding-top: 5rem;
  padding-bottom: 2rem;
  font-size: 0.9375rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand .footer-logo img {
  height: 40px;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-brand .footer-tagline {
  color: #94A3B8;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: #111622;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background-color: var(--color-primary-red);
  color: #FFFFFF;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 0.75rem;
}

.footer-links-list a {
  color: #94A3B8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: #FFFFFF;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
  color: #94A3B8;
  line-height: 1.5;
}

.footer-contact-item .footer-contact-icon {
  width: 18px;
  height: 18px;
  stroke: var(--color-primary-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: #94A3B8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: #FFFFFF;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #1E293B;
  padding-top: 2rem;
  color: #64748B;
  font-size: 0.875rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #64748B;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: #94A3B8;
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .elv-showcase-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
  }

  .elv-solutions-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 991px) {
  .elv-showcase-section {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
  }

  .elv-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .elv-hero-visual {
    margin-top: 0;
  }

  .elv-hero-visual img {
    height: 280px;
  }

  .elv-solutions-header {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .elv-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .elv-cta-facet {
    width: 32%;
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 0% 100%);
  }

  .elv-cta-container {
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 72px;
  }

  .elv-showcase-section {
    padding-top: 1.75rem;
    padding-bottom: 3.5rem;
  }

  .elv-headline {
    font-size: 2.2rem;
  }

  .elv-three-photos-row {
    gap: 0.75rem;
  }

  .elv-photo-card {
    border-radius: 12px;
  }

  .elv-solutions-section {
    padding: 3.5rem 0 4rem;
  }

  .elv-solutions-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .elv-cta-facet {
    display: none;
  }

  .elv-cta-banner {
    background: linear-gradient(135deg, #0B1325 0%, #151F33 60%, #8F0B12 100%);
    padding: 3.5rem 0;
  }

  .elv-cta-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
