/* Events Page Specific Styles */

/* ===== EVENTS SECTION ===== */
.events-section {
    background: var(--bg-primary);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.event-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.event-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.event-status {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.event-content {
    padding: 30px;
}

.event-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.event-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-actions {
    display: flex;
    gap: 15px;
}

.event-card.featured,
.event-card .event-status.upcoming {
    max-width: 490px;
    padding: 1rem 1rem 1.2rem 1rem;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(30, 60, 120, 0.08);
    margin: 0 auto 1.5rem auto;
}

.event-card.featured .event-image,
.event-card .event-status.upcoming~.event-image {
    height: 501px;
}

.event-card.featured .event-image img,
.event-card .event-status.upcoming~.event-image img {
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.event-card.featured .event-content,
.event-card .event-status.upcoming~.event-content {
    padding: 1rem 0.5rem 0 0.5rem;
}

/* Brochure Section Styles */
.brochure-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.brochure-rulebook-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

.brochure-section-left h3,
.rulebook-section-right h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.brochure-grid {
    display: flex;
    flex-direction: column;
    /* gap: 40px; */
    max-width: 100%;
}

.brochure-image {
    width: 100%;
    text-align: center;
}

.brochure-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

/* Rule Book Section Styles */
.rulebook-section-right {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pdf-container {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.pdf-container iframe {
    border-radius: 10px;
    margin-bottom: 20px;
    background: white;
}

.pdf-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.pdf-actions .btn {
    min-width: 150px;
    text-align: center;
}

/* Responsive adjustments for brochure and rule book */
@media (max-width: 1024px) {
    .brochure-rulebook-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pdf-container iframe {
        height: 500px;
    }
}

.hero-section {
    background: url('../images/Hero Backgrounds/event_bg.png') center center/cover no-repeat;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-section .hero-container,
.hero-section .hero-content {
    position: relative;
    z-index: 2;
}