* {
    box-sizing: border-box;
}

:root {
    --dark: #181818;
    --muted: #717171;
    --soft: #f5f3ef;
    --line: #e6e2da;
    --white: #ffffff;
    --accent: #d5a84b;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--dark);
    background: var(--soft);
    line-height: 1.55;
}

.wrap {
    width: min(1120px, calc(100% - 32px));
    margin: auto;
}


/* =========================
   HERO / ÜST ALAN
========================= */

.hero {
    background: linear-gradient(135deg, #161616, #2b2b2b);
    color: #ffffff;
    padding: 26px 0 100px;
}

.hero-inner {
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.33);
    display: grid;
    place-items: center;
    font-size: 25px;
    font-weight: 800;
    border-radius: 14px;
    color: var(--accent);
}

.brand strong,
.brand span {
    display: block;
}

.brand strong {
    font-size: 14px;
    letter-spacing: 0.08em;
}

.brand span {
    color: #aaaaaa;
    font-size: 12px;
    margin-top: 2px;
}

.hero-copy {
    padding: 88px 0 28px;
    max-width: 720px;
}

.eyebrow,
.section-heading > span {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.14em;
    font-size: 12px;
}

h1 {
    font-size: clamp(42px, 8vw, 82px);
    line-height: 0.96;
    margin: 13px 0 24px;
    letter-spacing: -0.04em;
}

.hero-copy p {
    max-width: 620px;
    color: #c8c8c8;
    font-size: 17px;
}

.primary-btn,
.submit-btn {
    display: inline-block;
    background: var(--accent);
    color: #111111;
    text-decoration: none;
    border: 0;
    border-radius: 12px;
    padding: 15px 20px;
    font-weight: 900;
    letter-spacing: 0.03em;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.primary-btn:hover,
.submit-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}


/* =========================
   BAŞVURU FORMU
========================= */

.form-card {
    background: #ffffff;
    border-radius: 24px;
    margin: -52px auto 70px;
    padding: clamp(22px, 5vw, 48px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.07);
}

.section-heading h2 {
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.1;
    margin: 9px 0;
}

.section-heading p {
    color: var(--muted);
    margin-bottom: 30px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 7px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fbfbfa;
    border-radius: 12px;
    padding: 14px;
    font: inherit;
    outline: none;
    transition: 0.2s;
}

textarea {
    min-height: 112px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #b68a31;
    box-shadow: 0 0 0 3px rgba(213, 168, 75, 0.13);
}

input[type="file"] {
    padding: 11px;
}

.field small {
    display: block;
    color: #888888;
    margin-top: 6px;
}


/* =========================
   KVKK ONAY ALANI
========================= */

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #faf8f4;
    border: 1px solid var(--line);
    padding: 16px;
    border-radius: 12px;
    margin-top: 24px;
    font-size: 13px;
    color: #555555;
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: none;
}

.submit-btn {
    width: 100%;
    font-size: 15px;
    padding: 17px;
    margin-top: 20px;
}


/* =========================
   UYARI MESAJLARI
========================= */

.alert {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.alert.success {
    background: #e8f6ed;
    color: #176b36;
}

.alert.error {
    background: #fdecec;
    color: #9a2424;
}


/* =========================
   BAŞVURU BAŞARILI MODALI
========================= */

.success-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.72);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    z-index: 99999;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.success-modal-box {
    width: 100%;
    max-width: 520px;

    background: #ffffff;
    border-radius: 22px;

    padding: 42px 32px 32px;

    text-align: center;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.30),
        0 5px 20px rgba(0, 0, 0, 0.12);

    animation: successOpen 0.3s ease;
}


/* Başarılı Tik İşareti */

.success-icon {
    width: 72px;
    height: 72px;

    margin: 0 auto 22px;

    border-radius: 50%;

    background: var(--accent);
    color: #111111;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 38px;
    font-weight: 900;

    box-shadow: 0 8px 25px rgba(213, 168, 75, 0.30);
}


/* Modal Başlık */

.success-modal-box h2 {
    margin: 0 0 15px;

    font-size: 28px;
    line-height: 1.2;

    color: #181818;
}


/* Modal Açıklama */

.success-modal-box p {
    color: #666666;

    font-size: 15px;
    line-height: 1.7;

    margin: 0 0 14px;
}


/* Teşekkür Yazısı */

.success-modal-box .success-thanks {
    color: #333333;
    font-weight: 600;
}


/* Tamam Butonu */

.success-modal-box button {
    width: 100%;

    margin-top: 15px;
    padding: 15px;

    border: 0;
    border-radius: 12px;

    background: #181818;
    color: #ffffff;

    font-weight: 800;
    font-size: 14px;

    cursor: pointer;

    transition: all 0.2s ease;
}

.success-modal-box button:hover {
    background: #2b2b2b;
    transform: translateY(-1px);
}


/* Modal Açılma Animasyonu */

@keyframes successOpen {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================
   FOOTER
========================= */

footer {
    background: #121212;
    color: #ffffff;
    padding: 30px 0;
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

footer span {
    color: #888888;
}


/* =========================
   TABLET
========================= */

@media (max-width: 700px) {

    .hero {
        padding-bottom: 78px;
    }

    .hero-copy {
        padding-top: 60px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .form-card {
        margin-top: -35px;
        border-radius: 18px;
    }

    .wrap {
        width: min(calc(100% - 20px), 1120px);
    }

    footer .wrap {
        flex-direction: column;
    }

    .brand strong {
        font-size: 12px;
    }
}


/* =========================
   TELEFON
========================= */

@media (max-width: 600px) {

    .success-modal {
        padding: 15px;
    }

    .success-modal-box {
        padding: 32px 20px 22px;
        border-radius: 18px;
    }

    .success-modal-box h2 {
        font-size: 24px;
    }

    .success-modal-box p {
        font-size: 14px;
    }

    .success-icon {
        width: 64px;
        height: 64px;
        font-size: 32px;
        margin-bottom: 18px;
    }

    .success-modal-box button {
        padding: 14px;
    }
}


/* =========================
   ÇOK KÜÇÜK TELEFONLAR
========================= */

@media (max-width: 380px) {

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand strong {
        font-size: 11px;
    }

    .hero-copy p {
        font-size: 15px;
    }

    .form-card {
        padding: 20px 15px;
    }

    input,
    select,
    textarea {
        padding: 13px 12px;
    }
}