/* Events Page Styles */

body,
html {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto !important;
    min-height: 100vh;
    background-color: var(--bg-primary, #041418);
    color: var(--text-secondary, #e0e0e0);
    font-family: Arial, sans-serif;
    margin: 0;
}

.nav-links a.active {
    position: relative;
    color: #d4af37;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #d4af37;
}

.page-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #041418;
    z-index: -1;
}

.events-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 20px 80px 20px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-section {
    position: relative;
    background: url('../media/aboutbg.png') no-repeat center center;
    background-size: cover;
    border-radius: 4px;
    min-height: 420px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    z-index: 2;
    width: 100%;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 15px;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 60px;
    letter-spacing: 6px;
    color: #d4af37;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-overlay-images {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 1;
    pointer-events: none;
}

.hero-player-left,
.hero-coach-right {
    height: 80%;
    width: 250px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-card {
    display: flex;
    gap: 30px;
}

.event-card.row-reverse {
    flex-direction: row-reverse;
}

.outline-card {
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    padding: 30px;
    background: rgba(4, 20, 24, 0.6);
    backdrop-filter: blur(5px);
}

.event-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-title {
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 24px;
    letter-spacing: 2px;
    margin: 0 0 20px 0;
}

.event-text-col p {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 20px;
}

.event-text-col p:last-child {
    margin-bottom: 0;
}

.event-img-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-feature-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: block;
}

.img-placeholder {
    width: 100%;
    height: 300px;
    background: #000;
    border: 1px dashed rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(212, 175, 55, 0.5);
    font-size: 14px;
    border-radius: 4px;
}

.icon-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 10px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    flex: 1;
}

.icon-circle {
    width: 40px;
    height: 40px;
}

.icon-circle svg {
    width: 40px;
    height: 40px;
}

.icon-item span {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    color: #d4af37;
    letter-spacing: 1px;
}

.gold-subtitle {
    color: #d4af37;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
}

.events-list__empty {
    color: #b0b0b0;
    text-align: center;
    padding: 40px 20px;
}

.bottom-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    background: rgba(4, 20, 24, 0.8);
}

.cta-text {
    color: #d4af37;
    font-size: 22px;
    line-height: 1.4;
    font-family: 'Cinzel', serif;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn-gold-solid {
    background: linear-gradient(135deg, #fbda95, #b38331);
    color: #000;
    padding: 12px 30px;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-gold-solid:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.footer-copyright {
    text-align: center;
    color: #d4af37;
    font-size: 14px;
    margin-top: -10px;
}

@media (max-width: 900px) {
    .event-card,
    .event-card.row-reverse {
        flex-direction: column;
    }

    .event-img-col {
        width: 100%;
    }

    .bottom-cta {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .events-main {
        padding-top: 120px;
    }

    .hero-section {
        min-height: 360px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-player-left,
    .hero-coach-right {
        display: none;
    }

    .icon-row {
        flex-wrap: wrap;
        gap: 20px;
    }

    .icon-item {
        flex-basis: calc(50% - 10px);
    }
}
