/* Category Evente Styles */

/* Events Category Hero */
.events-category-hero {
    padding: 120px 0;
    background: linear-gradient(135deg, #0e2954 0%, #1b5a7a 50%, #6ac8c6 100%);
    color: white;
    text-align: center;
}

.category-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.category-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-breadcrumb a:hover {
    color: #6ac8c6;
}

.category-breadcrumb span {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.category-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.category-description {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Events Filter Section */
.events-filter-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #6c757d;
}

.filter-tab:hover,
.filter-tab.active {
    border-color: #6ac8c6;
    background: #6ac8c6;
    color: white;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #6ac8c6;
    box-shadow: 0 0 0 3px rgba(106, 200, 198, 0.1);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

/* Events Grid Section */
.events-grid-section {
    padding: 80px 0;
    background: white;
}

.events-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.events-grid .event-card {
    padding: 0 15px;
    margin-bottom: 2rem;
}

/* Ensure Bootstrap grid works properly */
.events-grid .event-card.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.events-grid .event-card.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.events-grid .event-card.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.events-grid .event-card.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.events-grid .event-card.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .events-grid .event-card.col-lg-6,
    .events-grid .event-card.col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .events-grid .event-card.col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.event-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0e2954 0%, #1b5a7a 50%, #6ac8c6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.event-badge {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    align-items: flex-end;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.current {
    background: #ffc107;
    color: #000;
}

.badge.upcoming {
    background: #28a745;
    color: white;
}

.badge.past {
    background: #6c757d;
    color: white;
}

.type-badge {
    background: rgba(106, 200, 198, 0.2);
    color: #6ac8c6;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(106, 200, 198, 0.3);
}

.event-content {
    padding: 1.5rem;
}

.event-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.event-date,
.event-time,
.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.event-date i,
.event-time i,
.event-location i {
    color: #6ac8c6;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-title a:hover {
    color: #6ac8c6;
}

.event-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.event-price {
    display: flex;
    align-items: center;
}

.price {
    font-weight: 700;
    color: #6ac8c6;
    font-size: 1.125rem;
}

.price.free {
    color: #28a745;
}

.read-more {
    color: #6ac8c6;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #1b5a7a;
    transform: translateX(4px);
}

.no-events {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.no-events i {
    font-size: 4rem;
    color: #6ac8c6;
    margin-bottom: 1rem;
}

.no-events h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .events-category-hero {
        padding: 80px 0;
    }
    
    .filter-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .search-box {
        width: 100%;
        max-width: none;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card {
        margin: 0 auto;
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    .events-category-hero {
        padding: 60px 0;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .filter-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-tab {
        width: 100%;
        text-align: center;
    }
}
