/*#region Heh2der */

header {
  min-height: 80vh;
  width: 100%;
  background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.5)), url(images/Trips/DSCN0933.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
  flex:none;

  /* Add flex centering */
  display: flex;
  flex-direction: column;
  justify-content: center;  /* vertical center */
  align-items: center;      /* horizontal center */
  padding: 0 1rem;
  box-sizing: border-box;

  margin-bottom: 10px;
}

#small-header {
  min-height: 20vh;
  background-image: none;
  background-color: #808080;
  background-image: linear-gradient(rgba(4,9,30,0.4), rgba(4,9,30,0.4)), url(images/Trips/DSCN0933.jpg);

}


#exit-selections {
  border: none;
  background: none;
  display: block;
  color: #DCE0E1;
  font-weight:bolder;
  font-size: xx-large;
}


h1 {
  color: black;
  font-size: 2em;
  margin: 0px;
}

header ul li img {
   display: block;
   height: 35px;
}

header nav ul li a:hover {
   color: #ffffff;
}

header nav {
   text-align: right;
   padding: 20px 20px;
   overflow-y: auto;
}

header nav ul li {
   display: inline-block;
   padding: 8px 12px;
   position: relative;
}

header nav ul li a {
   color: #fff;
   text-decoration: none;
   font-size: 30px;
}

header nav ul li::after {
   content: '';
   width: 0%;
   height: 2px;
   background: #f44336;
   display: block;
   margin: auto;
   transition: 0.5s;
}

header nav ul li:hover::after {
   width: 100%;
}


/*#endregion*/

/*#region Footer*/

footer {
  background-color: #1C1F25;
  color: #ccc;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: 100px;
}

footer img {
  height: 80px;
  margin-bottom: 1rem;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
}

#socialmedialist {
  margin: 1rem 0;
}

#socialmedialist a img {
  height: 35px;
  margin: 0 8px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

#socialmedialist a img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

#copyright {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #888;
}


/*#endregion*/


a {
   text-decoration: none;
   color: #000000;
   text-decoration: underline;
}

a:hover {
   color: #0000ff;
}

/*#region Main Body */

section {
   width: 80%;
   transform: translateX(12.5%);
   flex: 1;
   display: inline-block;
   transform: translateX(0%);
}

html, body {
   height: 100%;
   margin: 0;
   padding: 0;
}


body {
   display: flex;
   flex-direction: column;
}

body * {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#body {
  width: 80%;
  margin: 0 auto; /* centers horizontally */
}

/*#endregion */

/*#region Home Page */

.about-team img {
  width: 49%;
  margin-right: 10px;
  float: left;
}

.about-team p {
  display: block;
  font-size: 1.2em;
}

.about-team h1 {
   font-size: 3em;
   display: block;
}

.about-team div {
   width: 49%;
   float: right;
   overflow-y: visible;
   max-height: none;
}

.about-team .button {
   float: left;
}

@media (max-width: 1500px) {
  .about-team div {
    max-height: 500px;    /* or whatever height fits your design */
    overflow-y: auto;     /* enable vertical scrolling */
  }
}

@media (max-width: 550px) {
  .about-team div, .about-team img {
    float: none;
    width: 100%;
  }
}

/*#endregion */

#news {
   float: left;
   grid-column: 3 / span 2;
   grid-row: 2 / span 2;
   display: flex;
   flex-wrap: wrap;
   align-content: flex-start;
}

/*#region Events and Gallery */

#news figure {
   width: 500px;
}
   
.event {
   min-width: 150px;
   width: 370px;
   height: 500px;
   overflow-y:hidden;
   margin: 0 30px 0 0;
}

.event img {
   height: 50%;
   width: 100%;
}

.event h4 {
   margin: 0px;
   padding-bottom: 10px;
   font-size: 1.1em
}

.event p {
   margin: 0px;
   width: 90%;
}

#date {
   font-size: small;
   padding-bottom: 10px;
}

figure {
   width: 335px;
}

figure img {
   float: left;
   height: 200px;
   margin-right: 10px;
}

