#menuToggle {
  width: 40px;
  cursor: pointer;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
}
/* Style for the menu hider (hamburger icon) */


/* Position above the nav, center align */



/* Hide nav by default on mobile, show when toggled */
#mainNav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Show menu when active */
#mainNav.show {
  max-height: 500px; /* enough to show all items */
}

/* Style the nav list */
#mainNav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #444;
}

#mainNav ul li {
  padding: 10px 20px;
  border-bottom: 1px solid #555;
}

#mainNav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}
.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}
.hamburger-logo{
  display:none;
  cursor: pointer;
}

.icon{
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition-: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
  .navbar{
    min-height:70px;
    display: block; 
    justify-content: space-between;
    align-items: center;
    padding:0 24px;
   }
   @media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
/* Optional: Styles for larger screens (desktop) */
@media(min-width: 769px) {
  /* Always show nav on larger screens */
  #mainNav {
    max-height: none;
    overflow: visible;
  }
  #mainNav ul {
    display: flex;
    justify-content: center;
  }
  #mainNav ul li {
    border: none;
    padding: 10px 20px;
  }
  /* Hide hamburger on desktop */
  #menuHider {
    display: none;
  }

}

/* Optional: Make sure the icon stays centered and responsive on mobile */
@media(max-width: 768px){
  
  

    .hamburger-logo{
    display: block;
  }
  
  .hamburger-logo.active  .icon:nth-child(2){
          opacity:0;
  }
  .hamburger-logo.active .icon:nth-child(1){
          transform: translateY(8px) rotate(45deg);
  }
  .hamburger-logo.active .icon:nth-child(3){
          transform: translateY(-8px) rotate(-45deg);
  }
  .nav-menu{
    position: fixed;
    Left: -100%;
    top: 70px;
    gap: 0;
    flex-direction: column;
    background-color: #000;
    width:100%;
    transition:0.3s;
  }
  nav-item{
    margin: 16px 0;
  }
  nav-menu.active{
    left:0;
  }
  }


body {
  margin: 0;
  font-family: 'Arial Black', sans-serif;
  background: linear-gradient(to bottom, #fff, #ffcc00, #cc0000);
  color: #fff;
}

/* Header styles */
header {
  background: #222;
  padding: 0.3%;
  text-align: center;
}
header h1 {
  margin: 0;
  font-size: 2em;
}
header img{
  max-width: 100%;
}
/* Styles for header image link */
.header-image {
  display: block;
  width: 100%;
  max-width: 100%; /* Ensures responsiveness */
  overflow: hidden;
}
.header-image img {
  width: 100%; /* Make the image span full width of container */
  height: auto;
  display: block;
  border-bottom: 4px solid #222; /* Optional: adds a border for separation */
}
/* Optional: style for the toggle button if not inline */
#menuToggle {
  width: 40px;
  cursor: pointer;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
}

/* Navigation styles */
nav {
  display: flex;
  justify-content: center;
  padding: 10px;
}
nav a {
  display: inline-flex;
  padding: 8px 12px;
  align-items: center;
  margin: 5px;
  background-color: #000;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  color: yellow;
  transition: background 0.3s;
}
nav a:hover {
  background-color: rgba(255,255,255,0.2);
  border-radius: 4px;

}
nav a:hover .nav-icon {
  filter: brightness(0.8);
  transform: scale(1.1);
}
/* Style for the nav list */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

/* Style links with inline icon and text */
nav a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: white; 

}
.nav-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  display: inline-block;
  object-fit: contain;
  transition: transform 0.3s,filter 0.3s;
}



/* Main content styles */
.content {
  padding: 20px;

}

/* Common styles for sections */
.section {
  background-color: rgba(255,255,255,0.9);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  color: #000;
}
h2 {
  text-align: center;
  color: #cc0000;
}
p {
  font-size: 1.1em;
  line-height: 1.5;
}
.images-center {
display:block;
margin:0 auto;
max-width: 100%;
}

/* Style for images to keep consistent size and formatting */
.images-center img {
  width: 200px; /* or your desired size */
  height: auto; /* maintain aspect ratio */
  object-fit: cover; /* optional, if you want to crop images */
  display: block;
}

.grid {
  display: grid;
  grid-template-columns: auto auto ;
  margin: 0;
  border: #000;
}
.grid p {
  margin-top:50%;
  color: #000;

}
.gosei{
border: #ffcc00;
border-radius: 2%;
background-color: #ffffff;
display: block;
margin: 0 auto;
} 
/* Merchandise grid styles */
.merch-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.product {
  background-color: #fff;
  color: #000;
  margin: 10px;
  padding: 10px;
  width: 200px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.product img {
  width: 100%;
  border-radius: 8px;
}

/* Target ranger images and set size */
.ranger-img {
  width: 300px; /* Same as Troy image size, adjust as needed */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Optional: crop images if needed */
  display: block;
  margin: 10px auto; /* Center images with margin */
  border-radius: 8px; /* Optional: add rounded corners */
}
.troy{
  color: #cc0000;
}
.noah{
  color: #0f21e4;
}
.jake{
  color: #56d70b;
}
.gia{
  color: #ffcc00;
}
.emma{
  color: palevioletred;
}
.orion{
  color:silver
}
.grid-can{
  grid-template-columns: auto auto;
}

/* Slider styles for Rangers page */
.slider-container {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
}
.slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}
.slide {
  min-width: 100%;
  box-sizing: border-box;
  background-color: rgba(255,255,255,0.9);
  color: #000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.slide img {
  max-width: 300px;
  border-radius: 10px;
  margin-bottom: 20px;
  margin: 0 auto;
}
.dots {
  text-align: center;
  padding: 10px;
}
.dot {
  display: inline-block;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #555;
  border-radius: 50%;
  cursor: pointer;
}
.dot.active {
  background-color: #fff;
}

/* QR Code and button styles for Special page */

.qr-code img {
  width: 200px;
  height: 200px;
}
.btn {
  display: block;
  width: 200px;
  text-align: center;
  margin: 10px auto;
  padding: 10px 20px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}
.btn:hover {
  background-color: #444;
}

/* Contact form styles */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
}
button {
  padding: 12px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background-color: #444;
}
/* Center the container and its images */
.images-container {
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center; /* optional, for vertical centering if height is set */
  flex-wrap: wrap; /* allow multiple images in a row if needed */
  gap: 10px; /* space between images */
  text-align: center; /* fallback for inline images */
}
.images-container img {
  display: block; /* remove inline spacing */
  max-width: 100%; /* make images responsive if needed */
  height: auto; /* preserve aspect ratio */
  width: 150px; /* or your desired size */
}

/* Social icons styles */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.social {
  display: inline-block;
  width: 50px;
  height: 50px;
}
.social img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

/* Footer styles */
footer {
  background: #222;
  text-align: center;
  padding: 10px;
  font-size: 0.9em;
  margin-top: 20px;
}
