/* ========================================
   ETKİNLİKLER SAYFASI CSS'İ - DÜZELTİLMİŞ
   Dosya: moduller/etkinlikler/etkinlikler.css
======================================== */

/* BANNER ALANI - PASTEL RENK PALETİ */
.events-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.events-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.7));
    z-index: 1;
}

.events-hero .container {
    position: relative;
    z-index: 2;
}

.events-hero h1 {
    color: white !important;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.events-hero p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    line-height: 1.5;
}

.events-stats {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    color: white !important;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #ffeaa7 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    font-weight: 600;
}

/* FİLTRE ALANI - YENİ TASARIM */
.events-filters {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid #e3f2fd;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e3f2fd;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-group label {
    font-weight: 700;
    color: #6c5ce7 !important;
    margin-bottom: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-group label i {
    color: #fd79a8;
    font-size: 1.1rem;
}

.form-control, .form-select {
    border: 2px solid #f8f9ff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fafbff;
}

.form-control:focus, .form-select:focus {
    border-color: #a29bfe;
    box-shadow: 0 0 0 0.2rem rgba(162, 155, 254, 0.25);
    background: white;
}

.category-list, .type-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-item, .type-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    color: #495057 !important;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: #f8f9fa;
}

.category-item:hover, .type-item:hover,
.category-item.active, .type-item.active {
    background: linear-gradient(135deg, #f8f9ff, #fdcb6e20);
    color: #6c5ce7 !important;
    border-color: #a29bfe;
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(162, 155, 254, 0.2);
}

.category-color {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.type-item i {
    width: 24px;
    margin-right: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

/* SONUÇ BAŞLIĞI */
.results-header {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e3f2fd;
}

.results-info h4 {
    color: #6c5ce7 !important;
    margin: 0 0 1rem 0;
    font-weight: 700;
    font-size: 1.5rem;
}

.active-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-tag {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(162, 155, 254, 0.3);
}

.filter-tag a {
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.filter-tag a:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* ETKİNLİK KARTLARI - KUTU KUTU TASARIM */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid #e3f2fd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(42, 82, 152, 0.2);
}

/* Etkinlik resmi/header */
.event-header {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #fd79a8, #fdcb6e);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.event-header::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="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.08"/></svg>');
    background-size: 50px 50px;
}

.event-date-large {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.event-day-large {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.event-month-large {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    margin-top: 0.5rem;
}

.event-time {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-top: 0.25rem;
}

/* Etkinlik içeriği */
.event-content {
    padding: 2rem;
}

.category-badge {
    display: inline-block;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-title {
    margin: 0 0 1rem 0;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.3;
}

.event-title a {
    color: #6c5ce7 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-title a:hover {
    color: #fd79a8 !important;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6c757d !important;
    font-size: 0.9rem;
}

.event-meta-item i {
    color: #fd79a8;
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

.event-meta-item.price {
    color: #ff6b35 !important;
    font-weight: 700;
}

.event-meta-item.free {
    color: #28a745 !important;
    font-weight: 700;
}

.event-description {
    color: #495057 !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Kontenjan göstergesi */
.capacity-info {
    margin-bottom: 1.5rem;
}

.capacity-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #ffc107, #dc3545);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.capacity-text {
    color: #6c757d !important;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Etkinlik aksiyonları */
.event-actions {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-register {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    border: none;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(162, 155, 254, 0.4);
    color: white !important;
}

.btn-outline-primary {
    border: 2px solid #fd79a8;
    color: #fd79a8 !important;
    background: transparent;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #fd79a8;
    color: white !important;
    transform: translateY(-2px);
}

/* SAYFALAMA */
.pagination .page-link {
    border: 2px solid #f8f9ff;
    color: #6c5ce7 !important;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    border-color: #a29bfe;
    color: white !important;
    box-shadow: 0 4px 15px rgba(162, 155, 254, 0.3);
}

.pagination .page-link:hover {
    background: #f8f9ff;
    border-color: #a29bfe;
    color: #6c5ce7 !important;
    transform: translateY(-2px);
}

/* BOŞ DURUM */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: #6c757d !important;
}

.empty-state i {
    font-size: 6rem;
    margin-bottom: 2rem;
    opacity: 0.4;
    color: #a29bfe;
}

.empty-state h4 {
    color: #6c5ce7 !important;
    margin-bottom: 1rem;
    font-weight: 700;
}

.empty-state p {
    color: #6c757d !important;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* RESPONSİVE DÜZENLEMELER */
@media (max-width: 768px) {
    .events-hero {
        padding: 3rem 0;
    }
    
    .events-hero h1 {
        font-size: 2.5rem;
    }
    
    .events-hero p {
        font-size: 1rem;
    }
    
    .events-filters {
        position: static;
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .filter-group {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-header {
        height: 150px;
    }
    
    .event-day-large {
        font-size: 3rem;
    }
    
    .event-month-large {
        font-size: 1rem;
    }
    
    .event-content {
        padding: 1.5rem;
    }
    
    .event-actions {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .events-hero {
        padding: 2rem 0;
    }
    
    .events-hero h1 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .event-header {
        height: 120px;
    }
    
    .event-day-large {
        font-size: 2.5rem;
    }
    
    .event-content {
        padding: 1rem;
    }
    
    .event-actions {
        padding: 1rem;
    }
    
    .events-grid {
        gap: 1.5rem;
    }
}

/* RENK PALETİ - PASTEL & MODERN */
:root {
    --events-primary: #6c5ce7;        /* Soft Purple */
    --events-secondary: #a29bfe;      /* Light Purple */
    --events-accent: #fd79a8;         /* Soft Pink */
    --events-warm: #fdcb6e;           /* Soft Yellow */
    --events-light: #f8f9ff;         /* Very Light Purple */
    --success-color: #00b894;         /* Soft Green */
    --warning-color: #fdcb6e;         /* Soft Orange */
    --danger-color: #fd79a8;          /* Soft Pink */
    --info-color: #74b9ff;           /* Soft Blue */
    --text-dark: #2d3436;            /* Soft Black */
    --text-light: #636e72;           /* Soft Gray */
    --gray-100: #ffeaa7;             /* Cream */
    --gray-200: #f8f9ff;             /* Light Purple */
    --gray-300: #ddd6fe;             /* Medium Purple */
    --white: #ffffff;
}