* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #7db300;
  --secondary-green: #9EED09;
  --accent-yellow: #fdd835;
  --accent-red: #ef5350;
  --dark-text: #2c3e50;
  --light-text: #ffffff;
  --gray-text: #666;
  --sandy-bg: #e7ebe0;
  --light-bg: #fafaf8;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--light-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.caption {
    text-align: center;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.thumbnail {
    flex-basis: 33%;
    display: flex;
    justify-content: center;
    overflow-wrap: break-word;
    margin-bottom: 20px;
}

.thumbnail:last-child {
      flex-basis: 100%;
    }


.table-color table {
	width: 100%;
	margin-bottom: 20px;
	border: 5px solid #fff;
	border-top: 5px solid #fff;
	border-bottom: 3px solid #fff;
	border-collapse: collapse; 
	outline: 3px solid #B7FF73;
	font-size: 15px;
	background: #fff!important;
}

.table-color th {
	font-weight: bold;
	padding: 7px;
	background: #CCD4BE;
	border: none;
	text-align: left;
	font-size: 15px;
	border-top: 3px solid #fff;
	border-bottom: 3px solid #B7FF73;
}

.table-color td {
	padding: 7px;
	border: none;
	border-top: 3px solid #fff;
	border-bottom: 3px solid #fff;
	font-size: 15px;
}

.table-color tbody tr:nth-child(even){
	background: #f8f8f8!important;
}

/* Navbar */
.navbar {
  background-image: url("img/marsh-grass-texture.jpg");
  background-size: cover;
  background-position: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
   background: linear-gradient(to bottom, rgba(180, 238, 73, 0.8), rgba (167, 227, 73, 0.8));
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
   background-image: url("img/marsh-grass-texture.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.navbar .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 10px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  width: 91px;
  height: 55px;
  object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-brand h2 {
  color: var(--light-text);
  font-size: 1.1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.1rem;
}

.nav-menu a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.0rem;
  border-radius: 5px;
  transition: all 0.3s;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  display: block;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.has-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
    background-image: url("img/marsh-grass-texture.jpg");
  background-size: cover;
  background-position: center;
  list-style: none;
  padding: 0.5rem 0;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  padding: 0.8rem 1.5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--light-text);
  transition: 0.3s;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero */
.hero {
  position: relative;
}

.hero-slider {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--light-text);
  background: transparent;
text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.7);
  padding: 2rem 3rem;
  border-radius: 15px;
  max-width: 800px;
  z-index: 5;
}

.hero-overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--light-text);
  z-index: 20;
  background: rgba(44, 62, 80, 0.85);
  padding: 2rem 3rem;
  border-radius: 15px;
  max-width: 700px;
  width: 90%;
}

