@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');


.navbar-wrapper {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #1a1a1a;
  position: relative;
  
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #1a1a1a;
  color: #fff;
  padding: 8px 24px;
  font-family: 'Poppins', Arial, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.nav-items-container {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-left: 24px;
  flex-wrap: nowrap;
  overflow: visible !important; /* Allow dropdowns to overflow */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.nav-items-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: auto;
}

.nav-button {
  font-size: 12px;
  font-weight: 500;
  background: none;
  border: none;
  color: #CCCCCC;
  cursor: pointer;
  transition: color 0.2s ease;
  text-decoration: none;
  padding: 4px 2px;
  border-radius: 0;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}


.nav-button:hover,
.nav-button.active:hover {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
  background: transparent !important;
}

.nav-button.active {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
  background: transparent !important;
}


.notification-badge {
  position: absolute;
  top: 2px;
  left: 8px; /* Adjust this value to move more or less to the left */
  background-color: #dc2626;
  color: #fff;
  font-size: 10px;
  border-radius: 50%;
  height: 14px;
  width: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}


.right-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: row; /* Ensure horizontal layout */
  transform: scale(0.8);
  transform-origin: right center;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  background-color: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 15px;
  padding: 10px 16px 10px 44px;
  color: #e5e5e5;
  font-size: 16px;
  outline: none;
  min-width: 240px;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: #555;
  background-color: #333;
}

.search-input::placeholder {
  color: #888;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 16px;
  z-index: 1;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #2a2a2a;
  border: 1px solid #3a3a3a;
  color: #e5e5e5;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
  overflow: hidden;
}

.icon-button:hover {
  background-color: #3a3a3a;
  border-color: #ff0025;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 0, 37, 0.2);
}

.icon-button:active {
  transform: translateY(0);
  box-shadow: none;
}

.icon-button img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* Backdrop for blur effect */
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Changed to solid gray color */
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none; 
}

.backdrop.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Dropdown menu */
.dropdown-menu {
  min-width: 190px;      /* Smaller width */
  padding: 8px 0;        /* Less vertical padding */
  font-size: 12px;       /* Smaller font size */
  position: absolute;
  top: 100%;
  right: 20px;
  width: 150px;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  margin-top: 8px;
  transform-origin: top right;
}

.dropdown-menu.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 1101;
}

.dropdown-menu ul {
  list-style: none;
  padding: 0 8px;        /* Less horizontal padding */
  margin: 0;
}

.dropdown-menu li {
  padding: 0;
  margin: 0;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 6px 0;        /* Less item height */
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease;
  font-size: 12px;       /* Match font size */
  gap: 10px; /* Reduced gap */
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-header {
  padding: 6px 16px; /* Reduced padding */
  margin-bottom: 4px;
}

.dropdown-header,
.dropdown-header-content {
  font-size: 12px;       /* Match dropdown items */
  padding: 6px 0;        /* Match dropdown items */
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  line-height: 1;
}

.dropdown-header-center {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 4px 0 4px 8px !important; /* Less left space */
}

.dropdown-menu li,
.dropdown-menu a {
  font-size: 12px;
  padding: 6px 0;
}

.dropdown-header a {
  padding: 6px; /* Reduced padding */
  border-radius: 4px;
}

.dropdown-header .icon-circle {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;      /* Center icon vertically */
  justify-content: center;
  margin-right: 0;
}

.dropdown-header .icon-circle img {
  width: 13px;
  height: 13px;
  display: block;
}

.dropdown-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 3px 0; /* Reduced margin */
}

/* Hide elements */
.hidden {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Ensure proper stacking context */
.navbar-container {
  position: relative;
  z-index: 1000;
}

/* New: Icon for nav items */
.nav-icon {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  object-fit: contain;
}

/* Default dropdown menu styles remain unchanged */

/* Concerts Dropdown Alignment - Attach to Concerts Button */
.concerts-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

#concertsButton {
  position: relative;
}

.concerts-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 150px;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  pointer-events: none;
  z-index: 1000;
  margin-top: 0;
}

.concerts-dropdown.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.concerts-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.concerts-dropdown li {
  margin: 0;
  padding: 0;
}

.concerts-dropdown a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  text-decoration: none;
  text-align: left;
  font-size: 12px;
  padding: 6px 16px;
  transition: background 0.2s;
  gap: 10px;
}

.concerts-dropdown a:hover {
  background: rgba(255,255,255,0.1);
}

.concerts-dropdown .dropdown-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0;
}

