* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 50px 30px; 
}

.calendar-container {
    background: white; /* Maak de achtergrond wit */
    padding: 20px;     /* Optioneel: voeg wat interne ruimte toe */
    border-radius: 12px; /* Optioneel: afgeronde hoeken */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optioneel: lichte schaduw */
}

/* Demo content */
.content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.demo-text {
    color: #666;
    line-height: 1.6;
}

/* ===== DESKTOP TOP NAVIGATION ===== */
.top-nav {
    display: none;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-nav-container {
    display: flex;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.top-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px;
    text-decoration: none;
    color: #333;
    border-radius: 12px;
    border: 2px solid;
    transition: all 0.2s ease;
    cursor: pointer;
    background: white;
    min-width: 160px;
}

.top-nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.top-nav-item.active {
    background: rgba(0, 0, 0, 0.03);
    font-weight: 600;
}

.top-nav-icon {
    font-size: 28px;
    line-height: 1;
}

.top-nav-label {
    font-size: 16px;
    font-weight: 500;
}

.top-nav-item.active .top-nav-label {
    font-weight: 600;
}

/* Specifieke kleuren per kalendertype - Desktop */
.top-nav-item[data-page="groente"] {
    border-color: #e91e8c;
}

.top-nav-item[data-page="fruit"] {
    border-color: #4caf50;
}

.top-nav-item[data-page="wild"] {
    border-color: #2196f3;
}

.top-nav-item[data-page="paddestoelen"] {
    border-color: #ff6b35;
}

/* ===== MOBILE BOTTOM NAVIGATION ===== */
.bottom-nav {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 6px 0;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 4px;
    margin: 0 2px;
    text-decoration: none;
    color: #666;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    border-radius: 10px;
}

.bottom-nav-item:hover {
    background: #f5f5f5;
}

.bottom-nav-item.active {
    color: #333;
    background: rgba(1, 10, 0);
}

.bottom-nav-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 0px;
    transition: transform 0.2s ease;
}

.bottom-nav-item.active .bottom-nav-icon {
    transform: scale(1.1);
}

.bottom-nav-label {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.bottom-nav-item.active .bottom-nav-label {
    font-weight: 600;
}

/* Specifieke kleuren per kalendertype - Mobile */
.bottom-nav-item[data-page="groente"] {
    border-color: #e91e8c;
}

.bottom-nav-item[data-page="fruit"] {
    border-color: #4caf50;
}

.bottom-nav-item[data-page="wild"] {
    border-color: #2196f3;
}

.bottom-nav-item[data-page="paddestoelen"] {
    border-color: #ff6b35;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    body {
        padding-bottom: 80px;
    }
}

@media (min-width: 768px) {
    .top-nav {
        display: block;
    }
    
    .bottom-nav {
        display: none;
    }
    
    body {
        padding-bottom: 0;
        padding-top: 0px;
    }

    .content {
        padding: 40px 20px;
    }
}

/* Alleen tonen op mobiel in portrait */
@media (orientation: landscape), (min-width: 768px) {
  #rotate-hint {
    display: none !important;
  }
}

.rotate-hint {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 12px 14px 10px;
  border-radius: 14px;
  width: 160px;
  text-align: center;
  z-index: 9999;
  animation: wiggle 1.4s ease-in-out infinite;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: fixed;
}

/* Het icon */
.rotate-icon {
  font-size: 22px;
}

/* De tekst */
.rotate-text {
  line-height: 1.2;
}

/* Close button rechtsboven */
#rotate-close {
  position: absolute;
  top: 4px;
  right: 6px;
  background: transparent;
  color: #fff;
  font-size: 18px;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Wiggle animatie */
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-3deg); }
  40% { transform: rotate(3deg); }
  60% { transform: rotate(-2deg); }
  80% { transform: rotate(2deg); }
}


/* ===== ACTIEVE STATEN HIGHLIGHTS (DESKTOP & MOBIEL) ===== */

/* Basisstijl voor een actieve knop (Desktop & Mobiel) */
.top-nav-item.active,
.bottom-nav-item.active {
    background: rgba(0, 0, 0, 0.05); /* Lichte grijze achtergrond */
    font-weight: 600;
    /* De gekleurde onderlijn wordt gesimuleerd met een inset schaduw */
}
