/* ==========================================================================
   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);
}

.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-black);
  padding: 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); */
}

.navbar .nav-item:last-child a:hover {
  /* background-color: var(--brand-primary);
  color: var(--brand-white) !important; */
}

/* Mobile nav */
.mobilenav {
  background-color: #f0eeed;
  z-index: 99999;
  padding: 1.5rem;
}
.offcanvas-header {
  padding: 0px;
}
  .mobilenav .menu-item a {color: var(--brand-black);padding-left: 0px!important;margin-left: 0px;font-size: 1.25rem;}
.mobilenav .menu-item a:hover, .mobilenav .current-menu-item a.nav-link {
  background-image: unset!important;
  color: var(--brand-black);
}
.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: 100vh;
  min-height: 100svh;
}


.herotext {max-width: 86% !important;}
.heroshape {min-width: 125%;left: -26px!important;max-height: 53vh;/* display: none; */}

.heroshape2 {
    display: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--footer-bg);
  color: var(--text-light);
}

footer a:hover { color: var(--brand-secondary); }

footer .current-menu-item a.nav-link {
  color: var(--brand-accent) !important;
}

#copy-foot { font-size: 0.8rem; }

.footerlogo { max-width: 70px !important; }


/* services */
.service-icon-wrap img {
    width: 75px;
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS + CONTAINER WIDTH
   ========================================================================== */
@media (min-width: 992px) {
  html { font-size: 18px; }

  h1, .h1 { font-size: 2.5rem; }
  h2, .h2 {font-size: 1.5rem;}
  h3, .h3 { font-size: 1.75rem; }
  h4, .h4 { font-size: 1.3rem; }
  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: 100% !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: 40% !important; }
.heroshape {min-width: 850px!important;}
}

@media (min-width: 1400px) {
.heroshape2 {
    display: block;
}
}

/* ==========================================================================
   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);
  }
}

