/* ===============================
   ====== Main Header Styles ======
   =============================== */

/* Main header container */
.main-header {
  grid-column: 1 / -1;
  grid-row: 1;
  /* background: rgba(81, 76, 82, 0.7) !important; */
  background: rgb(139 96 72 / 80%);
;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 100;
  position: absolute;
  width: 100%;
  height: 10vh;
  min-height: initial;
}
/* [data-theme="light"] .main-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 20px var(--shadow-color);
} */
.main-header .logo img {
  height: 40px;
  width: auto;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-center {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-center .page-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}
/* =========== Header Button/Icon area ============ */
.header-icons {
  display: flex;
  gap: 8px;
}
.icon-btn {
  width: 30px;
  height: 30px;
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  /* border-radius: 50%; */
  /* background: rgba(255, 255, 255, 0.03); */
  color: #c9c9c9 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
  border: 0;
  background-color: transparent !important;
  border-radius: 0;
}
.icon-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white !important;
}
.icon-btn:hover img.icon-img {
  filter: brightness(0) invert(1);
}
.menu-trigger.btn-bars {
  background: transparent !important;
}
.icon-btn .badge {
  position: absolute;
  top: -2px;
  left: -2px;
  background: #e74c3c;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
}
[data-theme="light"] .icon-btn {
  background: transparent !important;
  border-color: transparent !important;
  border-width: 1.8px !important;
}
[data-theme="light"] .icon-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
/* ==== Header's theme toggle button ==== */
.theme-toggle {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition);
}
[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}
.theme-toggle:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.theme-toggle-icon {
  position: absolute;
  font-size: 12px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.theme-toggle .sun-icon {
  color: #f39c12;
  opacity: 0;
  transform: translateY(20px) rotate(-90deg);
}
.theme-toggle .moon-icon {
  color: #fdfdfd;
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}
[data-theme="light"] .theme-toggle .sun-icon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}
[data-theme="light"] .theme-toggle .moon-icon {
  opacity: 0;
  transform: translateY(-20px) rotate(90deg);
}
.theme-toggle:hover .theme-toggle-icon {
  color: white;
}

/* ==========================
         Main Nav (Desktop)
   ========================== */
.main-nav {
  grid-column: 1;
  grid-row: 2;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  gap: 8px;
  z-index: 50;
}
[data-theme="light"] .main-nav {
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
}
.nav-item {
  width: 56px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--radius);
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}
[data-theme="light"] .nav-item {
  color: var(--text-secondary);
}
.nav-item i {
  font-size: 20px;
}
.nav-item span {
  font-size: 9px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}
[data-theme="light"] .nav-item:hover,
[data-theme="light"] .nav-item.active {
  background: rgba(139, 115, 85, 0.1);
  color: var(--primary);
}
.nav-item.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}
.nav-item.active::before {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 30px;
  background: var(--accent);
  border-radius: 3px 0 0 3px;
}

/* =========================================
           Full Menu (Desktop overlay)
   ========================================= */
.full-menu {
  position: fixed;
  inset: 0;
  background: var(--overlay-color);
  backdrop-filter: blur(25px);
  z-index: 5000;
  transition: var(--transition);
  overflow-y: auto;
  padding: 0;
  display: none;
}
.full-menu.show {
  display: block;
}
.full-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  margin-bottom: 40px;
  padding: 0 10px;
  /* border-bottom: 1px solid var(--border-color); */
  background: #66686a;
  /* box-shadow: 0 -2px 20px var(--shadow-color); */
}
.menu-header-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.close-fullmenu {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: static;
}
[data-theme="light"] .full-menu {
  background: #4f5153;
}
.full-menu .menu-content .row > div {
  display: flex;
  justify-content: center;
  padding: 0 7px;
}
[data-theme="light"] .close-fullmenu {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-size: 14px;
  width: 30px;
  border-radius: 50%;
  height: 30px;
}
/* Main fullmenu items grid */

.menu-content .nav-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: auto;
}

