/**
 * Single Event Page Styles
 * 
 * Styles for the single event page template
 * Based on The Iron Fairies Figma design
 * 
 * @package Nexter Child
 * @version 1.0.0
 */

/* Single Event Page Container */
.single-event-page {
    min-height: 100vh;
}

/* Hero Section */
.event-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: end;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 60px 40px;
}

.single-event.event-title {
    font-size: 36px !important;
    line-height: 1.1;
    color: var(--color-text) !important;
    margin: 0;
    text-transform: uppercase;
    font-weight: normal;
    margin-top: 2rem;
}

/* Event Content Wrapper */
.event-content-wrapper {
    /* background-color: var(--color-body-background); */
    position: relative;
    z-index: 5;
}

.event-container {
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

/* Main Content */
.main-content {
    color: var(--color-text);
}

.event-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.meta-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.meta-icon svg {
    width: 20px;
    height: 20px;
}

.meta-content {
    flex: 1;
}

.meta-label {
    font-family: var(--font-text);
    font-size: 14px;
    color: var(--color-text-light-gray);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.meta-value {
    font-family: var(--font-text);
    font-size: 16px;
    color: var(--color-text-darker-white);
    font-weight: 500;
}

/* Section Titles */
.section-title {
    font-family: var(--font-text);
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 133.333% */
    letter-spacing: 0.07px;
}

/* About Event Section */
.about-event {
    margin-bottom: 50px;
}

.event-description p {
    color: var(--color-text-darker-white);
    font-family: var(--font-text);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px; /* 162.5% */
    letter-spacing: -0.312px;
}

.event-description p:last-child {
    margin-bottom: 0;
}

/* Lineup Section */
.lineup-section {
    margin-bottom: 40px;
}

.lineup-content {
    font-family: var(--font-text);
    color: var(--color-text);
}

.lineup-content p {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.4;
}

/* Event Details Sidebar */
.event-sidebar {
    position: sticky;
    top: 40px;
}

.event-details-card {
    border-radius: 10px;
    background: #2A2527;
    padding: 1.5rem;
}

.card-title {
    color: #FFF;
    font-family: var(--font-text);
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px; /* 140% */
    letter-spacing: -0.449px;
}

.details-list {
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-icon {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-icon svg {
    width: 18px;
    height: 18px;
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-family: var(--font-text);
    color: var(--color-text-light-gray);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.15px;
}

.detail-value {
    font-family: var(--font-text);
    color: var(--color-text-darker-white);
    font-size: 16px;
    display: flex;
    gap: 0.3rem;
    align-items: center;
    font-weight: 500;
}

/* Action Buttons */
/* Responsive Design */
@media (max-width: var(--breakpoint-desktop)) {
    .event-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 20px;
    }
    
    .event-sidebar {
        position: static;
        order: -1;
    }
    
    .event-meta {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: var(--breakpoint-tablet)) {
    .back-navigation {
        padding: 15px;
    }
    
    .event-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .event-title {
        font-size: 28px;
    }
    
    .event-container {
        padding: 20px 15px;
        gap: 30px;
    }
    
    .event-details-card {
        padding: 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .meta-item {
        padding: 12px 0;
    }
    
    .detail-item {
        padding: 12px 0;
    }
}

@media (max-width: var(--breakpoint-mobile)) {
    .event-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .event-hero {
        height: 40vh;
        min-height: 250px;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
    
    .event-container {
        padding: 15px 10px;
    }
    
    .event-details-card {
        padding: 15px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .meta-value {
        font-size: 14px;
    }
    
    .event-description {
        font-size: 14px;
    }
    
    .lineup-content p {
        font-size: 14px;
    }
}

/* Loading States */
.event-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: var(--color-text);
    font-family: var(--font-text);
}

/* Accessibility Improvements */
.back-link:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .back-link,
    .back-link svg {
        transition: none;
    }
    
    .back-link:hover {
        transform: none;
    }
}