/* always visible, full‑screen dark background */
#page-transition {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #2F2C2C;             /* dark bg */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* show immediately: no opacity toggle */
    opacity: 1;
    /* only animate transform when sliding up */
    transition: transform 0.8s ease;
    z-index: 9999;
  }
  
  /* hide the site content until we slide up */
  .section-content {
    transform: translateY(100vh);
    transition: transform 0.8s ease;
  }
  
  /* keep your header hidden until reveal */
  .site-header {
    opacity: 0;
    transition: opacity 0.8s ease;
  }
  
  /* make sure your SVG is white */
  #page-transition svg path {
    fill: #ffffff !important;
  }
  
  .swipe-up-hint {
    display: none;
  }

/* Ensure the header container is transparent */
#masthead.site-header,
.site-header {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* And its inner wrapper too */
#masthead .inside-header,
.site-header .inside-header {
  background-color: transparent !important;

}

/* If you’ve got a nav bar background rule */
.main-navigation,
.main-navigation-bar {
  background-color: transparent !important;
}

/* Make sure your logo/menu sit above the overlay */
.site-header {
  position: relative !important;
  z-index: 10000;
  width: 100%;
}


.site .grid-container .container .hfeed .content-area{
    padding-top:0;
    padding-bottom:0;
}

/* center the menu items container */
.main-navigation .inside-navigation {
  display: flex;
  justify-content: right;
  align-items: right;
}

/* push our extra <li> to the far right */
.main-navigation .inside-navigation .contact-us,
.main-navigation .inside-navigation .header-phone {
  margin-left: auto;
  display: flex;
  align-items: right;
}

/* style the Contact Us pill */
.main-navigation .inside-navigation .contact-us a {
  padding: 0.4em 1em;
  border-radius: 999px;
  background: #ffffff;
  color: #2F2C2C !important;
  font-weight: 600;
  text-decoration: none;
}
.main-navigation .inside-navigation .contact-us a:hover {
  background: #f0f0f0;
}

/* style the phone link */
.main-navigation .inside-navigation .header-phone a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

/* mobile fallback: allow wrap */
@media (max-width: 768px) {
  .main-navigation .inside-navigation {
    flex-wrap: wrap;

  }
  .main-navigation .inside-navigation .contact-us,
  .main-navigation .inside-navigation .header-phone {
    margin: 0.5em 0 0 auto;

  }
}

/* make sure the wrapper is ready for parallax */
.parallax-section {
    position: relative;
    overflow: hidden;
  }
  
  /* if it’s a normal block with background‑image */
  .parallax-section {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center 0 !important;
    will-change: background-position;
  }
  
  /* if it’s a Cover block: target the inner <img> */
  .parallax-section img.wp-block-cover__image-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    /* start at top */
    object-position: 50% 0 !important;
    will-change: object-position;
  }
  
  /* content sits on top */
  .parallax-section .wp-block-cover__inner-container,
  .parallax-section > * {
    position: relative;
    z-index: 1;
  }


