/* Events Page Styles */
:root {
    --primary-color: #04B4AE;
    --secondary-color: #008a87;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --medium-gray: #ddd;
    --dark-gray: #666;
    --white: #fff;
    --box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

.events-container {
    margin: 0 auto;
    padding: 20px;
}

/* Breadcrumb Styles */
.breadcrumb-container {
    background-color: var(--primary-color);
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
}

.breadcrumb {
    color: var(--white);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Filters Section */
.filters-section {
    background-color: var(--white);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.filters-section h2 {
    color: var(--text-color);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

.filter-item select,
.filter-item input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 16px;
    color: var(--text-color);
    background-color: var(--white);
}

.date-picker {
    position: relative;
}

.calendar-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-gray);
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.event-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.event-card a {
    text-decoration: none;
    color: var(--text-color);
}

.event-image {
    height: 230px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-info {
    padding: 15px;
}

.event-date {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 5px;
    background-color: #048AAF;
    text-align: center;
}

.event-title {
    margin: 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    text-align: left;
}

.event-location {
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.event-tags {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.event-category {
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--dark-gray);
}

.event-price {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 14px;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* No Results */
.no-results, .no-events {
    text-align: center;
    padding: 50px 0;
    color: var(--dark-gray);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .filters-row {
        flex-direction: column;
        gap: 15px;
    }

    .filter-item {
        width: 100%;
    }

    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 576px) {
    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-image {
        height: 200px;
    }
}

.event-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: center;
    margin-top: 1rem;
}

.events-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

.events-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--dark-gray);
}
