/* Wine Club Calendar CSS */

.wine-club-calendar {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.calendar-header h2 {
    margin: 0;
    font-size: 24px;
    text-align: center;
    flex: 1;
}

.calendar-nav {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.calendar-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.calendar-day-header {
    background: #667eea;
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

.calendar-day {
    background: white;
    min-height: 100px;
    padding: 10px;
    transition: all 0.2s;
}

.calendar-day.empty {
    background: #f5f5f5;
}

.calendar-day:not(.empty):hover {
    background: #f9f9f9;
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.calendar-day.today {
    background: #fff3cd;
    border: 2px solid #f39c12;
}

.calendar-day.has-events {
    background: #e8f5e9;
}

.day-number {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
}

.calendar-day.today .day-number {
    color: #f39c12;
}

.day-events {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.event-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.event-item:hover {
    transform: translateX(2px);
}

.event-time {
    font-weight: bold;
}

.event-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-events-list {
    margin-top: 40px;
}

.calendar-events-list h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.calendar-event-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.calendar-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.event-date-badge {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

.event-date-day {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

.event-date-month {
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 5px;
}

.event-info {
    flex: 1;
}

.event-info h4 {
    margin: 0 0 10px;
    font-size: 20px;
}

.event-info h4 a {
    color: #2c3e50;
    text-decoration: none;
}

.event-info h4 a:hover {
    color: #667eea;
}

.event-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .calendar-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .calendar-day {
        min-height: 60px;
        padding: 5px;
    }
    
    .day-number {
        font-size: 12px;
    }
    
    .event-item {
        font-size: 9px;
        padding: 2px 4px;
    }
    
    .calendar-event-card {
        flex-direction: column;
    }
    
    .event-date-badge {
        width: 80px;
        margin: 0 auto;
    }
}