.hero-overlay-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-hero {
  background: #a4d411;
  color: var(--light-text);
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-hero:hover {
  background: #4C7500;
  transform: translateY(-2px);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #a4d411;
  color: var(--light-text);
  border: none;
  padding: 1rem 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 5px;
  z-index: 10;
}

.slider-btn:hover {
  background: #4C7500;
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

/* Sections */
.latest-news,
.popular-destinations,
.interactive-map-section,
.testimonials,
.partners {
  padding: 1.5rem 0;
}

.latest-news h2,
.popular-destinations h2,
.interactive-map-section h2,
.testimonials h2,
.partners h2 {
  text-align: center;
  font-size: 2.5rem;
  
  color: var(--primary-green);
}

.section-description {
  text-align: center;
  color: var(--gray-text);
  margin-bottom: 1rem;
}

/* Cards */
.news-grid,
.destinations-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card,
.destination-card,
.testimonial-card {
  background: var(--sandy-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.news-card:hover,
.destination-card:hover {
  transform: translateY(-5px);
}

.news-card img,
.destination-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.destination-card img {
  height: 250px;
}

.news-content,
.destination-content {
  padding: 1.5rem;
}

.news-date {
  color: var(--gray-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.news-content h3,
.destination-content h3 {
  color: var(--primary-green);
  margin: 0.5rem 0;
}

.read-more {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
}

.destination-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.difficulty {
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  font-weight: 600;
}

.difficulty.easy {
  background: #d4edda;
  color: #155724;
}

.difficulty.medium {
  background: #fff3cd;
  color: #856404;
}

.difficulty.hard {
  background: #F77F68;
  color: #856404;
}

/* Map */
.map-wrapper {
  position: relative;
  background: var(--sandy-bg);
  padding: 1rem;
  border-radius: 10px;
}

.base-map {
  width: 100%;
  display: block;
  border-radius: 5px;
}

.map-markers {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  pointer-events: none;
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--primary-green);
  border: 3px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
}

.map-marker:hover {
  transform: translate(-50%, -50%) scale(1.2);
}

.marker-icon {
  font-size: 1.5rem;
}

.location-info-panel {
  background: var(--sandy-bg);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 1rem;
  display: none;
  position: relative;
}

.location-info-panel.active {
  display: block;
}

.close-panel {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-text);
}

.map-legend-interactive {
  margin-top: 1.5rem;
  background: var(--sandy-bg);
  padding: 1.5rem;
  border-radius: 10px;
}

.map-legend-interactive h4 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.legend-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Testimonials */
.testimonial-card {
  padding: 1.5rem;
}

.testimonial-rating {
  color: var(--accent-yellow);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.author-avatar-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-green);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  color: var(--primary-green);
}

.author-info span {
  color: var(--gray-text);
  font-size: 0.9rem;
}

.add-review-section {
  text-align: center;
  margin-top: 2rem;
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.partner-logo {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-height: 100px;
}

.partner-logo img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
}

/* Footer */
.footer {
  background-image: url("img/marsh-grass-texture.jpg");
  background-size: cover;
  background-position: center;
  position: sticky;
  top: 0;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.7);
  z-index: 1000;
  padding: 3rem 0 1rem;
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.9);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.9);
}

.footer-bottom {
  text-align: left;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.9);
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--light-text);
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: all 0.3s;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn-primary {
  background: var(--primary-green);
  color: var(--light-text);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--secondary-green);
  transform: translateY(-2px);
}

/* Page Styles */
.page-header {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: var(--light-text);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.info-card {
  background: var(--sandy-bg);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-card h2 {
  color: var(--primary-green);
  margin-bottom: 1.5rem;
}

/* Forms */
.contact-form,
.review-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-green);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-green);
}

.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.5rem;
}

.rating-input input[type="radio"] {
  display: none;
}

.rating-input .star {
  font-size: 2.5rem;
  color: #ddd;
  cursor: pointer;
  transition: color 0.2s;
}

.rating-input input[type="radio"]:checked ~ .star,
.rating-input .star:hover,
.rating-input .star:hover ~ .star {
  color: var(--accent-yellow);
}

.moderation-notice {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(124, 179, 66, 0.1);
  border-radius: 5px;
  text-align: center;
  color: var(--gray-text);
  font-size: 0.9rem;
}

.pagination {
  display: flex;
  justify-content: center;
  list-style: none; /* remove list bullets */
  padding: 0px;
}

.pagination li a {
  display: block; /* let links fill the list item */
  padding: 8px 12px;
  text-decoration: none;
  border: 1px solid gray;
  color: black;
  margin: 0 4px;
  border-radius: 5px; /* add rounded borders */
}

.pagination li a.active {
  background-color: #4CAF50;
  color: white;
}

.pagination li a.disabled {
  color: #dddddd;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination li a:hover:not(.active) {
  background-color: lightgray;
}


/* Mobile */
@media (max-width: 1100px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: linear-gradient(to bottom, rgba(132, 196, 10, 0.8), rgba(85, 168, 42, 0.9));
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    padding: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-slider {
    height: 250px;
  }

  .hero-overlay-content h1 {
    font-size: 1.5rem;
  }

  .hero-overlay-content p {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .nav-logo {
    width: 40px;
    height: 40px;
  }

  .nav-brand h2 {
    font-size: 1.1rem;
  }
}
