.search-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.search-bar input {
  padding: 10px 15px;
  border-radius: 5px;
  border: none;
  width: 60%;
  max-width: 400px;
}

.search-bar button {
  padding: 10px 15px;
  border: none;
  background: #1e4d3b;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.search-bar button:hover {
  background: #26763d;
}

.categories {
  padding: 60px 8%;
  text-align: center;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.category-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.category-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.category-card h4 {
  padding: 15px;
}

.category-card:hover {
  transform: translateY(-5px);
}


.place-category {
  padding: 50px 8%;
}

.place-category h3 {
  margin-bottom: 20px;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.place-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.4);
  overflow: hidden;
  transition: 0.3s;
}

.place-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.place-card h4 {
  padding: 10px 15px 0;
}

.place-card p {
  padding: 0 15px 10px;
  font-size: 0.9rem;
}

.place-card a {
  display: inline;
  margin: 0 15px 15px;
  color: #1e4d2b;
  font-weight: 500;
}

.contact-container {
  max-width: 600px;
  margin: 60px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-container h2, p{
  text-align: center;
  margin-top: 10px;
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.contact-form button {
  background: #1e4d2b;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #26763d;
}

.page-header {
  background: linear-gradient(rgba(30,77,43,0.8), rgba(30,77,43,0.8)), url("hero2.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.page-header h2 {
  color: #039c1f;
  font-size: 2rem;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.about-page {
  padding: 60px 8%;
  background: #fff;
  text-align: center;
}

.about-page li {
  list-style: none;
}

.about-page h2 {
  color: #1e4d2b;
  margin-bottom: 15px;
}

.about-page p {
  font-size: 1rem;
  color: #222;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.quote-box {
  background-color: #039c1f;
  padding: 25px;
  border-radius: 10px;
  margin: 30px auto;
  max-width: 700px;
  border-left: 4px solid #1e4d2b;
  box-shadow: 0 2px 6px rgba(0,0,0,05);
}

.quote-box p {
  color: #fff;
  margin-bottom: 10px;
}


/* single place page */

.place-details {
  padding: 60px 8%;
  background: #fff;
}

.place-header {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.place-main-image {
  width: 100%;
  height: 190px;
  flex: 1 1 45%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

.place-info {
  flex: 1 1 50%;
}

.place-info h2 {
  color: #1e4d2b;
  margin-bottom: 10px;
}

.category {
  font-weight: 600;
  color: #26763d;
  margin-bottom: 10px;
}

.description {
  margin-bottom: 15px;
  color: #333;
  line-height: 1.7;
}

.details-list {
  list-style: none;
  margin-bottom: 20px;
}

.details-list li {
  margin-bottom: 8px;
}

.details-list a {
  color: #1e4d2b;
  text-decoration: underline;
}

.back-btn {
  display: inline-block;
  margin-top: 15px;
  background: #1e4d2b;
  border-radius: 5px;
  padding: 10px 20px;
  color: #fff;
  font-size: 0.9rem;
}

.back-btn:hover {
  background: #26763d;
}


.gallery {
  padding:  60px 8%;
  text-align: center;
  background: #f9fafb;
}

.gallery h3 {
  margin-bottom: 20px;
  color: #1e4d2b;
  font-size: 1.6rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.10);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  margin-left: auto;
  width: 25px;
  height: 20px;
}

.hamburger span {
  background: #1e4d2b;
  height: 3px;
  border-radius: 2px;
  transition: 0.3s;
}


@media (max-width:768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    background-color: #222;
    height: 100vh;
    width: 100%;
    max-width: 450px;
    position: fixed;
    right: -450px;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    font-size: 1.5rem;
    transition: .3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    border-bottom: 1px solid #fff;
    padding: 0 1rem;
  }

  .hamburger span:nth-child(1) {
    top: 25%;
  }

  .hamburger span:nth-child(3) {
    top: 5%;
  }
}

@media (max-width:768px) {
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(12px)
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-12px)
  }
}
