/* Design System & Reset */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap");

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --primary-color: #3b82f6; /* A vibrant blue */
  --primary-dark: #1d4ed8;
  --secondary-color: #10b981; /* A nice green for success/nature vibes */
  --text-main: #ffffff;
  --text-dark: #1f2937;
  --text-light: #9ca3af;
  --bg-glass: rgba(255, 255, 255, 0.1);
  --bg-glass-border: rgba(255, 255, 255, 0.2);
  --font-heading: "Outfit", sans-serif;
  --font-body: "Outfit", sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

/* Utilities */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 1rem;
}

/* Header / Navigation */
/* Header / Navigation */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 1.5rem 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 51;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-main);
}

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

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 51;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  padding: 0 1rem;
  animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.95);
  display: block;
}

.hero-title {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Stats Section */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem 3rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: inline-flex;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 80px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Destinations Section */
.destinations-section {
  padding: 6rem 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 800;
  color: rgba(0, 0, 0, 0.03);
  z-index: 1;
  pointer-events: none;
  text-transform: uppercase;
  line-height: 1;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Destinations Grid */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.destination-card {
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  aspect-ratio: 3/4;
  cursor: pointer;
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card:hover img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    transparent 100%
  );
  padding: 2rem 1.5rem;
  color: white;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.card-content {
  flex: 1;
  padding-right: 1rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  margin-bottom: 0; /* Align with bottom */
  opacity: 0.9;
}

.card-arrow {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.destination-card:hover .card-arrow {
  background: white;
  color: var(--text-dark);
  transform: rotate(-45deg);
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-links {
    gap: 1.5rem;
  }
}

@media (max-width: 980px) {
  header {
    padding: 0.5rem 0;
  }
  .menu-toggle {
    display: block;
    margin-top: 2px;
    margin-left: 4px;
  }

  .logo {
    font-size: 1.4rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    margin-left: 0;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.5rem;
  }

  /* Responsive Hero */
  .hero-title {
    font-size: 4rem; /* Fallback */
    font-size: clamp(4rem, 12vw, 6rem); /* Larger on mobile */
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 0.2em;
  }

  /* Responsive Stats */
  .hero-stats {
    flex-wrap: wrap;
    border-radius: 1.5rem;
    padding: 1.5rem;
    gap: 1.5rem;
    width: 100%;
    margin-top: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 1 1 40%;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  /* Adjust Section Paddings */
  .destinations-section,
  .packages-section {
    padding: 4rem 0;
  }

  /* Adjust Grids */
  .packages-grid {
    grid-template-columns: 1fr; /* Stack vertically */
  }

  .destinations-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(250px, 1fr)
    ); /* Smaller min-width */
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .bg-text {
    font-size: 5rem; /* Smaller background text */
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.1rem;
    white-space: nowrap;
    margin-right: 0;
  }

  .logo ion-icon {
    margin-right: 3px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 0.875rem;
  }
}
