/* ================= ROOT (DESIGN SYSTEM) ================= */
:root {
  --gold: #d1a43e;
  --sand: #d8a946;
  --red: #ec2428;
  --black: #0a0a0a;
  --soft: #231e1d;
  --white: #ffffff;
  --muted: #999;
}

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

body {
  font-family: "Poppins", sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 16px;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 10px;
  position: relative;
}

.logo {
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--sand);
}

/* ================= NAV LINKS ================= */
nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #ccc;
  font-size: 14px;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--gold);
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* ================= BUTTONS ================= */
.btn {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: var(--gold);
  color: #000;
}

.btn.large {
  padding: 14px 24px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 164, 62, 0.4);
}

/* ================= HERO ================= */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://coastal.co.tz/wp-content/uploads/2024/05/DSC_0308.jpg")
    center/cover no-repeat;
  filter: brightness(0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.hero p {
  color: #ccc;
  margin-bottom: 30px;
}

/* ================= BOOKING BAR ================= */
.booking-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 14px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.05);
}

.input-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.input-group label {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.booking-bar input,
.booking-bar select {
  padding: 10px;
  border: none;
  border-radius: 6px;
  background: #111;
  color: #fff;
  min-width: 140px;
}

/* ================= SECTION ================= */
.section {
  padding: 100px 0;
}

.section.dark {
  background: #111;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--muted);
}

/* ================= ROUTES ================= */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.route-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

.route-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.5s;
}

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

.route-card h3 {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

/* ================= DESTINATION CAROUSEL ================= */
.carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.destination-card {
  min-width: 300px;
  position: relative;
  scroll-snap-align: start;
}

.destination-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
}

.destination-card h3 {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

/* ================= EXPERIENCE ================= */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.exp-item {
  padding: 30px;
  background: #111;
  border-radius: 12px;
  transition: 0.3s;
}

.exp-item:hover {
  background: var(--gold);
  color: #000;
}

/* ================= STEPS ================= */
.steps {
  display: flex;
  justify-content: center;
  gap: 40px;
}

/* ================= STATS ================= */
.stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-wrap: wrap;
  gap: 20px;
}

.stat h3 {
  font-size: 2rem;
  color: var(--gold);
}

/* ================= REVIEWS ================= */
.reviews {
  display: flex;
  overflow: hidden;
  width: 100%;
  gap: 20px;
}

.review {
  min-width: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

/* ================= TRUST ================= */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}

/* ================= CONTACT ================= */
#contact-us {
  align-items: center;
  display: flex;
  gap: 50px;
}

.contacts {
  flex: 1;
  padding: 100px;
}
.contact-form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 100px;
  background: #111;
  border-radius: 10px;
}

input,
textarea {
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: #111;
  color: #fff;
}

/* ================= FOOTER ================= */
.footer {
  background: #000;
  padding: 30px;
  text-align: center;
  color: #aaa;
}

/* ================= MOBILE MENU ================= */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--sand);
}

/* ================= MOBILE FIXES ================= */
@media (max-width: 900px) {
  #nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    width: 100%;
    background: black;
    overflow: hidden;
    padding: 20px 0;
    gap: 15px;
    animation: fadeIn 0.3s ease;
  }

  #nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .booking-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-bar input,
  .booking-bar select {
    width: 100%;
    min-width: unset;
  }

  .steps {
    flex-direction: column;
  }

  .routes-grid {
    grid-template-columns: 1fr;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  #contact-us {
    flex-direction: column;
  }

  .contacts {
    padding: 0;
  }
  #nav-animation {
    animation: fadeIn 0.3s ease;
  }
}

/* ================= ANIMATIONS ================= */
.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RIPPLE ================= */
.ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
}

@keyframes ripple {
  to {
    transform: scale(20);
    opacity: 0;
  }
}
