*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
  padding-top: 120px;
}

h1,
h2,
h3 {
  color: #18653e;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 60px 0;
}

.bg-light {
  background-color: #f0f4f1;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1a3a2a;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
}

.logo span {
  color: #84cc16;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.main-nav a {
  color: white;
  font-weight: 500;
}

.main-nav a:hover {
  color: #84cc16;
}

.hero {
  background-color: #224c35;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  color: white;
  font-size: 3rem;
}

.hero p {
  max-width: 700px;
  margin: auto;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background-color: #84cc16;
  color: #1a3a2a;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background-color: #65a30d;
  color: white;
}

.grid-three-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-item {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.tips-sectie {
  background-color: #e2ecd8;
}

.tips-sectie .card-item {
  margin-bottom: 25px;
}

.tips-sectie .card-item:last-child {
  margin-bottom: 0;
}

.form-wrapper {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.tennis-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.btn-submit {
  width: 100%;
}

.flex-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.form-group label {
  font-weight: 600;
}

.form-group label label {
  font-weight: normal; 
  display: flex;
  align-items: center; 
  gap: 6px;            
  cursor: pointer;
}

.form-group label label input {
  width: auto;
  margin: 0;
}

.slider-labels {
  display: grid;
  grid-template-columns: repeat(10, 1fr); 
  text-align: center;
  font-size: 0.85rem;
  font-weight: bold;
  color: #1a3a2a;
  margin-bottom: 2px;
  padding: 0 5px;
}

input[type="range"] {
  width: 100%;
  cursor: pointer;
  margin: 0;
}

.form-group-voorwaarden {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.form-group-voorwaarden input {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.form-group-voorwaarden label {
  font-weight: normal;
  cursor: pointer;
}

.form-buttons {
  display: flex;
  gap: 15px;
}

.btn-submit {
  flex: 2;
  border: none;
  cursor: pointer;
}

.btn-reset {
  flex: 1;
  background-color: #e2e8f0; 
  color: #475569;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-reset:hover {
  background-color: #cbd5e1;
  color: #1e293b;
}

input[type="color"] {
  width: 60px;
  height: 35px;
  padding: 2px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.main-footer {
  background-color: #1a3a2a;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
  width: 100%;
}





@media (max-width: 768px) {
  body {
    padding-top: 170px;
  }

  .header-container {
    flex-direction: column;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .grid-three-columns {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  body {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .grid-three-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  body {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .grid-three-columns {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}