/*
Theme Name: IKE Studio Custom Theme
Theme URI: https://ikestudio.com/
Author: ABDULLAH IKE
Description: Orta çağ ruhunu taşıyan premium oyun stüdyosu teması.
Version: 1.0
*/

/* GENEL AYARLAR VE KUTU RESMİ SABİTLEYİCİ */
* {
    box-sizing: border-box; /* Kutu taşmalarını (sarı uyarıları) engeller */
}

body {
    background-color: #000000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.kutu-resmi {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* 1. ÜST MENÜ VE LOGO (LOGO AŞAĞI/YUKARI KAYDIRMA) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.logo-container {
    display: flex;
    align-items: center; 
    gap: 15px;
}

.site-logo {
    height: 55px; 
    width: auto;
    display: block;
    transform: translateY(4px); /* İŞTE SİHİR BURADA: Logoyu 4 piksel aşağı itiyoruz */
}

header h1 {
    margin: 0;
    color: #ffffff;
    font-family: 'Century Gothic', 'Trebuchet MS', Arial, sans-serif;
    font-size: 28px; 
    letter-spacing: 2px;
    line-height: 1; 
    /* Yazıdaki transform kodunu tamamen sildik, artık sabit */
}
nav a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 15px;
    transition: 0.3s;
}

nav a:hover {
    color: #f2e5c0;
}

header button {
    background-color: #d5af33;
    color: #000000;
    border: none;
    padding: 10px 24px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

header button:hover {
    background-color: #f2e5c0;
}

/* ORTAK BAŞLIK TASARIMI */
.section-title {
    color: #f2e5c0;
    font-size: 32px;
    letter-spacing: 4px;
    margin-bottom: 50px;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #d5af33;
    margin-top: 10px;
}

/* 7. FOOTER VE SOSYAL MEDYA */
.site-footer {
    background-color: #0a0a0a;
    padding: 30px 60px;
    border-top: 1px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 20px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #d5af33;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    width: 24px;
    height: 24px;
    transition: 0.3s;
}

.social-icons img:hover {
    transform: scale(1.2);
}

/* =========================================
   GAMES SAYFASI ÖZEL TASARIMLARI
   ========================================= */
.main-game-showcase {
    background-image: url('chrono-bg.png'); 
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 40px 40px 40px;
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
}

.main-game-showcase::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
}

.showcase-content, .sub-title, .gallery-row {
    position: relative;
    z-index: 1;
}

.epic-title {
    color: #ffffff;
    font-size: 50px;
    letter-spacing: 5px;
    margin: 0 0 10px 0;
}

.showcase-content p {
    color: #aaaaaa;
    font-size: 18px;
    margin-bottom: 30px;
}

