/* Minecraft Teması - Kavistowny */

@font-face {
    font-family: 'MinecraftFont'; /* Fonta bir isim veriyoruz */
    src: url('../fonts/Minecraftia-Regular.ttf') format('truetype'); /* Font dosyasının yolu */
    /* Tarayıcı uyumluluğu için farklı formatlar da eklenebilir:
    src: url('../fonts/minecraftia.eot'); 
    src: url('../fonts/minecraftia.eot?#iefix') format('embedded-opentype'),
         url('../fonts/minecraftia.woff2') format('woff2'),
         url('../fonts/minecraftia.woff') format('woff'),
         url('../fonts/minecraftia.ttf') format('truetype'),
         url('../fonts/minecraftia.svg#minecraftia') format('svg');
    */
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'MinecraftFont', monospace; /* Minecraft fontu veya yedek olarak monospace */
    background-color: #3B2714; /* Koyu kahverengi - Toprak altı gibi */
    background-image: url('../images/background_dirt.png'); /* Pikselli toprak deseni */
    background-repeat: repeat;
    color: #FFFFFF; /* Beyaz yazı */
    margin: 0;
    padding: 0;
    image-rendering: pixelated; /* Tüm görselleri pikselli gösterir */
    image-rendering: -moz-crisp-edges; /* Firefox için */
    image-rendering: crisp-edges;
}

.container {
    width: 90%;
    max-width: 960px; /* Minecraft GUI'leri gibi daha dar olabilir */
    margin: 20px auto;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3); /* Yarı saydam koyu arka plan */
    border: 3px solid #5A3A1F; /* Koyu ahşap çerçeve */
    box-shadow: 0 0 0 3px #2A1D10, inset 0 0 0 3px #C6C6C6; /* İç ve dış border efekti */
}

/* Header */
header {
    text-align: center;
    padding: 15px 0;
    border-bottom: 3px solid #5A3A1F; /* Koyu ahşap */
    margin-bottom: 20px;
}

header #logo {
    max-width: 150px;
    margin-bottom: 10px;
}

