/* Compact Events Section with Auto-rotating Highlights */

.events-showcase {
    padding: 60px 0;
    background: #0A0A0A;
    position: relative;
    overflow: hidden;
}

.events-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 215, 0, 0.05) 25%,
        rgba(201, 162, 39, 0.05) 50%,
        rgba(255, 215, 0, 0.05) 75%,
        transparent 100%);
    animation: shimmer 15s linear infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.events-header {
    text-align: center;
    margin-bottom: 40px;
}

.events-headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.events-subtitle {
    font-size: 1rem;
    color: rgba(253, 251, 247, 0.6);
    max-width: 500px;
    margin: 0 auto;
}

/* Compact Horizontal Events Grid */
.events-grid {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto 40px;
    align-items: stretch;
    justify-content: center;
}

/* Compact Event Card */
.event-card {
    flex: 1;
    max-width: 400px;
    min-height: 280px;
    background: rgba(31, 31, 31, 0.6);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 215, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Highlighted State */
.event-card.highlighted {
    transform: scale(1.05);
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.05);
    box-shadow:
        0 20px 40px rgba(255, 215, 0, 0.2),
        0 0 60px rgba(201, 162, 39, 0.1);
}

.event-card.highlighted::before {
    opacity: 1;
}

.event-card.highlighted .event-date {
    background: linear-gradient(135deg, #FFD700 0%, #C9A227 100%);
}

.event-card.highlighted .event-title {
    background: linear-gradient(135deg, #FFD700 0%, #C9A227 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Compact Date Display */
.event-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 215, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 12px;
    text-align: center;
    min-width: 55px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-month {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: #0A0A0A;
    letter-spacing: 0.1em;
}

.event-day {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0A0A0A;
    line-height: 1;
}

/* Compact Event Content */
.event-image-wrapper {
    display: none; /* Hide image for compact view */
}

.event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-category {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 100px;
    font-size: 0.7rem;
    color: #FFD700;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
    width: fit-content;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FDFBF7;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.event-description {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(253, 251, 247, 0.6);
    margin-bottom: 16px;
    flex: 1;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    color: rgba(255, 215, 0, 0.5);
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 215, 0, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    margin-top: auto;
}

.event-link:hover {
    color: #FFD700;
    transform: translateX(4px);
}

.event-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-link:hover svg {
    transform: rotate(45deg);
}

/* Featured badge for middle card */
.featured-badge {
    display: none;
}

.event-card.featured .featured-badge {
    display: inline-block;
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #C9A227 0%, #FFD700 100%);
    color: #0A0A0A;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Progress Indicator */
.events-progress {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-dot.active {
    width: 24px;
    border-radius: 4px;
    background: linear-gradient(90deg, #FFD700 0%, #C9A227 100%);
}

/* View All Button - Compact */
.events-cta {
    text-align: center;
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

.btn-view-all-events {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 100px;
    color: #FDFBF7;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-view-all-events:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .events-grid {
        flex-direction: column;
        max-width: 500px;
        padding: 0 20px;
    }

    .event-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .events-headline {
        font-size: 2rem;
    }

    .event-card {
        min-height: 240px;
        padding: 20px;
    }

    .event-title {
        font-size: 1.1rem;
    }
}