/* =========================================================================
   KARİYER SAYFASI ÖZEL STİLLERİ
   ========================================================================= */

/* --- 1. HERO ALANI --- */
.career-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
    padding-top: 80px; /* Header offset */
}

.career-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    z-index: 1;
}

.career-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 2;
}

.career-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.career-label {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-size: var(--fs-small);
    font-weight: 500;
    letter-spacing: 2px;
    border-radius: 30px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.career-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.career-desc {
    font-size: 1.25rem;
    color: #a8b2d1;
    margin-bottom: 40px;
    line-height: 1.6;
}

.career-btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.career-btn-primary:hover {
    background: #e6c87a;
    transform: translateY(-3px);
}

/* --- TEXT UTILS --- */
.text-navy { color: #0a192f; }
.text-dark { color: #333; }
.text-white { color: #fff; }
.bg-light-gray { background: #f8f9fa; }
.bg-light { background: #f4f5f7; }
.max-w-700 { max-width: 700px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-5 { margin-bottom: 48px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 48px; }
.full-w { width: 100%; }
.underline { text-decoration: underline; }
.cursor-pointer { cursor: pointer; }

/* --- 2. ŞİRKET TANITIMI --- */
.career-intro {
    background: #fff;
    padding: 100px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

/* --- 3 & 5. AÇIK POZİSYONLAR --- */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.position-group-card {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 40px 32px;
    transition: var(--transition);
    border-top: 4px solid var(--color-accent);
    display: flex;
    flex-direction: column;
}

.position-group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.group-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.group-header h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: #0a192f;
    font-weight: 600;
}

.group-icon {
    width: 48px;
    height: 48px;
    background: rgba(200, 169, 110, 0.1);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.group-icon svg {
    width: 24px;
    height: 24px;
}

.group-reqs ul {
    list-style: none;
    margin-bottom: 24px;
    padding: 0;
}

.group-reqs li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.group-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.pos-tag {
    background: #f0f2f5;
    color: #0a192f;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- 4. GENEL ŞARTLAR --- */
.career-general-reqs {
    position: relative;
    background: #112240;
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
}

.reqs-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.req-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.req-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
}

.req-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.4;
    margin-bottom: 16px;
    line-height: 1;
}

.req-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.req-desc {
    color: #8892b0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- 6. FORM & CV --- */
.career-application {
    padding: 100px 0;
}

.application-form-wrapper {
    background: #fff;
    max-width: 900px;
    margin: 48px auto 0;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.form-section {
    margin-bottom: 40px;
}

.form-section-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: #0a192f;
    font-weight: 600;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.pro-form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.pro-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pro-form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.pro-form-group input,
.pro-form-group select,
.pro-form-group textarea {
    padding: 14px 18px;
    border: 1px solid #d1d5db;
    background: #fdfdfd;
    color: #333;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.pro-form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px;
}

.pro-form-group input:focus,
.pro-form-group select:focus,
.pro-form-group textarea:focus {
    border-color: #0a192f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1);
}

/* DRAG & DROP */
.drag-drop-zone {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    padding: 40px 20px;
    text-align: center;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.drag-drop-zone.drag-active {
    border-color: var(--color-accent);
    background: rgba(200, 169, 110, 0.05);
}

.drop-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.drop-text {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 8px;
}

.drop-hint {
    font-size: 0.85rem;
    color: #94a3b8;
    word-break: break-all;
}

.hidden-file-input {
    display: none;
}

/* KVKK */
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 22px;
    height: 22px;
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--color-accent);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.checkmark:after {
    content: "";
    display: none;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.kvkk-text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

/* BUTTON */
.btn-submit-pro {
    display: inline-block;
    padding: 16px 48px;
    background: #0a192f;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.btn-submit-pro:hover {
    background: var(--color-accent);
}

/* SUCCESS MODAL */
.success-message-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-box {
    background: #fff;
    padding: 50px;
    max-width: 500px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-icon {
    width: 80px; height: 80px;
    background: #2d7d46;
    color: white;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
}

.success-box h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: #0a192f;
    margin-bottom: 16px;
    font-weight: 600;
}

.success-box p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 32px;
}

.btn-outline-dark {
    padding: 12px 32px;
    background: transparent;
    border: 2px solid #0a192f;
    color: #0a192f;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-dark:hover {
    background: #0a192f;
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .career-title { font-size: 2.5rem; }
    .intro-grid { grid-template-columns: 1fr; gap: 30px; }
    .pro-form-row { flex-direction: column; gap: 16px; }
    .application-form-wrapper { padding: 30px 20px; }
}
