/* ======================================= */
/* SYNC PROJECT - TEMEL STİL DOSYASI (V1) */
/* ======================================= */

/* Genel Stil Resetleme ve Font */
:root {
    --primary-color: #5865F2; /* Discord Mavisi */
    --secondary-color: #2C2F33; /* Koyu Gri (Arka Plan) */
    --text-color: #FFFFFF;
    --light-text-color: #B9BBBE;
    --card-bg: #1E2124; /* Kart Arka Planı */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ========================= */
/* NAVİGASYON VE HEADER */
/* ========================= */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #23272A; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: var(--light-text-color);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--text-color);
}

/* BUTONLAR (Genel) */
.btn-discord {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-discord i {
    margin-right: 8px;
}

.btn-discord:hover {
    background-color: #4752C4; 
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.btn-primary:hover {
    background-color: #4752C4;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1em;
}

/* ========================= */
/* HERO SECTION (Ana Tanıtım) */
/* ========================= */
.hero {
    padding: 100px 5%;
    text-align: center;
    background: radial-gradient(circle, #2C2F33 0%, #1E2124 100%);
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--light-text-color);
}

.cta-buttons a {
    text-decoration: none;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 8px;
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.2s;
}

.cta-buttons a:hover {
    transform: translateY(-3px);
}

/* ========================= */
/* ÖZELLİKLER SECTION */
/* ========================= */
.features {
    padding: 80px 5%;
    text-align: center;
}

.features h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.feature-card i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--light-text-color);
}

/* ========================= */
/* WIKI LİSTELEME SAYFASI STİLLERİ */
/* ========================= */
.wiki-listing {
    padding: 80px 0;
}

.wiki-listing h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 10px;
}

.wiki-listing .subtitle {
    text-align: center;
    color: var(--light-text-color);
    margin-bottom: 40px;
    font-size: 1.1em;
}

/* KONTROL ÇUBUĞU */
.wiki-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.search-bar, .category-select {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--card-bg);
    color: var(--text-color);
    font-size: 1em;
    width: 300px;
}

.search-bar::placeholder {
    color: var(--light-text-color);
}

