


/* ============================================================
   HEADER HOME – HERO SLIDER
   ============================================================ */

/*****************************
 ** Home Header Slider Font Styling **
 *****************************/

/* Heading Text */
a.header_home_heading-link {
  text-decoration: none;
}
h1.header_home_heading {
  font-weight: 300;
  color: var(--base);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  font-size: clamp(3rem, 10vw, 3.75rem);
  transition: 0.1s ease-in;
}

a.header_home_heading-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--base);
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

/* Tag Boxes */
.header_home_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 640px;
}

.header_home_tag {
  display: inline-block;
  padding: 4px 20px;
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--base);
  border: 1px solid var(--base);
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
  font-family: var(--gp-font--oswald);
  width: 100%;
  max-width: 150px;
  text-align: center;
}

/* Description */
p.header_home_description {
  color: var(--base);
  margin-top: 20px;
  font-size: clamp(0.588rem, 5vw, 1.688rem);
}

p.header_home_description_mobile {
  display: none;
}

.header-home {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #111;
}

/* ── Top Bar ── */
.header_home_topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  z-index: 100;
}

.header-home__logo {
  flex-shrink: 0;
}

.header-home__logo img {
  max-height: 50px;
  width: auto;
}

.header_home__nav_icons {
  display: flex;
  align-items: center;
  gap: 80px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Green Button */
.green_btn_header, .green_btn_header_no_animation  {
  padding: 8px 28px;
  background-color: var(--accent);
  font-size: 1rem;
  text-decoration: none;
  font-family: var(--gp-font--montserrat) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  color: var(--contrast);
  transition: ease-in-out 0.3s all;
  height: 37px;
  letter-spacing: 1.6px;
  text-align: center;
}
.green_btn_header:hover {
  transform: scale(1.1);
}

/* Search */
.search-text {
  font-size: 1rem;
  text-decoration: none;
  font-family: var(--gp-font--montserrat);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--base);
  transition: ease-in-out 0.3s all;
}

.search-text:hover {
  color: var(--accent) !important;
  transform: scale(1.1);
}

/* ── Slider & Track ── */
.header_home_slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.header_home_track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ── Individual Slide ── */
.header_home_slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  visibility: hidden;
}

.header_home_slide[data-index="0"] {
  visibility: visible;
  z-index: 2;
}

/* ── Background Media ── */
.header_home_media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.header_home_media--image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.header_home_media--video {
  overflow: hidden;
}


.header_home_media--video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh !important;
  height: 100vh !important;   
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
  max-width: none !important; 
}



/* ── Dark Overlay ── */
.header-home__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.503);
  z-index: 1;
}

/* ── Slide Content ── */
.header_home_content {
  position: absolute;
  bottom: 80px;
  left: 40px;
  right: 40px;
  z-index: 10;
  max-width: 856px;
}

/* ── Navigation Arrows ── */
.header_home_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.header_home_arrow:hover {
  opacity: 1;
}

.header_home_arrow_left {
  left: 20px;
}

.header_home_arrow_right {
  right: 20px;
}

/* ── Scroll Down Arrow ── */
.header_home_scrolldown {
  position: absolute;
  bottom: 54px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: header-home-bounce 2s infinite;
}

@keyframes header-home-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}


/* ============================================================
   SIDEBAR NAVIGATION
   ============================================================ */

/* ── Sidebar Panel ── */
.new-menu-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 242px;
  height: 100vh;
  background-color: #000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1100;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.new-menu-sidebar.open-new {
  transform: translateX(0);
}

.new-menu-sidebar.close-new {
  transform: translateX(100%);
}

/* ── Top Bar: Logo + Close (hidden on desktop) ── */
.sidebar-topbar {
  display: none !important;
}

/* ── Nav Container ── */
.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 30px;
}

/* ── Menu List ── */
.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* ── Menu Items ── */
.sidebar-menu-item {
  position: relative;
}

