/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #333;
  background-color: #3b3f6b;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* === HEADER / NAV === */
header {
  background-color: rgba(50, 50, 50, 0.85);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 15px 25px;
  display: block;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #5b5bff;
}

nav ul li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background-color: rgba(255,255,255,0.3);
}

/* Dropdown */
nav ul li .dropdown-toggle::after {
  content: ' \25BC';
  font-size: 8px;
  vertical-align: middle;
}

nav ul li ul.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(50, 50, 50, 0.95);
  min-width: 200px;
  flex-direction: column;
  z-index: 100;
}

nav ul li:hover ul.dropdown {
  display: flex;
}

nav ul li ul.dropdown li + li::before {
  display: none;
}

nav ul li ul.dropdown li a {
  padding: 12px 20px;
  font-size: 13px;
  white-space: nowrap;
}

nav ul li ul.dropdown li a:hover {
  background-color: rgba(255,255,255,0.1);
}

/* === MOBILE NAV === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* === HERO SLIDER === */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  height: 500px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.slider .slide {
  min-width: 100%;
  height: 100%;
}

.slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  padding: 15px 20px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.slider-btn:hover {
  background: rgba(0,0,0,0.7);
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* === SECTIONS === */
.section-dark {
  background-color: #3b3f6b;
  color: #fff;
  padding: 60px 20px;
}

.section-light {
  background-color: #fff;
  color: #333;
  padding: 60px 20px;
}

.section-gray {
  background-color: #555;
  color: #fff;
  padding: 60px 20px;
}

.section-gradient {
  background: linear-gradient(135deg, #8b9dc3 0%, #c4c4c4 100%);
  color: #333;
  padding: 60px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* === PRICING SECTION === */
.pricing {
  font-size: 16px;
  line-height: 2;
  padding: 20px 0;
}

.pricing p {
  margin-bottom: 5px;
}

.pricing .intro {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.pricing .price-item {
  font-weight: 700;
  font-size: 16px;
}

/* === CIRCLE GALLERY === */
.circle-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 0;
}

.circle-gallery .circle-item {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.circle-gallery .circle-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-gallery .circle-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  padding: 10px;
}

/* === OVAL GALLERY (Sportcentrum page) === */
.oval-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 0;
  max-width: 1000px;
  margin: 0 auto;
}

.oval-gallery .oval-item {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
}

.oval-gallery .oval-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === TEAM SECTION === */
.team-section {
  background-color: #555;
  padding: 50px 20px;
  text-align: center;
}

.team-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 700;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  width: 200px;
}

.team-member img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  margin: 0 auto 15px;
}

.team-member h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.team-member p {
  font-size: 14px;
  opacity: 0.8;
}

/* === INFO SECTION === */
.info-section {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.info-section h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
}

.info-section p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.info-section ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.info-section ul li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
}

.highlight-text {
  color: #ffcc00;
  font-weight: 700;
  font-size: 15px;
}

/* === FOOTER === */
footer {
  background-color: #3b3f6b;
  padding: 40px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-left img {
  max-height: 120px;
}

.footer-right {
  color: #fff;
  text-align: center;
}

.footer-right h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-right p {
  font-size: 14px;
  line-height: 1.7;
  font-style: italic;
}

.copyright {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}

/* === HERO BANNER === */
.hero-banner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 450px;
  overflow: hidden;
}

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

.hero-banner .hero-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

/* === OPENING HOURS === */
.hours-table {
  font-size: 16px;
  line-height: 2;
}

.hours-table .day {
  display: inline-block;
  min-width: 140px;
  font-weight: 700;
  font-style: italic;
}

.hours-table .time {
  font-weight: 700;
  font-style: italic;
}

/* === CONTACT PAGE === */
.contact-info h2 {
  font-size: 20px;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.8;
}

.contact-info .phone {
  font-size: 28px;
  font-weight: 700;
  margin-top: 10px;
}

/* === GROEPSLESSEN === */
.schedule h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.schedule .lesson-group {
  margin-bottom: 25px;
}

.schedule .lesson-group h3 {
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 5px;
}

.schedule .lesson-item {
  font-weight: 700;
  font-style: italic;
  font-size: 15px;
  line-height: 1.8;
}

.schedule .note {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.7;
}

.schedule .note em {
  text-decoration: underline;
  font-style: italic;
}

/* === ZAALVERHUUR === */
.zaalverhuur-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.zaalverhuur-content p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.zaalverhuur-images {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.zaalverhuur-images img {
  max-width: 48%;
  border-radius: 4px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(50, 50, 50, 0.95);
  }

  nav ul.open {
    display: flex;
  }

  nav ul li + li::before {
    display: none;
  }

  nav ul li ul.dropdown {
    position: static;
    display: none;
  }

  nav ul li:hover ul.dropdown {
    display: flex;
  }

  nav {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .slider-container {
    height: 300px;
  }

  .hero-banner {
    height: 300px;
  }

  .hero-banner .hero-text {
    font-size: 28px;
  }

  .circle-gallery .circle-item {
    width: 150px;
    height: 150px;
  }

  .oval-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .team-grid {
    gap: 20px;
  }

  .team-member {
    width: 150px;
  }

  .team-member img {
    width: 130px;
    height: 130px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