.showcase-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.gold-btn {
    background-color: #d5af33;
    color: #000000;
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.gold-btn:hover { background-color: #f2e5c0; }

.outline-btn {
    background-color: transparent;
    color: #d5af33;
    border: 2px solid #d5af33;
    padding: 10px 30px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.outline-btn:hover { background-color: #d5af33; color: #000000; }

.sub-title {
    color: #f2e5c0;
    letter-spacing: 2px;
    font-size: 18px;
    margin-bottom: 20px;
}

.gallery-row {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.gallery-item {
    width: 200px; height: 120px;
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    overflow: hidden;
    transition: 0.3s;
}

.gallery-item:hover {
    border-color: #d5af33;
    transform: scale(1.05);
}

.portfolio-section {
    padding: 60px 40px;
    background-color: #000000;
    text-align: center;
}

.portfolio-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap; 
    max-width: 1200px;
    margin: 0 auto;
}

.port-card {
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 10px;
    width: 260px;
    padding: 15px;
    text-align: left;
    transition: 0.3s;
}

.port-card:hover {
    border-color: #d5af33;
    transform: translateY(-5px);
}

.port-image {
    width: 100%; height: 140px;
    background-color: #1a1a1a;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
}

.port-info h4 {
    color: #ffffff;
    margin: 0 0 15px 0;
    font-size: 16px;
    letter-spacing: 1px;
}

.port-actions {
    display: flex;
    gap: 10px;
}

.play-mini-btn {
    background-color: #d5af33; color: #000000;
    border: none; padding: 6px 15px;
    font-size: 12px; font-weight: bold;
    border-radius: 15px; cursor: pointer;
}

.info-mini-btn {
    background-color: transparent; color: #aaaaaa;
    border: 1px solid #333; padding: 6px 15px;
    font-size: 12px; border-radius: 15px; cursor: pointer;
}

.info-mini-btn:hover { border-color: #d5af33; color: #d5af33; }

.available-on-section {
    padding: 40px 40px 80px 40px;
    text-align: center; background-color: #000000;
}

.store-buttons {
    display: flex; justify-content: center; gap: 20px; margin-top: 30px;
}

.store-btn {
    display: flex; align-items: center; gap: 12px;
    background-color: #0a0a0a; border: 1px solid #1a1a1a;
    padding: 12px 30px; border-radius: 15px; 
    color: #ffffff; text-decoration: none;
    font-weight: bold; font-size: 18px; transition: 0.3s;
}

.store-btn img { height: 28px; width: auto; }
.store-btn:hover {
    border-color: #d5af33; transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(213, 175, 51, 0.15); 
}

/* =========================================
   COMMUNITY (TOPLULUK) SAYFASI ÖZEL TASARIMLARI
   ========================================= */
.community-page-content {
    padding: 80px 40px; background-color: #000000;
    min-height: 60vh; display: flex;
    flex-direction: column; align-items: center;
}

.community-banner {
    background-color: #0a0a0a; border: 1px solid #1a1a1a;
    border-radius: 20px; width: 100%; max-width: 1000px;
    display: flex; justify-content: space-between;
    align-items: center; padding: 40px;
}

.discord-kendi-logom { width: 35px; height: auto; vertical-align: bottom; margin-right: 8px; }
.banner-content { text-align: center; flex: 1; }
.banner-content h2 { color: #ffffff; font-size: 28px; margin: 0 0 15px 0; letter-spacing: 1px; }
.banner-content p { color: #aaaaaa; font-size: 14px; margin-bottom: 25px; line-height: 1.6; }

.discord-btn {
    background-color: #d5af33; color: #000000; border: none;
    padding: 12px 30px; font-size: 16px; font-weight: bold;
    border-radius: 20px; cursor: pointer; transition: 0.3s;
}
.discord-btn:hover { background-color: #f2e5c0; }

.banner-images { display: flex; gap: 10px; }
.placeholder-img { width: 80px; height: 80px; background-color: #1a1a1a; border-radius: 10px; }

/* =========================================
   BLOG SAYFASI ÖZEL TASARIMLARI
   ========================================= */
.blog-header {
    background-color: #0a0a0a; padding: 60px 40px;
    text-align: center; border-bottom: 1px solid #1a1a1a;
}

.blog-header p { color: #aaaaaa; font-size: 18px; }

.blog-content-section {
    padding: 60px 40px; background-color: #000000;
    display: flex; flex-direction: column; align-items: center;
}

.featured-post {
    display: flex; background-color: #0a0a0a;
    border: 1px solid #1a1a1a; border-radius: 15px;
    width: 100%; max-width: 1000px; overflow: hidden;
    margin-bottom: 50px; transition: 0.3s;
}

.featured-post:hover { border-color: #d5af33; }

.featured-image { width: 50%; background-color: #1a1a1a; }

.featured-text {
    width: 50%; padding: 40px;
    display: flex; flex-direction: column;
    justify-content: center; align-items: flex-start;
}

.featured-text h3 { color: #ffffff; font-size: 28px; margin: 10px 0; }
.featured-text p { color: #aaaaaa; font-size: 15px; line-height: 1.6; margin-bottom: 25px; }

.post-grid {
    display: flex; justify-content: center; gap: 30px;
    max-width: 1000px; flex-wrap: wrap;
}

.post-card {
    background-color: #0a0a0a; border: 1px solid #1a1a1a;
    border-radius: 10px; width: 310px; overflow: hidden; transition: 0.3s;
}

.post-card:hover { transform: translateY(-5px); border-color: #d5af33; }
.post-image { width: 100%; height: 180px; background-color: #1a1a1a; }
.post-card-content { padding: 25px; }
.post-card-content h4 { color: #ffffff; font-size: 18px; margin: 10px 0; }
.post-card-content p { color: #aaaaaa; font-size: 14px; line-height: 1.5; margin-bottom: 20px; }

.post-date { color: #d5af33; font-weight: bold; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

.read-more-link {
    color: #d5af33; text-decoration: none;
    font-size: 14px; font-weight: bold; transition: 0.3s;
}
.read-more-link:hover { color: #ffffff; }

/* =========================================
   ABOUT (HAKKIMIZDA) SAYFASI ÖZEL TASARIMLARI
   ========================================= */
.about-section { padding: 60px 40px; background-color: #000000; }

.about-grid-container {
    display: flex; flex-wrap: wrap; gap: 40px;
    width: 100%; max-width: 1200px; margin: 0 auto;
}

.about-left-column {
    flex: 1; min-width: 300px; display: flex;
    flex-direction: column; gap: 30px;
}

.about-right-column {
    flex: 2; min-width: 400px; display: flex;
    flex-direction: column; gap: 30px;
}

.about-card {
    background-color: #0a0a0a; border: 1px solid #1a1a1a;
    border-radius: 15px; padding: 30px; transition: 0.3s;
}

.about-card:hover { border-color: #d5af33; }

.about-sub-title {
    color: #f2e5c0; text-align: center; letter-spacing: 2px;
    margin-top: 0; margin-bottom: 25px; font-size: 22px;
}

.story-image {
    width: 100%; height: 250px; background-color: #1a1a1a;
    border-radius: 10px; margin-bottom: 20px; overflow: hidden;
}

.story-card h4 { color: #ffffff; font-size: 18px; margin-bottom: 10px; }
.story-card p { color: #aaaaaa; font-size: 15px; line-height: 1.6; margin: 0; }

.team-grid { display: flex; justify-content: center; gap: 20px; }

.team-member {
    background-color: #121212; border: 1px solid #333;
    border-radius: 10px; width: 200px; overflow: hidden; text-align: center;
}

.member-image { width: 100%; height: 200px; background-color: #1a1a1a; }
.member-info { padding: 15px; }
.member-info h5 { color: #ffffff; margin: 0 0 5px 0; font-size: 16px; }
.member-role { color: #aaaaaa; font-size: 13px; margin-bottom: 15px; }

.tag { font-size: 11px; font-weight: bold; padding: 4px 10px; border-radius: 15px; border: 1px solid; }
.tech-tag { color: #d5af33; border-color: #d5af33; }
.creative-tag { color: #f2e5c0; border-color: #f2e5c0; }

.mvv-card, .contact-card { width: 100%; }

.mvv-grid { display: flex; justify-content: space-between; gap: 15px; }

.mvv-item {
    background-color: #121212; border: 1px solid #333;
    border-radius: 10px; padding: 20px 15px;
    text-align: center; flex: 1;
}

.mvv-icon { font-size: 30px; display: block; margin-bottom: 10px; }
.mvv-item h6 { color: #d5af33; font-size: 16px; margin: 0 0 10px 0; }
.mvv-item p { color: #aaaaaa; font-size: 13px; line-height: 1.5; margin: 0; }

.contact-links-grid { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 15px; }

.contact-box, .partnership-box {
    background-color: #121212; border: 1px solid #333;
    border-radius: 10px; padding: 20px; text-align: center; flex: 1;
}

.contact-icon { font-size: 24px; margin-bottom: 10px; display: block; }
.contact-box h6, .partnership-box h6 { color: #ffffff; margin: 0 0 10px 0; font-size: 15px; }
.contact-box a, .partnership-box a { color: #d5af33; text-decoration: none; font-size: 14px; font-weight: bold; }
.partnership-box p { color: #aaaaaa; font-size: 13px; margin: 0 0 10px 0; }

.join-image { display: flex; justify-content: center; align-items: center; background-color: #000000; }

.apply-tag {
    color: #000000; background-color: #d5af33;
    border-color: #d5af33; display: inline-block; transition: 0.3s;
}
.apply-tag:hover { background-color: #f2e5c0; border-color: #f2e5c0; }

/* ==========================================
   POPUP (GİZLİ KUTU) VE WP LOGIN ÖZEL AYARLARI
   ========================================== */
.popup-overlay {
    display: none; 
    position: fixed; 
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); 
    z-index: 99999; 
    justify-content: center; 
    align-items: center; 
}

.popup-content {
    background: #0a0a0a; 
    border: 2px solid #d5af33; 
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    color: #ffffff;
    box-shadow: 0px 0px 25px rgba(213, 175, 51, 0.3);
}

.popup-content h3 {
    text-align: center; color: #d5af33;
    margin-bottom: 25px; font-family: sans-serif; letter-spacing: 1px;
}

.close-btn {
    position: absolute; top: 15px; right: 20px;
    color: #ffffff; font-size: 28px; cursor: pointer; transition: color 0.2s;
}
.close-btn:hover { color: #d5af33; }

#loginPopup input[type="text"], 
#loginPopup input[type="password"] {
    width: 100%; padding: 12px; margin-bottom: 20px;
    background: #111111; border: 1px solid #333333; color: #ffffff; border-radius: 5px;
}

#loginPopup input[type="submit"] {
    width: 100%; padding: 12px; background: #d5af33; color: #000000; border: none; font-weight: bold; border-radius: 30px; cursor: pointer;
}
#loginPopup input[type="submit"]:hover { background: #ffe37a; }

/* CV POPUP - ORTADA AÇILAN KUTU (KESİN ÇÖZÜM) */
#cvPopup {
    justify-content: center !important;
    align-items: center !important;
}

#cvPopup .popup-content {
    max-width: 400px !important;
    width: 90% !important;
    height: auto !important;
    border-radius: 15px !important;
    border: 2px solid #d5af33 !important;
    animation: none !important;
    margin: auto !important;
}

/* OYUN DETAY SAYFASI ÖZEL MAKJAJI */
.game-detail-grid {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.game-main-info {
    flex: 2;
    min-width: 300px;
}
.game-side-meta {
    flex: 1;
    min-width: 280px;
}
.game-meta-box {
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}
.game-meta-box h4 {
    color: #d5af33;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    letter-spacing: 1px;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 8px;
}
.game-meta-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}
.game-meta-label { color: #888888; }
.game-meta-value { color: #ffffff; font-weight: bold; }
.game-feature-list {
    list-style: none;
    padding: 0;
}
.game-feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #cccccc;
    font-size: 15px;
}
.game-feature-list li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: #d5af33;
}
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.screenshot-item {
    border-radius: 8px;
    border: 1px solid #222;
    overflow: hidden;
    transition: 0.3s;
    height: 140px;
}
.screenshot-item:hover { border-color: #d5af33; transform: scale(1.02); }