/* CSS Document */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* Header Styles */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #007BFF; 
  font-weight: bold;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger img {
  width: 28px;
  height: 28px;
}

/* Hero Section */
.hero {
  text-align: center;
  color: white;
  padding: 0;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.home-hero {
  background-image: url('../img/herobg.jpg');
  background-size: cover;
  background-position: center;
}

#about.hero {
  background-image: url('../img/AboutHerobg.jpg');
  background-size: cover;
  background-position: center;
  height: 500px; 
}


.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  display: inline-block;
  z-index: 1;
}

/* Destinations Section */
.destination-grid {
  padding: 2rem 1rem;
  background-color: #fff;
}

.destination-grid h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.destination {
  text-align: center;
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease; 
}

.destination:hover {
  transform: translateY(-5px); 
}

.destination img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.destination:hover img {
  transform: scale(1.05);
}

.destination h3 {
  margin-top: 10px;
  font-size: 1.3rem;
}

.destination p {
  font-size: 1rem;
  color: #666;
}

/* Gallery Section */
.gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around;
  margin-top: 20px;
}

.gallery-images img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.gallery-images img:hover {
  transform: scale(1.05);
}

/* Destination Detail Section */
.destination-grid-title {
  text-align: center;
  padding: 2rem 1rem 1rem;
  background-color: #f5f5f5;
}

.destination-grid-title h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #333;
}

.destination-detail {
  padding: 2rem 1rem;
  background-color: #fff;
  margin-top: 20px;
}

.destination-detail h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.destination-detail p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* About Section */
.about-content {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9f9;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.about-content p {
  font-size: 1.1rem;
  max-width: 700px;
}

.about-content .text {
  margin-bottom: 30px;
}


/* Contact Form Section */
.contact-form {
  padding: 50px 20px;
  background-color: #fff;
  text-align: center;
}

.contact-form h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-form p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #666;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form label {
  font-size: 1rem;
  color: #333;
  text-align: left;
  width: 100%;
  max-width: 400px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 5px;
  width: 100%;
  max-width: 400px;
}

.contact-form button {
  padding: 10px 20px;
  background-color: #000080;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #4169E1;
}

/* Footer Styling */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 30px;
}

footer p {
  font-size: 1rem;
  color: #bbb;
}

/* Media Queries */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr 1fr;
  }

  .destination {
    padding: 15px;
  }

  .destination img,
  .gallery-images img {
    max-width: 100%;
  }

  /* Mobile Nav Styles */
  .nav-links {
    position: absolute;
    top: 70px;
    right: 2rem;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .about-content {
    padding: 30px 10px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .destination-grid h2 {
    font-size: 1.6rem;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  .contact-form h2 {
    font-size: 2rem;
  }
}
