/*--------------------------------------
  GLOBAL SETTINGS
---------------------------------------*/
body.sagatrail247-life {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #748dc2; /* Site background */
  color: #0D1B2A;           /* Dark text for better readability */
  margin: 0;
  padding: 0;
}

/*--------------------------------------
  HEADINGS & SECTION TITLES
---------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  color: #50deff; /* Bright accent color for headings */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4); /* Stronger shadow for better contrast */
  font-weight: 800; /* Make headings bold and prominent */
  line-height: 1.2;
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif; /* Unique system/web font */
}

/* Section titles specifically */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #50deff; /* Highlight underline */
  display: inline-block;
  padding-bottom: 0.3rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #008fb1; /* Slightly darker text for body contrast */
  margin-bottom: 2rem;
  font-weight: 500;
}

p {
  color: #000000; /* Dark paragraphs */
}

a {
  text-decoration: none;
  color: #50deff; /* Accent color for links */
  transition: color 0.3s ease;
}

a:hover {
  color: #008fb1; /* Slightly darker on hover for contrast */
}

.btn {
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  color: #748dc2; /* Button text stays readable on bright background */
}

/*--------------------------------------
  NAVBAR
---------------------------------------*/
.sagatrail247-nav {
  background-color: #748dc2; /* Navbar background */
  padding: 0.8rem 0;
  position: flex;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.sagatrail247-nav .navbar-brand {
  display: flex;
  align-items: center;
}

.sagatrail247-brand img {
  max-height: 75px;
  transition: transform 0.3s ease;
}

.sagatrail247-brand img:hover {
  transform: scale(1.05);
}

/* Navbar links */
.sagatrail247-nav .nav-link {
  color: #0D1B2A; /* Dark text for visibility */
  font-weight: 600;
  margin: 0 0.75rem;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover & active state */
.sagatrail247-nav .nav-link:hover,
.sagatrail247-nav .nav-link.active {
  color: #50deff;
}

/* Optional underline effect on hover */
.sagatrail247-nav .nav-link::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: #50deff;
  transition: width 0.3s;
  margin-top: 3px;
}

.sagatrail247-nav .nav-link:hover::after,
.sagatrail247-nav .nav-link.active::after {
  width: 100%;
}

/* Mobile toggle button */
.sagatrail247-nav .navbar-toggler {
  border: none;
  color: #0D1B2A;
  font-size: 1.5rem;
}

.sagatrail247-nav .navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Collapsed menu links */
.sagatrail247-nav .navbar-collapse {
  justify-content: flex-end;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .sagatrail247-nav .nav-link {
    margin: 0.5rem 0;
    font-size: 1.1rem;
  }
  .sagatrail247-brand img {
    max-height: 50px;
  }
}

/*--------------------------------------
  HERO SECTION
---------------------------------------*/
.sagatrail247-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 80vh;
  padding: 0 20px;
  background-image: url('../images/hero.jpg'); /* Replace with your hero image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.sagatrail247-hero .hero-inner {
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05); /* Optional subtle overlay for text readability */
  padding: 20px;
  border-radius: 8px;
}

