body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 30px;
  background-image: url("backbeach.jpg");
  background-size: cover;
  background-position: center;
  color: #333;
  background-attachment: fixed;
}

nav a {
  color: #140a49;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
}

h1 {
  font-size: 60px;
  font-family: 'Times New Roman', Times, serif;
  margin: 20px 0;
  text-align: center;
  color: #140a49;
}

/* Gallery layout */
.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.main-image img {
  width: 90%;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.thumbnails {
  display: flex;
  gap: 20px;
}

.thumbnails img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumbnails img:hover {
  transform: scale(1.05);
}

/* Info section */
.place-info {
  max-width: 800px;
  margin: 40px auto;
  color: aliceblue;
  background-color:rgba(17, 20, 49, 0.65);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  line-height: 1.6;
}

.place-info p {
  margin: 10px 0;
  font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .thumbnails {
    flex-direction: column;
    gap: 15px;
    width: 90%;
    max-width: 350px;
  }

  .thumbnails img {
    width: 100%;
    height: auto;
  }

  .main-image img {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    padding: 15px;
  }

  h1 {
    font-size: 36px;
  }

  nav a {
    font-size: 16px;
  }

  .place-info {
    padding: 15px;
    font-size: 14px;
  }

  .thumbnails img {
    width: 100%;
    height: auto;
  }
}
#visitor{
  text-decoration: underline;
}