:root {
    --contact-background: #f7f5f1;
    --contact-card: #ffffff;
    --contact-text: #181613;
    --contact-muted: #77716a;
    --contact-border: rgba(24, 22, 19, 0.13);
    --contact-dark: #211e1a;
    --contact-accent: #a68b69;
    --contact-soft: #ece7df;
    --contact-error: #b54242;
    --contact-success: #3c7151;
}

/* =====================================================
   GENEL
===================================================== */

.contact-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =====================================================
   HERO
===================================================== */

.contact-hero {
    padding: 145px 0 90px;
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(166, 139, 105, 0.2),
            transparent 38%
        ),
        var(--contact-background);
    border-bottom: 1px solid var(--contact-border);
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 40px;
    color: var(--contact-muted);
    font-size: 13px;
}

.contact-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-breadcrumb a:hover {
    color: var(--contact-text);
}

.contact-breadcrumb i {
    font-size: 8px;
}

.contact-eyebrow,
.contact-info-heading > span,
.contact-form-heading > span {
    display: inline-block;
    margin-bottom: 17px;
    color: var(--contact-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.contact-hero h1 {
    max-width: 850px;
    margin: 0;
    color: var(--contact-text);
    font-family: "DM Serif Display", serif;
    font-size: clamp(50px, 7vw, 86px);
    font-weight: 400;
    line-height: 1;
}

.contact-hero p {
    max-width: 680px;
    margin: 27px 0 0;
    color: var(--contact-muted);
    font-size: 18px;
    line-height: 1.8;
}

/* =====================================================
   İLETİŞİM ALANI
===================================================== */

.contact-section {
    padding: 100px 0;
    background: var(--contact-background);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.4fr);
    gap: 75px;
    align-items: start;
}

.contact-information {
    position: sticky;
    top: 110px;
}

.contact-info-heading h2,
.contact-form-heading h2 {
    margin: 0 0 17px;
    color: var(--contact-text);
    font-family: "DM Serif Display", serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.08;
}

.contact-info-heading p,
.contact-form-heading p {
    margin: 0;
    color: var(--contact-muted);
    line-height: 1.8;
}

.contact-info-list {
    margin-top: 45px;
    border-top: 1px solid var(--contact-border);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 23px 0;
    color: var(--contact-text);
    text-decoration: none;
    border-bottom: 1px solid var(--contact-border);
}

a.contact-info-item {
    transition: padding-left 0.25s ease;
}

a.contact-info-item:hover {
    padding-left: 8px;
}

.contact-info-icon {
    display: grid;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--contact-text);
    place-items: center;
    background: var(--contact-soft);
    border-radius: 50%;
}

.contact-info-icon i {
    font-size: 18px;
}

.contact-info-item div:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.contact-info-item span {
    color: var(--contact-muted);
    font-size: 12px;
}

.contact-info-item strong {
    overflow-wrap: anywhere;
    font-size: 15px;
    font-weight: 600;
}

.contact-info-item small {
    color: var(--contact-muted);
}

.contact-note {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    padding: 22px;
    background: var(--contact-soft);
    border-left: 3px solid var(--contact-accent);
}

.contact-note i {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--contact-accent);
}

.contact-note p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* =====================================================
   FORM
===================================================== */

.contact-form-wrapper {
    padding: 50px;
    background: var(--contact-card);
    border: 1px solid var(--contact-border);
    box-shadow: 0 28px 70px rgba(24, 22, 19, 0.07);
}

.contact-form-heading {
    margin-bottom: 42px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 9px;
}

.form-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--contact-text);
    font-size: 13px;
    font-weight: 700;
}

.form-group label small {
    color: var(--contact-muted);
    font-size: 11px;
    font-weight: 400;
}

.input-wrapper {
    position: relative;
}

.input-wrapper > i {
    position: absolute;
    top: 50%;
    left: 17px;
    color: var(--contact-muted);
    font-size: 14px;
    transform: translateY(-50%);
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    color: var(--contact-text);
    font: inherit;
    background: #faf9f7;
    border: 1px solid var(--contact-border);
    border-radius: 0;
    outline: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.input-wrapper input {
    height: 56px;
    padding: 0 17px 0 47px;
}

.input-wrapper textarea {
    min-height: 185px;
    padding: 18px 17px 18px 47px;
    line-height: 1.7;
    resize: vertical;
}

.textarea-wrapper > i {
    top: 21px;
    transform: none;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: #aaa49d;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    background: #ffffff;
    border-color: var(--contact-accent);
    box-shadow: 0 0 0 3px rgba(166, 139, 105, 0.12);
}

.field-validation {
    min-height: 16px;
    color: var(--contact-error);
    font-size: 12px;
}

.input-validation-error {
    border-color: var(--contact-error) !important;
}

.validation-summary {
    color: var(--contact-error);
    font-size: 13px;
}

.validation-summary:empty {
    display: none;
}

.validation-summary ul {
    margin: 0;
    padding: 18px 18px 18px 38px;
    background: rgba(181, 66, 66, 0.07);
    border-left: 3px solid var(--contact-error);
}

.message-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.character-counter {
    flex-shrink: 0;
    color: var(--contact-muted);
    font-size: 11px;
}

.contact-submit {
    display: inline-flex;
    width: fit-content;
    min-width: 190px;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 27px;
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    background: var(--contact-dark);
    border: 1px solid var(--contact-dark);
    cursor: pointer;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.contact-submit:hover {
    color: var(--contact-dark);
    background: transparent;
    transform: translateY(-2px);
}

.contact-submit i {
    transition: transform 0.25s ease;
}

.contact-submit:hover i {
    transform: translateX(5px);
}

.form-privacy {
    margin: -5px 0 0;
    color: var(--contact-muted);
    font-size: 11px;
    line-height: 1.6;
}

/* =====================================================
   BAŞARI MESAJI
===================================================== */

.contact-success {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 35px;
    padding: 20px 22px;
    background: rgba(60, 113, 81, 0.09);
    border: 1px solid rgba(60, 113, 81, 0.24);
}

.success-icon {
    display: grid;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: #ffffff;
    place-items: center;
    background: var(--contact-success);
    border-radius: 50%;
}

.contact-success > div:nth-child(2) {
    flex: 1;
}

.contact-success strong {
    display: block;
    margin-bottom: 3px;
    color: var(--contact-success);
}

.contact-success p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.6;
}

.success-close {
    display: grid;
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    color: var(--contact-muted);
    place-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 960px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-information {
        position: static;
    }

    .contact-info-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        border-top: 0;
    }

    .contact-info-item {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
        background: var(--contact-card);
        border: 1px solid var(--contact-border);
    }

    a.contact-info-item:hover {
        padding-left: 22px;
    }
}

@media (max-width: 700px) {
    .contact-container {
        width: min(100% - 28px, 1180px);
    }

    .contact-hero {
        padding: 115px 0 70px;
    }

    .contact-hero h1 {
        font-size: 48px;
    }

    .contact-hero p {
        font-size: 16px;
    }

    .contact-section {
        padding: 65px 0;
    }

    .contact-info-list,
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 32px 20px;
    }

    .contact-submit {
        width: 100%;
    }

    .contact-success {
        align-items: flex-start;
    }
}