/* ==========================================================================
   UPCOMING EVENTS STYLES (events.css)
   ========================================================================== */

/* Page Header Customization */
.page-header {
    background: linear-gradient(rgba(41, 128, 185, 0.8), rgba(10, 61, 98, 0.9)), 
                url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?q=80&w=1469');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

/* Container spacing */
.container {
    max-width: 950px;
    margin: -40px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

/* Section Title with Icon */
.section-title {
    background: var(--event-blue);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(41, 128, 185, 0.3);
}

/* Event Card Design */
.item-card {
    background: var(--white);
    border-radius: 15px;
    display: flex;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-left: 6px solid var(--event-blue);
    transition: all 0.3s ease;
}

.item-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Left Date Section */
.date-box {
    background: #eef7ff;
    padding: 30px;
    text-align: center;
    min-width: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #e1e8ed;
}

.date-box .day {
    font-size: 3rem;
    font-weight: 800;
    color: var(--event-blue);
    line-height: 1;
}

.date-box .month {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--primary-blue);
    font-weight: 700;
}

/* Content Area */
.details-box {
    padding: 30px;
    flex-grow: 1;
    position: relative;
}

.details-box h3 {
    margin: 0 0 15px 0;
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Event Type Tag */
.tag {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 0.75rem;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-event {
    background: #d6eaf8;
    color: #2e86de;
    border: 1px solid #2e86de;
}

/* Info Rows with Icons */
.info-row {
    font-size: 1rem;
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-row i {
    color: var(--accent-gold);
    width: 20px;
    text-align: center;
}

/* Button Styling */
.action-area {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f1f1;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-gold), #e67e22);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
    border: none;
}

.btn-download:hover {
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
    transform: translateY(-2px);
    color: white;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .item-card { flex-direction: column; }
    
    .date-box {
        flex-direction: row;
        justify-content: flex-start;
        align-items: baseline;
        gap: 15px;
        padding: 15px 25px;
        border-right: none;
        border-bottom: 1px solid #e1e8ed;
    }
    
    .date-box .day { font-size: 2.2rem; }
    
    .tag {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }
    
    .details-box { padding: 25px; }
}