/* ÜRÜN KARTLARI */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid var(--primary-color);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.product-icon {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.product-tag {
    display: inline-block;
    background-color: #36393f;
    color: var(--light-text-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    margin-bottom: 15px;
}

.btn-wiki-detail {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.btn-wiki-detail:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}


/* ================================= */
/* WIKI DETAY SAYFASI STİLLERİ */
/* ================================= */

.wiki-detail {
    padding: 50px 0 80px 0;
}

.wiki-detail h1.product-title {
    font-size: 3em;
    text-align: center;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.wiki-detail .product-tagline {
    text-align: center;
    color: var(--light-text-color);
    font-size: 1.2em;
    margin-bottom: 40px;
}

.detail-layout {
    display: flex;
    gap: 40px;
}

/* Sol Sidebar - İçindekiler (TOC) */
.toc-sidebar {
    flex: 0 0 250px;
    position: sticky;
    top: 100px; 
    height: fit-content;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #36393f;
}

.toc-sidebar h2 {
    font-size: 1.4em;
    border-bottom: 1px solid #36393f;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.toc-list {
    list-style: none;
    padding-left: 0;
}

.toc-list li a {
    display: block;
    padding: 8px 0;
    color: var(--light-text-color);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95em;
}

.toc-list li a:hover {
    color: var(--primary-color);
}

/* Sağ İçerik Alanı */
.wiki-content {
    flex-grow: 1;
    max-width: 850px; 
}

.wiki-content h2 {
    font-size: 2em;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin: 40px 0 20px 0;
}

.wiki-content p, .wiki-content li {
    color: var(--light-text-color);
    margin-bottom: 10px;
}

.wiki-content ol, .wiki-content ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

/* Küçük Özellik Kartları */
.feature-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.card-small {
    background-color: #36393f;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
}

.card-small i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Kod Blokları */
.code-block-container {
    background-color: #23272A;
    border: 1px solid #36393f;
    border-radius: 8px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.code-label {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 5px 10px;
    border-bottom-left-radius: 8px;
    font-size: 0.8em;
    font-weight: 600;
}

pre {
    margin: 0;
    padding: 20px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace; 
    font-size: 0.9em;
}

code {
    color: #4CAF50; 
}

.code-description {
    background-color: #36393f;
    padding: 10px 20px;
    margin: 0;
    font-size: 0.9em;
    color: #B9BBBE;
    border-top: 1px solid #23272A;
}

/* SSS (Details/Summary) */
.faq-item {
    background-color: var(--card-bg);
    border: 1px solid #36393f;
    border-radius: 5px;
    margin-bottom: 10px;
}

.faq-item summary {
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none; 
    position: relative;
}

.faq-item summary::after {
    content: '\25B6'; 
    position: absolute;
    right: 15px;
    transition: transform 0.2s;
    color: var(--primary-color);
}

.faq-item[open] summary::after {
    content: '\25BC'; 
}

.faq-item p {
    padding: 10px 15px 15px 15px;
    border-top: 1px solid #36393f;
    margin-bottom: 0;
}

/* Changelog */
.changelog-list {
    list-style-type: disc;
    padding-left: 25px;
}

.changelog-list li {
    margin-bottom: 8px;
    color: var(--light-text-color);
}

/* Satın Alma Butonu (Sticky) */
.buy-sticky-btn {
    display: block;
    margin-top: 25px;
    text-align: center;
}

/* ========================= */
/* HAKKIMIZDA SAYFASI STİLLERİ */
/* ========================= */

.about-us {
    padding: 80px 0;
}

.about-us h1 {
    font-size: 3em;
    text-align: center;
    margin-bottom: 10px;
}

.about-us .subtitle {
    text-align: center;
    color: var(--light-text-color);
    margin-bottom: 60px;
    font-size: 1.1em;
}

.mission-vision {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.card-mission {
    flex: 1;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border-right: 5px solid var(--primary-color);
    transition: box-shadow 0.3s;
}

.card-mission:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.card-mission i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-mission h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
}

.card-mission p {
    color: var(--light-text-color);
}

.separator {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--primary-color), rgba(0, 0, 0, 0));
    margin: 60px 0;
}

.team-values h2 {
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
}

.team-values ul {
    list-style: none;
    padding-left: 0;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.team-values ul li {
    background-color: #23272A;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    color: var(--light-text-color);
    transition: background-color 0.3s;
}

.team-values ul li:hover {
    background-color: #36393f;
}

.team-values ul li i {
    color: #4CAF50; 
    margin-right: 15px;
    font-size: 1.2em;
}

.cta-bottom {
    text-align: center;
    padding: 40px 0;
}

.cta-bottom h3 {
    font-size: 2em;
    margin-bottom: 30px;
}

/* ========================= */
/* FOOTER */
/* ========================= */
footer {
    background-color: #23272A;
    padding: 30px 5%;
    text-align: center;
    border-top: 1px solid #36393f;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 0;
    color: var(--light-text-color);
}

.social-links a {
    color: var(--light-text-color);
    font-size: 1.5em;
    margin-left: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}


/* ========================= */
/* RESPONSIVE AYARLAR (Genel) */
/* ========================= */
@media (max-width: 992px) {
    /* Wiki Detay Düzenlemesi */
    .detail-layout {
        flex-direction: column;
    }
    .toc-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 30px;
    }
    .wiki-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        text-align: center;
    }
    nav {
        margin: 15px 0;
    }
    nav ul {
        justify-content: center;
        padding: 0;
    }
    nav ul li {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1em;
    }
    .cta-buttons a {
        display: block;
        margin: 10px 0;
    }
    .footer-content {
        flex-direction: column;
    }
    .social-links {
        margin-top: 15px;
    }
    
    /* Responsive Wiki Kontrolleri */
    .wiki-controls {
        flex-direction: column;
        align-items: center;
    }
    .search-bar, .category-select {
        width: 100%;
        max-width: 350px;
    }
    
    /* Responsive Hakkımızda */
    .mission-vision {
        flex-direction: column;
    }
    .about-us h1 {
        font-size: 2.5em;
    }
    .cta-bottom h3 {
        font-size: 1.5em;
    }
}