.event-card {
  max-width: 260px;
  min-width: 200px;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.event-image {
  height: 120px;
  font-size: 32px;
}
.event-info {
  padding: 12px;
}
.event-title {
  font-size: 15px;
}
.event-description {
  font-size: 11px;
}
.event-category {
  font-size: 9px;
  padding: 2px 6px;
}
.event-price {
  font-size: 18px;
}
.btn-purchase, .btn-trailer {
  padding: 7px 10px;
  font-size: 13px;
}

/* Modal scrollability */
.modal-content {
  max-height: 90vh;
  overflow-y: auto;
}
.modal-body {
  max-height: 60vh;
  overflow-y: auto;
}

/* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1101; /* Make sure it's above nav-items-container */
  margin-right: 0;
  margin-left: 0;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Show hamburger on mobile */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
    width: 30px;
    height: 30px;
  }
  .nav-items-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 70vw;
    max-width: 320px;
    background: #181818;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 60px 0 0 0;
    box-shadow: 2px 0 12px rgba(0,0,0,0.3);
    z-index: 1050;
    overflow-y: auto;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
    transform: translateX(-100%);
    opacity: 0;
    scrollbar-width: none;
  }
  .nav-items-container.mobile-visible {
    display: flex;
    transform: translateX(0);
    opacity: 1;
    
  }
  .right-section {
    width: auto;
    justify-content: flex-end;
    margin-top: 0;
    transform: scale(1);
  }
  .backdrop {
    z-index: 1049;

  
  }
}

/* Prevent hamburger from being hidden by nav-items-container */
@media (max-width: 900px) {
  .hamburger {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    z-index: 1101;
  }
  .navbar {
    padding-left: 60px; /* leave space for hamburger */
    position: relative;
  }
}

/* Hide backdrop when not visible */
.backdrop.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Responsive Navbar Styles */
@media (max-width: 900px) {
  .navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #1a1a1a;
  }
  .navbar {
    flex-direction: row;
    align-items: center;
    padding: 12px 60px 12px 60px; /* Increased padding for better spacing */
    position: relative;
    min-height: 48px; /* Ensure minimum height for proper hamburger positioning */
  }
  .nav-items-container {
    gap: 12px;
    padding-left: 0;
    width: 100%;
    overflow-x: auto;
  }
  .right-section {
    margin-top: 0;
    width: auto;
    justify-content: flex-end;
    transform: scale(1);
  }
  .nav-items-container .nav-button {
    font-size: 12px;
    font-weight: 600;
    padding: 10px 10px;
  }
}

@media (max-width: 600px) {
  .navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #1a1a1a;
  }
  .navbar {
    padding: 8px 60px 8px 60px; /* Consistent left padding for hamburger space */
    position: relative;
    min-height: 44px; /* Minimum height for smaller screens */
  }
  .nav-items-container {
    gap: 8px;
    font-size: 10px;
  }
  .nav-button {
    font-size: 10px;
    padding: 2px 1px;
  }
  .search-input {
    min-width: 120px;
    font-size: 12px;
    padding: 8px 12px 8px 36px;
  }
  .icon-button {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .dropdown-menu {
    min-width: 120px;
    font-size: 11px;
    right: 0;
  }
  .concert-dropdown {
    min-width: 100px;
    right: auto;
    left: 0;
    font-size: 11px;
  }
}

/* Concerts Dropdown Alignment - Align exactly under Concerts button */
.concert-dropdown {
  left: 0;
  right: auto;
  top: 100%;
  margin-top: 0;
  min-width: 150px;
  width: max-content;
  position: absolute;
  z-index: 1001;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.concert-dropdown.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

/* Originals Dropdown Alignment - Attach to Originals Button */
.originals-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

#originalsButton {
  position: relative;
}

.originals-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;        /* Smaller width */
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  pointer-events: none;
  z-index: 1000;
  margin-top: 0;
  padding: 0;              /* Remove extra padding */
}

.originals-dropdown.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.originals-dropdown ul,
.concerts-dropdown ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.originals-dropdown li,
.concerts-dropdown li {
  margin: 0;
  padding: 0;
  width: 100%;
}

.originals-dropdown a,
.concerts-dropdown a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  text-align: left;
  font-size: 15px;
  padding: 10px 16px;
  font-family: 'Poppins', Arial, sans-serif;
  transition: background 0.2s;
  border-radius: 0; /* Remove border radius if present */
}

.originals-dropdown a:hover,
.concerts-dropdown a:hover {
  background: rgba(255,255,255,0.1);
}

.originals-dropdown .dropdown-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 0;               /* No margin, line touches border */
}

.concerts-dropdown,
.originals-dropdown {
  min-width: 110px;         /* smaller width */
  width: 130px;
  font-size: 11px;          /* smaller font */
  padding: 8px 0;           /* less vertical padding */
}

.concerts-dropdown a,
.originals-dropdown a {
  font-size: 12px;
  padding: 10px 12px;
  text-align: center;           /* Center text */
  justify-content: center;      /* Center flex content */
}