/* =====================================================
                RAASFIESTA PREMIUM NAVBAR
===================================================== */

.navbar {
  position: fixed;

  top: 18px;
  left: 50%;
  transform: translateX(-50%);

  width: min(1380px, 95%);

  height: 70px;

  z-index: 1000;

  transition: 0.4s ease;
}

/* =============================
        Glass Container
============================= */

.nav-container {
  width: 100%;
  height: 100%;

  display: flex;

  align-items: center;
  justify-content: space-between;

  padding: 0 28px;

  border-radius: 22px;

  background: rgba(10, 15, 30, 0.72);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);

  transition: 0.35s;
}

/* Hover */

.nav-container:hover {
  border-color: rgba(59, 130, 246, 0.35);

  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(37, 99, 235, 0.12);
}

/* =============================
            Logo
============================= */

.logo {
  display: flex;

  align-items: center;

  gap: 14px;

  text-decoration: none;
}

.logo img {
  width: 48px;

  height: 48px;

  object-fit: contain;

  transition: 0.35s;
}



.logo-text {
  display: flex;

  flex-direction: column;
}

.logo-text h2 {
  font-size: 24px;

  color: white;

  font-family: Poppins, sans-serif;

  line-height: 1;
}

.logo-text span {
  margin-top: 4px;

  color: #94a3b8;

  font-size: 12px;

  letter-spacing: 0.4px;
}

/* =============================
        Navigation Links
============================= */

.desktop-menu {
  display: flex;

  align-items: center;

  gap: 42px;
}

.desktop-menu a {
  position: relative;

  color: #cbd5e1;

  font-size: 15px;

  font-weight: 500;

  transition: 0.35s;

  padding: 8px 0;
}

.desktop-menu a:hover {
  color: white;
}

.desktop-menu a.active {
  color: white;
}

/* Underline */

.desktop-menu a::after {
  content: "";

  position: absolute;

  left: 50%;

  bottom: -6px;

  transform: translateX(-50%);

  width: 0;

  height: 2px;

  border-radius: 20px;

background: linear-gradient(90deg, #F5C542, #FFD700);
  transition: 0.35s;
}

.desktop-menu a:hover::after,
.desktop-menu a.active::after {
  width: 100%;
}

/* =============================
        Right Side
============================= */

.right-side {
  display: flex;

  align-items: center;

  gap: 18px;
}

/* =============================
        Search Box
============================= */

.desktop-search {
  width: 260px;

  height: 48px;

  border-radius: 999px;

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 0 18px;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.35s;
}

.desktop-search:hover {
  border-color: #3b82f6;
}

.desktop-search:focus-within {
  width: 340px;

  box-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
}

.desktop-search i {
  color: #60a5fa;

  font-size: 15px;
}

.desktop-search input {
  flex: 1;

  background: none;

  color: white;

  border: none;

  outline: none;

  font-size: 14px;
}

.desktop-search input::placeholder {
  color: #94a3b8;
}

/* =============================
        Mobile Buttons
============================= */

.mobile-actions {
  display: none;

  align-items: center;

  gap: 12px;
}

/*==================================================
                MOBILE SEARCH BUTTON
==================================================*/

.search-btn {
  width: 46px;
  height: 46px;

  border-radius: 14px;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.08);

  color: white;

  cursor: pointer;

  transition: 0.35s;
}

.search-btn:hover {
  background: #2563eb;

  border-color: #3b82f6;
}

.search-btn i {
  font-size: 18px;
}

/*==================================================
                HAMBURGER
==================================================*/

.hamburger {
  width: 46px;
  height: 46px;

  border-radius: 14px;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.08);

  cursor: pointer;

  transition: 0.35s;
}

.hamburger:hover {
  background: #2563eb;

  border-color: #3b82f6;
}

.hamburger span {
  position: absolute;

  width: 22px;
  height: 2px;

  background: white;

  border-radius: 20px;

  transition: 0.35s ease;
}

.hamburger span:nth-child(1) {
  transform: translateY(-7px);
}

.hamburger span:nth-child(2) {
  opacity: 1;
}

.hamburger span:nth-child(3) {
  transform: translateY(7px);
}

/* Active */

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

/*==================================================
                MOBILE SEARCH PANEL
==================================================*/

