/* ---------- General reset & base styles ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: radial-gradient(circle at top left, #1b0033, #0a0018 70%);
  color: #f4f4f8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(20, 10, 40, 0.6);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.logo-img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  object-fit: contain;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* ---------- Navigation Links ---------- */
nav a {
  color: #cfcff5;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg, #b35cff, #5b8cff);
  transition: width 0.25s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover {
  color: #fff;
}

/* ---------- Hero Section (Homepage) ---------- */
.hero {
  background: linear-gradient(135deg, rgba(60, 10, 100, 0.9), rgba(20, 10, 40, 0.9)),
              url('../images/bg-texture.png');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 180px 20px 120px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 700px;
  animation: fadeInUp 1.2s ease;
}

.hero h2 {
  background: linear-gradient(90deg, #b35cff, #5b8cff);
  background-clip: text;      
  -webkit-background-clip: text;    
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #d4c9f8;
}

.btn.primary {
  background: linear-gradient(90deg, #b35cff, #5b8cff);
  border: none;
  padding: 12px 28px;
  color: white;
  font-weight: 600;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(91, 140, 255, 0.4);
}

/* ---------- Destinations Page ---------- */
.page-content {
  max-width: 1100px;
  width: 100%;
  margin: 120px auto 60px;
  padding: 0 20px;
}

.dest-section {
  margin: 30px 0;
}

.dest-section h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  color: #f3eaff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: stretch;
}

/* ---------- Destination Card ---------- */
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 14px;
  padding: 18px;
  min-height: 150px;
  color: #fff;
  box-shadow: 0 8px 28px rgba(12,8,32,0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

.card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.card p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  opacity: 0.95;
  line-height: 1.3;
}

.card button {
  align-self: start;
  background: rgba(255,255,255,0.95);
  color: #222;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}

.card button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(12,8,32,0.55);
}

/* ---------- Itinerary Page ---------- */
.itinerary-container {
  max-width: 900px;
  margin: 140px auto 80px;
  padding: 0 20px;
}

.itinerary-card {
  border-radius: 14px;
  padding: 18px;
  color: white;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(12,8,32,0.35);
  backdrop-filter: blur(8px);
}

.itinerary-card h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.itinerary-card p {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #ddd;
}

.itinerary-card button {
  background: rgba(255,255,255,0.9);
  border: none;
  color: #222;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 40px 20px;
  color: #aaa;
  margin-top: auto;
  font-size: 0.9rem;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    margin-left: 0;
    margin-right: 15px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .page-content {
    margin-top: 100px;
  }

  .dest-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