/* Card button in full menu */
.nav-btn {
  width: 100%;
  min-height: 100px;
  padding: 20px;
  border: 1px solid var(--border-color);
  background: #ef6509;
  color: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  cursor: pointer;
}
.nav-btn i {
  color: #fff;
  /* font-size: 14px; */
  margin-bottom: 0px;
}
.arrow {
  margin-inline-start: 8px;
  transition: 0.3s;
}
.nav-btn:hover {
  border-color: var(--bg-secondary);
  /* background: var(--bg-secondary); */
}
.nav-card {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, z-index 0s linear 0.3s;
}
.nav-card.open {
  z-index: 1000;
  transition: transform 0.3s ease, z-index 0s;
}
.nav-card.open .nav-btn {
  border-radius: 16px 16px 0 0;
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.nav-card.open .nav-btn i {
  color: #fff;
}
.nav-card.open .arrow {
  transform: rotate(180deg);
  opacity: 1;
}
.dropdown-card {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  margin-top: -1px;
  border-radius: 0 0 16px 16px;
  border: 1px solid var(--border-color);
  border-top: none;
  background: var(--bg-secondary);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.17);
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.27s cubic-bezier(0.165, 0.84, 0.44, 1);
  max-height: 0;
}
.nav-card.open .dropdown-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  max-height: 500px;
  border-color: var(--primary);
}
.dropdown-card a {
  display: block;
  padding: 3px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  text-align: right;
  transition: all 0.2s;
}
[data-theme="light"] .dropdown-card a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.dropdown-card a:last-child {
  border-bottom: none;
}
.dropdown-card a:hover {
  background: rgba(139, 115, 85, 0.11);
  color: var(--primary);
  padding-right: 33px;
}

/* ==============================
        Mobile Menu (overlay)
   ============================== */

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-card);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.mobile-menu.show {
  transform: translateX(0);
}
[data-theme="light"] .mobile-menu {
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

/* Overlay for mobile menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-menu-overlay.show {
  opacity: 1;
  visibility: visible;
}
[data-theme="light"] .mobile-menu-overlay {
  background: rgba(0, 0, 0, 0.4);
}

/* Mobile menu header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 18px;
  flex-shrink: 0;
}
.menu-logo img,
.mobile-menu-header .menu-logo img {
  height: 70px;
  width: auto;
}
.close-menu {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.close-menu:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  color: white;
}
[data-theme="light"] .close-menu:hover {
  background: var(--primary);
  border-color: var(--primary);
}
/* Mobile menu content area */
.mobile-menu-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 0;
}
.mobile-menu-content::-webkit-scrollbar {
  width: 4px;
}
.mobile-menu-content::-webkit-scrollbar-track {
  background: transparent;
}
.mobile-menu-content::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
/* Mobile links list */
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  border-right: 3px solid transparent;
  cursor: pointer;
}

