/* ================= Global Styles ================= */

/* Body text */
body {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: rgb(45, 41, 38);
}

/* Fonts for headers, nav links, buttons, list items */
h2, h4, h5, h6,
.nav-link,
.navbar-brand,
.btn,
li {
  font-family: 'Cormorant', sans-serif;
  font-style: normal;
  font-weight: 400;
  color: rgb(137, 118, 75);
}

/* ================= Navbar Styles ================= */

/* Navbar Background */
.custom-navbar {
  background: rgba(255, 255, 255, 0.95); /* semi-transparent white */
  backdrop-filter: blur(8px); /* glass effect */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.3s ease-in-out, padding 0.3s ease-in-out;
  padding: 12px 0;
}

/* Logo */
.navbar-brand img {
  height: 90px;
  transition: transform 0.3s;
}
.navbar-brand img:hover {
  transform: scale(1.05);
}

/* Navbar Links */
.nav-link {
  font-weight: 400;          
  margin: 0 8px;
  position: relative;
  transition: color 0.3s;
  font-size: 20px;
}
.nav-link:hover,
.nav-link.active {
  color: #4b532b !important;
}
.nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #4b532b;
  transition: width 0.3s;
  margin: auto;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Buttons */
.btn {
  font-family: 'Cormorant', sans-serif;
  font-style: italic;
  font-weight: 400;
  color: rgb(137, 118, 75);
}

/* Mobile Menu */
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  filter: invert(40%);
}

/* ===== Hero Section ===== */
.culture-page .hero-section {
  background-image: url('../images/pemako-18.jpg'); /* adjust path */
  background-size: cover;
  background-position: center;
  height: 500px;
  position: relative;
  display: flex;        
  align-items: center;     
  justify-content: center; 
  text-align: center;
  margin-bottom: 100px !important;

}

.culture-page .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* overlay for readability */
  z-index: 1;
}

.culture-page .hero-section h1 {
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 60px;
  color: #fff;
  position: relative; /* stays above overlay */
  z-index: 2;
  padding: 0 15px; /* some side padding for small screens */
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .culture-page .hero-section {
    height: 500px; /* shorter hero */
  }
  .culture-page .hero-section h1 {
    font-size: 42px; /* smaller font */
  }
}

@media (max-width: 575px) {
  .culture-page .hero-section {
    height: 400px; /* even shorter */
  }
  .culture-page .hero-section h1 {
    font-size: 32px; /* mobile-friendly font */
  }
}

/* ===== Adventure Section ===== */
.adventure-section {
  background: #ffffff;  /* matches serenity/testimonial sections */
  font-family: 'Cormorant', sans-serif; /* unified font */
  color: #333;
  margin-top: 50px !important;
  padding: 0px !important;
  margin-bottom: 20px !important;

}

.adventure-section .tagline {
  font-size: 18px;
  font-style: italic;  /* keep tagline italic */
  font-weight: 500;
  color: #ffffff; /* olive green accent */
}

.adventure-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: rgb(137, 118, 75);
  font-style: normal !important;
}

.adventure-section p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  font-family: 'Cormorant', sans-serif;

}

/* Right Image */
.adventure-section .adventure-image img {
  width: 100%;
  height: 492px;
  object-fit: cover;
  display: block;
  border-radius: 0; /* consistent with full-width image style */
}

/* Responsive */
@media (max-width: 767px) {
  .adventure-section h2 {
    font-size: 28px;
  }
  .adventure-section p {
    font-size: 14px;
  }
  .adventure-section .tagline {
    font-size: 16px;
  }
}



/* ===== Destination Section ===== */
.destination-section {
  padding: 0px !important;
  margin-top: 10px !important;
 
}
.destination-title h5 {
  color: #fff; /* change this to any color you want */
}
/* Section Title */
.destination-section .section-title {
  font-family: 'Cormorant', serif;

  font-weight: 400;
  font-size: 40px;
  color: rgb(137, 118, 75);
  margin-bottom: 15px;
}

/* View All Link */
.destination-section .view-link {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: rgb(137, 118, 75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.destination-section .view-link:hover {
  color: rgb(117, 101, 64);
  text-decoration: underline;
}

/* Destination Card */
.destination-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  border-radius: 0; /* sharp edges */
}

.equal-card {
  height: 400px;
}

.equal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.destination-card:hover img {
  transform: scale(1.1);
}

/* Badge */
.destination-card .badge {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  background: rgb(137, 118, 75);
  color: #fff;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  padding: 6px 12px;
  font-size: 0.85rem;
  pointer-events: none;
  border-radius: 4px;
}

/* Title */
.destination-title {
  position: absolute;
  bottom: 15px;
  left: 20px;
  color: #fff;
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.7);
  z-index: 2;
  transition: opacity 0.4s ease;
}

.destination-card:hover .destination-title {
  opacity: 0;
  font-style: italic !important;
}

/* Overlay */
.destination-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0; /* overlay hidden by default */
  transition: opacity 0.4s ease-in-out;
  z-index: 2;
}

/* Overlay headings and paragraphs */
.destination-overlay h5,
.destination-overlay p {
  opacity: 0; /* hidden by default */
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(10px);
  color: rgb(255, 255, 255) !important; /* white color */
}

.destination-card:hover .destination-overlay {
  opacity: 1;
}

.destination-card:hover .destination-overlay h5,
.destination-card:hover .destination-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* Explore button inside overlay - always visible */
.destination-overlay .btn {
  opacity: 1;  /* always visible */
  margin-top: 10px;
  background: rgb(137, 118, 75);
  border: none;
  font-family: 'Cormorant', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 3;
}

.destination-overlay .btn:hover {
  background: rgb(117, 101, 64);
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .equal-card {
    height: 350px;
  }
  .destination-section .section-title {
    font-size: 32px;
  }
}

@media (max-width: 575px) {
  .equal-card {
    height: 280px;
  }
  .destination-section .section-title {
    font-size: 28px;
  }
  .destination-overlay h5 {
    font-size: 18px;
  }
  .destination-overlay p {
    font-size: 12px;
  }
}


/* Footer Section with Overlay */
.footer-section {
  position: relative; /* needed for overlay */
  background-color: #8f9b60;
  color: #fff;
  padding: 60px 0;
}

/* Overlay */
.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent black overlay */
  z-index: 1;
}

/* Footer Content */
.footer-section * {
  position: relative;
  z-index: 2; /* bring text above overlay */
}

/* Footer Headings */
.footer-heading {
  font-family: 'Cormorant', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  color: #fff;
  margin-bottom: 15px;
  font-size: 25px;
}

/* Footer Links */
.footer-links li a {
  color: #fff; /* make links white for better readability */
  font-family: 'Cormorant', sans-serif;
  font-style: italic;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links li a:hover {
  color: #ffcc00;
}

.footer-links li {
  font-family: 'Cormorant', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 8px;
  color: #fff;
}

/* Optional: icons white too */
.footer-links li i {
  color: #fff;
  margin-right: 8px; /* keeps spacing consistent */
}
/* Social Icons */
.social-icons a {
  color: #fff; /* white for better contrast */
  font-size: 18px;
  margin-right: 10px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ffcc00;
}

/* Divider */
.footer-divider {
  border: 0;
  height: 1px;
  background: #ddd;
  margin: 30px 0;
}

/* Footer Text */
.footer-text p {
  margin: 0;
  color: #fff;
  font-family: 'Cormorant', sans-serif;
  font-size: 14px;
}

/* ================= Responsive ================= */
@media (max-width: 767px) {
  .footer-section,
  .navbar-collapse {
    text-align: center;
  }
}
