/* Event Details Page - Enhanced Styling */

.page-banner {
    position: relative;
    height: 60vh;
    min-height: 250px;
    display: flex;
    align-items: flex-end;
    background-position: center;
    background-size: cover;
    transition: background 0.5s ease;
} 

.event-detail-page {
    background: var(--dark);
    color: var(--light);
    position: relative;
}

.event-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding: 80px 0;
}

.event-header {
    margin-bottom: 40px;
}

.event-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    padding-bottom: 20px;
}

.event-header h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--primary);
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    opacity: 0.8;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-meta i {
    color: var(--primary);
    font-size: 18px;
}

.event-main-image {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-main-image img {
    width: 100%;
    height: auto;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.event-main-image:hover img {
    transform: scale(1.05);
}

.event-full-description,
.event-features {
    margin-bottom: 40px;
}

.event-full-description h3,
.event-features h3 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    padding-bottom: 10px;
}

.event-full-description h3:after,
.event-features h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.event-features ul {
    list-style-type: none;
    padding: 0;
}

.event-features ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.9;
}

.event-features ul li:before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.event-social-share {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-buttons {
    display: flex;
    gap: 20px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    text-decoration: none;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.social-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.social-btn:hover {
    color: var(--light);
}

.social-btn:hover:before {
    left: 0;
}

.social-btn i {
    position: relative;
    z-index: 1;
}

.event-sidebar {
    background: rgba(10, 10, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    position: sticky;
    top: 100px;
}

.event-details-widget,
.popular-events-widget,
.newsletter-widget {
    margin-bottom: 40px;
}

.event-details-widget h3,
.popular-events-widget h3,
.newsletter-widget h3 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    padding-bottom: 10px;
}

.event-details-widget h3:after,
.popular-events-widget h3:after,
.newsletter-widget h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item i {
    color: var(--primary);
    font-size: 20px;
    min-width: 30px;
}

.popular-event-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.popular-event-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 20px;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.5s ease;
}

.popular-event-item:hover img {
    transform: scale(1.05);
}

.popular-event-info h4 {
    font-family: 'Cinzel', serif;
    margin-bottom: 10px;
    color: var(--primary);
}

.newsletter-widget {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
}

.newsletter-widget p {
    margin-bottom: 20px;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .event-grid {
        grid-template-columns: 1fr;
    }

    .event-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .event-header h1 {
        font-size: 36px;
    }

    .social-buttons {
        flex-direction: column;
    }
}