figure h4 {
   font-size: large;
}


#eventNotificationSignup {
   background-color: #000000;
}

#eventNotificationSignup h2 {
   color: #ffffff;
   margin-bottom: 50px;
   margin-left: 10px;
}

#eventNotificationSignup input {
   margin-bottom: 20px;
   margin-left: 10px;
}

/*#endregion */

.redBackground {
  background-color: #ff0000;
}

/*#region Filters, Search, sorting */

#no-results {
   width: 100%;
   text-align: center;
}


#filter-Controls {
   margin-bottom: 20px;
   width: 60%;
}

#filter-Controls .wrapper {
   padding-bottom: 50px;
   width: 80%;
}

#filter-Controls .filterwrapper {
   width: 70%;
}


#filter-Controls select {
   margin-bottom: 10px;
}

#filters-button {
   float: right;
}

#filters-button img{
   height: 40px;
}

#searchBar {
   height: 30px;
   width: 300px;
   margin-right: 10px;
}


#search-container {
   text-align: right;
   padding-bottom: 20px;
}

/*#endregion */

.container{
   position: relative;
   width: 100%;
   margin-top: 30px;
}

/*#region Coding Artist (7 June 2021) Double Range Slider | HTML, CSS, Javascript | With Source Code [video], Coding Artist, YouTube, accessed 6 September 2023. https://www.youtube.com/watch?v=DfSYmk_6vk8 */
input[type="range"]{
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
   width: 100%;
   outline: none;
   position: absolute;
   margin: auto;
   top: 0;
   bottom: 0;
   background-color: transparent;
   pointer-events: none;
}

.slider-track{
   width: 100%;
   height: 5px;
   position: absolute;
   margin: auto;
   top: 0;
   bottom: 0;
   border-radius: 5px;
}

input[type="range"]::-webkit-slider-runnable-track{
   height: 5px;
}

input[type="range"]::-webkit-slider-thumb{
   -webkit-appearance: none;
   height: 1.7em;
   width: 1.7em;
   background-color: #3264fe;
   cursor: pointer;
   margin-top: -9px;
   pointer-events: auto;
   border-radius: 50%;
}

input[type="range"]:active::-webkit-slider-thumb{
   background-color: #ffffff;
   border: 3px solid #3264fe;
}

.values{
   background-color: #3264fe;
   width: 100px;
   position: relative;
   margin: auto;
   padding: 10px 0;
   border-radius: 5px;
   text-align: center;
   font-weight: 500;
   font-size: 20px;
   color: #ffffff;
}
.values:before{
   content: "";
   position: absolute;
   height: 0;
   width: 0;
   border-top: 15px solid #3264fe;
   border-left: 15px solid transparent;
   border-right: 15px solid transparent;
   margin: auto;
   bottom: -14px;
   left: 0;
   right: 0;
}

/*#endregion*/


/*#region Lun Dev Code (8 March 2023) Add To Cart Shopping using HTML CSS and Javascript [video], Lun Dev Code, YouTube, accessed 7 September 2023. https://www.youtube.com/watch?v=bCTd1eRX7Iw*/

.list{
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   align-content: flex-start;
   column-gap: 20px;
   row-gap: 20px;
   margin-top: 50px;
   grid-column: 3 / span 2;
   grid-row: 2 / span 2;

   width: 100%;
}
.list .item{
   text-align: center;
   background-color: #DCE0E1;
   padding: 20px;
   box-shadow: 0 50px 50px #757676;
   letter-spacing: 1px;
   width: 350px;
}
.list .item img{
   width: 90%;
   height: 393px;
   object-fit: cover;
}
.list .item .title{
   font-weight: 600;
}
.list .item .price{
   margin: 10px;
}
.list .item button{
   background-color: #1C1F25;
   color: #fff;
   width: 100%;
   padding: 10px;
}

.card{
   position: fixed;
   top:0;
   left: 100%;
   width: 500px;
   background-color: #453E3B;
   height: 100vh;
   transition: 0.5s;
}

.active .card{
   left: calc(100% - 500px);
}

