/* ============================================================
   NAVBAR COMPONENT — Logo, Hamburger, Circular Nav
   Extracted from styles.css for isolated debugging
   ============================================================ */

/* Logo Circle Styles - Far Left */
.logo-circle {
    position: fixed;      /* CHANGED — stays pinned to viewport on scroll */
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    background: transparent;  /* NEW */
    border-radius: 50%;
    z-index: 102;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-circle:hover {
    
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    background: transparent;  /* NEW */
}





/* ── Hamburger / X toggle ──
   Sleeker, tighter icon: thinner bars, pulled closer together,
   sharp square corners (no border-radius). Sits in a 44×44px
   click target (comfortable to tap down to 360px screens) even
   though the icon itself is smaller and sits closer to the logo. */
.bars1 {
  position: fixed;      /* stays pinned to viewport on scroll */
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 101;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

/* When the menu is open, give the icon its own solid backdrop.
   Without this the two white X lines can visually blend into the
   "Home" link's text sitting underneath, especially at narrow
   widths (as low as 360px) where that circle's label lands right
   under the icon. The chip makes the X read as clearly on top,
   everywhere, regardless of what text is behind it. */
.bars1.active {
  background: rgba(26, 26, 46, 0.65);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.bar1 {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background-color: transparent;   /* CHANGED — the middle line is dropped; only the ::before/::after lines below are shown, so the icon reads as 2 lines instead of 3 */
  border-radius: 0;      /* sharp edges */
  transition: background-color 0.35s ease, opacity 0.35s ease;
}

.bar1::before,
.bar1::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 22px;
  height: 3px;   /* CHANGED — thicker line (was 2px) */
  background-color: #1a1919;
  border-radius: 0;      /* sharp edges */
  transition: transform 0.35s ease, top 0.35s ease, background-color 0.35s ease;
}

.bar1::before {
  top: -6px;   /* pulled in from -9px — the three bars sit tighter together */
}

.bar1::after {
  top: 6px;    /* pulled in from 9px */
}

/* Active state — the two outer bars rotate into an X, the middle
   bar fades out. White so it stays visible over the open circular
   nav (and over the "Home" circle it now sits reliably on top of). */
.bars1.active .bar1 {
  background-color: transparent;
}

.bars1.active .bar1::before {
  top: 0;
  transform: rotate(45deg);
  background-color: #ffffff;
}

.bars1.active .bar1::after {
  top: 0;
  transform: rotate(-45deg);
  background-color: #ffffff;
}

/* Navbar Links CSS */

.navbar-wrapper {
    position: sticky;
    top: 20px;
    margin: 20px 0 0 30px;
    width: calc(100% - 60px);
    background: #FFFFFF;
    border-radius: 40px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;  /* CHANGED — burger stays right, logo no longer needs space-between */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 10000;
}

#nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: all 1s;
  z-index: -1;
  overflow: hidden;  
  opacity: 0;
}

#nav {
  pointer-events: none;
}

#nav.visible {
  pointer-events: auto;
  opacity: 1;
}

#nav a {
  color: #fff;
  text-decoration: none;
  font-family: "BBH Bartle", sans-serif;
  font-size: 0.7rem;
  line-height: 70vw;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-indent: -30vw;
  border-radius: 50%;
  transition: all .5s;
}

#nav a:hover {
  background: rgba(169, 169, 169, 0.5);
}

.shape-circle {
  border-radius: 50%;
  width: 20vw;
  height: 20vw;
  top: -10vw;
  left: -10vw;
  position: absolute;
  transition: all 1s ease-in-out;
  background: rgba(192, 192, 192, 0.5);
  box-shadow: 0 0px 0px rgba(4, 26, 62, 0.5);
}

nav.visible li:first-child {
  width: 200vw;
  height: 200vw;
  top: -100vw;
  left: -100vw;
  z-index: 5;
  transition: all .5s ease-in-out;
  box-shadow: 0 0px 80px rgba(4, 26, 62, 0.5);
}

nav.visible li:nth-child(2) {
  width: 150vw;
  height: 150vw;
  top: -75vw;
  left: -75vw;
  z-index: 6;
  transition: all .6s ease-in-out;
  box-shadow: 0 0px 80px rgba(4, 26, 62, 0.5);
}

nav.visible li:nth-child(3){
  width: 100vw;
  height: 100vw;
  top: -50vw;
  left: -50vw;
  z-index: 7;
  transition: all .7s ease-in-out;
  box-shadow: 0 0px 80px rgba(4, 26, 62, 0.5);
}

nav.visible li:last-child{
  width: 50vw;
  height: 50vw;
  top: -25vw;
  left: -25vw;
  z-index: 8;
  transition: all .8s ease-in-out;
  box-shadow: 0 0px 80px rgba(4, 26, 62, 0.5);
}

/* Text-indent values below are mirrored for the new left-opening
   geometry: indent = ring-width − original-right-opening-indent,
   so each link lands at the mirror-image spot (now on the right
   side of the screen) instead of sliding off-screen to the left. */
nav.visible li:first-child a {
  line-height: 265vw !important;
    text-indent: 185vw !important;

}

nav.visible li:nth-child(2) a {
  line-height: 200vw !important;
  text-indent:133vw !important;
}

nav.visible li:nth-child(3) a {
  line-height: 137vw !important;
    text-indent: 83vw !important;
  
}

nav.visible li:last-child a {
  line-height: 70vw !important;
  text-indent:38vw !important;
}

/* ── Navbar always on top ──
   .logo-circle and .bars1 must sit ABOVE #nav, not just at an equal
   z-index. When both were 10000, equal stacking fell back to DOM
   order — and since #nav comes after the burger in the markup, the
   expanded circular menu (whose "Home" circle covers the whole
   screen, including right over the burger's own click target) was
   painted on top and ate the burger's clicks, so tapping the X
   actually landed on "Home" underneath instead of closing the menu.
   Giving the burger/logo a strictly higher z-index than #nav fixes
   that at every screen size, including down to 360px. ── */
.logo-circle,
.bars1 {
  z-index: 10001 !important;
}

#nav {
  z-index: 9999 !important;
}