/* --- GENEL AYARLAR --- */
html {
    scroll-behavior: smooth;
}

.premium-hub-section {
    width: 100%;
    height: 100vh;
    display: flex;
    background-color: #fff;
    overflow: hidden;
}

.hub-container { display: flex; width: 100%; height: 100%; }

/* --- SOL: FORM ALANI --- */
.hub-main {
    flex: 1;
    background: #fff;
    padding: 60px 8%;
    display: flex;
    align-items: center;
    position: relative;
}

.hub-pane { display: none; width: 100%; animation: hubIn 0.5s ease-out; }
.hub-pane.active { display: block; }

@keyframes hubIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- SAĞ: %50 / %50 SİDEBAR --- */
.hub-sidebar {
    width: 350px;
    background: var(--primary-dark); /* #37474f */
}

.hub-nav {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nav-item {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 20px;
}

.nav-content-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.nav-item.active { background: rgba(255,255,255,0.08); position: relative; }
.nav-item.active::before {
    content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 6px; 
    background: var(--primary-gold); /* #cea06b */
}

.nav-icon { font-size: 3rem; color: #fff; opacity: 0.3; transition: 0.3s; }
.nav-item.active .nav-icon { color: var(--primary-gold); opacity: 1; transform: scale(1.1); }

.nav-info strong { display: block; color: #fff; font-size: 1.2rem; letter-spacing: 1px; margin-top: 5px; }
.nav-info span { color: rgba(255,255,255,0.4); font-size: 0.9rem; text-transform: uppercase; }

/* --- FORM ELEMANLARI --- */
.hub-tag { color: var(--primary-gold); font-weight: 800; font-size: 0.85rem; letter-spacing: 2px; }
.pane-header h1 { font-size: 3rem; color: var(--primary-dark); margin: 10px 0; font-weight: 900; }

.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }

.field-wrapper { position: relative; margin-top: 30px; }
.field-wrapper input, .field-wrapper select, .field-wrapper textarea {
    width: 100%; padding: 12px 0; border: none; border-bottom: 2px solid #eee;
    background: transparent; outline: none; font-size: 1.1rem; font-family: inherit;
    display: block; color: var(--primary-dark);
}

.field-wrapper label {
    position: absolute; left: 0; top: 12px; color: #aaa; 
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none;
}

/* Yüzen Etiketler */
input:focus ~ label, input:not(:placeholder-shown) ~ label,
select:focus ~ label, select:valid ~ label,
textarea:focus ~ label, textarea:not(:placeholder-shown) ~ label {
    top: -20px; font-size: 0.85rem; color: var(--primary-gold); font-weight: 700;
}

.field-wrapper.textarea-group { margin-top: 45px; }
.field-wrapper.textarea-group textarea { min-height: 100px; resize: none; }

.indicator { 
    position: absolute; bottom: 0; left: 0; width: 0; height: 2px; 
    background: var(--primary-gold); transition: 0.4s; 
}
input:focus ~ .indicator, textarea:focus ~ .indicator { width: 100%; }

/* Buton ve Büyütülmüş İkonlar */
.hub-btn-primary {
    width: 100%; margin-top: 40px; padding: 22px; 
    background: var(--primary-dark); color: #fff;
    border: none; border-radius: 6px; font-weight: 800; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: background 0.3s;
}

.hub-btn-primary i {
    font-size: 1.8rem;
    transition: transform 0.3s;
}

.hub-btn-primary:hover { background: #263238; }
.hub-btn-primary:hover i { transform: translateX(5px); }

/* --- hub-responsive.css Güncellemesi --- */
@media (max-width: 992px) {
    .premium-hub-section { 
        height: auto; 
        min-height: 100vh; 
    }

    /* flex-direction: column-reverse; olan yeri column yapıyoruz */
    .hub-container { 
        display: flex;
        flex-direction: column; /* Butonları (sidebar) formun üstüne taşır */
    }

    .hub-sidebar { 
        width: 100%; 
        height: auto; 
        background: var(--primary-dark);
        order: 1; /* Sidebar en üstte görünsün */
    }

    .hub-main {
        order: 2; /* Form (main) altta görünsün */
        padding: 40px 20px; 
    }

    .hub-nav { 
        flex-direction: row; 
    }

    .nav-item { 
        padding: 20px 10px; 
        border-bottom: none; 
        border-right: 1px solid rgba(255,255,255,0.05); 
    }

    /* E-Posta Butonu Kilit Efekti */
    #nav-btn-mail {
        opacity: 0.4;
        filter: grayscale(1);
        pointer-events: none; /* Tıklanmasını tamamen engeller */
        position: relative;
    }

    /* Kilit İkonu (FontAwesome gereklidir) */
    #nav-btn-mail::after {
        content: '\f023'; 
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 10px;
        right: 10px;
        color: #fff;
        background: var(--primary-gold);
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
    }
}