/* ================== Root Variables ================== */
:root {
  --thc-heading: #4fcc19;
  --thc-text: #ffe1d0;
  --thc-accent: #4fcc19;
  --thc-btn: #4fcc19;
  --thc-btn-text: #064c4e;
  --thc-btn-hover: #ffe1d0;
  --thc-link: #4fcc19;
  --thc-bg: #064c4e;
  --thc-font: system-ui, -apple-system, "Segoe UI", "Trebuchet MS", Verdana, Arial, sans-serif;
}

/* ================== Global ================== */
body.trailhaven-click {
  font-family: var(--thc-font);
  color: var(--thc-text);
  background-color: var(--thc-bg);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  color: var(--thc-link);
  text-decoration: none;
}
a:hover {
  color: var(--thc-btn-hover);
  text-decoration: underline;
}

/* ================== Navbar ================== */
.trailhaven-click-navbar {
  background: var(--thc-bg);
  border-bottom: 1px solid rgba(255, 225, 208, 0.2);
}
.trailhaven-click-navbar .nav-link {
  color: var(--thc-text);
  font-weight: 500;
}
.trailhaven-click-navbar .nav-link.active {
  color: var(--thc-accent);
  font-weight: 700;
}
.trailhaven-click-toggler {
  border: none;
  font-size: 1.5rem;
  color: var(--thc-accent);
}
/* Logo */
.trailhaven-click-logo {
    height: 80px;          /* maintain consistent height */
    width: auto;               /* keep aspect ratio */
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.trailhaven-click-logo:hover {
    transform: scale(1.05);   /* subtle hover grow */
    filter: brightness(1.2);  /* lighten on hover */
}



/* ================== Hero ================== */
.trailhaven-click-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  text-align: center;
  color: var(--thc-text);
}
.trailhaven-click-hero-title {
  font-size: 3rem;
  color: var(--thc-heading);
  margin-bottom: 1rem;

  /* Thicker text border using multiple text-shadow layers */
  text-shadow:
     2px 2px 0 #064c4e,
    -2px 2px 0 #064c4e,
     2px -2px 0 #064c4e,
    -2px -2px 0 #064c4e,
     2px 0 0 #064c4e,
    -2px 0 0 #064c4e,
     0 2px 0 #064c4e,
     0 -2px 0 #064c4e;
}

.trailhaven-click-hero-sub {
  font-size: 1.2rem;

  /* Thicker subtitle border */
  text-shadow:
     1.5px 1.5px 0 #064c4e,
    -1.5px 1.5px 0 #064c4e,
     1.5px -1.5px 0 #064c4e,
    -1.5px -1.5px 0 #064c4e,
     1.5px 0 0 #064c4e,
    -1.5px 0 0 #064c4e,
     0 1.5px 0 #064c4e,
     0 -1.5px 0 #064c4e;
}


.trailhaven-click-btn {
  display: inline-block;
  background: var(--thc-btn);
  color: var(--thc-btn-text);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
}
.trailhaven-click-btn:hover {
  background: var(--thc-btn-hover);
  color: var(--thc-btn-text);
}
.trailhaven-click-btn-ghost {
  background: transparent;
  border: 2px solid var(--thc-btn);
  color: var(--thc-btn);
}
.trailhaven-click-btn-ghost:hover {
  background: var(--thc-btn);
  color: var(--thc-btn-text);
}

/* ================== Cards ================== */
.trailhaven-click-card {
  background: #064c4e;
  border: 1px solid var(--thc-accent);
  border-radius: 1rem;
  color: var(--thc-text);
  box-shadow: 0 0 15px rgba(79, 204, 25, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.trailhaven-click-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(79, 204, 25, 0.6);
}

/* ================== Game ================== */
.trailhaven-click-game-frame iframe {
  width: 100%;
  min-height: 500px;
  border: none;
  border-radius: 1rem;
}

/* ================== Features ================== */
.trailhaven-click-feature-icon i {
  font-size: 2rem;
  color: var(--thc-accent);
  margin-bottom: 0.5rem;
}
.trailhaven-click-feature-title {
  font-weight: 700;
  color: var(--thc-heading);
  margin-bottom: 0.5rem;
}

/* ================== About ================== */
.trailhaven-click-about-img {
  max-width: 500px;
  border-radius: 1rem;
  border: 2px solid var(--thc-accent);
}

/* ================== Reviews ================== */
.trailhaven-click-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.trailhaven-click-avatar {
  width: 50px;
  height: 50px;
  background: var(--thc-accent);
  color: var(--thc-btn-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 50%;
  text-transform: uppercase;
}
.trailhaven-click-review-card {
  border: 1px solid var(--thc-accent);
  background: #064c4e;
  border-radius: 1rem;
  padding: 1rem;
  color: var(--thc-text);
  transition: transform 0.3s, box-shadow 0.3s;
}
.trailhaven-click-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--thc-accent);
}

