/* =========================================
   EVENTS & COURSES (Premium Styling)
   ========================================= */

/* Hero Section adjustments */
.events-hero {
    position: relative;
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(212, 196, 137, 0.15) 100%);
    text-align: center;
    overflow: hidden;
}

.events-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 196, 137, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.events-hero .container {
    position: relative;
    z-index: 1;
}

.events-hero .hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(88, 73, 15, 0.08);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.events-hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.events-hero p {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
}

/* Event Cards */
.event-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(88, 73, 15, 0.08);
    border: 1px solid rgba(88, 73, 15, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(88, 73, 15, 0.12);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.8;
}

/* Date Badge */
.event-date-badge {
    display: flex;
    align-items: center;
    background: rgba(212, 196, 137, 0.15);
    padding: 8px 14px;
    border-radius: 8px;
    width: fit-content;
    margin-bottom: 20px;
}

.event-date-badge .icon {
    font-size: 1.2rem;
    margin-right: 10px;
    color: var(--primary-color);
}

.event-date-badge .date-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Card Content */
.event-card h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
}

.event-card p.event-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Progress Bar */
.event-progress-section {
    margin-bottom: 25px;
    background: #fdfdf9;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.03);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.progress-label {
    color: var(--text-body);
}

.progress-spots {
    color: var(--text-dark);
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background-color: rgba(0,0,0,0.06);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-in-out, background-color 0.3s ease;
}

/* Progress Colors */
.fill-green { background-color: #4CAF50; }
.fill-orange { background-color: #FF9800; }
.fill-red { background-color: #F44336; }
.fill-full { background-color: #9e9e9e; }

/* Status Text */
.status-text {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    margin-top: 8px;
    font-weight: 500;
}

.status-green { color: #4CAF50; }
.status-orange { color: #FF9800; }
.status-red { color: #F44336; }
.status-full { color: #9e9e9e; }

/* Responsive */
@media (max-width: 768px) {
    .events-hero {
        padding: 120px 20px 40px;
    }
    .events-hero h2 {
        font-size: 2.2rem;
    }
}
