/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
/* Travel Tips Page */

.travel-tips-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  background: url("/images/Bali-landscapes.jfif") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  text-align: center;
}

.travel-tips-hero-overlay {
  position: relative;
  z-index: 1;
}
.travel-tips-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.travel-tips-hero p {
  font-size: 1.25rem;
}
.travel-tips-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.60);
}

main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.travel-tips-section {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.travel-tips-list {
  list-style-type: none;
  padding: 0 5rem;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}
.travel-tips-section h2 {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
}
.travel-tips-section p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.tips-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tips-table th,
.tips-table td {
  border: 1px solid var(--table-border);
  padding: 1rem;
  text-align: left;
}

.tips-table th {
  background-color: var(--accent-color);
  color: var(--light-color);
}

.tips-table tr:nth-child(even) {
  background-color: #f2f2f2;
}
@media (max-width: 1250px) {
  .travel-tips-hero {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: 95%;
  }
  .travel-tips-list {
    padding: 0 1rem;
  }
  .travel-tips-hero h1 {
    font-size: 2.5rem;
  }
  .travel-tips-hero p {
    font-size: 1.1rem;
  }
  .travel-tips-section h2 {
    font-size: 1.5rem;
  }
  .travel-tips-section p {
    font-size: 1rem;
  }

  .tips-table {
    width: 100%;
    margin: 0;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .tips-table th,
  .tips-table td {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
  .tips-table th {
    background-color: var(--accent-color);
    color: var(--light-color);
  }
  .tips-table tr:nth-child(even) {
    background-color: #f2f2f2;
  }
}