/* Etkinlik Detay Sayfası CSS */
.event-detail-page {
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
    background-color: #f5f5f5;
}

.event-detail-page .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

/* Sol Sidebar Liste */
.event-detail-page .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.event-detail-page .sidebar-list {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

.event-detail-page .content-area {
    flex: 0 0 75%;
    max-width: 75%;
    padding-left: 0;
}

.sidebar-menu-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.sidebar-menu-header {
    background-color: transparent;
    padding: 20px;
    color: #333;
    border-radius: 8px 8px 0 0;
}

.sidebar-menu-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "Bebas Neue", cursive;
}

.sidebar-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f8f9fa;
}

.sidebar-menu-list li {
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-menu-list li:last-child {
    border-bottom: none;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    margin: 2px 5px;
    border-radius: 6px;
    background-color: transparent;
}

.sidebar-menu-item:hover {
    background-color: #e9ecef;
    color: #224a98;
    border-radius: 6px;
}

.sidebar-menu-item.active {
    background-color: transparent;
    color: #224a98;
    font-weight: bold;
    border-radius: 6px;
}

.menu-arrow {
    margin-right: 10px;
    font-size: 18px;
    color: #224a98;
}

/* İçerik Alanı */
.event-detail-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #0080c9;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #999;
}

/* Etkinlik Detay */
.event-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.event-detail-title {
    font-family: "Bebas Neue", cursive;
    font-size: 42px;
    color: #224a98;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: 1px;
}

.event-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.event-detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-detail-meta i {
    color: #0080c9;
}

.event-detail-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    background: #f0f0f0;
    padding: 0;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.event-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.event-logo-fallback {
    object-fit: contain;
    padding: 20px;
}

/* Etkinlik Bilgi Kutusu */
.event-info-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #0080c9;
}

.info-box-title {
    font-family: "Bebas Neue", cursive;
    font-size: 24px;
    color: #224a98;
    margin-bottom: 20px;
}

.info-box-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.info-label {
    font-weight: 600;
    color: #333;
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-label i {
    color: #0080c9;
}

.info-value {
    color: #666;
    flex: 1;
}

.info-value a {
    color: #0080c9;
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

/* Etkinlik Özeti */
.event-detail-summary {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
    color: #856404;
}

/* Etkinlik İçeriği */
.event-detail-content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.event-detail-content-text p {
    margin-bottom: 15px;
}

.event-detail-content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Görseller Galerisi */
.event-gallery {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.gallery-title {
    font-family: "Bebas Neue", cursive;
    font-size: 28px;
    color: #224a98;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.modal-close:hover {
    color: #ccc;
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    z-index: 10001;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-prev:hover,
.modal-next:hover {
    color: #ccc;
}

/* İlgili Etkinlikler */
.related-events {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.related-title {
    font-family: "Bebas Neue", cursive;
    font-size: 32px;
    color: #224a98;
    margin-bottom: 25px;
}

.related-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-event-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-event-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.related-event-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-event-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-event-item .event-logo-fallback {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    margin: 15px auto;
    display: block;
}

.related-event-item h4 {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.related-event-date {
    padding: 0 15px 15px;
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-event-date i {
    color: #0080c9;
}

/* Responsive */
@media (max-width: 992px) {
    .event-detail-page .sidebar-list {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .event-detail-page .content-area {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
    }
    
    .event-detail-content {
        padding: 20px;
    }
    
    .event-detail-title {
        font-size: 32px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
