/* =========================
   Font Face Declarations
   ========================= */
@font-face {
  font-family: 'HelveticaNeue-Bold';
  src: url('../fonts/HelveticaNeue-LTStd-Bold.otf') format('opentype');
}
@font-face {
  font-family: 'HelveticaNeue-Medium';
  src: url('../fonts/HelveticaNeue-LTStd-Medium.otf') format('opentype');
}
@font-face {
  font-family: 'HelveticaNeue-Roman';
  src: url('../fonts/HelveticaNeue-LTStd-Roman.otf') format('opentype');
}
@font-face {
  font-family: 'HelveticaNeue-BoldExtended';
  src: url('../fonts/HelveticaNeue-LTStd-BoldExtended.otf') format('opentype');
}
@font-face {
  font-family: 'HelveticaNeue-ThinCondensed';
  src: url('../fonts/HelveticaNeue-LT-Std-Thin-Condensed.otf') format('opentype');
}
@font-face {
  font-family: 'HelveticaNeueLTStd-BdCn';
  src: url('../fonts/HelveticaNeueLTStd-BdCn.otf') format('opentype');
}
@font-face {
  font-family: 'Helvetica Bold';
  src: url('../fonts/Helvetica-Bold.ttf') format('truetype'); /* fixed path */
}

/* =========================
   Base / Reset
   ========================= */
html { scroll-behavior: smooth; }
* { padding: 0; margin: 0; box-sizing: border-box; }
body { font-family: "Helvetica Neue LT Std", Arial, sans-serif; }
img { max-width: 100%; }
a { text-decoration: none; }
ul { list-style-type: none; }

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.btn {
  background: none;
  border: none;
  width: 249px;
  height: 49px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background: url(../images/button-bg.png) no-repeat center/contain;
  color: #ffffff;
  font-family: 'Helvetica Bold', Arial, sans-serif;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 17.22px;
}

/* =========================
   Banner + Background Video
   ========================= */
.banner-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;         /* hide video edges */
  isolation: isolate;       /* allows negative z-index safely */
}

/* Full-bleed background video behind content */
.banner-section > .bg-video {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: -1;              /* sits behind all banner content */
  pointer-events: none;     /* clicks go to content */
}

/* Optional dark overlay (if you add <div class="bg-overlay"></div>) */
.bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 1;
}

/* Foreground content stays above video/overlay */
.header, .main-content {
  position: relative;
  z-index: 2;
}

/* Respect reduced motion + provide image fallback (fixed path) */
@media (prefers-reduced-motion: reduce) {
  .bg-video { display: none; }
  .banner-section {
    background: url("../images/bg-fallback.jpg") center/cover no-repeat;
  }
}

/* =========================
   Header
   ========================= */
.banner-section .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
  position: relative;
  z-index: 10;              /* can be higher than 2; sits above overlay */
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.banner-section .header .phone a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  color: #ffffff;
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
  display: inline-block; /* optional, helps some browsers */
}
.banner-section .header .phone a:hover { text-decoration: underline; }
.banner-section .header .logo img { width: 249px !important; }

/* =========================
   Main Content
   ========================= */
.banner-section .main-content {
  font-family: 'HelveticaNeueLTStd-BdCn', Arial, sans-serif;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  width: 100%;
  padding: 140px 0px;
  max-width: 1200px;
  margin: auto;
}

/* desktop only shift */
@media (min-width: 992px) {
  .banner-section .header {
    left: 60px;
  }
  
  .banner-section .main-content {
    left: 43px;
  }
}

.banner-section .main-title {
  font-size: 60px;
  margin-bottom: 56px;
  color: #ffffff;
  text-align: center;
}

/* =========================
   Banner Services
   ========================= */
.banner-section .services {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
.banner-section .service { text-align: center; }

/* Alternating fade animations for arrows */
.banner-section .service .arrow img { /* height: 53px; */ }
.banner-section .services .service:first-child .arrow { animation: fadeAlternate1 3s infinite; }
.banner-section .services .service:last-child .arrow  { animation: fadeAlternate2 3s infinite; }

@keyframes fadeAlternate1 {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}
@keyframes fadeAlternate2 {
  0%, 100% { opacity: 0; }
  50%      { opacity: 1; }
}

.banner-section .service-title {
  font-family: 'HelveticaNeue-ThinCondensed';
  font-size: 33.33px;
  margin-bottom: 5px;
  color: #ffffff;
}
.banner-section .service-subtitle {
  font-family: 'HelveticaNeue-ThinCondensed';
  font-size: 37.5px;
  margin-bottom: 20px;
  color: white;
  font-weight: bold;
}
.banner-section .arrow {
  font-size: 60px;
  color: #e74c3c;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1;
}

/* 1) Make the header wide again on desktop (undo 900px cap) */
@media (min-width: 992px) {
  .banner-section .header { max-width: 1200px; }
}

/* 2) Bigger, responsive logo */
.banner-section .header .logo img {
  width: clamp(260px, 22vw, 420px);  /* grows with viewport */
  height: auto;
}

/* Desktop safe cap */
@media (min-width: 1200px) {
  .banner-section .header {
    max-width: 1200px;
    justify-content: center; 
    gap: clamp(160px, 5vw, 190px);
  }
}

/* Tablet adjustment */
@media (min-width: 769px) and (max-width: 1199px) {
  .banner-section .header {
    gap: min(5vw, 40px);
    flex-wrap: wrap;         /* or flex-direction: column; */
    justify-content: center;
  }
  .banner-section .button-container {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
}

/* 4) Prevent the phone number from wrapping */
.banner-section .header .phone a { white-space: nowrap; }

/* =========================
   Responsive
   ========================= */
@media screen and (max-width: 768px) {
  .banner-section .header {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }
  .banner-section .main-title {
    font-size: 50px;
    margin-bottom: 30px;
  }
  .banner-section .services {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .banner-section .service { margin-bottom: 30px; }
  .banner-section .service-title { font-size: 30px; }
  .banner-section .service-subtitle { font-size: 33px; }
}
@media screen and (max-width: 645px) {
  .banner-section .main-title { font-size: 40px; }
  .banner-section .service-title { font-size: 25px; }
  .banner-section .service-subtitle { font-size: 30px; }
}
@media screen and (max-width: 480px) {
  .banner-section .service-title { font-size: 22px; }
  .banner-section .service-subtitle { font-size: 25px; }
}