/* Mobile nav item icon */
.mobile-nav-item .nav-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.mobile-nav-item span {
  flex: 1;
  font-size: 20px;
  font-weight: 600;
}
/* Submenu arrow */
.mobile-nav-item .nav-arrow {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  margin-left: 5px;
}
.has-submenu.open > .mobile-nav-item .nav-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}
.mobile-nav-item:hover,
.mobile-nav-item.active {
  background: rgba(139, 115, 85, 0.09);
  border-right-color: var(--accent);
}
[data-theme="light"] .mobile-nav-item:hover,
[data-theme="light"] .mobile-nav-item.active,
[data-theme="light"] .has-submenu.open > .mobile-nav-item {
  background: rgba(139, 115, 85, 0.08);
}
/* Submenu in mobile nav */
.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  background: var(--bg-secondary);
  transition: max-height 0.4s;
}
.has-submenu.open .mobile-submenu {
  max-height: 500px;
}
[data-theme="light"] .mobile-submenu {
  background: rgba(0, 0, 0, 0.02);
}
/* Submenu item style */
.mobile-submenu li {
  border-bottom: 1px solid var(--border-color);
}
.mobile-submenu li:last-child {
  border-bottom: none;
}
.mobile-submenu a {
  display: flex;
  align-items: center;
  padding: 12px 20px 12px 55px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
}
.mobile-submenu a::before {
  content: "";
  position: absolute;
  right: 30px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-color);
  transition: all 0.3s ease;
}
.mobile-submenu a:hover {
  background: rgba(139, 115, 85, 0.1);
  color: var(--accent);
  padding-right: 25px;
}
[data-theme="light"] .mobile-submenu a:hover {
  background: rgba(139, 115, 85, 0.08);
}
/* Dot on submenu hover */
.mobile-submenu a:hover::before {
  background: var(--accent);
  transform: scale(1.3);
}
/* Highlight open parent submenu */
.has-submenu.open > .mobile-nav-item {
  background: rgba(139, 115, 85, 0.15);
  border-right-color: var(--accent);
}
.has-submenu.open > .mobile-nav-item .nav-icon {
  background: var(--accent);
  color: white;
}
/* Section, theme switch, social */
.mobile-menu-section {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}
.section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 20px;
  margin-bottom: 8px;
}
.mobile-nav-list.secondary .mobile-nav-item,
.mobile-nav-item.small {
  padding: 10px 20px;
}
.mobile-nav-item.small span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==== Mobile menu footer ==== */
.mobile-menu-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  flex-shrink: 0;
}
.theme-switch-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding: 10px 12px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border-color);
}
.theme-switch-container span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.theme-switch {
  position: relative;
  width: 46px;
  height: 24px;
}
.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.theme-switch .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  transition: 0.4s;
}
.theme-switch .slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  right: 2px;
  bottom: 2px;
  background: var(--accent);
  border-radius: 50%;
  transition: 0.4s;
}
.theme-switch input:checked + .slider {
  background: var(--accent);
}
.theme-switch input:checked + .slider::before {
  transform: translateX(-22px);
  background: white;
}
/* Social bar in mobile menu */
.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 15px;
  transition: all 0.3s ease;
}
.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-3px);
}

/* =========================
   = Search Modal Styling ==
   ========================= */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 4000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.search-modal.show {
  opacity: 1;
  visibility: visible;
}
.search-modal-container {
  width: 90%;
  max-width: 700px;
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transform: translateY(-30px);
  transition: transform 0.4s ease, background-color 0.4s ease;
}
.search-modal.show .search-modal-container {
  transform: translateY(0);
}
.search-modal-header {
  padding: 25px;
  border-bottom: 1px solid var(--border-color);
}
.search-modal-header h3 {
  font-size: 20px;
  color: var(--accent);
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Input */
.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 15px 20px;
  transition: var(--transition);
}
.search-input-wrapper:focus-within {
  border-color: var(--accent);
}
.search-input-wrapper i {
  color: var(--accent);
  font-size: 20px;
}
.search-input-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-family: inherit;
  outline: none;
}
.search-input-wrapper input::placeholder {
  color: var(--text-muted);
}
/* Suggestions */
.search-modal-body {
  padding: 25px;
}
.search-suggestions h4 {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 15px;
}
.search-suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.search-suggestion {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.search-suggestion:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.search-suggestion i {
  margin-left: 8px;
}
/* Footer */
.search-modal-footer {
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search-modal-close {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}
.search-modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.search-go-btn {
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.search-go-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 115, 85, 0.4);
}

/* ====================
    VR Modal Styling 
   ==================== */
.vr-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.vr-modal.show {
  opacity: 1;
  visibility: visible;
}
.vr-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}
.vr-modal-header h3 {
  font-size: 18px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.vr-modal-close {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}
.vr-modal-close:hover {
  background: #e74c3c;
}
.vr-modal-body {
  flex: 1;
  position: relative;
}
.vr-modal-body iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.vr-modal-footer {
  padding: 18px 25px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  gap: 15px;
}
.vr-modal-footer .btn {
  padding: 12px 25px;
}

/* ========================
     Bottom Bar / Footer
   ======================== */
.bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}
.bottom-link {
  text-align: center;
  padding: 6px 10px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition);
}
.bottom-link.active,
.bottom-link:hover {
  color: var(--accent);
}
[data-theme="light"] .bottom-bar {
  background: rgba(102, 104, 106, 0.7) !important;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -2px 20px var(--shadow-color);
}
[data-theme="light"] .bottom-link {
  color: #c9c9c9;
}
[data-theme="light"] .bottom-link:hover,
[data-theme="light"] .bottom-link.active {
  color: var(--primary);
}
/* Fix dropdown menu in footer */
.bottom-bar .dropdown {
  position: relative !important;
}
.bottom-bar .dropdown-menu {
  position: absolute !important;
  bottom: 0;
  top: auto !important;
  left: 100%;
  right: auto !important;
  margin-left: 10px;
  margin-bottom: 0;
  transform: translateY(50%) translateX(-10px);
  z-index: 99999;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}