/* ── Menu Links ── */
.sidebar-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--gp-font--oswald, 'Oswald', sans-serif);
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
  padding: 18px 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.sidebar-menu-link:hover {
  color: var(--accent, #85c446);
}

.sidebar-menu-item.open > .sidebar-menu-link {
  color: var(--accent, #85c446);
}

/* ── Arrow Indicator ── */
.sidebar-arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--accent, #85c446);
  border-bottom: 2px solid var(--accent, #85c446);
  transform: rotate(-45deg);
  transition: transform 0.3s ease-in-out;
  flex-shrink: 0;
}

.sidebar-menu-item.open .sidebar-arrow {
  transform: rotate(45deg);
}

/* ── Submenu ── */
.sidebar-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.sidebar-submenu.open {
  max-height: 400px;
  opacity: 1;
}

.sidebar-submenu-item a {
  display: block;
  padding: 6px 0 6px 8px;
  text-decoration: none;
  color: #ccc;
  font-family: var(--gp-font--lato, 'Lato', sans-serif);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.sidebar-submenu-item a:hover {
  color: var(--accent, #85c446);
}

/* ── Bottom Section: CTA + Search (hidden on desktop) ── */
.sidebar-bottom {
  display: none !important;
}

/* ── Close Button fallback (hidden on desktop) ── */
.close-btn-new {
  display: none !important;
}

/* ── Prevent body scroll when sidebar open ── */
body.sidebar-open {
  overflow: hidden;
}


/* ============================================================
   SIDEBAR – Theme Variants (set by JS via data-sidebar-theme)
   ============================================================ */

/* Light theme (white background, dark text) — hero hamburger */
.new-menu-sidebar.sidebar-theme-light {
  background-color: #fff;
}

.sidebar-theme-light .sidebar-menu-link {
  color: #1a1a1a;
}

.sidebar-theme-light .sidebar-menu-link:hover {
  color: var(--accent, #85c446);
}

.sidebar-theme-light .sidebar-menu-item.open > .sidebar-menu-link {
  color: var(--accent, #85c446);
}

.sidebar-theme-light .sidebar-submenu-item a {
  color: #555;
}

.sidebar-theme-light .sidebar-submenu-item a:hover {
  color: var(--accent, #85c446);
}

.sidebar-theme-light .sidebar-close svg {
  stroke: #1a1a1a;
}

/* Dark theme (black background, white text) — standard header hamburger */
/* This is the default, so no overrides needed. Included for clarity. */
.new-menu-sidebar.sidebar-theme-dark {
  background-color: #000;
}


/* ============================================================
   STANDARD HEADER (all pages + below hero on homepage)
   ============================================================ */
.header-standard {
  position: relative;
  width: 100%;
  background-color: #fff;
  z-index: 100;
}

/* makes the standard header sticky on the homepage */
body.home .header-home {
  position: relative;
  z-index: 10;
  margin-bottom: -90px;
}

body.home .header-standard {
  position: sticky;
  top: 0;
  z-index: 5;
}

.header_standard_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px 20px 20px;
  max-width: 100%;
}

.header_standard_logo {
  flex-shrink: 0;
}

.header_standard_logo img,
.header_standard_logo svg {
  max-height: 50px;
  width: auto;
}

.header_standard_nav_icons {
  display: flex;
  align-items: center;
  gap: 80px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dark variants for standard header elements */
.search-text--dark {
  color: #1a1a1a;
}

.search-text--dark:hover {
  color: var(--accent, #85c446) !important;
}

.green_btn_header--dark {
  border: 2px solid var(--accent, #85c446);
}


/* ============================================================
   HEADER HOME – Mobile (768px and below)
   ============================================================ */
@media screen and (max-width: 768px) {

  /* Header slider mobile adjustments */
  .header_home_tags,
  .header_home_description,
  .search-text,
  .green_btn_header {
    display: none;
  }

  /* Standard header mobile */
  .header_standard_inner {
    padding: 15px 16px;
  }

  .header_standard_logo img,
  .header_standard_logo svg {
    max-height: 36px;
  }

  .header_standard_nav_icons {
    gap: 20px;
  }

  .search-text--dark {
    display: none;
  }

  .header_home_heading {
    font-size: clamp(22px, 7vw, 36px);
  }

  p.header_home_description_mobile {
    display: inline-block;
    font-size: clamp(0.588rem, 5vw, 1.688rem);
    color: var(--base);
  }

  .header_home_topbar {
    padding: 15px 16px;
  }

  .header-home__logo img {
    max-height: 36px;
  }

  .header_home_content {
    bottom: 70px;
    left: 20px;
    right: 20px;
  }

  .header_home_tag {
    font-size: 10px;
    padding: 4px 10px;
  }

  .header_home_arrow_left {
    left: 8px;
  }

  .header_home_arrow_right {
    right: 8px;
  }

  .header_home_arrow svg {
    width: 18px;
    height: 34px;
  }

  /* ── Sidebar mobile: full-width overlay ── */
  .new-menu-sidebar {
    width: 100%;
    height: 100vh;
    height: 100dvh;
  }

  /* Show logo + close button */
  .sidebar-topbar {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0 24px;
    flex-shrink: 0;
  }

  .sidebar-logo {
    flex-shrink: 0;
  }

  .sidebar-logo img {
    max-height: 40px;
    width: auto;
  }

  .sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
  }

  .sidebar-close:hover {
    opacity: 0.7;
  }

  /* Center menu links */
  .sidebar-nav {
    padding: 0 24px;
    align-items: center;
  }

  .sidebar-menu {
    align-items: center;
    text-align: center;
  }

  .sidebar-menu-link {
    justify-content: center;
    font-size: 22px;
    padding: 14px 0;
    letter-spacing: 3px;
  }

  .sidebar-submenu {
    text-align: center;
  }

  .sidebar-submenu-item a {
    padding: 6px 0;
    text-align: center;
  }

  /* Show CTA + search */
  .sidebar-bottom {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 24px 40px;
    flex-shrink: 0;
  }

  .sidebar-cta {
    display: block;
    width: 100%;
    max-width: 320px;
    padding: 14px 24px;
    text-align: center;
    background: var(--accent, #85c446);
    color: #000;
    font-family: var(--gp-font--oswald, 'Oswald', sans-serif);
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
  }

  .sidebar-cta:hover {
    opacity: 0.85;
  }

  .sidebar-search {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
  }

  .sidebar-search-btn:hover {
    opacity: 0.7;
  }

  .sidebar-search-input {
    display: none;
  }
}


/* ============================================================
   Small Mobile (480px and below)
   ============================================================ */
@media (max-width: 480px) {

  /* Header slider */
  .header_home_content {
    bottom: 60px;
    left: 16px;
    right: 16px;
  }

  .header_home_tags {
    gap: 6px;
  }

  /* Sidebar */
  .sidebar-menu-link {
    font-size: 20px;
    padding: 12px 0;
    letter-spacing: 2px;
  }

  .sidebar-topbar {
    padding: 20px 20px 0 20px;
  }

  .sidebar-bottom {
    padding: 16px 20px 32px;
  }
}