/* ============================================
   GENEL STİLLER
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ============================================
   ARKAPLAN SLIDESHOW
   ============================================ */

.background-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.bg-image.active {
    opacity: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 100;
}

.site-logo {
    max-height: 60px;
    width: auto;
}

.site-title {
    color: white;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    padding: 50px 0;
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 200px);
}

/* ============================================
   SECTION CARD
   ============================================ */

.section-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    position: relative;
    z-index: 20;
}

.section-title {
    color: #667eea;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.section-title i {
    margin-right: 10px;
}

/* ============================================
   PROGRAMCI KARTI - CAROUSEL
   ============================================ */

.programmer-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.programmer-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #667eea;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.programmer-placeholder {
    font-size: 150px;
    color: #ccc;
}

.programmer-card h3 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.uzmanlik {
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.uzmanlik i {
    margin-right: 8px;
}

.aciklama {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(102, 126, 234, 1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   TOP 20 LİSTESİ
   ============================================ */

.top20-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.top20-item {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.top20-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.top20-rank {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.rank-number {
    font-size: 1.5rem;
    font-weight: 700;
}

.top20-info {
    flex: 1;
}

.top20-info h5 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.top20-info p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.top20-player {
    flex-shrink: 0;
}

.play-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: #dc3545;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.4);
}

.play-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* ============================================
   SOSYAL MEDYA
   ============================================ */

.social-media-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.social-link i {
    font-size: 1.8rem;
}

.social-link.instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 100%);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.youtube {
    background: #ff0000;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 0;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

.site-footer p {
    margin: 0;
}

/* ============================================
   VIDEO MODAL
   ============================================ */

.modal-content {
    background: #000;
    border: none;
}

.modal-header {
    background: #1a1a1a;
    color: white;
    border-bottom: 1px solid #333;
}

.btn-close {
    background: transparent;
    opacity: 1;
    filter: invert(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .site-title {
        font-size: 1.3rem;
    }
    
    .section-card {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .programmer-img {
        width: 150px;
        height: 150px;
    }
    
    .programmer-card h3 {
        font-size: 1.4rem;
    }
    
    .programmer-card {
        min-height: auto;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: -20px;
    }
    
    .carousel-control-next {
        right: -20px;
    }
    
    .top20-item {
        padding: 10px 15px;
    }
    
    .rank-number {
        font-size: 1.2rem;
    }
    
    .top20-rank {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 30px 0;
    }
    
    .programmer-card .row {
        text-align: center;
    }
    
    .programmer-card .col-md-8 {
        margin-top: 20px;
    }
}

/* ============================================
   ALERT STİLLERİ
   ============================================ */

.alert {
    border-radius: 10px;
    border: none;
}

.alert-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* ============================================
   BUTON STİLLERİ
   ============================================ */

.btn {
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: #667eea;
}

/* ============================================
   Z-INDEX YÖNETİMİ (ÖNEMLİ!)
   ============================================ */

.background-slideshow {
    z-index: 1;
}

.overlay {
    z-index: 2;
}

.site-header {
    z-index: 100;
}

.main-content {
    z-index: 10;
}

.section-card {
    z-index: 20;
    position: relative;
}

.site-footer {
    z-index: 10;
}
