/* ■■■ SUPPORT SAYFASI STİLLERİ ■■■ */

body {
    background-color: #0a0a0a;
}

/* 1. Hero (Başlık ve Arama) */
.support-hero {
    position: relative;
    /* Görseli ve üzerindeki karartmayı (overlay) burada tanımlıyoruz */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('support.jpg');

    /* Görselin tüm alanı kaplaması için kritik kod */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Yüksekliği artırıyoruz ki görsel kendini göstersin (Contact sayfası gibi) */
    padding: 180px 5% 140px 5%;

    text-align: center;
    border-bottom: 1px solid #222;
}

.support-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.support-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #FFFFFF;
    margin: 0 0 30px 0;
}

.support-search-bar {
    position: relative;
}

.support-search-bar input[type="search"] {
    width: 100%;
    padding: 20px 60px 20px 25px; /* Buton için sağda boşluk */
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 50px; /* Tam yuvarlak */
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    box-sizing: border-box; /* Önemli */
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.support-search-bar input[type="search"]:focus {
    outline: none;
    background-color: #111;
    border-color: #D55335; /* Ana renkle vurgu */
}

.support-search-bar input[type="search"]::placeholder {
    color: #777;
}

.support-search-bar button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: #D55335; /* Ana renk */
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: background-color 0.2s ease;
}

.support-search-bar button:hover {
    background-color: #b04021;
}

/* 2. FAQ Listesi */
.support-faq {
    max-width: 900px;
    margin: 60px auto 100px;
    padding: 0 5%;
    box-sizing: border-box;
}

.faq-category {
    margin-bottom: 50px;
}

.faq-category h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

/* 3. Akordeon (Açılır-Kapanır Soru) */
.faq-item {
    background-color: #050505; /* Arkaplandan bir ton koyu */
    border: 1px solid #222;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: background-color 0.2s ease;
}

.faq-item[open] {
    background-color: #101010;
}

.faq-question {
    display: block; /* 'summary' etiketinin varsayılanını ezer */
    position: relative;
    padding: 22px 55px 22px 25px; /* İkon için sağda boşluk */
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    list-style: none; /* Varsayılan üçgeni kaldır */
}

/* Webkit tarayıcılar için ekstra gizleme (Safari) */
.faq-question::-webkit-details-marker {
    display: none;
}

/* Artı/Eksi İkonu */
.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 300;
    color: #888;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
    content: '−'; /* Eksi işareti */
    transform: translateY(-50%);
}

/* Cevap Kutusu */
.faq-answer {
    padding: 0px 25px 25px 25px;
    color: #b0b0b0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-answer p {
    margin: 0;
}

.faq-answer a {
    color: #D55335;
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ■■■ SUPPORT RESPONSIVE STİLLERİ ■■■ */
@media (max-width: 768px) {
    .support-hero h1 {
        font-size: 2.2rem;
    }

    .faq-category h2 {
        font-size: 1.8rem;
    }

    .faq-question {
        font-size: 1rem;
        padding-right: 45px;
    }

    .faq-question::after {
        right: 20px;
    }
}
/* ■■■ MOBİL DÜZENLEME (SUPPORT) - V4 (SIFIR BOŞLUK & TAM ORTALAMA) ■■■ */
@media (max-width: 768px) {

    /* --- 1. MEVCUT SUPPORT İNCE AYARLARI --- */
    .support-hero h1 {
        font-size: 2.2rem;
    }

    .faq-category h2 {
        font-size: 1.8rem;
    }

    .faq-question {
        font-size: 1rem;
        padding-right: 45px;
    }

    .faq-question::after {
        right: 20px;
    }

    /* --- 2. BOŞLUK SİLME (Gap Removal) - Support'a Özel --- */
    .support-faq {
        /* Normalde margin-bottom: 100px vardı, onu sıfırlıyoruz */
        margin-bottom: 10px !important;
    }

    /* Footer'ın üstünden de boşluğu alıyoruz */
    .footer-container {
        padding: 0 20px 40px 20px !important; /* Üst padding 0 */
        display: flex;
        flex-direction: column;
    }

    /* --- 3. FOOTER HİZALAMA (Contact ile Birebir Aynı) --- */

    /* Üst Kısım */
    .footer-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        width: 100%;
    }

    .footer-brand {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        margin-top: 0 !important;
        border: none;
    }

    .footer-logo {
        width: 100%;
        text-align: center;
    }

    .footer-language {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
        width: 100%;
    }

    /* Linkler (2 Sütun) */
    .footer-links-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 10px;
        width: 100%;
        text-align: left;
    }

    /* Alt Kısım (Copyright & Store) */
    .footer-bottom {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
        margin-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 20px;
        width: 100%;
    }

    /* Store Butonlarını Yan Yana ve Ortada Tut */
    .footer-bottom-right {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    /* Copyright Yazısı ve İkonlar */
    .footer-bottom-left {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        justify-content: center;
        text-align: center !important;
        width: 100%;
    }

    .footer-copy {
        text-align: center !important;
        width: 100% !important;
        display: block;
        margin: 0 auto;
    }

    .footer-social-icons {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 15px;
    }
}

/* ■■■ MOBİL NAVİGASYON - HINGE STYLE (FULL SCREEN) ■■■ */

/* 1. Hamburger Butonu */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 9999;
    transition: all 0.3s ease;
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

/* 2. Mobil Menü Düzeni */
@media (max-width: 768px) {

    .nav-mobile-toggle {
        display: flex;
        margin-left: 15px;
    }

    .nav-mobile-toggle.is-open {
        position: fixed;
        top: 28px;
        left: 5%;
        right: auto;
        transform: none;
    }

    /* Full Ekran Kapsayıcı */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #0a0a0a;

        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;

        padding: 120px 25px 40px 25px;
        box-sizing: border-box;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 9990;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Link Stilleri */
    .nav-links a {
        display: block;
        width: 100%;
        font-family: 'Times New Roman', serif; /* Hinge Style Serif Font */
        font-size: 2.5rem;
        font-weight: 700;
        color: #ffffff;
        text-decoration: none;
        line-height: 1.2;

        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);

        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
    }

    .nav-links a:last-of-type {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-links a:hover {
        color: #cccccc;
    }

    /* Club Link (Özel) */
    .nav-club-link {
        margin-top: 0 !important;
        /* --- BURADA DEĞİŞİKLİK YAPILDI --- */
        padding-top: 2px !important;    /* Eskisi 20px - Kısıldı */
        padding-bottom: 2px !important; /* Eskisi 20px - Kısıldı */
        border-top: none !important;
    }

    /* --- DÜZELTİLEN KISIM BAŞLANGIÇ --- */
    .nav-club-link .club-logo-wrapper {
        width: 100px;    /* Logoyu büyütmek için artırdık */
        max-width: 100%;
        filter: none;    /* Orijinal renkler */
        opacity: 1;
        display: block;
        margin-top: 5px;
    }

    /* Resmin kendisine zorla boyut veriyoruz ki wrapper'ı doldursun */
    .nav-club-link .club-logo-wrapper img {
        width: 100% !important;  /* Wrapper ne kadarsa o kadar olsun */
        height: auto !important; /* Orantıyı koru */
        max-height: none !important; /* Yükseklik kısıtlamasını kaldır */
        display: block;
    }

    .nav-links.is-open a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.is-open a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.is-open a:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.is-open a:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.is-open a:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.is-open a:nth-child(5) { transition-delay: 0.3s; }

    .nav-mobile-toggle.is-open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-mobile-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }
    .nav-mobile-toggle.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

body.menu-open {
    overflow: hidden;
}