
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #111;
  color: #f4f4f4;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 1rem 2rem;
}

.navbar .logo {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: #f4f4f4;
  text-decoration: none;
  font-weight: 500;
}

.nav-links li a.active,
.nav-links li a:hover {
  color: orange;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #000;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.cta-button {
  background-color: orange;
  color: #111;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border: none;
  text-decoration: none;
  border-radius: 5px;
}

.features, .gear-picks, .testimonials, .cta {
  padding: 3rem 2rem;
  text-align: center;
}

.feature-grid, .gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature, .gear-item {
  background-color: #1a1a1a;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
}

.gear-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.btn {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: orange;
  color: #111;
  text-decoration: none;
  border-radius: 5px;
}

blockquote {
  font-style: italic;
  color: #ccc;
  border-left: 4px solid orange;
  padding-left: 1rem;
  margin: 1rem auto;
  max-width: 600px;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #000;
  font-size: 0.9rem;
  color: #888;
}


.video-hero {
  position: relative;
  overflow: hidden;
  height: 90vh;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding-top: 20vh;
}


/* ==== Mobile Fallback Fixes ==== */
@media (max-width: 768px) {
  .background-video {
    display: none !important;
  }

  .hero, .video-hero {
    background: url('../images/mobile-fallback.jpg') center center / cover no-repeat !important;
    background-color: #000 !important;
  }

  .hero-content h1 {
    font-size: 2rem !important;
  }

  .hero-content p {
    font-size: 1rem !important;
  }

  .cta-button {
    font-size: 1rem !important;
    padding: 0.6rem 1.2rem !important;
  }

  .logo {
    height: 40px !important;
  }
}


/* === Center 'How it Works' and 'Join the Community' sections === */
.how-it-works, .join-community {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.how-it-works h2, .join-community h2 {
  text-align: center;
}

.how-it-works p, .join-community p {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}


/* Stronger centering for the Join the Community section */
.join-community {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 4rem 1rem;
  max-width: 100%;
}

.join-community > * {
  margin-bottom: 1rem;
}

.join-community h2,
.join-community p {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


/* Corrected centering for 'Join the Steel Peak Community' using .subscribe */
.subscribe {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}

.subscribe h2,
.subscribe p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.subscribe form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.subscribe input,
.subscribe button {
  padding: 0.75rem;
  font-size: 1rem;
  width: 100%;
  max-width: 300px;
}


/* Ensure video shows on mobile and prevent red background */
.background-video {
  background-color: #000;
}

@media (max-width: 768px) {
  .background-video {
    display: block !important;
    background-color: #000 !important;
  }

  .hero {
    background-color: #000 !important;
  }

  .logo {
    height: 40px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}


.nav-link {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: bold;
}
.nav-link:hover {
  text-decoration: underline;
}


.nav-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.nav-link:hover {
  text-decoration: underline;
}


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
}

.logo {
  width: 50px;
  height: auto;
}

.nav-links a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.centered-image {
  display: block;
  margin: 30px auto;
}


.gear-tier {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}
.gear-slot {
    background-color: #1a1a1a;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    width: 250px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
}
.gear-slot img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.buy-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}


.gear-tier-pro {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gear-tier-pro .gear-slot {
    width: 22%;
    text-align: center;
}


.gear-tier-pro {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

.gear-tier-pro .gear-card {
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background-color: #f9f9f9;
}

.gear-tier-pro .gear-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.gear-tier-pro .gear-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.gear-tier-pro .gear-card a:hover {
    background-color: #0056b3;
}
