/* journeynorth-style.css
   Diamond-themed, responsive, and accessible styles
*/
/* ==== FIX DOUBLE SCROLLBAR ISSUE ==== */

/* Ensure only one vertical scrollbar */
html, body {
  overflow-x: hidden !important;
  overflow-y: auto;
  height: auto;
}

/* Prevent hidden elements (like popups) from creating extra scrollbars */
.journeynorth-click-popup {
  inset: 0;
  max-height: 100vh;
  overflow-y: auto;
}

/* Prevent body scroll lock side effects when popup opens */
body.popup-active {
  overflow-y: hidden;
}

/* Ensure no element forces full viewport width */
* {
  max-width: 100%;
}

/* Fix potential transform or sticky element overflow issues */
.journeynorth-click-navbar,
.journeynorth-click-popup-inner {
  overflow: hidden;
}

/* ---------- Variables ---------- */
:root{
  --jn-bg: #f7fbfd;
  --jn-surface: #ffffff;
  --jn-accent: #6fc8ff;    /* icy blue */
  --jn-accent-2: #93e2ff;  /* lighter */
  --jn-deep: #0b3850;      /* deep slate-blue */
  --jn-muted: #748494;
  --jn-diamond-glow: 0 8px 30px rgba(98,180,230,0.12);
  --radius: 12px;
  --max-width: 1100px;
  --ff-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --ff-display: "Cinzel", serif;
}



/* Base font variables (you can keep or update) */
:root {
  --jn-deep: #004d6b;
  --jn-accent: #007ba8;
  --jn-muted: #3c6b7d;
}

/* General heading reset */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  color: var(--jn-deep);
  line-height: 1.25;
  letter-spacing: 0.5px;
  margin-top: 0;
  margin-bottom: 0.75em;
  font-weight: 700;
}



/* H2 - Section Title */
h2, .heading-lg {
  font-size: 2.2rem;   /* ~35px */
  font-weight: 700;
  color: var(--jn-accent);
  text-align: center;
  margin-bottom: 1rem;
}

/* H3 - Subsection or Card Title */
h3, .heading-md {
  font-size: 1.6rem;   /* ~26px */
  font-weight: 600;
  color: var(--jn-deep);
  text-align: center;
}

/* H4 - Minor Titles */
h4, .heading-sm {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--jn-muted);
}

/* H5/H6 - Small utility titles */
h5, h6 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--jn-muted);
}

/* Optional underline accent for major headings */
.heading-underline {
  position: relative;
  display: inline-block;
}

.heading-underline::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00a8e8, #007ba8);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  h1, .heading-xl { font-size: 2.4rem; }
  h2, .heading-lg { font-size: 1.9rem; }
  h3, .heading-md { font-size: 1.4rem; }
}

@media (max-width: 576px) {
  h1, .heading-xl { font-size: 2rem; }
  h2, .heading-lg { font-size: 1.6rem; }
  h3, .heading-md { font-size: 1.25rem; }
}