.sagatrail247-hero .hero-title {
  font-size: 3rem;
  color: #50deff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}

.sagatrail247-hero .hero-copy {
  font-size: 1.3rem;
  color: #0D1B2A; /* Darker text for readability */
  margin-bottom: 2rem;
  line-height: 1.6;
}

.sagatrail247-cta {
  background-color: #50deff;
  color: #000000;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.sagatrail247-cta:hover {
  background-color: #008fb1;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Responsive typography */
@media (max-width: 992px) {
  .sagatrail247-hero .hero-title {
    font-size: 2.4rem;
  }
  .sagatrail247-hero .hero-copy {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .sagatrail247-hero .hero-title {
    font-size: 2rem;
  }
  .sagatrail247-hero .hero-copy {
    font-size: 1rem;
  }
}

/*--------------------------------------
  NOTICE SECTION
---------------------------------------*/
.sagatrail247-notice {
  padding: 60px 20px;
}

.notice-box {
  background-color: rgba(0, 0, 0, 0.6); /* Darker semi-transparent background */
  padding: 30px;
  border-radius: 12px;
  display: inline-block;
  max-width: 750px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* subtle depth */
}

.notice-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #50deff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.notice-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ffffff; /* lighter text for readability */
  line-height: 1.6;
}

.sagatrail247-ghost {
  background: transparent;
  border: 2px solid #50deff;
  color: #50deff;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sagatrail247-ghost:hover {
  background-color: #50deff;
  color: #000000;
  transform: translateY(-2px);
}


/*--------------------------------------
  GAMES SECTION - Responsive Frame
---------------------------------------*/
.sagatrail247-play {
  padding: 80px 20px;
}

.sagatrail247-main-frame {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  position: relative;
  /* Maintain 16:9 aspect ratio */
  padding-top: 56.25%; /* 9/16 * 100% */
}

.sagatrail247-main-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.sagatrail247-selector {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.sagatrail247-thumb {
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sagatrail247-thumb.active,
.sagatrail247-thumb:hover {
  border-color: #50deff;
  transform: scale(1.05);
}

/* Optional: Make thumbnails smaller on mobile */
@media (max-width: 576px) {
  .sagatrail247-thumb {
    width: 100px;
    height: 56px; /* maintain 16:9 */
  }
}

/*--------------------------------------
  FEATURES SECTION - Darker Cards, Single Row, No Scroll
---------------------------------------*/
.sagatrail247-features {
  padding: 80px 20px;
}

.sagatrail247-features-grid {
  display: flex;
  flex-wrap: wrap; /* allow wrapping on very small screens */
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.sagatrail247-feature {
  background-color: rgba(0, 0, 0, 0.4); /* darker card */
  padding: 25px;
  border-radius: 12px;
  width: 220px; /* reduced width so 4 cards fit on most screens */
  transition: all 0.3s ease;
  color: #ffffff; /* make text visible */
  flex: 1 1 auto; /* allow flexible resizing */
  min-width: 200px; /* prevent cards from being too small */
  box-sizing: border-box;
}

.sagatrail247-feature:hover {
  transform: translateY(-5px);
}
.sagatrail247-feature .feature-text {
  color: #e0e0e0; /* softer light for body text */
}
.feature-icon {
  font-size: 2rem;
  color: #50deff;
  margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
  .sagatrail247-feature {
    width: 45%; /* 2 cards per row */
  }
}

@media (max-width: 600px) {
  .sagatrail247-feature {
    width: 90%; /* 1 card per row */
  }
}


/*--------------------------------------
  ABOUT SECTION
---------------------------------------*/
.sagatrail247-about {
  padding: 80px 20px;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.about-image {
  max-width: 400px;
  border-radius: 12px;
}

.about-content {
  max-width: 500px;
  text-align: left;
}

.about-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/*--------------------------------------
  REVIEWS SECTION
---------------------------------------*/
.sagatrail247-reviews {
  padding: 80px 20px;
  background-color: rgba(0, 0, 0, 0.3); /* subtle dark background */
  color: #ffffff; /* default light text */
}

.sagatrail247-reviews .reviews-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #50deff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.5rem;
}

.sagatrail247-reviews .reviews-subtitle {
  font-size: 1.3rem;
  color: #e0e0e0;
  margin-bottom: 2rem;
}

.sagatrail247-reviews-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.review-card {
  background-color: rgba(0,0,0,0.5);
  padding: 25px;
  border-radius: 12px;
  width: 240px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f5f5f5;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.6);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.review-header .avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #50deff;
  color: #748dc2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.review-header h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
}

.review-header .stars {
  color: #50deff;
  font-size: 1rem;
}

.review-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #e0e0e0;
}


/*--------------------------------------
  CONTACT FORM
---------------------------------------*/
.sagatrail247-contact {
  padding: 80px 20px;
}

.sagatrail247-input {
  background-color: rgba(255,255,255,0.1);
  border: 2px solid #50deff;
  color: #008fb1;
}

.sagatrail247-input:focus {
  border-color: #008fb1;
  background-color: rgba(255,255,255,0.15);
  color: #008fb1;
}

/*--------------------------------------
  BUTTONS
---------------------------------------*/
.sagatrail247-submit {
  background-color: #50deff;
  color: #748dc2;
  padding: 0.75rem 2rem;
}

.sagatrail247-submit:hover {
  background-color: #008fb1;
  color: #ffffff;
}

/*--------------------------------------
  FOOTER
---------------------------------------*/
.sagatrail247-footer {
  padding: 60px 20px;
  background-color: #748dc2;
  color: #008fb1;
}

.sagatrail247-footer-links li {
  margin: 0 10px;
}

.sagatrail247-footer-links a:hover {
  color: #000000;
}

.footer-divider {
  border-color: rgba(255,255,255,0.2);
  margin: 30px 0;
}

.footer-disclaimer {
  max-width: 700px;
  margin: 20px auto;
}

.disclaimer-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.disclaimer-text {
  font-size: 1rem;
  line-height: 1.5;
}

/*--------------------------------------
  POPUP
---------------------------------------*/
.sagatrail247-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
}

.sagatrail247-popup.active {
  opacity: 1;
  pointer-events: all;
}

.sagatrail247-popup-inner {
  background-color: #748dc2;
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
  color: #008fb1;
}

.sagatrail247-accept,
.sagatrail247-exit {
  margin: 10px;
  background-color: #50deff;
  color: #748dc2;
  padding: 0.5rem 1.5rem;
}

.sagatrail247-accept:hover,
.sagatrail247-exit:hover {
  background-color: #008fb1;
  color: #ffffff;
}

/*--------------------------------------
  SCROLL TO TOP
---------------------------------------*/
.sagatrail247-scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #50deff;
  color: #748dc2;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.sagatrail247-scroll-top.show {
  opacity: 1;
  pointer-events: all;
}

.sagatrail247-scroll-top:hover {
  background-color: #008fb1;
  color: #ffffff;
}

/*--------------------------------------
  RESPONSIVE
---------------------------------------*/
@media (max-width: 992px) {
  .about-grid {
    flex-direction: column-reverse;
    text-align: center;
  }

  .sagatrail247-features-grid,
  .sagatrail247-reviews-grid {
    flex-direction: column;
    align-items: center;
  }

  .sagatrail247-main-frame {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .sagatrail247-hero .hero-title {
    font-size: 2rem;
  }

  .sagatrail247-hero .hero-copy {
    font-size: 1rem;
  }

  .sagatrail247-main-frame {
    height: 300px;
  }
}


/*--------------------------------------
  LEGAL SECTIONS (Disclaimer, Privacy, Terms)
---------------------------------------*/
.sagatrail247-legal {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.15); /* subtle dark card */
  border-radius: 16px;
  color: #ffffff; /* light text for readability */
}

.sagatrail247-legal h1.legal-title {
  color: #50deff;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.sagatrail247-legal h2.legal-subtitle {
  color: #50deff;
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.sagatrail247-legal p.legal-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0f7ff; /* lighter, readable text */
  margin-bottom: 1.5rem;
}

.sagatrail247-legal strong {
  color: #50deff;
}

.sagatrail247-legal a {
  color: #50deff;
  text-decoration: underline;
}

.sagatrail247-legal a:hover {
  color: #008fb1;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sagatrail247-legal h1.legal-title {
    font-size: 2.2rem;
  }

  .sagatrail247-legal h2.legal-subtitle {
    font-size: 1.6rem;
  }

  .sagatrail247-legal p.legal-text {
    font-size: 1rem;
  }
}
