/* Ana stiller ve değişkenler */
:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --card-bg: #f8f8f8;
    --card-border: #e0e0e0;
    --header-color: #2c3e50;
    --accent-color: #3498db;
    --footer-bg: #2c3e50;
    --footer-text: #ecf0f1;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --profile-bg: #f9f9f9;
    --profile-border: #e5e5e5;
}

/* Karanlık mod değişkenleri */
[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --card-bg: #2d2d2d;
    --card-border: #444444;
    --header-color: #ecf0f1;
    --accent-color: #4dabf7; /* Daha parlak mavi */
    --footer-bg: #111111;
    --footer-text: #ffffff; /* Tam beyaz, daha görünür */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --profile-bg: #2a2a2a;
    --profile-border: #555555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
    padding-bottom: 100px; /* Footer için daha fazla alan */
}

.container {
    max-width: 1200px;
    margin: 80px auto 100px;
    padding: 0 20px;
}

/* Tema değiştirici */
#theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
    outline: none;
}

/* Modern tema değiştirme tuşu */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    padding: 15px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
}

.theme-toggle span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.theme-switch-container {
    display: flex;
    background: var(--bg-color);
    border-radius: 25px;
    padding: 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--card-border);
}

.theme-btn {
    background: none;
    border: none;
    color: var(--text-color);
    width: 36px;
    height: 36px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.theme-btn:hover {
    background-color: rgba(var(--accent-color), 0.1);
    transform: scale(1.05);
}

.theme-btn-active {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theme-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.theme-btn:hover .theme-icon {
    transform: rotate(15deg) scale(1.1);
}

#theme-toggle:hover {
    transform: rotate(30deg);
}

#theme-toggle .fa-sun {
    display: none;
    color: #f39c12;
    font-size: 1.2rem;
}

#theme-toggle .fa-moon {
    display: block;
    color: #34495e;
    font-size: 1.2rem;
}

.dark-theme #theme-toggle .fa-sun {
    display: block;
}

.dark-theme #theme-toggle .fa-moon {
    display: none;
}

/* Hero bölümü */
.hero {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 50px;
    background: linear-gradient(135deg, rgba(var(--accent-color), 0.05) 0%, rgba(var(--hover-color), 0.05) 100%);
    border-radius: 20px;
    margin: 0 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero h1 {
    font-size: 3rem;
    color: var(--header-color);
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--paragraph-color);
    position: relative;
    z-index: 1;
}

/* Katkıda bulunanlar bölümü */
.contributors {
    max-width: 1200px;
    margin: 0 auto 100px; /* Footer için daha fazla boşluk */
    padding: 0 20px;
}

.contributors h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--header-color);
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.contributors h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--hover-color));
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    justify-content: center;
}

.contributor {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 2px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.contributor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--hover-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contributor:hover::before {
    transform: scaleX(1);
}

.contributor:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.contributor img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.contributor:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(var(--accent-color), 0.3);
    border-color: var(--hover-color);
}

.contributor-name {
    font-weight: 600;
    margin-top: 10px;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.contributor:hover .contributor-name {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.contributor a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
    padding: 10px 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    font-size: 0.8rem;
}

footer::before {
    content: "Oyunlayıcı'dan güç alır";
    display: block;
    margin-bottom: 8px;
    font-style: italic;
    font-weight: 500;
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3px; /* Daha az boşluk */
}

.footer-link {
    color: var(--footer-text);
    text-decoration: none;
    margin: 2px 5px;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    padding: 2px 0;
    font-size: 0.8rem;
}

.footer-link:hover {
    color: var(--accent-color);
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.footer-link:hover::after {
    width: 100%;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .hero {
        margin: 0 10px 40px;
        padding: 40px 15px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 20px;
    }
    
    .contributor {
        padding: 20px 15px;
    }
    
    .contributor img {
        width: 100px;
        height: 100px;
    }
    
    .contributors h2 {
        font-size: 1.6rem;
    }
    
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
        justify-content: center;
    }
    
    .footer-link {
        margin: 1px 3px;
        font-size: 0.75rem;
    }
    
    footer {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        margin: 0 5px 30px;
        padding: 30px 10px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .contributor {
        padding: 15px 10px;
    }
    
    .contributor img {
        width: 80px;
        height: 80px;
    }
    
    .contributor-name {
        font-size: 1rem;
    }
    
    .contributors h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .footer-link {
        margin: 1px 2px;
        font-size: 0.7rem;
        padding: 2px 4px;
    }
    
    footer {
        padding: 6px 8px;
        font-size: 0.7rem;
    }
    
    footer::before {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }
    
    .contributor-profile img {
        width: 120px;
        height: 120px;
    }
    
    .contribution-details ul {
        padding-left: 15px;
    }
}

/* Katkıda bulunan profil sayfası stilleri */
.contributor-profile {
    background-color: var(--profile-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid var(--profile-border);
    transition: var(--transition);
}

.contributor-profile img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.contributor-profile img:hover {
    transform: scale(1.05);
}

.contributor-profile h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--header-color);
}

.contributor-profile p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contribution-details {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    text-align: left;
    border: 1px solid var(--card-border);
}

.contribution-details h3 {
    color: var(--header-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
    display: inline-block;
}

.contribution-details ul {
    list-style-type: none;
    padding-left: 5px;
}

.contribution-details li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.contribution-details li:before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.social-links {
    margin: 25px 0;
}

.social-link {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    margin: 0 10px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: #2980b9;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--accent-color);
}