/* =========================================================
   DEPREM VERİSİ
   İLETİŞİM SAYFASI
   Header / Footer CSS içermez.
   Ortak header.html kullanılmaktadır.
========================================================= */


/* ---------------------------------------------------------
   VARIABLES
--------------------------------------------------------- */

:root {
    --ct-page-width: 1140px;

    --ct-ink: #17231d;
    --ct-muted: #718078;
    --ct-soft: #f4f7f5;
    --ct-line: #e2e9e5;
    --ct-green: #356b51;
    --ct-red: #d64545;
    --ct-red-light: #fdf0f0;
    --ct-white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--rg-ink);
    background: var(--rg-soft);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------------------------------------------------------
   BASE
--------------------------------------------------------- */

.ct-page {
    width: 100%;
    color: var(--ct-ink);
}

.ct-page *,
.ct-page *::before,
.ct-page *::after {
    box-sizing: border-box;
}

.ct-page a {
    color: inherit;
    text-decoration: none;
}


/* ---------------------------------------------------------
   CONTAINER
--------------------------------------------------------- */

.ct-container {
    width: min(
        var(--ct-page-width),
        calc(100% - 40px)
    );

    max-width: var(--ct-page-width);

    margin: 0 auto;
}


/* ---------------------------------------------------------
   MAIN
--------------------------------------------------------- */

.ct-main {
    min-height: 700px;
    padding-bottom: 90px;
}


/* ---------------------------------------------------------
   BREADCRUMB
--------------------------------------------------------- */

.ct-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 27px 0 25px;

    color: var(--ct-muted);

    font-size: 13px;
}

.ct-breadcrumb a {
    transition: color 0.2s ease;
}

.ct-breadcrumb a:hover {
    color: var(--ct-red);
}


/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.ct-hero {
    padding: 48px 0 55px;
}

.ct-label {
    display: inline-flex;

    margin-bottom: 20px;

    color: var(--ct-red);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.ct-hero h1 {
    max-width: 900px;

    margin: 0;

    color: var(--ct-ink);

    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.08;

    font-weight: 800;
    letter-spacing: -2px;
}

.ct-hero p {
    max-width: 700px;

    margin: 22px 0 0;

    color: var(--ct-muted);

    font-size: 18px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   CONTENT LAYOUT
--------------------------------------------------------- */

.ct-layout {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 90px;

    padding-top: 15px;
}


/* ---------------------------------------------------------
   INFORMATION
--------------------------------------------------------- */

.ct-info {
    padding-top: 8px;
}

.ct-info-block {
    display: flex;
    gap: 20px;

    padding: 25px 0;

    border-top: 1px solid var(--ct-line);
}

.ct-info-block:last-of-type {
    border-bottom: 1px solid var(--ct-line);
}

.ct-info-number {
    flex: 0 0 30px;

    color: var(--ct-red);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.ct-info-block h2 {
    margin: 0 0 8px;

    color: var(--ct-ink);

    font-size: 17px;
    font-weight: 750;
}

.ct-info-block p {
    margin: 0;

    color: var(--ct-muted);

    font-size: 14px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   INFORMATION NOTE
--------------------------------------------------------- */

.ct-info-note {
    display: flex;
    gap: 14px;

    margin-top: 30px;
    padding: 18px;

    background: var(--ct-red-light);

    border: 1px solid rgba(214, 69, 69, 0.12);
    border-radius: 8px;
}

.ct-info-note-icon {
    flex: 0 0 25px;

    width: 25px;
    height: 25px;

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

    border-radius: 50%;

    background: var(--ct-red);
    color: var(--ct-white);

    font-size: 12px;
    font-weight: 800;
}

.ct-info-note p {
    margin: 0;

    color: #795050;

    font-size: 12px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   FORM
--------------------------------------------------------- */

.ct-form-wrapper {
    padding: 30px;

    background: var(--ct-soft);

    border: 1px solid var(--ct-line);
    border-radius: 10px;
}

.ct-form {
    display: flex;
    flex-direction: column;

    gap: 22px;
}

.ct-field {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.ct-field label {
    color: var(--ct-ink);

    font-size: 12px;
    font-weight: 750;
}

.ct-field input,
.ct-field textarea {
    width: 100%;

    padding: 13px 14px;

    background: var(--ct-white);

    border: 1px solid var(--ct-line);
    border-radius: 6px;

    outline: none;

    color: var(--ct-ink);

    font-family: inherit;
    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.ct-field input {
    height: 48px;
}

.ct-field textarea {
    min-height: 150px;

    resize: vertical;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: #a2ada7;
}

.ct-field input:focus,
.ct-field textarea:focus {
    border-color: var(--ct-green);

    box-shadow:
        0 0 0 3px rgba(53, 107, 81, 0.08);
}


/* ---------------------------------------------------------
   FORM ERRORS
--------------------------------------------------------- */

.ct-field-error {
    color: var(--ct-red);

    font-size: 11px;
}

.ct-error {
    margin-bottom: 20px;
    padding: 13px 15px;

    background: var(--ct-red-light);

    border: 1px solid rgba(214, 69, 69, 0.15);
    border-radius: 6px;

    color: var(--ct-red);

    font-size: 12px;
}


/* ---------------------------------------------------------
   SUBMIT BUTTON
--------------------------------------------------------- */

.ct-submit {
    width: 100%;
    height: 52px;

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

    gap: 10px;

    margin-top: 5px;

    border: 0;
    border-radius: 6px;

    background: var(--ct-red);
    color: var(--ct-white);

    cursor: pointer;

    font-family: inherit;
    font-size: 13px;
    font-weight: 750;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.ct-submit:hover {
    background: #c83d3d;
}

.ct-submit:active {
    transform: translateY(1px);
}

.ct-submit-arrow {
    font-size: 17px;

    transition:
        transform 0.2s ease;
}

.ct-submit:hover .ct-submit-arrow {
    transform: translateX(3px);
}


/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (max-width: 900px) {

    .ct-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .ct-info {
        max-width: 750px;
    }

}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 700px) {

    .ct-container {
        width: min(
            var(--ct-page-width),
            calc(100% - 24px)
        );
    }


    .ct-main {
        min-height: 0;

        padding-bottom: 60px;
    }


    .ct-breadcrumb {
        padding-top: 20px;
        padding-bottom: 15px;

        font-size: 11px;
    }


    .ct-hero {
        padding: 35px 0 40px;
    }


    .ct-hero h1 {
        font-size: 36px;
        letter-spacing: -1.5px;
    }


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


    .ct-layout {
        gap: 40px;
    }


    .ct-form-wrapper {
        padding: 20px;
    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 430px) {

    .ct-hero h1 {
        font-size: 32px;
    }

    .ct-info-block {
        gap: 14px;
    }

    .ct-info-number {
        flex-basis: 25px;
    }

}