.card h1{
   color: #E8BC0E;
   font-weight: 100;
   margin: 0;
   padding: 0 20px;
   height: 80px;
   display: flex;
   align-items: center;
}
.card .checkOut{
   position: absolute;
   bottom: 0;
   width: 100%;
   display: grid;
   grid-template-columns: repeat(2, 1fr);

}
.card .checkOut div{
   background-color: #E8BC0E;
   width: 100%;
   height: 70px;
   display: flex;
   justify-content: center;
   align-items: center;
   font-weight: bold;
   cursor: pointer;
}
.card .checkOut div:nth-child(2){
   background-color: #1C1F25;
   color: #fff;
}

.listCard {
   overflow-y: scroll;
   height: calc(100% - 180px);
}

.listCard li{
   display: grid;
   grid-template-columns: 100px repeat(3, 1fr);
   color: #fff;
   margin: 20px 0px;
}
.listCard li div{
   display: flex;
   justify-content: center;
   align-items: center;
}
.listCard li img{
   height: 100px;
}
.listCard li button{
   background-color: #fff5;
   border: none;
}
.listCard .count{
   margin: 0 10px;
}

/*#endregion*/

button {
   cursor: pointer;
}

/*#region Information Page Stuff */

.banner {
   margin-top: 20px;
   width: 100%;
}

#sponser {
   height: 550px;
}

#sponser img {
   padding-left: 20px;
   width: 20%;
}

#sponser div {
   width: 55%;
   height: auto;
   text-align: center;
   justify-content: center;
   float: right;
}

#sponser div article {
   font-size: 1.2em;
}

#coaches div figure {
   width: 550px;
}

#team-said div figure {
   width: 370px;
}

#team-said div figure p {
   margin: 0;
}

#team-said div figure img {
   height: 70px;
   display: block;
}

#team-said div figure h4 {
   margin: 0px;
   float: left;
}

#coaches div figure h4 {
   margin: 0px;
}

.banner h2 {
   font-size: x-large;
   padding: 20px 20px 0 20px;
}

/*#endregion */


/*#region GreatStack (6 May 2020) How To Make A Contact Us Page Using HTML And CSS In 10 Minutes [video], GreatStack, YouTube, accessed 12 September 2023. https://www.youtube.com/watch?v=orBQesFBkXg */
 .container .content {
   display: flex;
   align-items: center;
   justify-content: space-between;
 }
 .container .content .left-side {
   width: 25%;
   height: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   margin-top: 15px;
   position: relative;
 }
 .content .left-side::before {
   content: "";
   position: absolute;
   height: 70%;
   width: 2px;
   right: -15px;
   top: 50%;
   transform: translateY(-50%);
   background: #afafb6;
 }
 .content .left-side .details {
   margin: 14px;
   text-align: center;
 }

 .content .left-side .details .text-one {
   font-size: 14px;
   color: #afafb6;
 }
 
 .container .content .right-side {
   width: 75%;
   margin-left: 75px;
 }
 .content .right-side .topic-text {
   font-size: 23px;
   font-weight: 600;
   color: #3e2093;
 }
 
 .input-box {
   height: 55px;
   width: 100%;
   margin: 12px 0;
 }

.right-side .input-box input,
.right-side .input-box textarea {
   height: 100%;
   width: 100%;
   border: none;
   outline: none;
   font-size: 16px;
   background: #f0f1f8;
   border-radius: 6px;
   padding: 0 15px;
   resize: none;
 }

 #eventNotificationSignup .input-box input {
   height: 80%;
   width: 400px;
   border: none;
   outline: none;
   font-size: 16px;
   background: #f0f1f8;
   border-radius: 6px;
   padding: 0 15px;
   resize: none;
 }


 .right-side .message-box {
   min-height: 110px;
 }
 .right-side .input-box textarea {
   padding-top: 6px;
 }

 
 .button {
   display: inline-block;
 }

 .button input {
   color: #fff;
   font-size: 18px;
   outline: none;
   border: none;
   padding: 8px 16px;
   border-radius: 6px;
   background: #3e2093;
   cursor: pointer;
   transition: all 0.3s ease;
 }
 
 @media (max-width: 950px) {
   .container {
     width: 90%;
     padding: 30px 40px 40px 35px;
   }
   .container .content .right-side {
     width: 75%;
     margin-left: 55px;
   }
 }

 
 @media (max-width: 820px) {
   .container {
     margin: 40px 0;
     height: 100%;
   }
   .container .content {
     flex-direction: column-reverse;
   }
   .container .content .left-side {
     width: 100%;
     flex-direction: row;
     margin-top: 40px;
     justify-content: center;
     flex-wrap: wrap;
   }
   .container .content .left-side::before {
     display: none;
   }
   .container .content .right-side {
     width: 100%;
     margin-left: 0;
   }
 }

