/* General Styles */
body {
  font-family: 'Roboto', sans-serif;
  font-size: larger;
  line-height: 1.6;
  background-color: #121212;
  color: #e0e0e0;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #f5f5f5;
}

p {
  color: #cccccc;
}

.title, strong {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #f5f5f5;
}

/* Navbar */
.navbar.is-black {
  background-color: #000;
}

.navbar.is-black .navbar-item,
.navbar.is-black .navbar-link {
  color: #f5f5f5;
  text-decoration: none !important;
}

.navbar.is-black .navbar-item:hover,
.navbar.is-black .navbar-item:focus,
.navbar.is-black .navbar-link:hover,
.navbar.is-black .navbar-link:focus {
  color: #a3c212;
  text-decoration: none !important;
}

.navbar-item.is-active {
  border-bottom: 2px solid #a3c212;
}

.navbar-item--accent {
  color: #a3c212;
  font-weight: 700;
}

.navbar-item--accent:hover,
.navbar-item--accent:focus {
  color: #c2dd3f;
}

.navbar-logo {
  max-height: 50px;
}

.events-dropdown {
  background: linear-gradient(180deg, #2f3530 0%, #272d28 100%);
  border: 1px solid #465247;
  border-radius: 8px;
  min-width: 280px;
  padding: 0.35rem 0;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.events-dropdown .navbar-item {
  color: #e9ede8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.events-dropdown .navbar-item:hover,
.events-dropdown .navbar-item:focus,
.events-dropdown .hyrox-group:hover,
.events-dropdown .hyrox-group:focus {
  background-color: #38433a;
  color: #b7d94a;
}

.events-dropdown .navbar-divider {
  background-color: #4b5a4d;
}

.events-dropdown .event-date {
  color: #b7d94a;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.events-dropdown .hyrox-group {
  display: block;
  position: relative;
  padding-right: 1rem;
}

.events-dropdown .hyrox-title {
  display: block;
  color: #edf1ec;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.events-dropdown .hyrox-submenu {
  margin-top: 0.4rem;
  border-left: 2px solid #58685a;
  padding-left: 0.5rem;
}

.events-dropdown .hyrox-submenu .navbar-item {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  font-size: 0.88rem;
}

@media screen and (max-width: 1023px) {
  .navbar.is-black .navbar-menu {
    background-color: #000;
    box-shadow: none;
  }

  .navbar.is-black .navbar-item,
  .navbar.is-black .navbar-link,
  .navbar.is-black .navbar-dropdown .navbar-item {
    background-color: #000;
    color: #f5f5f5;
  }

  .navbar.is-black .navbar-item:hover,
  .navbar.is-black .navbar-item:focus,
  .navbar.is-black .navbar-link:hover,
  .navbar.is-black .navbar-link:focus,
  .navbar.is-black .navbar-dropdown .navbar-item:hover,
  .navbar.is-black .navbar-dropdown .navbar-item:focus {
    background-color: #111;
    color: #a3c212;
  }
}

/* Buttons */
.button.is-red {
  background-color: #525825;
  color: #fff;
  border: none;
}

.button.is-red:hover {
  background-color: #6b7440;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background-color: transparent !important;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: url('parallax-background.jpg');
  background-size: cover;
  background-position: center;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-body {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
}

@media (max-width: 768px) {
  .hero-body {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

.hero-logo {
  height: 400px;
}

/* Sections */
#about,
#contact,
#copyright {
  background-color: #1e1e1e;
  border-radius: 8px;
  padding: 2rem;
}

.label {
  color: #bdbdbd;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  line-height: 1.6;
}

#about p {
  color: #bdbdbd;
}

#about .column.is-half {
  border-radius: 8px;
  padding: 1rem;
}

.full-height {
  height: 100%;
}

/* Footer */
.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 2rem 1.5rem;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.small-text {
  font-size: smaller;
}

.mt-1 {
  margin-top: 1rem;
}

.icon-link {
  color: #ffffff;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-link.align-start {
  align-items: flex-start;
}

.icon-small {
  height: 20px;
  width: 20px;
}

.copyright-text {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 2s ease-in forwards;
}

/* Parallax Section */
.parallax {
  background-image: url('parallax-background.jpg');
  height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.parallax-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
}

@media (max-width: 768px) {
  .parallax {
    display: none;
  }
}

/* Coach Styles */
.coach img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  transition: filter 0.4s ease-in-out;
}

.coach-photo {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 0.5rem;
}

.coach-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.coach-photo .base-image {
  filter: grayscale(100%);
  transition: opacity 0.5s ease-in-out;
}

.coach-photo .hover-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  filter: grayscale(0%);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.coach-photo .hover-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.hover-video::-webkit-media-controls-picture-in-picture-button {
  display: none;
}

.coach:hover .coach-photo .hover-image,
.coach-photo:hover .hover-image {
  opacity: 1;
  transform: scale(1.02);
}

.coach:hover .coach-photo .hover-video,
.coach-photo:hover .hover-video {
  opacity: 1;
  transform: scale(1.02);
}

.coach:hover .coach-photo .base-image,
.coach-photo:hover .base-image {
  opacity: 0;
}

.coach img:hover {
  filter: grayscale(0%);
}

.coach {
  filter: grayscale(100%);
  transition: filter 0.4s ease-in-out;
}

.coach:hover {
  filter: grayscale(0%);
}

/* Sportbit Popup */
#sportbit-popup-box > div.window-img {
  background-color: #000;
  background-image: url('logo.png');
  background-size: cover;
  height: 320px;
}

#sportbit-popup-box > div.window-img > img {
  display: none;
}

/* Abonnementen Page */
.video-section {
  position: relative;
  padding: 0;
  height: 60vh;
  overflow: hidden;
  background-color: #000;
}

.video-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 1;
}

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

@media (max-width: 768px) and (orientation: portrait) {

}

.video-section video::-webkit-media-controls,
.video-section video::-webkit-media-controls-enclosure,
.video-section video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

.video-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0,0,0,0);
  text-align: center;
  padding: 2rem;
}

.video-overlay p {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  max-width: 600px;
}

.text-muted {
  color: #c0c0c0;
  font-size: 1.1rem;
}

.link-accent {
  color: #a3c212;
}

.box {
  background-color: #1f1f1f;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 2rem;
}

/* Abonnementen blocks */
.tariff-row .column {
  display: flex;
}

.tariff-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}
