/* 2000'ler Retro CSS Mimarisi */
body { 
    background-color: #008080; 
    color: #000000; 
    font-family: "Verdana", "Tahoma", sans-serif; 
    font-size: 14px;
    margin: 0; 
    padding: 10px 0;
    line-height: 1.5;
}

.container {
    max-width: 800px;
    width: 95%;
    margin: 0 auto;
    background-color: #ffffff;
    border: 3px outset #dddddd;
    padding: 2px;
    box-sizing: border-box;
}

header { 
    background-color: #c0c0c0; 
    border: 2px outset #ffffff;
    padding: 10px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap;
    gap: 10px;
}

nav ul { 
    display: flex; 
    list-style: none; 
    padding: 0;
    margin: 0;
    gap: 5px; 
    flex-wrap: wrap;
}

nav ul li a { 
    background-color: #c0c0c0;
    border: 2px outset #ffffff;
    color: #000000; 
    text-decoration: none; 
    padding: 4px 10px;
    font-weight: bold; 
    cursor: default;
    font-size: 12px;
    display: inline-block;
}

nav ul li a:active { 
    border-style: inset; 
    padding: 5px 9px 3px 11px; 
}

.lang-selector select {
    font-family: "Verdana", "Tahoma", sans-serif; 
    font-size: 12px;
}

