/* 
 * Custom Festivals Page Styling
 * Human Rights Are Universal Arts Festival
 */

/* Page Introduction/Hero Section */
.festivals-intro {
    background: linear-gradient(to right, rgba(50, 52, 142, 0.9), rgba(50, 52, 142, 0.7));
    background-size: cover;
    padding: 4rem 0;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    color: #fff;
    border-bottom: 5px solid #ffdf00;
}

.festivals-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: 1;
}

.festivals-intro-content {
    position: relative;
    z-index: 2;
}

.festivals-intro .display-4 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.festivals-intro .display-4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 4px;
    background: #ffdf00;
    border-radius: 2px;
}

.festivals-intro .lead {
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 800px;
}

/* Section Headings */
.section-header {
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70%;
    height: 3px;
    background: #ffdf00;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
}

/* Festival Cards Styling */
.festival-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    position: relative;
    background: #fff;
}

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

.festival-card .card-img-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.festival-card .card-img-top {
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.festival-card:hover .card-img-top {
    transform: scale(1.05);
}

.festival-card .card-img-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.festival-card:hover .card-img-overlay {
    opacity: 0.9;
}

.festival-card .card-body {
    padding: 1.5rem;
}

.festival-card .card-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    color: #32348e;
}

.festival-card .card-text {
    color: #6c757d;
    margin-bottom: 1rem;
}

.festival-card .theme-badge {
    display: inline-block;
    background: rgba(255, 223, 0, 0.15);
    color: #000;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border-left: 3px solid #ffdf00;
}

.festival-card .date-badge {
    background: rgba(50, 52, 142, 0.1);
    color: #32348e;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
}

.festival-card .date-badge i {
    margin-right: 0.4rem;
}

.festival-card .status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.festival-card .status-badge.current {
    background: #28a745;
    color: white;
}

.festival-card .status-badge.upcoming {
    background: #007bff;
    color: white;
}

.festival-card .status-badge.past {
    background: #6c757d;
    color: white;
}

.festival-card .btn-view {
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.festival-card .btn-view-primary {
    background: #32348e;
    border-color: #32348e;
    color: white;
}

.festival-card .btn-view-primary:hover {
    background: #282b7a;
    border-color: #282b7a;
}

.festival-card .btn-view-secondary {
    background: transparent;
    border-color: #6c757d;
    color: #6c757d;
}

.festival-card .btn-view-secondary:hover {
    background: #6c757d;
    color: white;
}

/* Past Festivals Section */
.past-festivals-section {
    padding: 3rem 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    margin-top: 4rem;
}

.past-festivals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid #32348e;
    color: #32348e;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all-btn:hover {
    background: #32348e;
    color: white;
}

/* Past Festival Card Styling */
.past-festival-card .card-img-top {
    filter: grayscale(80%);
    transition: filter 0.5s ease;
}

.past-festival-card:hover .card-img-top {
    filter: grayscale(30%);
}

/* No Festival Alert */
.no-festival-alert {
    background: linear-gradient(45deg, rgba(255,223,0,0.15), rgba(50,52,142,0.15));
    border: none;
    padding: 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
}

.no-festival-alert i {
    font-size: 2rem;
    margin-right: 1rem;
    color: #ffdf00;
}

/* Festival Showcase Integration */
.festival-showcase {
    margin: 5rem 0;
    position: relative;
}

/* Media Queries */
@media (max-width: 991px) {
    .festivals-intro {
        padding: 3rem 0;
    }
    
    .festivals-intro .display-4 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .festivals-intro {
        padding: 2.5rem 0;
    }
    
    .festivals-intro .display-4 {
        font-size: 2rem;
    }
    
    .past-festivals-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .past-festivals-header .view-all-btn {
        margin-top: 1rem;
    }
}

/* Animation classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 