.mobile-search {
  position: fixed;

  top: 110px;

  left: 50%;

  transform: translateX(-50%) translateY(-30px);

  width: 94%;
  max-width: 420px;

  height: 0;

  overflow: hidden;

  opacity: 0;

  display: flex;
  align-items: center;

  gap: 12px;

  padding: 0 18px;

  border-radius: 18px;

  background: rgba(10, 15, 30, 0.92);

  backdrop-filter: blur(22px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: 0.4s ease;

  z-index: 998;
}

.mobile-search.active {
  height: 60px;

  opacity: 1;

  transform: translateX(-50%) translateY(0);
}

.mobile-search i {
  color: #60a5fa;
}

.mobile-search input {
  flex: 1;

  background: none;

  color: white;

  border: none;

  outline: none;

  font-size: 14px;
}

.mobile-search input::placeholder {
  color: #94a3b8;
}

/*==================================================
                MOBILE MENU
==================================================*/

/*==================================================
                MOBILE MENU
==================================================*/

.mobile-menu {
  position: fixed;

  top: 92px;

  left: 50%;

  transform: translateX(-50%) translateY(-20px);

  width: 94%;
  max-width: 420px;

  max-height: calc(100vh - 110px);

  overflow-y: auto;

  background: rgba(10, 15, 30, 0.96);

  backdrop-filter: blur(22px);

  border: 1px solid rgba(245, 197, 66, 0.12);

  border-radius: 22px;

  opacity: 0;

  visibility: hidden;

  transition: 0.35s ease;

  z-index: 997;
}

.mobile-menu.active {
  opacity: 1;

  visibility: visible;

  transform: translateX(-50%) translateY(0);
}

/*==================================================
                MENU ITEMS
==================================================*/

.mobile-menu a {
  display: flex;

  align-items: center;

  gap: 16px;

  padding: 15px 22px;

  min-height: 56px;
}

.mobile-menu a i {
  color: #60a5fa;

  width: 20px;

  text-align: center;
}
.mobile-menu::-webkit-scrollbar {
  width: 0;
}

.mobile-menu {
  scrollbar-width: none;
}

.mobile-menu a:hover {
  background: rgba(37, 99, 235, 0.1);

  color: white;

  padding-left: 32px;
}

.mobile-menu a::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 0;

  height: 100%;

  background: linear-gradient(180deg, #2563eb, #60a5fa);

  transition: 0.35s;
}

.mobile-menu a:hover::before {
  width: 4px;
}

/*==================================================
                OVERLAY
==================================================*/

.mobile-overlay {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.45);

  backdrop-filter: blur(5px);

  opacity: 0;

  visibility: hidden;

  transition: 0.35s;

  z-index: 996;
}

.mobile-overlay.active {
  opacity: 1;

  visibility: visible;
}

/*==================================================
            MOBILE BREAKPOINT UPDATED
==================================================*/

@media (max-width: 992px) {
  .desktop-menu {
    display: none;
  }

  .right-side {
    display: none;
  }

  .mobile-actions {
    display: flex;

    align-items: center;

    gap: 12px;
  }

  /* KEEP FULL BRAND */

  .logo-text {
    display: flex;
  }

  .logo-text h2 {
    display: block;

    font-size: 22px;

    font-weight: 700;

    line-height: 1;

    white-space: nowrap;
  }

  /* KEEP SLOGAN */

  .logo-text span:not(.raas):not(.fiesta) {
    display: block;

    font-size: 11px;

    margin-top: 4px;
  }

  .logo img {
    width: 42px;

    height: 42px;
  }

  .nav-container {
    padding: 0 16px;

    border-radius: 18px;
  }

  .navbar {
    top: 12px;

    width: 94%;

    height: 68px;
  }
}

/* SMALL MOBILE DEVICES */

@media (max-width: 480px) {
  .mobile-menu {
    top: 82px;

    max-height: calc(100vh - 95px);
  }
  .logo {
    gap: 10px;
  }

  .logo-text h2 {
    font-size: 20px;
  }

  .logo-text span:not(.raas):not(.fiesta) {
    font-size: 10px;
  }

  .logo img {
    width: 38px;

    height: 38px;
  }

  .search-btn,
  .hamburger {
    width: 42px;

    height: 42px;
  }
}

/* =============================
            Logo
============================= */

.logo {
  display: flex;
  align-items: center;
  gap: 14px;

  text-decoration: none;
}

.logo img {
  width: 48px;
  height: 48px;

  object-fit: contain;

  transition: 0.35s;
}



/* =============================
        LOGO TEXT
============================= */

.logo-text {
  display: flex;

  flex-direction: column;
}

.logo-text h2 {
  margin: 0;

  font-size: 24px;

  font-family: Poppins, sans-serif;

  line-height: 1;

  font-weight: 700;

  white-space: nowrap;
}

/* BRAND COLORS */

.logo-text h2 .raas {
  color: #ffffff;
}

.logo-text h2 .fiesta {
  color: #ffd700;
}

/* TAGLINE */

.logo-text span:not(.raas):not(.fiesta) {
  margin-top: 5px;

  color: #94a3b8;

  font-size: 12px;

  letter-spacing: 0.5px;

  white-space: nowrap;
}
/* active nav link */
.desktop-menu a.active {
  color: #F5C542;                 /* brand gold */
  font-weight: 600;
}

/* gold underline under the active link */
.desktop-menu a.active::after {
  content: "";
  display: block;
  height: 2px;
  background: #F5C542;
  border-radius: 2px;
  margin-top: 4px;
}

/* mobile menu active state */
.mobile-menu a.active {
  color: #F5C542;
}
.mobile-menu a.active i {
  color: #F5C542;
}
.desktop-menu a.active {
    color:#F5C542;
    font-weight:600;
}


.desktop-menu a.active::after{
    width:100%;
}


.mobile-menu a.active{
    color:#F5C542;
}