:root {
  --sans-font: "Noto Sans SC", sans-serif;
}

body {
  font-family: var(--sans-font);
}

.hero-title {
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.nav-link {
  position: relative;
  color: #d1d5db; /* gray-300 */
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link.active {
  color: #ffffff;
  font-weight: 500;
}

#header.scrolled {
  background-color: rgba(17, 24, 39, 0.8); /* bg-gray-900 with opacity */
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.attraction-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attraction-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3),
    0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.card-gradient-1 {
  background-image: linear-gradient(to top right, #111827, #1f2937);
}
.card-gradient-2 {
  background-image: linear-gradient(to top right, #111827, #374151);
}

.card-gradient-3 {
  background-image: linear-gradient(to top right, #111827, #4b5563);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background-color: #4b5563;
  border-radius: 10px;
  border: 2px solid #1f2937;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #6b7280;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(31, 41, 55, 0.9);
  backdrop-filter: blur(5px);
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: #d1d5db;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
  background-color: rgba(55, 65, 81, 0.7);
  color: #ffffff;
}
