/* ■■■ CONTACT US SAYFASI STİLLERİ ■■■ */

/* Bu kural, arkaplan resminin body'e değil,
   sadece bu bölüme uygulanmasını sağlar. */
body {
    background-color: #0a0a0a; /* Ana arkaplan rengi (fallback) */
}

#contact-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Ekranı kaplasın */
    padding: 160px 5% 100px 5%; /* Üstten (header için) ve alttan boşluk */
    box-sizing: border-box;

    /* Arkaplan resmi */
    background-image:
        linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
        url('contact.jpg');
    background-size: cover;
    background-position: center;
}


.contact-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* Mobilde alt alta geçiş için */
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Sol Taraf: Metin */
.contact-text {
    flex: 1 1 45%; /* Alanın %45'ini alsın */
    min-width: 300px;
    color: #FFFFFF;
}

.contact-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3.5rem, 8vw, 6rem); /* Responsive büyük font */
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
}

.contact-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.75rem); /* Responsive alt başlık */
    font-weight: 400;
    margin-top: 20px;
    max-width: 400px; /* Çok uzamasın */
    opacity: 0.9;
}

/* Sağ Taraf: Form */
.contact-form-wrapper {
    flex: 1 1 45%; /* Alanın %45'ini alsın */
    min-width: 320px;
    max-width: 450px; /* Form çok genişlemesin */
    background-color: #FFFFFF;
    border-radius: 28px; /* Hily gibi çok yuvarlak */
    padding: 30px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.contact-form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Form elemanları arası boşluk */
}

/* Tüm form elemanları (input, select, textarea) */
.contact-input {
    width: 100%;
    padding: 18px 20px;
    background-color: #f4f4f4; /* Hily'deki gibi açık gri */
    border: 1px solid #f4f4f4;
    border-radius: 14px; /* Yuvarlak alanlar */
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box; /* Padding'i hesaba kat */
    transition: border-color 0.2s ease;
}

.contact-input:focus {
    outline: none;
    border-color: #AAA; /* Tıklanınca hafif belirginleşsin */
}

/* Placeholder metninin stili */
.contact-input::placeholder {
    color: #777;
}

/* Select (Dropdown) için özel ayar */
select.contact-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23555' d='m12 15.375l-6-6l.7-.7l5.3 5.3l5.3-5.3l.7.7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 1.2em;
    padding-right: 40px;
    cursor: pointer;
}

/* Mesaj kutusu ayarı */
textarea.contact-input {
    min-height: 120px;
    resize: vertical; /* Sadece dikeyde boyutlandırılsın */
}

/* Gizlilik politikası metni */
.contact-privacy {
    font-size: 0.8rem;
    color: #555;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}
.contact-privacy a {
    color: #D55335; /* Ana tema renginiz */
    text-decoration: none;
    font-weight: 600;
}
.contact-privacy a:hover {
    text-decoration: underline;
}

/* reCAPTCHA için yer tutucu */
.contact-recaptcha-placeholder {
    height: 70px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 0.9rem;
}

/* Gönder Butonu */
.contact-send-button {
    background-color: #0a0a0a; /* Siyah buton */
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px; /* Tam yuvarlak */
    padding: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact-send-button:hover {
    transform: scale(1.03); /* Hafif büyüme efekti */
    background-color: #333;
}


/* ■■■ CONTACT US RESPONSIVE STİLLERİ ■■■ */
@media (max-width: 768px) {
    #contact-hero {
        padding-top: 120px; /* Header için boşluk */
        min-height: auto; /* Yüksekliği serbest bırak */
    }

    .contact-text {
        text-align: center; /* Mobilde metin ortalansın */
    }

    .contact-text h2 {
        margin-left: auto;
        margin-right: auto; /* Alt başlığı ortala */
    }

    .contact-form-wrapper {
        max-width: 100%; /* Form tam genişlesin */
        padding: 20px;
    }
}

.contact-recaptcha-wrapper {
    display: flex;
    justify-content: center; /* Kutuyu ortalar */
    margin: 20px 0;          /* Alt ve üst boşluk */
    width: 100%;
}
/* ■■■ MOBİL DÜZENLEME - V4 (FINAL - SIFIR BOŞLUK & TAM ORTALAMA) ■■■ */
@media (max-width: 768px) {

    /* --- 1. BOŞLUKLARI YOK ETME OPERASYONU --- */
    #contact-hero {
        min-height: auto !important;
        padding-top: 100px !important;
        padding-bottom: 0 !important;
    }

    .contact-container {
        margin-bottom: 0 !important;
        gap: 20px;
    }

    .contact-form-wrapper {
        margin-bottom: 10px !important;
    }

    .footer-container {
        padding: 0 20px 40px 20px !important;
        display: flex;
        flex-direction: column;
    }

    /* --- 2. ÜST KISIM ORTALAMA --- */
    .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%;
    }

    /* --- 3. LİNKLER (2 SÜTUN) --- */
    .footer-links-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 10px;
        width: 100%;
        text-align: left;
    }

    /* --- 4. ALT KISIM (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%;
    }

    .footer-bottom-right {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .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;
    }

    .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;
    }
    /* --- DÜZELTİLEN KISIM BİTİŞ --- */

    .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;
}