/* ==================== GENEL VE HTML/BODY STİLLERİ ==================== */
body {  
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0; 
    padding: 0;
    background-color: #ffc45c; /* CANLI TURUNCU/SARI TEMA GERİ GELDİ */
    color: #1e1e1e;
    transition: background-color 0.3s;
}
h1 {  
    color: #1e1e1e;
    margin: 0; 
    width: fit-content;
    border-bottom: 3px solid #1e1e1e;
    padding-bottom: 5px;
}
.header-with-button {
    display: flex; /* H1 ve butonu yan yana getir */
    align-items: center; /* Dikeyde hizala */
    justify-content: center; /* Yatayda ortala */
    margin-top: 40px; 
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}
.hidden-page {
    display: none !important;
}
.warning-text {
    text-align: center;
    color: #ff5555; 
    font-weight: bold;
    margin-top: 20px;
}
/* ==================== NAVİGASYON ÇUBUĞU STİLLERİ ==================== */
#main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 10px 0;
}
#main-nav nav {
    display: flex;
    gap: 15px;
}
.nav-btn {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 20px;
    background-color: #925C1F; /* KOYU KAHVERENGİ BUTONLAR GERİ GELDİ */
    border-radius: 5px;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.nav-btn:hover {
    background-color: #6d4416;
}
/* SEÇİLİ BUTON VURGUSU */
.active-nav-btn {
    background-color: #6d4416; 
    transform: scale(1.05); 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); 
}

/* ==================== LABORATUVAR ALANI (IFRAME VE BUTON) STİLLERİ ==================== */

/* YENİ TAM EKRAN BUTONU STİLİ */
#fullscreen-btn {
    padding: 8px 15px;
    background-color: #3498db; /* Mavi Buton */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s, transform 0.1s;
    margin-left: 20px;
}

/* IFRAME STİLİ */
#desktop-klone-iframe {
    width: 100%;
    min-height: 700px; 
    border: 3px solid #6d4416;
    border-radius: 10px;
    margin-top: 20px;
    display: block;
}

#fullscreen-btn:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

/* ==================== BLOG VE SÖZLÜK IZGARASI STİLİ ==================== */
#content-area { padding: 20px; max-width: 1200px; margin: 0 auto; }
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
    list-style: none;
    padding: 0;
}
.content-grid li {
    background-color: #925C1F; 
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
    min-height: 100px;
    position: relative;
}
.content-grid a { 
    text-decoration: none; 
    color: #FFFFFF; 
    font-weight: bold; 
    display: flex; 
    flex-direction: column; 
    padding: 15px;
    height: 100%; 
    box-sizing: border-box;
    line-height: 1.4;
}
.content-grid li:hover { 
    background-color: #a06e33;
    transform: translateY(-5px);
    cursor: pointer;
}

/* BLOG KONU ETİKETİ STİLLERİ */
.post-tag {
    display: inline-block;
    padding: 2px 6px;
    margin-top: 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    align-self: flex-start; 
}
.tag-duyuru { background-color: #e74c3c; } 
.tag-proje { background-color: #2ecc71; } 
.tag-genel { background-color: #3498db; } 


/* ==================== SÖZLÜK VE MODAL STİLLERİ ==================== */
#sozluk-content { padding: 20px; line-height: 1.6; }
#sozluk-content h2 { 
    color: #6d4416; 
    border-bottom: 2px solid #6d4416; 
    padding-bottom: 5px; 
    margin-top: 30px; 
}
.hidden-modal { display: none; }
#blog-content-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95); z-index: 1000;
    overflow-y: auto; padding: 40px 0;
}
#blog-content-header {
    max-width: 800px; margin: 0 auto; display: flex;
    justify-content: space-between; align-items: center;
    padding: 0 20px; color: #ffc45c; 
}
#blog-content { 
    margin-top: 10px; padding: 20px; background-color: #252526; 
    color: #E0E0E0; max-width: 800px; margin-left: auto;
    margin-right: auto; border-radius: 5px;
}
#close-post-btn {
    background-color: transparent; color: #ffc45c;
    border: 2px solid #ffc45c; border-radius: 5px;
    font-size: 20px; cursor: pointer; padding: 5px 10px;
    transition: background-color 0.2s;
}
#close-post-btn:hover {
    background-color: #ffc45c; color: black;
}
#blog-content code {
    background-color: #3a3a3a; color: #FFCC66;
    padding: 2px 4px; border-radius: 3px;
}
#blog-content pre {
    background-color: #000000; padding: 10px;
    overflow-x: auto; border-radius: 4px; color: #d4d4d4;
}
