/* Events Page Styles */
.events-hero {
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent-red) 100%);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.events-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

.events-hero .page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.events-hero .hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.upcoming-events {
    padding: 80px 0;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.events-grid {
    display: grid;
    gap: 40px;
    margin-top: 60px;
}

.featured-event {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 3px solid var(--gold);
    position: relative;
}

.featured-event::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--accent-red), var(--gold));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

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

.event-image {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 20px 0 0 20px;
}

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

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

.event-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(219,165,16,0.1) 0%, rgba(139,0,0,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-event:hover .event-image::after {
    opacity: 1;
}

.event-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--accent-red), #8B0000);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139,0,0,0.3);
    animation: pulse 2s ease-in-out infinite;
    z-index: 2;
}

.event-content {
    padding: 40px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--black);
    opacity: 0.7;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--black);
}

.event-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.highlight {
    background: var(--gray-light);
    color: var(--gold);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(219, 165, 16, 0.1);
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--accent-red) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.event-card:hover::before {
    opacity: 1;
}

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

.event-card .event-image img {
    transition: all 0.4s ease;
}

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

.event-card .event-content {
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.event-status {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 12px;
}

.coming-soon {
    background: #fff3cd;
    color: #856404;
}

.past-events {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.past-events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="1.5" fill="%23dba510" opacity="0.05"/></svg>') repeat;
    background-size: 60px 60px;
}

.events-timeline {
    margin-top: 60px;
    position: relative;
}

.events-timeline::before {
    content: '';
    position: absolute;
    left: 200px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--accent-red) 100%);
    border-radius: 2px;
    opacity: 0.3;
}

.timeline-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(219, 165, 16, 0.1);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 190px;
    top: 20px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent-red) 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 4px white, 0 0 0 8px rgba(219, 165, 16, 0.2);
    z-index: 2;
}

.timeline-date {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    position: sticky;
    top: 120px;
    height: fit-content;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid rgba(219, 165, 16, 0.1);
    text-align: center;
}

.timeline-item:hover .timeline-date {
    background: var(--gold);
    color: white;
    transform: scale(1.05);
}

.event-recap {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(219, 165, 16, 0.1);
    position: relative;
}

.event-recap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--accent-red) 100%);
    z-index: 1;
}

.event-recap:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.recap-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    height: 240px;
    position: relative;
    overflow: hidden;
}

.recap-images::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(219, 165, 16, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.event-recap:hover .recap-images::before {
    opacity: 1;
}

.recap-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.recap-images img:hover {
    transform: scale(1.05);
    z-index: 2;
}

.recap-images img:first-child:hover {
    border-radius: 16px 4px 4px 4px;
}

.recap-images img:last-child:hover {
    border-radius: 4px 16px 4px 4px;
}

.recap-content {
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.recap-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--black);
    line-height: 1.3;
    position: relative;
}

.recap-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent-red));
    border-radius: 2px;
}

.recap-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    opacity: 0.8;
    margin-bottom: 20px;
}

.recap-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.recap-highlights .highlight {
    background: linear-gradient(135deg, rgba(219, 165, 16, 0.1) 0%, rgba(219, 165, 16, 0.2) 100%);
    color: var(--gold);
    padding: 8px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(219, 165, 16, 0.3);
    transition: all 0.3s ease;
}

.recap-highlights .highlight:hover {
    background: linear-gradient(135deg, var(--gold) 0%, #f4d03f 100%);
    color: white;
    transform: translateY(-2px);
}

.read-recap-btn {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border: 2px solid var(--gold);
    border-radius: 25px;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.read-recap-btn:hover {
    background: var(--gold);
    color: white;
    gap: 15px;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(219, 165, 16, 0.3);
}

.read-recap-btn i {
    transition: transform 0.3s ease;
}

.read-recap-btn:hover i {
    transform: translateX(4px);
}

.event-services {
    background: linear-gradient(135deg, var(--gray-light) 0%, #f8f8f8 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.event-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="1.5" fill="%23DBA510" opacity="0.05"/></svg>') repeat;
    background-size: 60px 60px;
}

.event-services .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--black);
    position: relative;
    z-index: 1;
}

.event-services .section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--black);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(219,165,16,0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(219,165,16,0.05), rgba(139,0,0,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 20px 0 16px;
    color: var(--black);
}

.service-card p {
    color: var(--black);
    opacity: 0.7;
    line-height: 1.6;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), #DAA520);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 25px rgba(219,165,16,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    border-radius: 50%;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(219,165,16,0.4);
}