main { 
    padding: 20px; 
    border: 2px inset #ffffff;
    background-color: #ffffff;
    margin-top: 5px;
    min-height: 400px;
    box-sizing: border-box;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

a { color: #0000EE; text-decoration: underline; }
a:visited { color: #551A8B; }

.forum-links { 
    margin-top: 20px; 
    padding: 10px;
    border: 1px dashed #888888;
    background-color: #f9f9f9;
}

.forum-links p {
    margin-top: 0;
}

.forum-link { 
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    text-align: center;
}

.forum-link img { 
    width: 64px; 
    height: 64px; 
    border: 1px solid #000000;
    margin-bottom: 5px;
    display: block;
    object-fit: contain;
    background-color: #ffffff;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-family: "Times New Roman", Times, serif;
    border-bottom: 1px solid #000000;
    padding-bottom: 5px;
    margin-top: 0;
    word-wrap: break-word;
}

h2, h3 {
    font-family: "Times New Roman", Times, serif;
    word-wrap: break-word;
}

.profile-img {
    float: left;
    margin: 0 15px 15px 0;
    border: 2px outset #ffffff;
    width: 150px;
    height: auto;
    max-width: 100%;
}

.retro-list {
    list-style-type: square;
    padding-left: 20px;
    margin-bottom: 15px;
    word-wrap: break-word;
}

.clear {
    clear: both;
}

/* Proje Günlükleri - Liste ve Yazı Detayı */
.log-list {
    display: none;
}

.active-log-view {
    display: block;
}

.log-card {
    width: 100%;
    text-align: left;
    display: flex;
    gap: 12px;
    align-items: stretch;
    background: linear-gradient(#ffffff, #eeeeee);
    border: 2px outset #dddddd;
    padding: 10px;
    margin-bottom: 12px;
    font-family: "Verdana", "Tahoma", sans-serif;
    color: #000000;
    cursor: default;
    box-sizing: border-box;
}

.log-card:hover {
    background: linear-gradient(#ffffff, #eeeeee);
}

.log-card:active {
    padding: 10px;
    border-style: outset;
}

.log-card-image {
    width: 150px;
    height: 95px;
    object-fit: cover;
    border: 1px solid #000000;
    background-color: #ffffff;
    flex-shrink: 0;
}

.log-card-content {
    display: block;
    min-width: 0;
}

.log-card-title {
    display: block;
    font-family: "Times New Roman", Times, serif;
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 4px;
}

.log-card-date {
    display: block;
    font-size: 12px;
    color: #333333;
    margin-bottom: 8px;
}

.log-card-desc {
    display: block;
    font-size: 13px;
    line-height: 1.4;
}

.log-detail {
    display: none;
}

.log-detail.active-log-view {
    display: block;
}

.back-button {
    background-color: #c0c0c0;
    border: 2px outset #ffffff;
    color: #000000;
    font-family: "Verdana", "Tahoma", sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.back-button:active {
    border-style: inset;
    padding: 6px 9px 4px 11px;
}

.blog-entry {
    border: 2px inset #ffffff;
    background-color: #f5f5f5;
    margin-bottom: 20px;
    padding: 0;
}

.blog-entry-header {
    background-color: #c0c0c0;
    border-bottom: 2px outset #ffffff;
    padding: 8px 10px;
}

.blog-entry-header h2 {
    font-family: "Times New Roman", Times, serif;
    font-size: 20px;
    margin: 0;
    padding: 0;
    border-bottom: none;
}

.blog-date {
    font-size: 12px;
    margin: 4px 0 0 0;
    color: #333333;
}

.blog-entry-body {
    background-color: #ffffff;
    padding: 12px;
}

.blog-entry-body h3 {
    font-family: "Times New Roman", Times, serif;
    font-size: 17px;
    margin-top: 18px;
    margin-bottom: 6px;
    border-bottom: 1px dashed #888888;
}

.blog-entry-body p {
    margin-top: 0;
    margin-bottom: 10px;
}

.log-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 10px;
    margin: 5px 0 18px 0;
}

.log-gallery figure {
    margin: 0;
    background-color: #f5f5f5;
    border: 2px outset #dddddd;
    padding: 5px;
}

.log-gallery img {
    width: 100%;
    height: 135px;
    object-fit: cover;
    display: block;
    border: 1px solid #000000;
    background-color: #ffffff;
}

.log-gallery figcaption {
    font-size: 11px;
    margin-top: 5px;
    text-align: center;
    line-height: 1.3;
}

@media screen and (max-width: 600px) {
    .profile-img {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
    }

    nav ul {
        justify-content: center;
    }

    header {
        flex-direction: column;
    }

    .forum-link {
        margin-right: 10px;
    }

    .log-card {
        display: block;
    }

    .log-card-image {
        width: 100%;
        height: 150px;
        margin-bottom: 8px;
    }

    .log-gallery {
        grid-template-columns: 1fr;
    }

    .log-gallery img {
        height: 180px;
    }
}


/* Fotoğraf Büyütme - Lightbox */
.gallery-button {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    display: block;
}

.gallery-button img {
    transition: transform 0.15s ease;
}

.gallery-button:hover img {
    transform: scale(1.02);
}

.image-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 35px 15px 20px 15px;
    background-color: rgba(0, 0, 0, 0.88);
    text-align: center;
}

.image-lightbox.active {
    display: block;
}

.image-lightbox img {
    max-width: 95%;
    max-height: 82vh;
    object-fit: contain;
    border: 3px outset #dddddd;
    background-color: #ffffff;
}

.lightbox-close {
    position: fixed;
    top: 10px;
    right: 15px;
    background-color: #c0c0c0;
    border: 2px outset #ffffff;
    color: #000000;
    font-family: "Verdana", "Tahoma", sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    padding: 4px 10px;
    cursor: pointer;
}

.lightbox-close:active {
    border-style: inset;
}

#lightbox-caption {
    color: #ffffff;
    font-size: 13px;
    margin-top: 8px;
}


/* Günlük kartı ayrı sayfa bağlantısı */
.log-card-link {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}

.log-card-link:visited {
    color: #000000;
}

.log-card-link:hover {
    background: #f5f5f5;
}

.log-card-link:active {
    border-style: inset;
}

.log-card-link .log-card-title {
    text-decoration: underline;
}

.log-card-link:hover .log-card-title {
    color: #0000EE;
}


/* Anasayfa Sayaç Alanı - Zorunlu Düzeltme */
.home-intro {
    background-color: #f9f9f9;
    border: 1px dashed #888888;
    padding: 10px;
    margin-top: 0;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 15px 0 20px 0;
}

.stat-box {
    background: linear-gradient(#ffffff, #eeeeee);
    border: 2px outset #dddddd;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    min-height: 82px;
}

.stat-number {
    display: block;
    font-family: "Times New Roman", Times, serif;
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 7px;
}

.stat-label {
    display: block;
    font-size: 12px;
    font-weight: bold;
}

@media screen and (max-width: 700px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 420px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

