:root {
  --g: #22392C;
  --c: #F4EBDF;
  --t: #c8a99a;
  --w: #FFFFFF;
  --go: #C9A84C;
  --gl: #e2c97e;
}
html {
  scroll-behavior: smooth;
}

body.menu-open {
  overflow: hidden;
}
section {
  overflow-x: hidden;
}
.menu-mobile-container {
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: 0vw;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  transform: scaleX(0);
  color: white;
  opacity: 0;
  z-index: 999;
  background: rgba(34, 57, 44, 0.52);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.menu-mobile {
  /* background-color: var(--g); */
  background: rgba(34, 57, 44, 0.72);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  width: 90%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0px;
  overflow-x: hidden;
}

.menu-mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* .menu-mobile img {
  margin-bottom: 50px;
} */

.menu-mobile a {
  font-size: 1.2rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--go);
  font-weight: 400;
  transition: all .3s;
}

.menu-mobile a.active {
  font-size: 1.8rem;
  text-shadow: 0 0 10px #C9A84C;
  margin-top: 0px!important;
}

.menu-mobile .mq {
  background-color: transparent;
}

.menu-mobile .mq span {
  color: var(--go);
}

.page-content-wrapper {
  z-index: 2;
  transition: transform 0.5s ease-in-out;
  width: 100%;

  position: relative;
}



.page-content-wrapper .page-content {
  position: relative;
  z-index: 1;
  transition: opacity 0.25s ease-in-out;
  width: 100%;
  height: 100%;
  overflow: auto;

}

.menu-toggle,
.menu-toggle+label {
  position: fixed;
  top: 5vh;
  right: 3vw;
  z-index: 99999;
  display: block;
  height: 40px;
  width: 35px;
  font-size: 25px;
  transform-origin: center;
  isolation: isolate;      /* New stacking context */
  contain: layout;         /* Contain transform */
}

.menu-toggle {
  opacity: 0;
}

.menu-toggle+label {
  transition: transform 0.5s ease-in-out;
  z-index: 9999999;
}

.menu-toggle + label .fa-solid, .menu-mobile-container .menu-toggle .fa-solid {
  position: relative !important;
  font-size: 40px !important;  /* Smaller icon */
  width: auto !important;      /* Kill FA's fixed width */
  height: auto !important;     /* Kill FA's fixed height */
  line-height: 1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--go) ;
  margin: 0 !important;
}
 .s#openMobileMenu {
  color: var(--g)!important;
 }
.menu-toggle+label .fa-solid.fa-xmark {
  opacity: 0;
}

#menu-toggle:checked+label {
  transform: rotate(180deg);
}

#menu-toggle:checked+label .fa-solid.fa-xmark {
  opacity: 1;
}
#menu-toggle:checked ~ .menu-mobile-container .menu-toggle {
  opacity: 1;
}
#menu-toggle:checked+label .fa-solid.fa-bars {
  opacity: 0;
  display: none;
}

#menu-toggle:checked~.page-content-wrapper {
  pointer-events: none;
  transform: scaleX(1.5);
  transform-origin: top;
}




#menu-toggle:checked~.page-content-wrapper .page-content {
  opacity: 1;
}

#menu-toggle:checked~.menu-mobile-container {
  transform: scaleX(1);
  opacity: 1;
}
#wave-floating-menu {
  fill: var(--g);
  height: 30px;
  z-index: 2;
  position: relative;
  width: 100%;
  margin-bottom: -3px;
  /* transform: rotate(180deg); */
  display: none;
}

/* ── FLOATING MENU ── */
#float-menu {
  position: fixed;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
}

#float-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--go);
  border: 1px solid rgba(201, 168, 76, 0.9);
  padding: 10px 8px;
  box-shadow: 0 8px 40px rgba(34, 57, 44, 0.22);
}

.float-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 56px;
  height: 56px;
  background: transparent;
  border: none;
  cursor: none;
  text-decoration: none;
  color: white;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.float-item:hover {
  background: rgba(201, 168, 76, 0.12);
  color: var(--g);
  transform: scale(1.1);
}



.float-icon {
  font-size: 2rem;
  line-height: 1;
  max-width: 56px;
}

.float-label {
  font-family: 'Lato', sans-serif;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

/* Tooltip on hover */
.float-item::before {
  content: attr(aria-label);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--go);
  color: var(--cream);
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 7px 14px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.float-item:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media screen and (min-width:951px) {
.menu-toggle+label, .menu-mobile-container {
  display: none;
}
}
@media screen and (max-width:950px) {
  #deskMenu {
    display: none;
  }

  .mobileMenu {
    display: block;
  }
  #nav img {
    width: 100px;
  }
}
@media (min-width: 769px) {
  #float-menu-svg {
    display: none;
  }

  #float-menu-inner {
    border-radius: 30px 0 0 30px;

  }
}
@media(max-width:768px) {
#wave-floating-menu {
    display: block;
  }
 #float-menu {
    right: 0px;
    top: unset;
    bottom: 0px;
    left: 0px;
    transform: translateX(0%);
  }

  .float-item {
    flex: 1;
    color: white;
  }

  #float-menu-inner {
    flex-direction: row;
    padding: 8px 10px;
    border: none;
  }

  #float-menu-svg {
    margin-bottom: -42px;

  }

  /* Hide tooltips on mobile */
  .float-item::before {
    display: none;
  }

  #float-modal-box {
    padding: 36px 24px;
  }
}
@media screen and (max-width:550px) {
.menu-mobile {

  width: 98%;
}}


.footer-center a.active {
   text-shadow: 0 0 0px rgba(0, 0, 0, .5), 0 0 10px rgba(0, 0, 0, .5);
    scale: 1.1;
}