/* Reset en basis */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Inter', sans-serif;
  background-color: #fafafa;
  overflow-x: hidden;
  box-sizing: border-box;
}



*, *::before, *::after {
  box-sizing: inherit;
}

/* Overlay voor menu op klein scherm */
#overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 900;
  transition: opacity 0.3s ease;
  opacity: 0; 
  pointer-events: none;
}

#overlay.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Main content */
main {
  margin-left: 220px;
  padding: 2rem;
  transition: margin-left 0.3s ease;
  width: calc(100% - 220px);
}

/* Drie vakken layout */
.three-columns-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 100%;
  width: 100%;
}

.feature-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-box {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #2d8c80;
  width: 100%;
}



.feature-box h3 {
  color: #13531d;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
}

.feature-box p {
  color: #7d716c;
  line-height: 1.6;
  font-family: 'Open Sans', sans-serif;
}

.feature-icon {
  font-size: 1.8rem;
  color: #e67e22;
}

.visorando-link {
  display: inline-block;
  margin-top: 1rem;
  color: #13531d;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Open Sans', sans-serif;
}

.visorando-link:hover {
  color: #e67e22;
  text-decoration: underline;
}

.map-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  border-top: 4px solid #3e7f60;
  width: 100%;
}

.map-section h3{
  color: #13531d;
  font-family: 'Playfair Display', serif;
}

/* Chalets kolom styling */
.chalets-column {
  background-color: #fafafa;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  font-family: 'Playfair Display', serif;
}

.chalets-column h2 {
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.chalet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}

.chalet-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  width: 100%;
}

.chalet-card:hover {
  transform: translateY(-5px);
  text-decoration: none;
  color: inherit;
}

.chalet-mobile {
background-image: url('https://www.transparenttextures.com/patterns/black-paper.png');
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: box-shadow 0.3s ease;
  width: 100%;
}

.chalet-card:hover .chalet-mobile {
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.chalet-mobile img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.chalet-text {
  padding: 0.8rem;
  text-align: center;
  font-weight: 600;
  margin: 0;
  color: #fafafa;
  width: 100%;
}

.justify-content-chalet-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  width: 100%;
}

.chalet-btn {
  background: #3e7f60;
  color: white;
  padding: 1.2rem 1.5rem;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  display: inline-block;
  transition: background-color 0.3s, transform 0.2s;
}

.chalet-btn:hover {
  background-color: #56a57e;
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

/* Intro sectie styling */
#intro {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  width: 100%;
}

/* MOBIELE AANPASSINGEN */
@media (max-width: 900px) {
  main {
    margin-left: 0 !important;
    padding: 1rem !important;
    width: 100% !important;
  }
  
  .three-columns-section {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .feature-column {
    order: 1;
  }
  
  .chalets-column {
    order: 2;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 0;
    width: 100%;
  }
  
  .chalet-grid {
    grid-template-columns: 1fr !important;
    max-width: 100%;
    margin: 0 auto;
    gap: 1rem;
  }
  
  .feature-box, .map-section, #intro {
    padding: 1.5rem;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  
  .feature-box h3 {
    font-size: 1.3rem;
  }
  
  #intro {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  #intro h1 {
    font-size: 2rem;
  }
  
  .justify-content-chalet-btn {
    padding: 0.5rem;
    grid-column: 1 / -1;
    order: 999;
  }
  
  .chalet-btn {
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .feature-box p, 
  .chalet-text, 
  .checkbox-label,
  #click-to-enlarge {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  #map-small {
    height: 250px;
  }
}

/* Extra kleine schermen */
@media (max-width: 480px) {
  .chalet-grid {
    max-width: 100%;
  }
  
  .chalet-mobile img {
    height: 120px;
  }
  
  .chalet-text {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  
  .feature-box, .map-section, #intro {
    padding: 1rem;
  }
  
  #intro {
    padding: 1rem;
  }
  
  #intro h1 {
    font-size: 1.8rem;
  }
  
  .feature-box h3 {
    font-size: 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .feature-icon {
    font-size: 1.5rem;
  }
}

/* Mobiele knop naar chaletoverzicht - alleen zichtbaar op mobiel */
@media (max-width: 768px) {
  .mobile-chalet-link {
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 25px;
    padding: 10px 20px;
    background-color: #2d8c80;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    transition: background-color 0.3s ease;
  }
  
  .mobile-chalet-link:hover {
    background-color: #2d5f45;
    color: white;
  }
}

@media (min-width: 769px) {
  .mobile-chalet-link {
    display: none !important;
  }
}








/* ==================== GAMES & VIDEO SECTION ==================== */
.games-section {
    margin: 50px 0;
    padding: 0;
}

.games-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Video kolom (links op desktop) */
.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.video-card-header {
    background: #f8f8f8;
    color: #13531d;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.video-card-header i {
    font-size: 1.3rem;
}

.video-card-header h3 {
    font-size: 1.2rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.video-player-wrapper {
    background: #000;
}

.video-player-wrapper video {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Spellen kolom (rechts op desktop) */
.games-column {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
}

.games-content {
    margin-bottom: 20px;
}

.games-content h2 {
    color: #13531d;
    margin-bottom: 20px;
}

.games-content h5 {
    margin-top: 20px;
    color: #13531d;
}

.games-content .fa-dice {
    color: #e67e22;
    margin-right: 8px;
}

.video-card .fa-film {
    color: #e67e22;
    margin-right: 8px;
}

.games-sale-box {
    margin-top: 25px;
    padding: 15px;
    background: #e8f4ea;
    border-left: 5px solid #2d8c80;
    border-radius: 8px;
}

.games-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.games-gallery img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

.games-gallery img:hover {
    transform: scale(1.03);
}

/* Image modal voor spellen */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.image-modal .modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #bbb;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .games-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .games-column {
        padding: 15px;
    }

    .games-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .games-gallery img {
        height: 75px;
        border-radius: 5px;
    }

    .games-content h2 {
        font-size: 1.5rem;
    }

    .games-section {
        padding: 15px;
        margin: 30px 0;
    }
    
    .video-card-header h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .games-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .games-gallery img {
        height: 65px;
    }
    
    .video-actions {
        padding: 10px;
    }
    
    .video-stat {
        font-size: 0.8rem;
    }
}









    /* ==================== VIDEO ACTIONS ==================== */
.video-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 15px;
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
}

.video-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #555;
    background: white;
    padding: 6px 18px;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.video-stat i {
    color: #2d8c80;
    font-size: 1rem;
}

#viewCount {
    font-weight: 600;
    color: #13531d;
    font-size: 1rem;
}

.stat-label {
    color: #888;
    font-size: 0.85rem;
}