/* Modern Transparent Header Styles - MP Jungle Safari Inspired */
.modern-header {
  background: #0c0d0d69;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  padding: 0;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), backdrop-filter 0.4s ease;
  border-radius: 0;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  will-change: background, backdrop-filter;
}

/* Header with enhanced effect when scrolled */
.modern-header.scrolled {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0px;
  max-width: 100%;
  min-height: 80px;
}

/* Logo Styles - Large and Visible */
.header-logo {
  display: flex;
  align-items: center;
  width: auto;
  padding: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  border: none;
  transition: all 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-logo img {
  width: 290px;
  height: 65px;
  background-color: #ffffff;
}

.header-logo img:hover {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
}

/* Hide logo text */
.logo-text {
  display: none;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0 5px;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 15px 3px;
  border-radius: 12px;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.nav-item.active a {
  color: #ffffff;
  background: #6e7b3d;
  border-radius: 0px;
}

.nav-link:hover {
  color: #ffffff;
  background: #6e7b3d;
  border-radius: 0px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* User Actions */
.user-actions {
  display: flex;
  align-items: center;
}

.user-action {
  margin-left: 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.login-btn {
  border: 0px solid #ffffff;
  color: #ffffff;
  background: #6e7b3d;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 0px;
  /* padding: 12px 28px; */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.login-btn:hover {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.register-btn {
  background: #97a918;
  color: white;
  border: 0px solid #007bff;
  border-radius: 0px;
  /* padding: 12px 28px; */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  /* box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4); */
  /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
}

.register-btn:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.user-dropdown {
  position: relative;
}

.user-dropdown-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #333;
  font-weight: 500;
}

.user-dropdown-toggle i {
  margin-right: 5px;
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  min-width: 200px;
  padding: 10px 0;
  display: none;
  z-index: 1000;
}

.user-dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: #000000;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hamburger animation when active */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu.active {
  right: 0;
}

/* Mobile menu scrollbar styling */
.mobile-menu::-webkit-scrollbar {
  width: 4px;
}

.mobile-menu::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu::-webkit-scrollbar-thumb {
  background: rgba(45, 80, 22, 0.3);
  border-radius: 2px;
}

.mobile-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(45, 80, 22, 0.5);
}

.mobile-menu-content {
  padding: 30px 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Mobile menu header */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(45, 80, 22, 0.1);
}

.mobile-menu-logo {
  font-size: 18px;
  font-weight: 700;
  color: #2d5016;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #2d5016;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(45, 80, 22, 0.1);
  transform: rotate(90deg);
}

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-item {
  margin: 8px 0;
}

.mobile-nav-link {
  text-decoration: none;
  color: #2d5016;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  display: block;
  padding: 10px 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-bottom: none;
}

.mobile-nav-link:hover {
  color: white;
  background: linear-gradient(135deg, #2d5016 0%, #6B8E23 100%);
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
}

.mobile-nav-link:active {
  transform: translateX(8px) scale(0.98);
}

.mobile-user-actions {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(45, 80, 22, 0.1);
}

.mobile-user-action {
  display: block;
  padding: 12px 20px;
  margin: 8px 0;
  text-decoration: none;
  color: #2d5016;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-user-action:hover {
  background: linear-gradient(135deg, #2d5016 0%, #6B8E23 100%);
  color: white;
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
}

.mobile-login-btn {
  border: 2px solid #007bff;
  color: #007bff;
}

.mobile-login-btn:hover {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border-color: #007bff;
}

.mobile-register-btn {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  border: 2px solid #007bff;
}

.mobile-register-btn:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.mobile-user-action {
  display: inline;
  width: 40%;
  text-align: center;
  padding: 5px 15px;
  margin: 10px 0;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-login-btn {
  border: 2px solid #6e7b3d;
  color: #6e7b3d;
}

.mobile-login-btn:hover {
  background-color: #6e7b3d;
  color: white;
}

.mobile-register-btn {
  background-color: #6e7b3d;
  color: white;
  border: 2px solid #6e7b3d;
}

.mobile-register-btn:hover {
  background-color: #6e7b3d;
  border-color: #6e7b3d;
}

/* Overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.overlay.active {
  display: block;
}

/* Admin Header Adjustments */
.admin-layout .modern-header {
  margin-left: 250px;
}

@media (max-width: 1199px) {
  .admin-layout .modern-header {
    margin-left: 0;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }

  .user-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-section {
    margin-top: 0px !important;
  }

  .header-container {
    padding: 10px 20px;
    min-height: 70px;
  }

  .header-logo {
    padding: 0;
    width: auto;
  }

  .header-logo img {
    width: 100%;
    height: 60px;
    margin-right: 0;
  }

  .logo-text {
    display: none;
  }

  .nav-link {
    padding: 8px 14px;
    font-size: 13px;
    margin: 10px 2px;
  }

  .login-btn,
  .register-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .hamburger {
    padding: 3px;
    margin-right: -30px;
  }

  .hamburger-line {
    width: 20px;
    height: 2px;
    margin: 2px 0;
  }

  body {
    padding-top: 70px;
  }

  .modern-header {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }
}

/* Body padding for fixed header */
body {
  /*padding-top: 80px !important;*/
  margin-top: 0 !important;
}

/* Ensure no other elements interfere with fixed positioning */
* {
  box-sizing: border-box;
}

/* Additional fix for any potential conflicts */
.modern-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
}

/* Ensure main content starts below the fixed header */
/* main, .main-content, .hero-section, .content-wrapper {
  margin-top: 80px;
} */

/* Fix for any container that might interfere */
.container,
.container-fluid {
  position: relative;
  z-index: 1;
}

/* Header Animation Effects */
@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modern-header {
  animation: headerSlideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0px 25px;
}

/* Enhanced glass morphism effect */
.modern-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
  z-index: -1;
}

/* Admin Header Specific Styles */
.admin-header {
  background-color: #2c3e50;
  color: #7d0000;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header {
  background-color: #6e7b3d !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  padding: 0px 20px !important;
  margin-left: -20px;
  margin-right: -20px;
  margin-top: -20px;
  position: sticky;
  top: 0;
  z-index: 999;
  margin-bottom: 20px;
}

.admin-header .user-dropdown-toggle {
  color: white;
}

.admin-header .user-dropdown-toggle:hover {
  color: #3498db;
}

/* Footer Adjustments for Admin */
.admin-layout .footer {
  margin-left: 250px;
}

@media (max-width: 1199px) {
  .admin-layout .footer {
    margin-left: 0;
  }
}

.h3,
h3 {
  font-size: 18px;
}

@media (max-width: 576px) {
  .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    /* margin-top: 275px; */
  }

  .mobile-content {
    margin-top: 210px;
  }

  .hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    min-height: 330px !important;
  }
}

/* @media (max-width: 768px) {
    .header-logo img {
        height: 110px;
    }
} */