/* Genel Sayfa Stilleri */
body {
    background-color: #121212; /* Koyu arkaplan */
    color: #e0e0e0; /* Açık renk metin */
    font-family: 'Inter', sans-serif; /* Okunabilir modern font */
    margin: 0;
    line-height: 1.6;
}

/* Kaldırılan RGB Animasyonu */
/* @keyframes rgb-text-animation ... */

/* Başlıklar için yeni yumuşak font stili */
.minecraft-font {
    font-family: 'Inter', sans-serif; /* Pikselli font yerine modern bir font */
    color: #ffffff;                  /* Beyaz renk */
    font-weight: 700;                 /* Kalın yazı tipi */
    text-shadow: none;                /* Gölgeyi kaldır */
}

/* Link Stilleri */
a {
    color: #58a6ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #88c0ff;
}

/* Navigasyon Menüsü Stilleri */
.navbar {
    background-color: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #e0e0e0;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Navigasyon linki hover animasyonu kaldırıldı, artık normal link gibi renk değiştirecek */
.nav-link:hover {
   color: #88c0ff;
}

/* Ana İçerik Stilleri */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.main-header {
    text-align: center;
    margin-bottom: 4rem;
}

.main-header h1 {
    font-size: 3.5rem;
    letter-spacing: 4px;
}

/* Mod Sayfası için Izgara (Grid) Sistemi */
.mods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.mod-card-link {
    text-decoration: none; /* Link alt çizgisini kaldır */
}

.mod-card {
    background-color: #1e1e1e;
    border: 1px solid #2c2c2c;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Kartların aynı yükseklikte olmasını sağlar */
    display: flex;
    flex-direction: column;
}

.mod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.mod-card img {
    width: 100%;
    height: 150px; /* Görsel yüksekliğini ayarla */
    object-fit: cover; /* Resmin orantısını koruyarak alanı kaplamasını sağlar */
    display: block;
}

.mod-content {
    padding: 1rem;
    flex-grow: 1; /* İçeriğin kalan alanı doldurmasını sağlar */
}

.mod-content h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    color: #ffffff;
}

.mod-content .mod-author {
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

.mod-content .mod-description {
    font-size: 1rem;
    color: #b0b0b0;
    margin: 0;
    opacity: 0; /* Açıklamayı başlangıçta gizle */
    max-height: 0; /* Yükseklik animasyonu için */
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

.mod-card:hover .mod-description {
    opacity: 1; /* Fare üzerine gelince açıklamayı göster */
    max-height: 100px; /* Açıklamanın sığacağı bir yükseklik */
}

/* Alt Bilgi Stilleri */
.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    color: #777;
}

.footer p a {
    color: #999;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer p a:hover {
    color: #fff;
}

/* Mobil Cihazlar için Responsive Tasarım */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-header h1 {
        font-size: 2.5rem;
    }
}