* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f7f9fc;
  color: #1f2937;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: #fff;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 20px;
  color: green;
}

.navbar nav a {
  margin-right: 20px;
  text-decoration: none;
  color: grey;
}

.btn {
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.orange { background: #f97316; color: #fff; }
.blue { background: #2563eb; color: #fff; }
.green { background: #16a34a; color: #fff; margin-top: 40px; }

/* HERO */
/* HERO */
.hero {
  position: relative;
  height: 85vh;
  width: 100%;
  overflow: hidden;
  background-image: url("./assets/hero.webp");
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay content */
.hero-content {
  position: absolute;
  top: 30%;
  left: 60px;
  transform: translateY(-50%);
  max-width: 520px;
  color: #0f172a;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 16px;
  color: #475569;
  margin-bottom: 24px;
}

.hero-actions button {
  margin-right: 12px;
}

/* FEATURES */
.features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  width: 260px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* WHY */
.why {
  text-align: center;
  padding: 80px 20px;
}

/* DESTINATIONS */
.destinations {
  text-align: center;
  padding: 60px;
}

.dest-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
}

.dest-card {
  width: 300px;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  padding: 15px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}

/* GUIDE */
.guide {
  background: #fff;
  padding: 60px;
  text-align: center;
}

.guide-steps {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 30px;
}

.feature_guide {
    height: 100px;
    width: auto;
}

.choose_travo {
    text-align: center;
    margin: 80px 0px 40px 0px;
}

.travo_feature {
  position: relative;
  height: 70vh;
  width: 100%;
  overflow: hidden;
  background-image: url("./assets/bg_image_location.webp");
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
}

.travo_logo {
    height: 50px;
    width: 50px;
    object-fit: cover;
}

.footer {
  background: #0f2f24;
  color: #e8f5ef;
  padding: 60px 80px 20px;
  margin-top: 80px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
}

.footer-logo img {
  width: 36px;
}

.footer-brand p {
  margin-top: 14px;
  line-height: 1.6;
  font-size: 14px;
  opacity: 0.9;
}

.footer-links h4 {
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-links a {
  display: block;
  color: #cfe8de;
  font-size: 14px;
  margin-bottom: 10px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.85;
}


/* =========================
   RESPONSIVE (MOBILE)
========================= */

@media (max-width: 768px) {

  /* GLOBAL */
  body {
    overflow-x: hidden;
  }

  /* NAVBAR */
  .navbar {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
  }

  .navbar nav {
    /* display: flex; */
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .navbar nav a {
    margin-right: 0;
    font-size: 14px;
  }

  /* HERO */
  .hero {
    height: 70vh;
    background-position: center;
  }

  .hero-content {
    position: static;
    transform: none;
    padding: 40px 20px;
    max-width: 100%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* WHY TRAVO */
  .travo_feature {
    height: auto;
    padding: 40px 20px;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 320px;
  }

  /* DESTINATIONS */
  .destinations {
    padding: 40px 20px;
  }

  .dest-grid {
    flex-direction: column;
    align-items: center;
  }

  .dest-card {
    width: 100%;
    max-width: 320px;
  }

  /* GUIDE */
  .guide {
    padding: 40px 20px;
  }

  .guide-steps {
    flex-direction: column;
    gap: 30px;
  }

  .feature_guide {
    height: 80px;
  }

  /* FOOTER */
  .footer {
    padding: 40px 20px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* =========================
   NAVBAR RESPONSIVE
========================= */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #1f2937;
  border-radius: 2px;
  transition: 0.3s;
}

/* MOBILE */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .navbar {
    position: relative;
    flex-direction: row; /* 🔥 logo + hamburger same line */
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    display: none;   /* 🔥 DEFAULT HIDDEN */
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }

  /* 🔥 THIS IS THE KEY FIX */
  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 16px;
  }
}


.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}