/* ---------- Base reset ---------- */
*{box-sizing:border-box}
body.journeynorth-click-body{
  font-family:var(--ff-sans);
  background: linear-gradient(180deg, var(--jn-bg) 0%, #f2fbff 100%);
  color:#0f2c3a;
  margin:0;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
  font-size:16px;
}

/* Utility */
.container{max-width:var(--max-width); margin:0 auto; padding:0 18px;}

/* ======================================================
   JOURNEYNORTH NAVBAR STYLING
   Elegant, diamond-inspired design
   ====================================================== */

.journeynorth-click-navbar {
  background: linear-gradient(90deg, #e8f8ff 0%, #f7fcff 100%);
  box-shadow: 0 2px 10px rgba(190, 235, 255, 0.6);
  border-bottom: 1px solid rgba(180, 230, 255, 0.5);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.journeynorth-click-navbar.scrolled {
  background: rgba(250, 253, 255, 0.92);
  box-shadow: 0 4px 20px rgba(180, 230, 255, 0.5);
  backdrop-filter: blur(8px);
}

/* Brand */
.journeynorth-click-brand {
  text-decoration: none;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.journeynorth-click-brand:hover {
  transform: scale(1.04);
}

/* Larger logo */
.journeynorth-click-logo {
  flex-shrink: 0;
  width: 60px;   /* Increased from 42px */
  height: 60px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 123, 168, 0.25));
}

.journeynorth-click-brand:hover .journeynorth-click-logo {
  transform: rotate(5deg) scale(1.05);
  filter: drop-shadow(0 3px 6px rgba(0, 123, 168, 0.35));
}

.journeynorth-click-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-left: 2px;
}

.journeynorth-click-brand-text .brand-name {
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 1.6rem;  /* was 1.3rem */
  color: #007ba8;
  letter-spacing: 0.6px;
}

.journeynorth-click-brand-text .brand-dotclick {
  font-size: 0.9rem;  /* was 0.75rem */
  color: #4bb6dd;
  font-weight: 500;
  margin-top: 2px;
}

/* Responsive scaling */
@media (max-width: 768px) {
  .journeynorth-click-logo {
    width: 50px;
    height: 50px;
  }
  .journeynorth-click-brand-text .brand-name {
    font-size: 1.4rem;
  }
  .journeynorth-click-brand-text .brand-dotclick {
    font-size: 0.8rem;
  }
}

/* Toggler (mobile icon) */
.navbar-toggler {
  border: none;
  outline: none;
  padding: 6px 10px;
  background: transparent;
}

.navbar-toggler i {
  font-size: 1.4rem;
  color: #007ba8;
  transition: color 0.3s ease;
}

.navbar-toggler:hover i {
  color: #4bb6dd;
}

/* Nav links */
.navbar-nav {
  align-items: center;
  margin-top: 10px;
}

.navbar-nav .nav-link {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #007ba8;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 8px 14px;
  border-radius: 8px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #009edc;
  transform: translateY(-2px);
  background: rgba(190, 235, 255, 0.25);
}

/* Dropdown spacing for larger screens */
@media (min-width: 992px) {
  .navbar-nav {
    margin-top: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .journeynorth-click-navbar .container {
    justify-content: space-between;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 123, 168, 0.1);
    padding: 1rem;
  }

  .navbar-nav .nav-link {
    display: block;
    text-align: center;
    margin: 6px 0;
  }
}

/* Small animation when navbar shows/hides */
@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.journeynorth-click-navbar {
  animation: navFadeIn 0.6s ease;
}

/* ---------- Hero Section ---------- */
.journeynorth-click-hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(600px 300px at 80% 15%, rgba(111, 200, 255, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(245, 250, 255, 0.9));
  overflow: hidden;
  text-align: center;
  position: relative;
}

.journeynorth-click-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(190, 235, 255, 0.25) 0%, transparent 70%);
  transform: translateX(-50%);
  z-index: 0;
}

/* Layout */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}

