/* ==========================================================================
   LAYOUT
   --------------------------------------------------------------------------
   PURPOSE:
   This file controls GLOBAL STRUCTURE of the site.
   It answers: "How is the page arranged?"

   Layout styles deal with:
   - header positioning
   - footer structure
   - containers
   - navigation placement
   - responsive layout rules

   WHY THIS FILE EXISTS:
   - Keeps structure separate from design
   - Makes large-scale changes predictable
   - Prevents layout logic leaking into components

   RULES:
   - Focus on structure, not aesthetics
   - No button or card styling
   - No section-specific rules

   EXAMPLES OF WHAT BELONGS HERE:
   Header positioning
   Footer layout
   Nav structure
   Container widths
   Responsive breakpoints

   EXAMPLES OF WHAT DOES NOT BELONG HERE:
   Button colours
   Form fields
   Card shadows
   ACF section styling
   ========================================================================== */


.header {
  z-index: 9;
  width: 100%;
  background: var(--header-bg);
  padding: 5px 0px;
}

.home .header {
  /* position: absolute; */
  /* z-index: 9; */
  /* width: 100%; */
  /* background: transparent; */
}


.headerbg.inner {
  background-color: var(--bg-light);
  background-image: url(images/header.png);
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: contain;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--brand-primary);
  padding: 1.5rem 0.5rem 1rem 0.5rem !important;
  margin: 0 0.5rem;
  font-family: var(--font-heading);
}
.home .nav-link {
  /* color: var(--brand-white); */
}

.nav-link:hover,
.current-menu-item a.nav-link {
   color: var(--brand-black); 
  opacity: 1;
  text-decoration: none;
}

.home .nav-link:hover,
.home .current-menu-item a.nav-link {
   /* color: var(--brand-white); */
}

.current-menu-item a.nav-link, .nav-link:focus, .nav-link:hover {
  /* background-image: url('../images/activemenu.png'); */
  /* background-repeat: no-repeat; */
  /* background-position: left; */
}

.navbar .nav-item:last-child a {
  /* text-transform: uppercase;
  background-color: transparent;
  padding: 7px 18px !important;
  color: var(--brand-white) !important;
  border: 2px solid var(--brand-primary);
  border-radius: var(--btn-radius); */
  margin-right: 0px;
  padding-right: 0px!important;
}

.navbar .nav-item:last-child a:hover {
  /* background-color: var(--brand-primary);
  color: var(--brand-white) !important; */
}

/* Mobile nav */
.mobilenav {
  background-color: var(--brand-primary);
  z-index: 99999;
  padding: 1.5rem;
}
.offcanvas-header {
  padding: 0px;
}
  .mobilenav .menu-item a {color: #ffffff;padding-left: 0px!important;margin-left: 0px;font-size: 1.5rem;padding: 0.5rem 0.5rem !important;margin-right: 0px!important;}
.mobilenav .menu-item a:hover, .mobilenav .current-menu-item a.nav-link {
  background-image: unset!important;
  color: #ffffff;
}
.hamburger .hamburger-inner,
.hamburger .hamburger-inner::before,
.hamburger .hamburger-inner::after {
  background-color: var(--brand-secondary);
  border-radius: 5px;
}
button.hamburger.is-active .hamburger-inner,
button.hamburger.is-active .hamburger-inner::before,
button.hamburger.is-active .hamburger-inner::after {
  background-color: var(--brand-white);
}

/* Floating mobile phone icon */
.tel-mob {
  position: fixed;
  bottom: 10px;
  left: 14px;
  height: 49px;
  width: 49px;
  background-color: #afafaf;
  border-radius: 50%;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  display: flex;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
}

/* ==========================================================================
   HERO / GLOBAL LAYOUT
   ========================================================================== */
.hero {
  height: 100dvh !important;
  background-size: cover;
  background-position: 50%;
}

.hero-fullscreen {
  min-height: calc(100vh - 125px);
  min-height: calc(100svh - 125px);
}

.hero-overlay {
      background: linear-gradient(58deg, rgba(235, 227, 214, 1) 0%, rgba(194, 137, 187, 1) 20%, rgba(194, 137, 187, 1) 42%, rgba(235, 227, 214, 0) 60%);
}

.layout-hero img {
    object-position: right;
}
.herotext {max-width: 86% !important;}
.heroshape {min-width: 125%;left: -26px!important;max-height: 53vh;/* display: none; */}


/* contact strip */

.layout-locations-contact, .layout-cta-strip {
  background: #EBE3D6;
background: linear-gradient(35deg, rgba(235, 227, 214, 1) 0%, rgba(194, 137, 187, 1) 26%, rgba(194, 137, 187, 1) 59%, rgba(235, 227, 214, 1) 100%);
}

.layout-locations-contact .contentbox *, .layout-cta-strip .contentbox * {
  color: #fff;
}

.layout-locations-contact a {
  font-weight: 300!important;
}

.layout-cta-strip .contentbox h4 {
  font-weight: 300!important;
}


main#primary {
    background-image: url('../images/bgicon.png');
    background-position: right 21%;
    background-repeat: no-repeat;
}





/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--footer-bg);
  /* color: var(--text-light); */
}

footer a:hover {color: var(--brand-primary);}

footer .current-menu-item a.nav-link {
  color: var(--brand-accent) !important;
}

#copy-foot { font-size: 0.8rem; }

.footerlogo {max-width: 125px !important;}


/* services */
.service-icon-wrap img {
    width: 75px;
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS + CONTAINER WIDTH
   ========================================================================== */
@media (min-width: 992px) {
  html {font-size: 16px;}

  h1, .h1 {font-size: 4rem;}
  h2, .h2 {font-size: 3rem;}
  h3, .h3 {font-size: 1.5rem;}
  h4, .h4 {font-size: 1.3rem;line-height: 1.5;}
  h5, .h5 {font-size: 1.15rem;}

  .tel-mob { display: none; }
  .hamburger { display: none !important; }
  #desktopmenu { display: flex !important; }

  .abbox { padding: 100px; }
  img.footerlogo {max-width: 200px!important;}

  
.herotext {max-width: 86% !important;}
.heroshape {min-width: 865px!important;left: -50px!important;max-height: unset;}

.footerlogo { max-width: 150px !important; }
.service-icon-wrap img {
    width: auto;
}
  
}

@media (min-width: 1600px) {
  .container {/* max-width: 1600px; */}
  /* .navbar {
    max-width: 1600px;
    margin: 0 auto;
  } */

  .herotext {max-width: 50% !important;}
.heroshape {min-width: 850px!important;}
}


/* ==========================================================================
   CONTAINER GUTTERS
   ========================================================================== */
.container,
.container-fluid {
  --bs-gutter-x: var(--container-gutter);
}

@media (max-width: 991.98px) {
  .container,
  .container-fluid {
    --bs-gutter-x: var(--container-gutter-mobile);
  }
}