/* ================== Footer ================== */
.trailhaven-click-footer {
  background: var(--thc-bg);
  border-top: 1px solid rgba(79, 204, 25, 0.2);
  color: var(--thc-text);
}
.trailhaven-click-footer a {
  color: var(--thc-link);
}
.trailhaven-click-footer a:hover {
  color: var(--thc-btn-hover);
}
.trailhaven-click-footer-disclaimer {
  max-width: 720px;
  margin: 1rem auto;
}

/* ================== Scroll to top ================== */
.trailhaven-click-scrolltop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--thc-btn);
  color: var(--thc-btn-text);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s;
}
.trailhaven-click-scrolltop:hover {
  background: var(--thc-btn-hover);
  color: var(--thc-btn-text);
}

/* ================== Age / Access Popup ================== */
.trailhaven-click-age-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #064c4e;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}
.trailhaven-click-age-popup.show {
  display: flex;
}
.trailhaven-click-age-dialog {
  background: #064c4e;
  border: 2px solid var(--thc-accent);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 500px;
  text-align: center;
}
.trailhaven-click-age-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--thc-heading);
}
.trailhaven-click-age-text {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.trailhaven-click-age-actions button {
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}
.trailhaven-click-age-btn {
  background: var(--thc-btn);
  color: var(--thc-btn-text);
  border: none;
}
.trailhaven-click-age-btn:hover {
  background: var(--thc-btn-hover);
  color: var(--thc-btn-text);
}
.trailhaven-click-age-btn-ghost {
  background: transparent;
  border: 2px solid var(--thc-accent);
  color: var(--thc-accent);
}
.trailhaven-click-age-btn-ghost:hover {
  background: var(--thc-accent);
  color: var(--thc-btn-text);
}

/* ================== Responsive ================== */
@media (max-width: 991px) {
  .trailhaven-click-hero-title {
    font-size: 2.2rem;
  }
  .trailhaven-click-hero-sub {
    font-size: 1rem;
  }
}
@media (max-width: 575px) {
  .trailhaven-click-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}


/* Footer Logo */
.trailhaven-click-footer-logo {
  max-width: 180px;         /* Adjust the maximum width */
  height: auto;             /* Maintain aspect ratio */
  display: inline-block;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); /* subtle shadow */
  transition: transform 0.3s ease;
}

.trailhaven-click-footer-logo:hover {
  transform: scale(1.05);  /* Slight zoom on hover for interactivity */
}



/* Contact Section */
.trailhaven-click-contact {
  background-color: var(--thc-bg);
  font-family: var(--thc-font);
}

.trailhaven-click-contact .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.trailhaven-click-contact .section-sub {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.trailhaven-click-contact-form .form-control {
  background-color: #064c4e;
  color: var(--thc-text);
  border: 1px solid var(--thc-accent);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.trailhaven-click-contact-form .form-control::placeholder {
  color: rgba(255, 225, 208, 0.7);
}

.trailhaven-click-contact-form .form-control:focus {
  border-color: var(--thc-heading);
  box-shadow: 0 0 0 3px rgba(79, 204, 25, 0.25);
  outline: none;
}



@media (max-width: 768px) {
  .trailhaven-click-contact .section-title {
    font-size: 2rem;
  }

  .trailhaven-click-contact .section-sub {
    font-size: 1rem;
  }
}



/* ================= Legal Pages CSS ================= */
:root {
  --thc-heading: #4fcc19;
  --thc-text: #ffe1d0;
  --thc-accent: #4fcc19;
  --thc-bg: #064c4e;
  --thc-btn: #4fcc19;
  --thc-btn-text: #064c4e;
  --thc-btn-hover: #ffe1d0;
  --thc-link: #4fcc19;
  --thc-font: system-ui, -apple-system, "Segoe UI", "Trebuchet MS", Verdana, Arial, sans-serif;
}

.trailhaven-click-legal {
  background-color: var(--thc-bg);
  color: var(--thc-text);
  font-family: var(--thc-font);
  padding: 60px 15px;
}

.trailhaven-click-legal-title {
  font-size: 2.5rem;
  color: var(--thc-heading);
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.trailhaven-click-legal h3 {
  color: var(--thc-accent);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.trailhaven-click-legal p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--thc-text);
}

.trailhaven-click-legal a.trailhaven-click-link {
  color: var(--thc-link);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.trailhaven-click-legal a.trailhaven-click-link:hover {
  color: var(--thc-btn-hover);
  text-decoration: none;
}

/* Card style for sections (optional for emphasis) */
.trailhaven-click-legal .trailhaven-click-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .trailhaven-click-legal-title {
    font-size: 2rem;
  }
  .trailhaven-click-legal h3 {
    font-size: 1.3rem;
  }
  .trailhaven-click-legal p {
    font-size: 0.95rem;
  }
}