/* Title */
.hero-title {
  font-family: var(--ff-display, "Poppins", sans-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--jn-deep, #004d6b);
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

/* Subtitle */
.hero-sub {
  color: var(--jn-muted, #3c6b7d);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Call to Action Button */
.hero-cta {
  margin-top: 12px;
}

.hero-cta a {
  display: inline-block;
  background: linear-gradient(135deg, #00a8e8, #007ba8);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 123, 168, 0.15);
}

.hero-cta a:hover {
  background: linear-gradient(135deg, #009ad4, #006b94);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 123, 168, 0.25);
}

/* Illustration */
.hero-illustration {
  margin-top: 30px;
  max-width: 780px;
  height: auto;
  opacity: 0.97;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 123, 168, 0.08);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
    max-width: 600px;
  }

  .hero-illustration {
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .journeynorth-click-hero {
    padding: 60px 0 80px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-cta a {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}

/* ---------- Buttons ---------- */
.journeynorth-click-btn{
  display:inline-block;
  background:linear-gradient(180deg,var(--jn-accent) 0%, var(--jn-accent-2) 100%);
  color:#022033;
  border-radius:10px;
  padding:10px 18px;
  font-weight:600;
  text-decoration:none;
  box-shadow:var(--jn-diamond-glow);
  transition:transform .12s ease, box-shadow .12s ease;
  border:0;
}
.journeynorth-click-btn:hover,
.journeynorth-click-btn:focus{transform:translateY(-2px)}
.journeynorth-click-btn.secondary{
  background:transparent;
  color:var(--jn-deep);
  box-shadow:none;
  border:1px solid rgba(11,56,80,0.06);
}
.journeynorth-click-btn.outline{
  background:transparent;
  border:1px solid rgba(11,56,80,0.08);
}

/* Disclaimer Section */
.journeynorth-click-disclaimer {
  background: linear-gradient(to bottom right, #f7fcff, #e9f6ff);
  color: #003b57;
  font-family: "Inter", sans-serif;
}

.journeynorth-click-disclaimer .disclaimer-card {
  background-color: #ffffff;
  border: 1px solid #d3ecf9;
  box-shadow: 0 4px 14px rgba(0, 123, 168, 0.08);
}

.journeynorth-click-disclaimer .card-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #005d80;
  letter-spacing: 0.5px;
}

.journeynorth-click-disclaimer .card-text {
  font-size: 1rem;
  color: #24586e;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Button */
.journeynorth-click-btn {
  display: inline-block;
  background: linear-gradient(135deg, #00a8e8, #007ba8);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 50px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.journeynorth-click-btn:hover {
  background: linear-gradient(135deg, #009ad4, #006b94);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .journeynorth-click-disclaimer .card-text {
    font-size: 0.95rem;
  }
}

/* ---------- Play / game frame ---------- */
.journey-north-placeholder{} /* (kept for future) */
.game-frame-wrapper{max-width:900px;margin:0 auto}
.game-frame{
  width:100%;
  aspect-ratio:16/9;
  background:linear-gradient(180deg,#fbfeff,#f7fcff);
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(14,44,60,0.06);
  box-shadow:0 18px 36px rgba(10,40,60,0.06);
}
.game-frame iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
  background:transparent;
}

/* ---------- Reviews Section (No Scroll) ---------- */
.journeynorth-click-reviews {
  background: linear-gradient(180deg, #f7fbff, #eaf7ff);
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.journeynorth-click-reviews .reviews-intro {
  color: var(--jn-muted, #00506f);
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Row layout with no scroll */
.reviews-row.no-scroll {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  overflow: hidden;
  margin-top: 20px;
}

/* Review Cards */
.review-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 8px 22px rgba(0, 80, 120, 0.06);
  border: 1px solid rgba(11, 56, 80, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex: 0 1 250px;
  max-width: 250px;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0, 90, 130, 0.08);
}

.review-stars {
  font-size: 1.2rem;
  color: #00a8e8;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.review-text {
  color: #004d6b;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.review-author {
  font-weight: 600;
  color: #007ba8;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
  .reviews-row.no-scroll {
    gap: 20px;
  }
  .review-card {
    flex: 0 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 600px) {
  .review-card {
    flex: 0 1 100%;
    max-width: 100%;
  }
}


/* ---------- Sections & cards ---------- */
.section-title{
  font-family:var(--ff-display);
  color:var(--jn-deep);
  font-size:22px;
  margin-bottom:12px;
  text-align:center;
}
.muted-note{color:var(--jn-muted);font-size:14px}

/* Feature cards */
.feature-card{
  background:linear-gradient(180deg, #ffffff, #fbfeff);
  border-radius:12px;
  border:1px solid rgba(13,40,60,0.04);
  padding:20px;
  transition:transform .12s ease, box-shadow .12s ease;
}
.feature-card:hover{transform:translateY(-6px);box-shadow:0 18px 36px rgba(11,56,80,0.06)}
.feature-icon{
  font-size:34px;
  color:var(--jn-accent);
  margin-bottom:12px;
  display:block;
}
.feature-title{margin:6px 0 8px;font-weight:600}
.feature-text{color:var(--jn-muted);font-size:14px}

/* ---------- About ---------- */
.journeynorth-click-about .about-list{padding-left:0;color:var(--jn-muted);margin:12px 0 18px}
.about-illustration{max-width:320px;height:auto;}

/* ---------- Contact form ---------- */
.contact-form{background:linear-gradient(180deg,#fff,#fbfeff);padding:18px;border-radius:12px;border:1px solid rgba(11,44,66,0.04)}
.jn-input{border-radius:8px;padding:12px;border:1px solid rgba(11,44,66,0.08)}
.jn-input:focus{outline:none;box-shadow:0 6px 20px rgba(111,200,255,0.12);border-color:var(--jn-accent-2)}

/* honeypot hide */
.honeypot{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;opacity:0}

/* ---------- Footer ---------- */
.journeynorth-click-footer {
  background: #f8fcff;
  border-top: 1px solid #e2f4ff;
  color: #004e6d;
  font-family: "Poppins", sans-serif;
}

.journeynorth-click-footer a {
  color: #007ba8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.journeynorth-click-footer a:hover {
  color: #009fd0;
  text-decoration: underline;
}

.footer-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-links {
  margin-bottom: 1.2rem;
  gap: 1.5rem;
}

.footer-links a {
  font-weight: 500;
  letter-spacing: 0.3px;
}

.footer-disclaimer p {
  color: #4b6f7d;
  line-height: 1.6;
}

.footer-bottom {
  color: #5a7684;
  font-size: 0.9rem;
}

.footer-credit a {
  color: #007ba8;
  font-weight: 600;
}

.footer-credit a:hover {
  color: #009fd0;
}

/* ---------- Disclaimer Popup ---------- */
.journeynorth-click-popup {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 30, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.journeynorth-click-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.journeynorth-click-popup-inner {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 80, 120, 0.1);
  animation: popupFade 0.4s ease;
}

@keyframes popupFade {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.journeynorth-click-popup h3 {
  font-size: 1.6rem;
  color: #006f9b;
  margin-bottom: 12px;
}

.journeynorth-click-popup p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.popup-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.journeynorth-click-btn {
  background: linear-gradient(135deg, #a9e6ff, #7ed1f6);
  border: none;
  color: #004f70;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.journeynorth-click-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 90, 130, 0.15);
}

.journeynorth-click-btn.outline {
  background: transparent;
  border: 1.5px solid #7ed1f6;
  color: #0076a8;
}

.popup-logo {
  display: block;
  margin: 0 auto 10px;
}

/* ---------- Scroll To Top Button ---------- */
.journeynorth-click-scroll {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #bdeeff, #87d8f7);
  color: #004f70;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 80, 120, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.journeynorth-click-scroll.show {
  opacity: 1;
  visibility: visible;
}

.journeynorth-click-scroll:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #a4e5ff, #6fcdf2);
}
ourneynorth-click-scroll i{color:#022033}

/* ---------- Responsive ---------- */
@media (min-width: 992px){
  .hero-inner{flex-direction:row;justify-content:space-between;align-items:center;padding:36px 0}
  .hero-copy{text-align:left;max-width:52%}
  .hero-illustration{max-width:44%}
}
@media (max-width:991px){
  .navbar-nav{margin-top:10px}
  .brand-name{font-size:16px}
  .hero-title{font-size:28px}
  .feature-icon{font-size:28px}
}

/* Accessibility focus */
a:focus, button:focus, input:focus, textarea:focus{outline:3px solid rgba(111,200,255,0.18);outline-offset:3px}

/* small improvements for high contrast */
@media (prefers-contrast: more){
  :root{--jn-accent:#5db4e6}
  .journeynorth-click-btn{box-shadow:none}
}


/* ---------- Legal Sections ---------- */
.journeynorth-click-legal {
  background: #f9fcff;
  color: #00384d;
  line-height: 1.75;
  padding-top: 60px;
  padding-bottom: 60px;
  overflow-x: hidden;
}

.journeynorth-click-legal .container {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 50, 80, 0.08);
  padding: 50px 40px;
  margin: 0 auto;
}

/* Main legal headings */
.journeynorth-click-legal h1 {
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.6px;
  margin-bottom: 1.8rem;
  color: #002f42;
  position: relative;
  display: block;
}

/* Proper underline centered under heading */
.journeynorth-click-legal h1.heading-underline::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #91e3ff, #00a8e8);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Subheadings */
.journeynorth-click-legal h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: #003c54;
}

/* Paragraphs */
.journeynorth-click-legal p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .journeynorth-click-legal h1 {
    font-size: 2rem;
  }
  .journeynorth-click-legal h2 {
    font-size: 1.25rem;
  }
  .journeynorth-click-legal .container {
    padding: 35px 24px;
  }
}
