/* Events page specific styles */

/* Page header styling */
.page-header {
    background: linear-gradient(135deg, #44035e 0%, #52057e 100%);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Anvesha promo section */
#anvesha-promo {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.anvesha-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.anvesha-text h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.anvesha-text p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #333;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.anvesha-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Section titles */
.section-title-sub {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.section-title-sub::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border-radius: 2px;
}

/* Events container */
.events-list-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

/* Event card styling */
.event-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.event-date {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
}

.event-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-status.upcoming {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.event-status.past {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.event-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.event-detail {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-detail strong {
    color: #333;
}

.event-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.event-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.event-btn.primary {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
}

.event-btn.primary:hover {
    background: linear-gradient(45deg, #2a5298, #1e3c72);
    transform: translateY(-2px);
}

.event-btn.secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #dee2e6;
}

.event-btn.secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* Search and filter section (for future enhancement) */
.events-controls {
    background: #f8f9fa;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    text-align: center;
}

.search-box {
    max-width: 400px;
    margin: 0 auto 1rem;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #dee2e6;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    border-color: #1e3c72;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: #1e3c72;
    color: white;
    border-color: #1e3c72;
}

/* Responsive design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .anvesha-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .anvesha-text h2 {
        font-size: 2rem;
    }
    
    .section-title-sub {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .events-list-full {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .event-btn {
        text-align: center;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 3rem 0 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .anvesha-text h2 {
        font-size: 1.8rem;
    }
    
    .section-title-sub {
        font-size: 1.8rem;
    }
    
    .event-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .events-list-full {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
    }
}
