/* ============================================
   ETKİNLİKLER MODÜLÜ - MODERN TASARIM
   ============================================ */

/* Ana Sayfa Modülü */
.event-card {
    display: block;
}

.event-card a {
    text-decoration: none;
    color: inherit;
}

.event-card-inner {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.event-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 60%;
    background: #000;
    overflow: hidden;
}

.event-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.event-card-inner:hover .event-img {
    transform: scale(1.05);
}

.event-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    z-index: 2;
}

.status-upcoming {
    background: #667eea;
}

.status-ongoing {
    background: #48bb78;
}

.status-completed {
    background: #718096;
}

.status-cancelled {
    background: #f56565;
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.event-date-badge {
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-day {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.badge-month {
    font-size: 12px;
    font-weight: 600;
    color: #606060;
    text-transform: uppercase;
    margin-top: 2px;
}

.event-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    color: #030303;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #606060;
    font-size: 14px;
}

.event-info-item i {
    color: #667eea;
    width: 16px;
}

.event-description {
    color: #606060;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .event-content {
        padding: 16px;
    }
    
    .event-title {
        font-size: 16px;
    }
}


/* ============================================
   ETKİNLİKLER LİSTE SAYFASI
   ============================================ */

.etkinlikler-page {
    background: #f9f9f9;
    padding: 60px 0;
    min-height: 100vh;
}

.etkinlikler-header {
    text-align: center;
    margin-bottom: 50px;
    background: #fff;
    padding: 60px 20px 40px;
}

.etkinlikler-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #030303;
    margin-bottom: 10px;
}

.etkinlikler-header p {
    font-size: 18px;
    color: #606060;
}

.etkinlik-item {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.etkinlik-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.etkinlik-item-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.etkinlik-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.etkinlik-item:hover .etkinlik-item-image img {
    transform: scale(1.05);
}

.etkinlik-item-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.etkinlik-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.etkinlik-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.etkinlik-title a {
    color: #030303;
    text-decoration: none;
    transition: color 0.2s;
}

.etkinlik-title a:hover {
    color: #667eea;
}

.etkinlik-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.etkinlik-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #606060;
    font-size: 14px;
}

.etkinlik-meta-item i {
    color: #667eea;
}

.etkinlik-spot {
    color: #606060;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.etkinlik-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #667eea;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
    align-self: flex-start;
}

.etkinlik-readmore:hover {
    background: #5568d3;
    color: #fff;
}

/* Pagination */
.pagination-wrapper {
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    list-style: none;
}

.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border-radius: 8px;
    color: #030303;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination li a:hover {
    background: #667eea;
    color: #fff;
}

.pagination li.active a {
    background: #667eea;
    color: #fff;
}

/* ============================================
   ETKİNLİK DETAY SAYFASI
   ============================================ */

.etkinlik-detail-page {
    background: #f9f9f9;
    padding: 60px 0;
    min-height: 100vh;
}

.etkinlik-detail-top {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.etkinlik-detail-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.etkinlik-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.etkinlik-detail-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
}

.etkinlik-detail-sidebar h3 {
    font-size: 20px;
    font-weight: 700;
    color: #030303;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f5;
}

.etkinlik-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.etkinlik-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
    font-size: 14px;
}

.etkinlik-info-item:last-child {
    border-bottom: none;
}

.etkinlik-info-label {
    color: #606060;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.etkinlik-info-label i {
    color: #667eea;
}

.etkinlik-info-value {
    color: #030303;
    font-weight: 600;
    text-align: right;
}

.etkinlik-detail-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #667eea;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    transition: background 0.2s;
}

.etkinlik-detail-btn:hover {
    background: #5568d3;
    color: #fff;
}

.etkinlik-detail-btn-secondary {
    background: #fff;
    color: #030303;
    border: 2px solid #e5e5e5;
}

.etkinlik-detail-btn-secondary:hover {
    background: #f9f9f9;
    border-color: #030303;
    color: #030303;
}

.etkinlik-detail-main {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
}

.etkinlik-detail-main h1 {
    font-size: 36px;
    font-weight: 700;
    color: #030303;
    margin: 0 0 20px 0;
}

.etkinlik-detail-description {
    color: #606060;
    font-size: 16px;
    line-height: 1.7;
}

.etkinlik-detail-description p {
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
    .etkinlik-item {
        grid-template-columns: 1fr;
    }
    
    .etkinlik-item-image {
        height: 300px;
    }
    
    .etkinlik-detail-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .etkinlikler-page {
        padding: 40px 0;
    }
    
    .etkinlikler-header {
        padding: 40px 20px 30px;
    }
    
    .etkinlikler-header h1 {
        font-size: 32px;
    }
    
    .etkinlik-item-content {
        padding: 20px;
    }
    
    .etkinlik-title {
        font-size: 20px;
    }
    
    .etkinlik-detail-main {
        padding: 25px 20px;
    }
    
    .etkinlik-detail-main h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .etkinlik-title {
        font-size: 18px;
    }
    
    .etkinlik-detail-main h1 {
        font-size: 24px;
    }
}
