
/* Navbar - Opened */

  .navbar {
    position: absolute;
    top: 2vh;                           /* vertical top distance responsive */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 75rem;                  /* max width approx 1200px (1 rem = 16px) */
    margin-left: auto;
    margin-right: auto;
    
    /* Responsive horizontal padding with clamp */
    padding-left: clamp(1rem, 1.2vw, 3rem);   /* min 16px, scale with vw, max 48px */
    padding-right: clamp(1rem, 1.2vw, 3rem);
    padding-top: clamp(0.4rem, 40vw, 2rem);
    padding-bottom: clamp(0.4rem, 40vw, 2rem);
  
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    background-color: #fffefe3a;
    border-radius: 10px;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.7px);
    border: 0.03125rem solid rgba(255, 255, 255, 0.151);
    
    height: clamp(2.5rem, 40vh, 3rem);  /* responsive height between 40-48px */
    z-index: 1000;
  }





  /* Hamburger menu - hide by default */
  .hamburger {
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    z-index: 1100; /* above overlay */
    margin-top: 1.5vh;
  }






  /* Both icons hidden by default */
  .hamburger i {
    position: absolute;
    font-size: 28px;
    color: white;
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none; /* Prevent clicks on hidden icon */
  }

  /* Show hamburger icon initially */
  .hamburger i.fa-bars-staggered {
    opacity: 1;
    pointer-events: auto;
  }

  /* When hamburger has 'open' class, show close icon and hide bars */
  .hamburger.open i.fa-bars-staggered {
    opacity: 0;
    pointer-events: none;
  }

  .hamburger.open i.close-icon {
    opacity: 1;
    pointer-events: auto;
  }





  /* Logo Section - Opened */
  .logo img {
    height: 45px;   /* adjust size as needed */
    width: auto;    /* keeps proportions */
    object-fit: contain;
    cursor: none; /* optional if you want it clickable */
    margin-bottom: 5px;
  }
  /* Logo Section - Closed */



  /* Nav Links - Opened */

  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
    margin: 0 0 0.5% 0;
    padding: 0;
    font-family: "Golos Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    transition: none; /* ensure no transition initially */
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    will-change: transform, opacity;
  }



  .nav-links a {
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 0.6875rem;
    font-weight: 500;
    padding-bottom: 0.1875rem; /* gives space for underline */
  }


  .nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(120deg, #fc4900, #8c52ff);
    transition: width 0.4s ease, left 0.4s ease;
  }


  .nav-links a:hover::after {
    width: 100%;
    left: 0; /* shifts back to cover full link */
  }
  /* Nav Links - Closed */


  /* Wrapper handles glow */
  .cta-wrapper {
    position: relative;
    display: inline-block;
  }

  /* Glow effect sits on wrapper */
  .cta-wrapper::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 6px;
    background: linear-gradient(270deg, #fc4900, #8c52ff, #fc4900);
    background-size: 600% 600%;
    filter: blur(25px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
  }



  .cta-wrapper:hover::before {
    opacity: 0.5;
    animation: gradientShift 10s ease infinite;
  }



  /* Actual button */
  .cta-button {
    position: relative;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    color: white;
    background: linear-gradient(270deg, #fc4900, #8c52ff, #fc4900);
    background-size: 600% 600%;
    animation: gradientShift 10s ease infinite;
    display: inline-block;
    overflow: hidden; /* keep shine clipped inside */
    z-index: 1;
    font-weight: 600;
    border: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    font-family: "Golos Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  }

  /* Shine sweep stays inside */
  .cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0.1) 100%
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
    pointer-events: none;
    font-family: "Golos Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  }
  .cta-button:active {
    transform: scale(0.95); /* slight shrink on click */
    box-shadow: 0 2px 6px rgba(252, 73, 0, 0.6) inset; /* subtle inner shadow */
    /* Optionally change background or colors */
    font-family: "Golos Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  }


  /* shine effect*/
  @keyframes shine {
    0% { left: -75%; }
    100% { left: 125%; }
  }

    /* Parent Animation Of Gradient */
    @keyframes gradientShift {
     0% { background-position: 0% 50%; }
     50% { background-position: 100% 50%; }
     100% { background-position: 0% 50%; }
    }


/* NavBar - Closed */





/* Media Queries */

@media (max-width: 1000px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 110%;
    left: 50%;
    /* Start hidden COMPLETELY out of view to the right */
    transform: translate(-50%, 0) translateX(100%); 
    width: 100%;
    min-width: auto;
    max-width: 100vw;
    background: rgba(255,255,255,0.15);
    border-radius: 0.625rem 0.625rem 0.625rem 0.625rem;
    box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.1);
    z-index: 1001;
    padding: clamp(0.4rem, 0.5vw, 1.2rem) clamp(1rem, 1.2vw, 3rem);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 1s cubic-bezier(.46,1.64,.54,.88),
      opacity 1s;
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 0.03125rem solid rgba(255,255,255,0.16);
    height: 45vh;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    /* Now perfectly centered in the viewport, below the navbar */
    transform: translate(-50%, 0) translateX(0);
  }

  .nav-links a {
    font-size: clamp(1rem, 6vw, 1rem); /* increases from 1rem to max 1.5rem, scales on viewport */
    font-weight: 600;
    padding: 0.75rem 0; /* more padding for tap targets */
  }

  .hamburger {
    display: block;
  }

  .nav-cta {
    display: none; /* hide by default outside the menu */
  }
  .nav-links .nav-cta {
    display: flex; /* show when inside menu */
    width: 100%;
    justify-content: center;
  }
}

.no-transition * {
  transition: none !important;
}



/* SCROLL LOCK - REQUIRED FOR MOBILE */
html.no-scroll,
body.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
  position: fixed !important;
  width: 100vw !important;
}

/* iOS Safari fix */
html.no-scroll {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

/* Prevent iOS bounce */
body.no-scroll {
  -webkit-overflow-scrolling: auto !important;
}
