/* Events Page Specific Styles */

/* Filter Box */
.filter-box {
    margin-top: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-box select,
.filter-box button,
.filter-box .btn {
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-box select:hover,
.filter-box select:focus {
    background: white;
    border-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-box button {
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-green);
}

.filter-box button:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.filter-box .btn-light {
    background: rgba(255, 255, 255, 0.8);
}

.filter-box .btn-light:hover {
    background: white;
}

/* Event Cards */
.event-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(31, 109, 58, 0.1);
    border: 1px solid rgba(31, 109, 58, 0.15);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-green), var(--brand-gold));
    z-index: 10;
}

.event-card:hover {
    box-shadow: 0 15px 40px rgba(31, 109, 58, 0.2);
    transform: translateY(-10px);
    border-color: rgba(31, 109, 58, 0.3);
}

.event-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .event-image {
    transform: scale(1.08);
}

.event-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-dark) 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(31, 109, 58, 0.3);
}

.event-card .card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-card .card-title {
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 12px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.event-card:hover .card-title {
    color: var(--brand-green);
}

.event-meta {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: 8px !important;
}

.event-meta i {
    color: var(--brand-green);
    margin-right: 6px;
    width: 16px;
}

.event-card .text-muted {
    flex-grow: 1;
    color: #718096 !important;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Gallery Styling */
.gallery-thumb {
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(31, 109, 58, 0.2);
}

.gallery-thumb img {
    transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .event-card {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .filter-box {
        margin-top: 25px;
        padding: 16px;
    }

    .filter-box select,
    .filter-box button,
    .filter-box .btn {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .event-image {
        height: 180px;
    }

    .event-card .card-body {
        padding: 16px;
    }

    .event-card .card-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .event-meta {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .filter-box {
        padding: 12px;
    }

    .filter-box .row {
        row-gap: 8px;
    }

    .filter-box select,
    .filter-box button,
    .filter-box .btn {
        padding: 10px 12px;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    .event-image {
        height: 150px;
    }

    .event-card .card-body {
        padding: 12px;
    }

    .event-card .card-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .event-type-badge {
        padding: 6px 10px;
        font-size: 0.7rem;
        top: 8px;
        right: 8px;
    }

    .event-meta {
        font-size: 0.85rem;
        margin-bottom: 6px !important;
    }
}
