/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION 1: NAVBAR — Shree Studio
   Premium floating navigation bar
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 20px 40px;
  transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1025px) {
  .navbar-wrapper.navbar-scrolled {
    padding: 10px 40px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .navbar-wrapper.navbar-scrolled .navbar-container {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.04);
    border-radius: 0;
    padding: 10px 30px;
  }
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 30px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 60px;
  transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 10005;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo img {
  height: 62px;
  width: auto;
  display: block;
  border-radius: 8px;
}

/* Navigation Links */
.navbar-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.navbar-links li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.navbar-links li a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.navbar-links li a.active {
  color: #ffffff;
  background: rgba(229, 9, 20, 0.15);
}

/* CTA Button */
.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #e50914, #b8070f);
  color: #ffffff;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.navbar-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.navbar-cta:hover::before {
  left: 100%;
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229, 9, 20, 0.4);
}

/* Hamburger */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 10001;
  background: none;
  border: none;
}

.navbar-hamburger span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.navbar-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.navbar-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 10000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.navbar-mobile-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 2px;
  padding: 12px 30px;
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.navbar-mobile-menu.active a {
  transform: translateY(0);
  opacity: 1;
}

.navbar-mobile-menu a:hover {
  color: #e50914;
}

/* Staggered animation for mobile links */
.navbar-mobile-menu.active a:nth-child(1) {
  transition-delay: 0.1s;
}
.navbar-mobile-menu.active a:nth-child(2) {
  transition-delay: 0.15s;
}
.navbar-mobile-menu.active a:nth-child(3) {
  transition-delay: 0.2s;
}
.navbar-mobile-menu.active a:nth-child(4) {
  transition-delay: 0.25s;
}
.navbar-mobile-menu.active a:nth-child(5) {
  transition-delay: 0.3s;
}
.navbar-mobile-menu.active a:nth-child(6) {
  transition-delay: 0.35s;
}
.navbar-mobile-menu.active a:nth-child(7) {
  transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 1024px) {
  .navbar-links {
    display: none;
  }
  .navbar-cta {
    display: none;
  }
  .navbar-hamburger {
    display: flex;
  }
  .navbar-mobile-menu {
    display: flex;
  }
  .navbar-wrapper {
    top: 12px !important;
    padding: 0 20px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    transition: none !important;
  }
  .navbar-wrapper.navbar-scrolled {
    top: 36px !important;
    padding: 0 20px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    transition: none !important;
  }
  .navbar-container,
  .navbar-wrapper.navbar-scrolled .navbar-container {
    padding: 10px 20px !important;
    border-radius: 60px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    transition: none !important;
  }
}

@media (max-width: 480px) {
  .navbar-logo img {
    height: 46px;
  }
}
