/* Events Page Specific Styles */

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Event Cards */
.event-card {
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.95), rgba(25, 25, 25, 0.9));
    border: 2px solid transparent;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(20px);
}

.event-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(247, 148, 28, 0.3);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-content {
    padding: 1.5rem;
}

.event-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.event-title-bengali {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.event-description {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.event-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.event-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.facebook-btn {
    background: #1877f2;
    color: white;
}

.facebook-btn:hover {
    background: #166fe5;
    transform: translateY(-2px);
}

.youtube-btn {
    background: #ff0000;
    color: white;
}

.youtube-btn:hover {
    background: #e60000;
    transform: translateY(-2px);
}

/* Filter Navigation */
.filter-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.filter-btn {
    background: rgba(247, 148, 28, 0.1);
    color: var(--primary);
    border: 2px solid rgba(247, 148, 28, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 148, 28, 0.4);
}

/* Events Header */
.events-header {
    text-align: center;
    padding: 6rem 2rem 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.events-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.events-subtitle {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.events-description {
    font-size: 1.1rem;
    color: #d1d5db;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Featured Upcoming Event */
.featured-upcoming-section {
    max-width: 1250px;
    margin: 0 auto 1.75rem;
    padding: 0 2rem;
}

.featured-upcoming-card {
    display: grid;
    grid-template-columns: minmax(320px, 460px) 1fr;
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.96), rgba(28, 28, 28, 0.92));
    border: 2px solid rgba(247, 148, 28, 0.35);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.featured-upcoming-media {
    position: relative;
    min-height: 340px;
    background: #111;
}

.featured-upcoming-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-upcoming-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #111;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.featured-upcoming-content {
    padding: 2rem 2.2rem;
}

.featured-upcoming-kicker {
    color: #fbbf7a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.featured-upcoming-title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.7rem, 2.8vw, 2.35rem);
    line-height: 1.2;
    font-weight: 800;
}

.featured-upcoming-title-bengali {
    margin: 0.6rem 0 1rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.featured-upcoming-description {
    color: #d1d5db;
    line-height: 1.7;
    margin: 0 0 1.2rem;
}

.featured-upcoming-meta {
    display: grid;
    gap: 0.55rem;
}

.featured-upcoming-meta p {
    margin: 0;
    color: #e5e7eb;
}

.featured-upcoming-meta strong {
    color: var(--primary);
    margin-right: 0.45rem;
}

.featured-upcoming-meta a {
    color: #f9fafb;
    text-underline-offset: 2px;
}

.featured-upcoming-meta a:hover {
    color: var(--primary);
}


/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    text-align: center;
    background: rgba(247, 148, 28, 0.1);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(247, 148, 28, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #d1d5db;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Event Image Overlay */
.event-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(247, 148, 28, 0.2) 50%, 
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-card:hover .event-overlay {
    opacity: 1;
}

.event-overlay-icon {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.event-title-bengali {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.event-description {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.event-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
}

.event-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 4rem 2rem;
    color: #9ca3af;
    font-size: 1.1rem;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-upcoming-section {
        padding: 0 1rem;
        margin-bottom: 1.2rem;
    }

    .featured-upcoming-card {
        grid-template-columns: 1fr;
    }

    .featured-upcoming-media {
        min-height: 230px;
    }

    .featured-upcoming-content {
        padding: 1.2rem 1.2rem 1.4rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .events-title {
        font-size: 2.5rem;
    }
    
    .events-subtitle {
        font-size: 1.5rem;
    }
    
    .events-header {
        padding: 4rem 1rem 3rem 1rem;
    }
    
    .filter-nav {
        gap: 0.5rem;
        margin: 1rem 0;
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .event-actions {
        flex-wrap: wrap;
    }
    
    .event-btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        margin: 0 0.5rem;
    }
    
    .events-title {
        font-size: 2rem;
    }
}
