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

    body, html {
      font-family: 'Segoe UI', sans-serif;
      scroll-behavior: smooth;
      overflow-x: hidden;
      background: #f0efe4;
      color: #333;
    }

    /* ---------------- NAV MENU ---------------- */
     .menu-toggle {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1000;
      cursor: pointer;
    }

    .menu-toggle div {
      width: 25px;
      height: 3px;
      background-color: #fff;
      margin: 5px 0;
      transition: 0.4s;
    }

    .nav-menu {
      position: fixed;
      top: 0;
      right: 0px;
      width: 200px;
      height: 100%;
      background: rgba(0, 0, 0, 0.85);
      color: white;
      padding: 1.5rem;
      transition: right 0.3s ease;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      z-index: -1;
    }

    .nav-menu.active {
      z-index: 1;
    }

    .nav-menu a {
      color: aquamarine;
      text-decoration: none;
      font-size: 1.2rem;
    }

    .nav-menu a:hover {
      color: #ffc107;
    }

    nav > div > div {
      display:none;
      padding: 0.5em;
    }
    nav > div:target > a{
      color: darkgreen;
    }
    nav > div:target > div {
      display: block;
    }

    /* ---------------- HERO VIDEO ---------------- */
    .hero-video {
      display: flex;
      align-items: center;
      position: relative;
      height: 80vh;
      overflow: hidden;
    }

    .hero-video video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }

  .hero-text {
    display: flex;
    align-items: center;
    flex-direction: column;

    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    width: fit-content;
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 3rem;
    font-family: 'Anton', sans-serif;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    animation: fadeSlideUp 1.2s ease-out forwards;
    opacity: 0;
    text-align: center;
    margin: 0 auto;
  }
  .sub-text {
    max-width: 300px;
    text-align: center;
    font-size: 1.2rem;
  }
    /* ---------------- CONTENT ---------------- */
    .travel-posts {
      display: flex;
      padding: 4rem 2rem;
      max-width: 1200px;
      margin: auto;
      gap: 2rem;
    }

    .posts {
      p {
        font-size: 1.2rem;
      }
      flex: 3;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .post {
      display: flex;
      flex-direction: column;
      background: #f1f1f1;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      transition: 0.3s;
      text-decoration: none;
    }

    .post:hover {
      filter: sepia(0.5) drop-shadow(2px 4px 6px black);
    }

    .post img {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }

    .post-content {
      padding: 1rem 1.5rem;
    }

    .post h3 {
      margin-bottom: 0.5rem;
      font-size: 1.5rem;
      color: #222;
    }

    .post p {
      font-size: 1rem;
      color: #555;
    }

    /* ---------------- SIDEBAR ---------------- */
    .sidebar {
      flex: 1;
      background: #f1f1f1;
      border-radius: 8px;
      padding: 1.5rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      text-align: center;
      height: fit-content;
    }

    .sidebar h2 {
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
    }

    .sidebar img {
      width: 40px;
      margin-bottom: 1rem;
    }

    .sidebar ul {
      list-style: none;
      text-align: left;
      padding-left: 1rem;
    }

    .sidebar li {
      margin-bottom: 1rem;
    }
    /* ---------------- ANIMATIONS ---------------- */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero title animation */
.hero-text {
  animation: fadeSlideUp 1.2s ease-out forwards;
  opacity: 0;
}

/* Animate posts */
.post {
  opacity: 0;
  animation: fadeSlideUp 1s ease forwards;
}

.post:nth-child(1) { animation-delay: 0.4s; }
.post:nth-child(2) { animation-delay: 0.6s; }
.post:nth-child(3) { animation-delay: 0.8s; }

/* Sidebar animation */
.sidebar {
  opacity: 0;
  animation: fadeSlideRight 1.2s ease forwards;
  animation-delay: 1s;
}


/* ---------------- TOGGLE LIST ---------------- */
.toggle-header {
  cursor: pointer;
  font-weight: bold;
  margin: 1rem 0 0.5rem;
  color: #444;
}

.toggle-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.toggle-list.open {
  max-height: 500px; /* adjust as needed */
}

@media (max-width: 1150px) {
  .travel-posts {
    flex-direction: column;
  }
  .hero-text {
    top: unset;
    left: unset;
    font-size: 2em;
    width: 100%;
    max-width: unset;
    padding:  unset;
  }
}
