/* Reset en basis styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styling voor de titel */
.schedule-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.schedule-header h1 {
    font-size: 3rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.schedule-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Grid container voor de dagen */
.dj-schedule-container {
    display: grid;
    grid-template-columns: repeat(14, 1fr); /* 14 kolommen: 7 days + 7 schedules */
    gap: 15px;
    margin-top: 20px;
    grid-template-rows: auto auto;
}

/* Dag kolom styling */
.day-column {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    grid-row: 1; /* Plaats alle dag headers in de eerste rij */
}

.day-column h3 {
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.day-column h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* DJ schema styling */
.dj-schedule {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 15px 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    min-height: 500px;
    grid-row: 2; /* Plaats alle schedules in de tweede rij */
}

/* DJ entry styling */
.dj-entry {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
}

.dj-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.9);
}

.dj-entry:last-child {
    margin-bottom: 0;
}

/* LIVE indicator styling */
.dj-entry.live {
    background: linear-gradient(135deg, rgba(220, 38, 127, 0.1), rgba(255, 87, 34, 0.1));
    border: 2px solid #dc267f;
    box-shadow: 0 4px 25px rgba(220, 38, 127, 0.3);
    animation: livePulse 2s infinite;
}

.live-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(45deg, #dc267f, #ff5722);
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(220, 38, 127, 0.5);
    animation: liveGlow 1.5s infinite alternate;
}

.live-indicator:before {
    content: '⚫';
    color: #ff0000;
    margin-right: 4px;
    animation: liveBlink 1s infinite;
}

/* LIVE animaties */
@keyframes livePulse {
    0% { 
        box-shadow: 0 4px 25px rgba(220, 38, 127, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 35px rgba(220, 38, 127, 0.5);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 4px 25px rgba(220, 38, 127, 0.3);
        transform: scale(1);
    }
}

@keyframes liveGlow {
    0% { 
        box-shadow: 0 2px 10px rgba(220, 38, 127, 0.5);
    }
    100% { 
        box-shadow: 0 4px 20px rgba(220, 38, 127, 0.8);
    }
}

@keyframes liveBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* DJ foto styling */
.dj-photo {
    text-align: center;
    margin-bottom: 15px;
}

.dj-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 3px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.dj-entry:hover .dj-photo img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* DJ info styling */
.dj-info {
    text-align: center;
}

.dj-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.dj-time {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Empty entry styling */
.empty-entry {
    text-align: center;
    opacity: 0.6;
    padding: 20px 15px;
}

.empty-entry img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(50%);
    opacity: 0.7;
    border: 2px solid rgba(255,255,255,0.5);
}

/* Responsive design */
@media (max-width: 1400px) {
    .container {
        padding: 0 10px;
    }
    
    .dj-schedule-container {
        gap: 10px;
    }
    
    .day-column, .dj-schedule {
        padding: 12px 8px;
    }
    
    .day-column h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 1200px) {
    .day-column h3 {
        font-size: 1.1rem;
    }
    
    .dj-photo img {
        width: 70px;
        height: 70px;
    }
    
    .dj-name {
        font-size: 1rem;
    }
    
    .dj-time {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .dj-schedule-container {
        gap: 8px;
    }
    
    .day-column, .dj-schedule {
        padding: 10px 6px;
    }
    
    .day-column h3 {
        font-size: 1rem;
    }
    
    .dj-photo img {
        width: 60px;
        height: 60px;
    }
    
    .dj-schedule {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .schedule-header h1 {
        font-size: 2.5rem;
    }
    
    .dj-schedule-container {
        gap: 6px;
    }
    
    .day-column {
        padding: 8px 4px;
    }
    
    .day-column h3 {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .dj-schedule {
        padding: 8px 4px;
        min-height: 350px;
    }
    
    .dj-entry {
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .dj-photo img {
        width: 50px;
        height: 50px;
    }
    
    .dj-name {
        font-size: 0.9rem;
    }
    
    .dj-time {
        font-size: 0.8rem;
    }
}

/* Animaties */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.day-column, .dj-schedule {
    animation: fadeInUp 0.6s ease forwards;
}

.day-column:nth-child(2n) { animation-delay: 0.1s; }
.day-column:nth-child(3n) { animation-delay: 0.2s; }
.day-column:nth-child(4n) { animation-delay: 0.3s; }

/* Hover effecten voor de gehele dag kolom */
.day-column:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.dj-schedule:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Speciale styling voor weekend dagen */
.day-column:nth-child(12), /* Zaterdag - 6e dag header */
.day-column:nth-child(14) { /* Zondag - 7e dag header */
    background: linear-gradient(135deg, rgba(255,193,7,0.9) 0%, rgba(255,87,34,0.9) 100%);
}

.day-column:nth-child(12) h3,
.day-column:nth-child(14) h3 {
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.day-column:nth-child(12) h3:after,
.day-column:nth-child(14) h3:after {
    background: rgba(255,255,255,0.8);
}

/* Loading animatie */
.dj-entry {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.dj-entry:nth-child(1) { animation-delay: 0.1s; }
.dj-entry:nth-child(2) { animation-delay: 0.2s; }
.dj-entry:nth-child(3) { animation-delay: 0.3s; }
.dj-entry:nth-child(4) { animation-delay: 0.4s; }