.bottom-bar .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(50%) translateX(0);
}
.bottom-bar .dropdown-item {
  padding: 10px 20px;
  font-size: 13px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.bottom-bar .dropdown-item:hover {
  background: rgba(139, 115, 85, 0.08);
  color: var(--accent);
  padding-right: 24px;
}
.bottom-bar .dropdown-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 169, 98, 0.1),
    transparent
  );
  transition: right 0.4s ease;
}
.bottom-bar .dropdown-item:hover::before {
  right: 100%;
}

/* ==================================
        Responsive Media Queries 
   ================================== */
@media (min-width: 991px) {
  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
  .bottom-link {
    font-size: 14px;
  }
  .bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0f1014;
    padding: 10px 15% !important;
    z-index: 9999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  }
  .bottom-bar .footer-container {
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    padding: 0 15px;
    gap: 0 !important;
  }
  .bottom-bar .bottom-link i {
    font-size: 14px;
    margin: 0 !important;
    margin-bottom: 4px;
  }
  .bottom-bar .bottom-link.active,
  .bottom-bar .bottom-link:hover {
    color: #c9a962;
    background-color: transparent;
  }
}
@media (min-width: 768px) {
  .nav-btn {
    height: 20vh !important;
    max-height: 10.3125rem;
    min-height: 6.875rem;
  }
}
@media (max-width: 768px) {
  .search-modal {
    padding-top: 50px;
  }
  .search-modal-container {
    width: 95%;
    margin: 0 10px;
  }
  .main-header {
    padding: 7px 3px 0 !important;
    position: fixed;
    top: 0;
    height: 10vh;
    align-items: baseline;
  }
  .bottom-link {
    flex-direction: column !important;
  }
  .main-header .logo img {
    height: 38px;
  }
}

/* ========= Misc classes ========= */
.menu-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.font-xx-larage {
  font-size: xx-large;
}

/* ===== Multi-level full menu groups (Advanced, optional) ===== */
.fullmenu-group {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}
.group-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.group-btn i {
  font-size: 20px;
}
.fullmenu-group .arrow {
  transition: 0.3s;
}
.fullmenu-group.open .arrow {
  transform: rotate(180deg);
}
.submenu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  margin-top: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px var(--shadow-color);
  max-height: 70vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.submenu a {
  display: block;
  padding: 8px 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition);
}
.submenu a:hover {
  color: var(--accent);
}
.fullmenu-group.open .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* أنيميشن حركة الشعار */
@keyframes logoMoveLeft {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-100px);
    opacity: 0;
  }
}

@keyframes logoMoveRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* فئة للأنيميشن */
.logo-move-left {
  animation: logoMoveLeft 0.5s forwards;
}

.logo-move-right {
  animation: logoMoveRight 0.5s forwards;
}

/* تعديل الشعار في الهيدر */
.main-header .logo {
  transition: all 0.5s ease;
  position: relative;
}

/* تعديل الشعار في القائمة الكاملة */
.full-menu-header .menu-header-logo {
  transform: translateX(-20px);
}

.full-menu.show .menu-header-logo {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.3s;
}

.full-menu-header .menu-header-logo {
  transition: all 0.5s ease;
}