header h1 {
    font-size: 2.8em; /* Daha büyük ve pikselli duracak */
    color: #FFAA00; /* Altın rengi */
    text-shadow: 2px 2px #3F2A00; /* Koyu altın gölge */
    margin: 0 0 15px 0;
    letter-spacing: 2px; /* Harf aralığı */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

nav ul li a {
    display: block;
    background-color: #7B5634; /* Ahşap rengi */
    color: #FFFFFF;
    text-decoration: none;
    padding: 10px 18px;
    border: 2px solid #5A3A1F; /* Koyu ahşap çerçeve */
    box-shadow: 0 0 0 2px #2A1D10, inset 2px 2px 0px rgba(255,255,255,0.2), inset -2px -2px 0px rgba(0,0,0,0.2); /* Buton efekti */
    font-size: 1.2em;
    transition: background-color 0.2s, transform 0.1s;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #9C7854; /* Biraz daha açık ahşap */
    color: #FFFF00; /* Sarı vurgu */
    transform: translateY(-2px);
    box-shadow: 0 2px 0 2px #2A1D10, inset 2px 2px 0px rgba(255,255,255,0.3), inset -2px -2px 0px rgba(0,0,0,0.3);
}

/* Ana İçerik Bölümleri */
section {
    background-color: #C6C6C6; /* Açık taş rengi */
    border: 3px solid #585858; /* Koyu taş çerçeve */
    box-shadow: 0 0 0 3px #373737; /* Dış gölge */
    padding: 20px;
    margin-bottom: 25px;
    color: #373737; /* Koyu gri yazı */
}

section h2, section h3 {
    color: #373737;
    border-bottom: 2px solid #8B8B8B; /* Gri ayırıcı */
    padding-bottom: 8px;
    margin-top: 0;
    text-shadow: 1px 1px #FFF;
}
section h3 {
    font-size: 1.5em;
    color: #4A4A4A;
}

/* Ana Sayfa Özel */
#hero {
    background-color: #78A04A; /* Çimen blok rengi */
    color: #FFFFFF;
    text-align: center;
    padding: 30px 15px;
    border: 3px solid #4A6B2A; /* Koyu çimen çerçeve */
    box-shadow: 0 0 0 3px #2A3C1A;
}
#hero h2 {
    color: #FFFFFF;
    font-size: 2.2em;
    text-shadow: 2px 2px #3A5B1A;
    border-bottom: none;
}
#hero p {
    font-size: 1.1em;
    text-shadow: 1px 1px #3A5B1A;
}
.server-info-box {
    background-color: rgba(0,0,0,0.4);
    padding: 10px;
    margin-top: 15px;
    border: 2px solid #4A6B2A;
    display: inline-block;
}
.status-online { color: #55FF55; font-weight: bold; }
.status-offline { color: #FF5555; font-weight: bold; }

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.quick-link-box-mc { /* Minecraft stili kutu */
    background-color: #8B8B8B; /* Taş rengi */
    border: 2px solid #585858;
    box-shadow: 0 0 0 2px #373737, inset 2px 2px 0px rgba(255,255,255,0.15), inset -2px -2px 0px rgba(0,0,0,0.15);
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: #FFF;
    font-size: 1.3em;
    text-shadow: 1px 1px #373737;
    transition: background-color 0.2s, transform 0.1s;
}
.quick-link-box-mc:hover {
    background-color: #A0A0A0;
    transform: translateY(-2px);
    color: #FFFF00;
}

/* Tablolar (Oyuncu Listesi, Kasabalar vb.) */
table.minecraft-table {
    width: 100%;
    border-collapse: collapse; /* Kenarlıkları birleştir */
    margin-top: 15px;
    background-color: #C6C6C6; /* Açık taş */
}
table.minecraft-table th, table.minecraft-table td {
    border: 2px solid #585858; /* Koyu taş */
    padding: 8px 10px;
    text-align: left;
    color: #373737; /* Koyu Gri */
}
table.minecraft-table th {
    background-color: #8B8B8B; /* Gri başlık */
    color: #FFFFFF; /* Beyaz başlık yazısı */
    text-shadow: 1px 1px #373737;
    font-size: 1.1em;
}
table.minecraft-table tr:nth-child(even) td { /* Satırları ayırmak için */
    background-color: #B0B0B0; /* Biraz daha koyu taş */
}
table.minecraft-table tr:hover td {
    background-color: #96D94A; /* Vurgu için açık yeşil */
    color: #2A3C1A;
}

/* Form Elemanları (Arama kutuları, selectler) */
input[type="text"].mc-input,
select.mc-select {
    font-family: 'MinecraftFont', monospace;
    background-color: #373737; /* Koyu gri iç */
    border: 2px solid #585858;
    box-shadow: inset 2px 2px 0px #2A2A2A, inset -2px -2px 0px #707070; /* İç gölge efekti */
    color: #FFFFFF;
    padding: 8px 10px;
    font-size: 1em;
    margin-bottom: 10px;
}
input[type="text"].mc-input::placeholder {
    color: #A0A0A0;
}

/* Müzayede Evi */
#auction-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Daha küçük kartlar */
    gap: 15px;
}
.auction-item {
    background: #8B8B8B; /* Gri */
    border: 2px solid #585858;
    box-shadow: 0 0 0 2px #373737, inset 1px 1px 0px rgba(255,255,255,0.1), inset -1px -1px 0px rgba(0,0,0,0.1);
    padding: 10px;
    text-align: center;
}
.auction-item img {
    width: 48px; /* Pikselli itemler için uygun boyut */
    height: 48px;
    margin-bottom: 8px;
    background-color: rgba(0,0,0,0.2); /* Arkaplanı biraz koyulaştırır */
    border: 1px solid #373737;
}
.auction-item h4 {
    font-size: 1.1em;
    margin: 5px 0;
    color: #2A2A2A;
    text-shadow: 1px 1px #C6C6C6;
}
.auction-item p { margin: 3px 0; font-size: 0.9em; color: #4A4A4A; }
.item-price { font-weight: bold; color: #D4AF37; /* Altın benzeri */ text-shadow: 1px 1px #373737; }

/* Kurallar, Haberler, İletişim */
.content-box ul {
    list-style-image: url('../images/icons/bullet_pixel.png'); /* Pikselli madde imi, örnektir */
    padding-left: 25px;
}
.content-box ul li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.button-mc { /* Genel Minecraft butonu */
    font-family: 'MinecraftFont', monospace;
    background-color: #7B5634; /* Ahşap */
    color: #FFFFFF;
    text-decoration: none;
    padding: 10px 18px;
    border: 2px solid #5A3A1F;
    box-shadow: 0 0 0 2px #2A1D10, inset 2px 2px 0px rgba(255,255,255,0.2), inset -2px -2px 0px rgba(0,0,0,0.2);
    font-size: 1.1em;
    display: inline-block;
    cursor: pointer;
    text-shadow: 1px 1px #3F2A00;
}
.button-mc:hover {
    background-color: #9C7854;
    color: #FFFF00;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    background-color: #2A1D10; /* En koyu ahşap/toprak */
    color: #A0A0A0; /* Soluk gri */
    font-size: 0.9em;
    border-top: 3px solid #5A3A1F;
}

/* Duyarlılık - Basit */
@media(max-width: 768px){
    header h1 { font-size: 2em; }
    nav ul { flex-direction: column; align-items: center; }
    nav ul li a { width: 80%; text-align: center; margin-bottom: 5px; }
    .container { width: 95%; padding: 10px; }
    #auction-items-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}