.container {
  max-width: 80vw; /* or whatever fits your design */
  margin: 0 auto;    /* centers the container */
  padding: 0 20px;   /* prevents content from touching the edges on small screens */
}

@media (max-width: 600px) {
  .container {
    width: 100%;
    max-width: 95vw; /* more flexible on small screens */
    padding: 0 10px;   /* less padding on mobile */
  }
}


h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: left; /* optional */
  font-size: 2.2rem;
}

.destination-hero {
  height: 60vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.destination-hero h1 {
  font-size: clamp(2.5rem, 3.8vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin: 0;
  margin-bottom: 1rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  font-size: 1.2rem;
  padding: 2rem;
}

.destination-intro {
  max-width: 60vw;
  margin: 3rem auto;
  padding: 0 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
}

.destination-section{
  margin-bottom: 4rem;

}

.destination-section h2 {
  text-align: left;
  margin-bottom: 2rem;
}
.destination-intro p {
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .destination-intro {
    max-width: 90vw; /* wider on smaller screens */
  }
}

@media (max-width: 600px) {
  .destination-intro {
    max-width: 95vw; /* even wider on very small screens */
  }
}

.destination-card {
  position: relative;
  height: 460px;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.destination-card:hover img {
  transform: scale(1.08);
}

.disabled {
  pointer-events: none;
  cursor: default;
}


/* Overlay */
.card-overlay {
  position: absolute;
  display: flex;
  align-items: flex-end; /* vertical alignment at bottom */
  justify-content: flex-start; /* horizontal alignment to left */
  padding: 10px;
  transition: background-color 0.4s ease;
}

.card-overlay h3 {
  color: white;
  margin: 0;
  padding: 4px 8px;
  border-radius: 4px;
}

.card-overlay p {
  color: white;
  margin: 0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 1.1rem;
  text-align: left;
}

/* Hover effect */
.image-card:hover .card-overlay {
  background: rgba(0, 0, 0, 0.35); /* darkens on hover */
}

.image-card:hover img {
  transform: scale(1.05); /* zoom image */
}

/* Overlay text stays visible */
.card-overlay h3 {
  color: #fff;
  font-size: 1.4rem;
  margin: 0;
  transition: color 0.4s ease;
}

.getting-there {
  margin-bottom: 4rem;
}

.destination-text {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.destination-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.destination-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 500;
    letter-spacing: 0.3px;
    font-size: 1.1rem;
}

.destination-list li:last-child {
    border-bottom: none;
}

.destination-list a {
    text-decoration: none;
    color: #007bff;
   
}
.destination-list a:hover {
    color: #f0c040;
    text-decoration: underline;
}

.destination-section p {
  text-align: justify;
}

@media (max-width: 600px) {
  .destination-section p {
    max-width: 90vw;
  }
}