/* VZW De Speelkamer - Custom Styles */

body {
  font-family: 'ABeeZee', sans-serif;
  background-color: #fcfdfc;
}

/* Page transitions */
.page-transition {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Active navigation state (must match hover state) */
.nav-link.active,
.nav-link[aria-current="page"],
.mobile-nav-link.active,
.mobile-nav-link[aria-current="page"] {
  color: #4AB1C4;
  background-color: rgba(184, 215, 163, 0.2);
  box-shadow: inset 0 0 0 2px rgba(74, 177, 196, 0.25);
  font-weight: 700;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #4AB1C4;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3d94a5;
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(74, 177, 196, 0.3);
  border-radius: 50%;
  border-top-color: #4AB1C4;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Tab content transitions */
.tab-content {
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tab button active states */
.tab-btn {
  position: relative;
  overflow: hidden;
}

.tab-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.tab-btn:hover::before {
  left: 100%;
}

/* Info Icon Button */
.info-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(74, 177, 196, 0.1);
  color: #4AB1C4;
  transition: all 0.3s ease;
  cursor: help;
}

.info-icon-btn:hover {
  background-color: #4AB1C4;
  color: white;
  transform: scale(1.1);
}

.info-icon-btn svg {
  width: 16px;
  height: 16px;
}
