/* ═══════════════════════════════════════════
   EVENTS PAGE - NEW DESIGN
   ═══════════════════════════════════════════ */

/* Hero Section */
.events-hero {
    background: linear-gradient(rgba(139, 26, 26, 0.55), rgba(107, 20, 20, 0.55)),
                url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?w=1600&h=800&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 140px 0;
    text-align: center;
    position: relative;
}

.events-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.events-hero .container {
    position: relative;
    z-index: 1;
}

.events-hero-content {
    animation: evFadeInUp 1s ease-out;
}

.events-hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

.events-hero-subtitle {
    font-size: 1.6rem;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.events-hero-divider {
    width: 100px;
    height: 4px;
    background: white;
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.ev-section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: evFadeInUp 1s ease-out 0.2s both;
}

.ev-section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #2c3e50 0%, #8B1A1A 50%, #2c3e50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: evGradientShift 3s ease infinite;
    background-size: 200% auto;
    font-family: 'Poppins', sans-serif;
}

@keyframes evGradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.ev-title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #8B1A1A 0%, #A52A2A 50%, #6B1414 100%);
    margin: 0 auto;
    border-radius: 2px;
    animation: evExpandWidth 1.5s ease-out 0.5s both;
    box-shadow: 0 2px 8px rgba(139, 26, 26, 0.3);
}

@keyframes evExpandWidth {
    from { width: 0; opacity: 0; }
    to { width: 80px; opacity: 1; }
}

/* Events Section */
.events-section-new {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.events-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B1A1A 0%, #A52A2A 50%, #6B1414 100%);
}

.events-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: -30px auto 60px;
    line-height: 1.8;
    animation: evFadeInUp 1s ease-out 0.3s both;
}

.events-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

/* Event Card */
.ev-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: evFadeInUp 0.8s ease-out both;
    position: relative;
}

.ev-card:nth-child(1) { animation-delay: 0.1s; }
.ev-card:nth-child(2) { animation-delay: 0.2s; }
.ev-card:nth-child(3) { animation-delay: 0.3s; }
.ev-card:nth-child(4) { animation-delay: 0.4s; }
.ev-card:nth-child(5) { animation-delay: 0.5s; }
.ev-card:nth-child(6) { animation-delay: 0.6s; }

.ev-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 45px rgba(139, 26, 26, 0.2);
}

.ev-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.ev-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ev-card:hover .ev-card-image img {
    transform: scale(1.12) rotate(1deg);
}

.ev-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #8B1A1A 0%, #A52A2A 50%, #6B1414 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(139, 26, 26, 0.4);
    z-index: 2;
}

.ev-date-badge .ev-day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.ev-date-badge .ev-month {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.ev-card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(139, 26, 26, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ev-card:hover .ev-card-image-overlay {
    opacity: 1;
}

.ev-card-content {
    padding: 28px 25px;
}

.ev-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.ev-card:hover .ev-card-title {
    color: #8B1A1A;
}

.ev-card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.ev-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8B1A1A;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.ev-card-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #8B1A1A, #A52A2A);
    transition: width 0.3s ease;
}

.ev-card-link:hover::after {
    width: 100%;
}

.ev-card-link:hover {
    color: #A52A2A;
    gap: 12px;
}

.ev-card-link .ev-arrow {
    transition: transform 0.3s ease;
}

.ev-card-link:hover .ev-arrow {
    transform: translateX(4px);
}

/* CTA Section */
.ev-cta-section {
    background: linear-gradient(135deg, #8B1A1A 0%, #A52A2A 50%, #6B1414 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.ev-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: evFloat 6s ease-in-out infinite;
}

.ev-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: evFloat 8s ease-in-out infinite;
}

@keyframes evFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.ev-cta-content {
    position: relative;
    z-index: 1;
}

.ev-cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.ev-cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ev-cta-button {
    display: inline-block;
    padding: 16px 45px;
    background: white;
    color: #8B1A1A;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.ev-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
    color: #8B1A1A;
}

/* Animations */
@keyframes evFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .events-hero {
        background-attachment: scroll;
        padding: 80px 0;
    }

    .events-hero-title {
        font-size: 2.5rem;
    }

    .events-hero-subtitle {
        font-size: 1.2rem;
    }

    .ev-section-title {
        font-size: 2rem;
    }

    .events-section-new {
        padding: 60px 0;
    }

    .events-grid-new {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ev-card-image {
        height: 200px;
    }

    .ev-cta-title {
        font-size: 1.8rem;
    }

    .ev-cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .events-hero-title {
        font-size: 2rem;
    }

    .ev-section-title {
        font-size: 1.8rem;
    }

    .events-grid-new {
        grid-template-columns: 1fr;
    }

    .ev-card-image {
        height: 180px;
    }

    .ev-card-content {
        padding: 20px 18px;
    }

    .ev-card-title {
        font-size: 1.15rem;
    }

    .ev-cta-section {
        padding: 60px 0;
    }

    .ev-cta-title {
        font-size: 1.5rem;
    }

    .ev-cta-button {
        padding: 14px 35px;
        font-size: 0.95rem;
    }
}
