/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: right;
    background: white ;
    color: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}


/* Navbar Styles */
.navbar ul {
    list-style: none;
    display: flex;
    float: right;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s ease;
}

.navbar ul li a:hover {
    color: grey;
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    background: black;
    width: 30px;
    height: 4px;
    margin: 5px;
    transition: 0.3s;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar ul {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
    }

    .navbar ul.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

/* slider section */
.slider_section {
    min-height: 100vh;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
    text-align: center;
    padding: 115px 0 75px 0;
  }
  
  .slider_section #customCarousel1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .slider_section #customCarousel1 .carousel-inner,
  .slider_section #customCarousel1 .carousel-item,
  .slider_section #customCarousel1 .img_container {
    width: 100%;
  }
  
  .slider_section #customCarousel1 .img_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  
  .slider_section .detail-box {
    position: relative;
    width: 100%;
    z-index: 4;
  }
  
  .slider_section .detail-box .inner_detail-box {
    background-color: rgba(58, 63, 88, 0.8);
    color: #ffffff;
    padding: 45px;
    border-radius: 5px;
  }
  
  .slider_section .detail-box h1 {
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .slider_section .detail-box p {
    margin-top: 15px;
  }
  
  .slider_section .detail-box .slider-link {
    display: inline-block;
    padding: 10px 45px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 5px;
    border: 1px solid #ffffff;
    -webkit-transition: all .2s;
    transition: all .2s;
    margin-top: 10px;
  }
  
  .slider_section .detail-box .slider-link:hover {
    background-color: transparent;
    color: #ffffff;
  }
  
  .slider_section .img-box img {
    min-width: 100%;
    min-height: 100%;
  }
  
  .slider_section .img-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .slider_section .carousel-control-prev,
  .slider_section .carousel-control-next {
    width: 50px;
    height: 50px;
    z-index: 5;
    opacity: 1;
    border-radius: 5px;
    font-size: 12px;
    background-color: #e45441;
    color: white;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  
  .slider_section .carousel-control-prev {
    left: 45px;
    top: 50%;
  }
  
  .slider_section .carousel-control-next {
    right: 45px;
    top: 50%;
  }
  

/* Page titles */
  .pagetitle {
    font-size: 42px;
    font-weight: bold;
    color: white;
    background-color: blue;
    padding: 100px;
}

/* Map key */
#map {
  padding: 2% 10%;
}

#completekey {
  color: blue;
}

#plannedkey {
  color: lightblue;
}

#incompletekey {
  color: grey;
}


/* Footer */
.social-section {
    width: 100%;
    padding: 40px 20px;
    margin: 5% 0 0 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: lightgrey;
    text-align: center;
}

.social-box {
    flex: 1;
    padding: 20px;
    max-width: 250px;
}

.social-box a {
    text-decoration: none;
    color: #333;
    display: block;
    transition: transform 0.3s ease;
}

.social-box a:hover {
    transform: scale(1.1);
}

.social-box i {
    font-size: 50px;
    margin-bottom: 10px;
    color: #0073b1;
}

.youtube i { color: #FF0000; }
.strava i { color: #FC4C02; }
.charity i { color: #28a745; }
.linkedin i { color: #0077b5; }
.email i { color: #2100b5; }
.phone i { color: #000000; }

@media (max-width: 768px) {
    .social-section {
        flex-direction: column;
        padding: 20px;
    }
}








/* Marathon countries section */

.post-header {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  align-items: center;
  gap: 20px;
  padding: 5% 10%;
  background-color: lightgray;
}

/* Left Column: Title & Meta */
.post-info {
  display: flex;
  flex-direction: column;
}

.post-title {
  font-size: 1.8em;
  font-weight: bold;
  margin: 0;
}

.post-meta {
  font-size: 0.9em;
  color: gray;
}

/* Right Column: Image */
.post-image img {
  width: 100%;
  height: auto;
  max-height: 480px; /* Adjust as needed */
  object-fit: cover;
  border-radius: 8px;
}

/* Responsive: Stack on smaller screens */
@media (max-width: 600px) {
  .post-header {
      grid-template-columns: 1fr; /* Single column on small screens */
      text-align: center;
  }

  .post-image img {
      max-height: 480px;
  }
}

.post-content {
  padding: 10%;
  max-width: 1200px;
  margin: 0 auto;
}

.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
}










/* Kit and gear gallery section */
.kitgeargallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: auto;
}
.kitgeargallery-item {
  background: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.kitgeargallery-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.kitgeargallery-item p {
  margin-top: 8px;
  font-size: 16px;
  font-weight: bold;
}
@media (max-width: 768px) {
  .kitgeargallery {
      grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .kitgeargallery {
      grid-template-columns: 1fr;
  }
}


/* General padding section */

.padded-content {
  padding: 2% 10%;
}