.cta-section {
    text-align: center;
    margin-top: 60px;
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    padding: 16px 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, var(--gold), #DAA520);
    box-shadow: 0 8px 25px rgba(219,165,16,0.3);
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(219,165,16,0.4);
}

.cta-section .btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

.cta-section .btn-outline:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(219,165,16,0.3);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(219, 165, 16, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(219, 165, 16, 0.6);
    }
}

/* Animation Classes */
.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.animate-slide-up-delay-2 {
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(219,165,16,0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(219,165,16,0.6);
    }
}

/* Animation Classes */
.animate-in {
    animation: slideInFromLeft 0.6s ease-out;
}

.animate-slide-up {
    animation: slideInFromLeft 0.8s ease-out;
}

.animate-slide-up-delay {
    animation: slideInFromLeft 0.8s ease-out 0.2s both;
}

.animate-slide-up-delay-2 {
    animation: slideInFromLeft 0.8s ease-out 0.4s both;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .events-hero .page-title {
        font-size: 3rem;
    }
    
    .events-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .timeline-item {
        grid-template-columns: 180px 1fr;
        gap: 30px;
    }
    
    .events-timeline::before {
        left: 90px;
    }
    
    .timeline-item::before {
        left: 78px;
    }
}

@media (max-width: 768px) {
    .events-hero {
        padding: 120px 0 80px;
    }
    
    .events-hero .page-title {
        font-size: 2.5rem;
    }
    
    .events-hero .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .upcoming-events,
    .past-events {
        padding: 60px 0;
    }
    
    .featured-event {
        grid-template-columns: 1fr;
        gap: 0;
        margin: 0 20px;
    }
    
    .featured-event .event-content {
        padding: 30px;
    }
    
    .event-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .event-title {
        font-size: 22px;
    }
    
    .event-card {
        margin: 0 20px;
    }
    
    .event-card .event-content {
        padding: 24px;
    }
    
    .events-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-left: 40px;
        margin-bottom: 60px;
        padding-bottom: 60px;
    }
    
    .timeline-item::before {
        left: -30px;
        top: 10px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-date {
        position: static;
        font-size: 18px;
        padding: 12px 16px;
        margin-bottom: 20px;
        width: fit-content;
    }
    
    .recap-images {
        height: 180px;
        gap: 2px;
    }
    
    .recap-content {
        padding: 24px;
    }
    
    .recap-content h3 {
        font-size: 20px;
    }
    
    .recap-content p {
        font-size: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .cta-section {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-section .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .events-hero {
        padding: 100px 0 60px;
    }
    
    .events-hero .page-title {
        font-size: 2rem;
    }
    
    .events-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .featured-event,
    .event-card {
        margin: 0 15px;
    }
    
    .event-image {
        height: 250px;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .event-title {
        font-size: 20px;
    }
    
    .event-meta span {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .event-highlights {
        gap: 6px;
    }
    
    .highlight {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .timeline-item {
        margin-left: 30px;
    }
    
    .recap-images {
        height: 160px;
    }
    
    .recap-content {
        padding: 20px;
    }
    
    .recap-content h3 {
        font-size: 18px;
    }
    
    .recap-content p {
        font-size: 14px;
    }
    
    .event-services {
        padding: 80px 0;
    }
    
    .event-services .section-title {
        font-size: 2rem;
    }
    
    .event-services .section-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .event-badge,
    .service-icon,
    .cta-section .btn-primary {
        background: var(--black) !important;
        color: white !important;
    }
    
    .event-card,
    .event-recap,
    .service-card {
        border: 2px solid var(--black) !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .events-hero::before {
        animation: none;
    }
    
    .featured-event::before {
        animation: none;
    }
    
    .event-badge {
        animation: none;
    }
}