/* Main Design System */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #030303; /* Matching the logo's specific background tint */
  border-bottom: 1px solid var(--glass-border);
  padding: 0; /* Zero padding as requested */
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 200px; /* Large and readable */
  width: auto;
}

.nav__list {
  display: flex;
  gap: 30px;
}

.nav__list a {
  color: var(--text-white);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.nav__list a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px; /* Professional squared edges */
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.btn--primary {
  background-color: var(--primary);
  color: #000;
}

.btn--primary:hover {
  background-color: var(--secondary);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: #000;
}

/* Hero */
.hero {
  position: relative;
  padding: 250px 0 100px; /* Reduced padding for better spacing */
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* Nebula Effect: Refined high-res image with smooth dark gradient */
  background-image: 
    /* Layer 1: Smooth dark gradient from left, fading earlier to show more image */
    linear-gradient(to right, #000 30%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 80%),
    /* Layer 2: Subtle Nebula Glows */
    radial-gradient(circle at 20% 50%, rgba(50, 255, 100, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(50, 100, 255, 0.05) 0%, transparent 40%),
    /* Layer 3: J4J Image (Requested Source) */
    url("../assets/images/hero-j4j.png");
  
  background-position: 
    center,
    center,
    center,
    right top; /* Anchored to top right to keep face visible */
    
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #030303;
}

/* Ensure text stays left */
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%; /* Ensure container fills width */
  margin: 0 auto; /* Allow container centering */
}

/* Ensure inner content is limited but left-aligned within the container */
.hero__content > * {
  max-width: 650px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 0) 85%);
  z-index: 1;
}


.hero__subtitle {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(3rem, 10vw, 5rem);
  line-height: 1;
  margin-bottom: 20px; /* Tightened from 30px */
  text-transform: uppercase;
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--primary);
}

.hero__description {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 30px; /* Tightened from 40px */
  max-width: 500px;
}

.hero__btns {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.hero__stats {
  display: flex;
  gap: 40px;
}

.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  font-family: "Outfit";
  color: var(--primary);
}

.stat-label {
  color: var(--text-gray);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

/* Shared Section Styles */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
  color: var(--primary);
  text-transform: uppercase;
}

.section-header p {
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Glassmorphism */
.glass {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px;
  transition: 0.3s ease;
}

.glass:hover {
  border-color: var(--primary);
}

/* About Grid */
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.icon-box {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

/* Plans Grid */
.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.plan-card {
  text-align: center;
}

.plan-tier {
  font-weight: 700;
  color: var(--text-gray);
  display: block;
  margin-bottom: 20px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 30px;
  font-family: "Outfit";
  color: var(--primary);
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-gray);
}

.plan-features {
  margin-bottom: 40px;
  text-align: left;
}

.plan-features li {
  margin-bottom: 10px;
  color: var(--text-gray);
}

.plan-features li::before {
  content: "✓";
  color: var(--primary);
  margin-right: 10px;
}

.highlighted {
  border: 1px solid var(--primary);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(212, 225, 46, 0.1);
}

.badge {
  background: var(--primary);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 5px 15px;
  width: fit-content;
  margin: 0 auto 20px;
}

/* Events Grid */
.events__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.event-item {
  display: flex;
  gap: 20px;
  padding: 15px;
  align-items: center;
}

.event-img {
  width: 150px;
  height: 150px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.event-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.btn-text {
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}

/* News Grid */
.news__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.news-card {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.news-card__img {
  width: 150px;
  height: 150px;
  background: #111;
  flex-shrink: 0;
}

.news-date {
  font-size: 0.8rem;
  color: var(--secondary);
  margin-bottom: 10px;
  display: block;
}

.read-more {
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-top: 20px;
}

/* Events Section */
.events__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns for 4 events */
  gap: 30px;
}

.event-item {
  overflow: hidden;
}

.event-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.event-date {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #000;
  padding: 5px 10px;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 4px;
}

.event-info {
  padding: 20px;
}

.event-info h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.event-info p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.btn-text {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  position: relative;
  background: url("../assets/images/neon-shoes.jpg") no-repeat center center/cover fixed;
  padding: 100px 0;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85); /* Strong overlay for readability */
  z-index: 1;
}

.contact .container {
  position: relative;
  z-index: 2; /* Ensure content sits above overlay */
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-methods {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.method {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-gray);
}

.method i {
  color: var(--primary);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__form input,
.contact__form textarea {
  background: #111;
  border: 1px solid var(--glass-border);
  padding: 15px;
  color: var(--text-white);
  font-family: inherit;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Footer */
.footer {
  padding: 80px 0 0;
  background: #030303;
  border-top: 1px solid var(--glass-border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer__logo .logo img {
  height: 200px;
  margin-bottom: 20px;
}

.footer__brand p {
  color: var(--text-gray);
  margin-bottom: 20px;
}

.footer__socials {
  display: flex;
  gap: 15px;
}

.footer__socials a {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid var(--primary);
  padding: 5px 12px;
}

.footer h4 {
  margin-bottom: 25px;
  color: var(--primary);
}

.footer__links ul li {
  margin-bottom: 10px;
}

.footer__links a {
  color: var(--text-gray);
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__bottom {
  padding: 30px 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  color: var(--text-gray);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
  .about__grid,
  .plans__grid,
  .news__grid,
  .events__grid,
  .contact__wrapper {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 3rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }
}

/* Events Marquee Styles */
.events-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.events-track {
  display: flex;
  width: max-content;
  gap: 30px;
  animation: scroll 40s linear infinite;
}

.events-marquee:hover .events-track {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.events-marquee .event-item {
  width: 350px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card); /* Ensure background is set */
}

.events-marquee .event-img {
  width: 100%;
  height: 250px; /* Taller image */
  border-radius: 0;
}

.events-marquee .event-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.events-marquee .event-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary);
}

/* Hero Slider */
.hero {
  position: relative;
  /* Remove the static background image */
  background-image: none;
  overflow: hidden;
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 130px;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero__slide.active {
  opacity: 1;
}

/* Ensure content stays on top */
.hero__content {
  position: relative;
  z-index: 2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 20%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

/* Hike Section */
.hike-section {
  position: relative;
  background-image: url('../assets/images/hike-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  padding: 150px 0;
  text-align: center;
  color: #fff;
}

.hike-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hike-section .container {
  position: relative;
  z-index: 2;
}

.hike-section h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hike-section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Testimonials Section */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  text-align: center;
  padding: 40px 30px;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author h4 {
  color: var(--primary);
  margin-bottom: 5px;
  text-transform: uppercase;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-gray);
}

@media (max-width: 900px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
}

/* Partners Section */
.partners__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 120px; /* Fixed height for consistency */
    padding: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%); /* Optional: makes logos look uniform */
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
}