/*#endregion*/

footer #socialmedialist img {
  height: 30px;
}

/*#region Resizers*/


@media (max-width: 768px) {
   #events,
   .gallery div {
      justify-content: center;
   }
}

header img {
  height: 100px;
  padding: 20px;
  float: left;
}

header h1 {
  padding: 20px;
  font-size: 2em;
  color: white;
}

#show-nav-button {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: none;
  color: #DCE0E1;
  font-weight: bolder;
  font-size: xx-large;
}


header nav {
  position: fixed;
  background: #1C1F25;
  height: 100vh;
  width: 300px;
  top: 0;
  right: -400px;
  text-align: left;
  z-index: 2;
  transition: 1s;
}

header nav ul {
  padding: 0px;
}

header nav ul li {
  display: block;
}

header nav ul li::after {
  height: 0px;
}

#sponser div article {
  font-size: 1em;
}

/* Areas grid */
.areas {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 1rem;
}
.area {
   background: #f6f6fb;
   border: 1px solid #ccc;
   border-radius: 8px;
   padding: 1rem;
   box-shadow: 1px 1px 5px rgba(0,0,0,0.05);
   font-size: 0.95rem;
}
.area strong {
   color: #3b2e7e;
}

/* Equipment flex layout */
.equipment-list {
   display: flex;
   flex-wrap: wrap;
   gap: 1rem;
   margin-top: 0.5rem;
}
.equipment-item {
   display: flex;
   align-items: center;
   background: #f6f6fb;
   border-radius: 8px;
   padding: 0.8rem 1rem;
   box-shadow: 1px 1px 6px rgba(0,0,0,0.1);
   max-width: 420px;
   flex: 1 1 300px;
   font-size: 0.95rem;
}
.equipment-item img {
   width: 80px;
   height: auto;
   margin-right: 1rem;
   border-radius: 6px;
   object-fit: cover;
   border: 1px solid #ddd;
   background: white;
}
.equipment-item strong {
   color: #3b2e7e;
}

.hero {
  text-align: center;
  color: #fff;
  padding: 6rem 2rem;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent overlay */
  max-width: 700px;
  margin: 2rem auto;
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.btn-primary {
  display: inline-block;
  background-color: #3b2e7e;
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(59, 46, 126, 0.5);
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #251a5a;
  color: #ffffff;
}

nav#nav-links ul li a.current {
   border-bottom: 2px solid red;
   padding-bottom: 4px; /* optional for spacing */
}


/* ---------- GALLERY SECTION ---------- */
.gallery div {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
   justify-content: center; /* Centers items when there's extra space */
   gap: 1rem;
}

.gallery figure {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: auto;
}

.gallery figure img {
   max-width: 1fr;
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery figure img:hover {
  transform: scale(1.05);
}

#pagination {
  clear: both;
}









#events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

#events figure {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  width: auto;

  transition: transform 0.3s ease;
}

.event {
   transition: transform 0.3s ease;
}

#events figure:hover, .event:hover {
   transform: scale(1.05);
}




#events figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

#events figure h4 {
  margin: 1rem;
}

#events figure p {
  margin: 0 1rem 1rem;
}

.same-height-img {
   height: 400px;
   object-fit: cover;
}