/* =========================================================
   SELİN ATEŞ — CONTACT PAGE
   PORTFOLIO DESIGN SYSTEM
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.contact-page {

    position: relative;

    width: 100%;

    min-height: 100vh;

    background: #050505;

    color: #f5f5f5;

    overflow: hidden;

}


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

.contact-hero {

    position: relative;

    min-height: 100vh;

    padding:
        150px 7vw 55px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        370px;

    grid-template-rows:
        auto
        1fr
        auto;

    column-gap: 6vw;

    overflow: hidden;

}


/* =========================================================
   BACKGROUND GRID
========================================================= */

.contact-grid {

    position: absolute;

    inset: 0;

    z-index: 0;

    pointer-events: none;

    background-image:

        linear-gradient(
            rgba(255,255,255,.045) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.045) 1px,
            transparent 1px
        );

    background-size:
        78px 78px;

    mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            rgba(0,0,0,.7) 55%,
            transparent 100%
        );

}


/* =========================================================
   RED LIGHT
========================================================= */

.contact-hero::after {

    content: "";

    position: absolute;

    width: 650px;

    height: 650px;

    right: -300px;

    top: 10%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,32,24,.10),
            transparent 68%
        );

    pointer-events: none;

    z-index: 0;

}


/* =========================================================
   BACKGROUND NUMBER
========================================================= */

.contact-bg-number {

    position: absolute;

    right: -30px;

    bottom: -100px;

    z-index: 0;

    font-family:
        "Figtree",
        sans-serif;

    font-size:
        clamp(350px, 48vw, 750px);

    font-weight: 700;

    line-height: .65;

    letter-spacing: -.08em;

    color:
        rgba(255,255,255,.025);

    user-select: none;

    pointer-events: none;

}


/* =========================================================
   LABEL
========================================================= */

.contact-label {

    position: relative;

    z-index: 3;

    grid-column: 1 / -1;

    display: flex;

    align-items: center;

    gap: 15px;

    font-family:
        "DM Mono",
        monospace;

    font-size: 10px;

    letter-spacing: .15em;

    color: #777;

}


.contact-label-number {

    color: #555;

}


.contact-label-line {

    width: 50px;

    height: 1px;

    background: #ff2018;

    box-shadow:
        0 0 10px rgba(255,32,24,.5);

}


/* =========================================================
   TITLE
========================================================= */

.contact-title {

    position: relative;

    z-index: 3;

    align-self: center;

    padding-top: 35px;

    font-family:
        "Figtree",
        sans-serif;

    font-size:
        clamp(70px, 9.5vw, 155px);

    font-weight: 600;

    line-height: .80;

    letter-spacing: -.065em;

    color: #f5f5f5;

}


.contact-title > div {

    width: max-content;

}


/* =========================================================
   RED ITALIC
========================================================= */

.contact-red-text {

    font-family:
        "Instrument Serif",
        serif;

    font-style: italic;

    font-weight: 400;

    color: #ff2018;

    letter-spacing: -.045em;

    margin-left: 2px;

}


/* =========================================================
   RED WORD
========================================================= */

.contact-red-block {

    color: #ff2018;

}

.contact-title > .contact-red-block {
    font-size: 0.68em;
}

.contact-title > div:last-child {
    font-size: 0.68em;
}


/* =========================================================
   INFORMATION
========================================================= */

.contact-info {

    position: relative;

    z-index: 3;

    align-self: end;

    padding-bottom: 45px;

}


.contact-info-item {

    display: grid;

    grid-template-columns:
        30px 1fr;

    gap: 15px;

    padding:
        22px 0;

    border-bottom:
        1px solid rgba(255,255,255,.10);

}


.contact-info-number {

    font-family:
        "DM Mono",
        monospace;

    font-size: 9px;

    color: #444;

}


.contact-info-item small {

    display: block;

    margin-bottom: 8px;

    font-family:
        "DM Mono",
        monospace;

    font-size: 8px;

    letter-spacing: .15em;

    color: #555;

}


.contact-info-item a,
.contact-info-item p {

    margin: 0;

    font-family:
        "Figtree",
        sans-serif;

    font-size: 14px;

    line-height: 1.5;

    color: #d5d5d5;

    text-decoration: none;

}


.contact-info-item a {

    transition:
        color .3s ease;

}


.contact-info-item a:hover {

    color: #ff2018;

}


.contact-info-item .available {

    color: #ff2018;

}


/* =========================================================
   SOCIAL
========================================================= */

.contact-socials {

    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    padding-top: 25px;

}


.contact-socials a {

    font-family:
        "DM Mono",
        monospace;

    font-size: 8px;

    letter-spacing: .08em;

    color: #666;

    text-decoration: none;

    transition:
        color .3s ease;

}


.contact-socials a:hover {

    color: #fff;

}


/* =========================================================
   BOTTOM
========================================================= */

.contact-bottom {

    position: relative;

    z-index: 3;

    grid-column: 1 / -1;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding-top: 30px;

    border-top:
        1px solid rgba(255,255,255,.10);

    font-family:
        "DM Mono",
        monospace;

    font-size: 8px;

    letter-spacing: .08em;

    color: #555;

}


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

.contact-form-section {

    position: relative;

    min-height: 100vh;

    padding:
        140px 7vw 120px;

    background: #080808;

    border-top:
        1px solid #1b1b1b;

    overflow: hidden;

}


.contact-form-section::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size:
        78px 78px;

    opacity: .5;

    pointer-events: none;

}


.contact-section-number {

    position: absolute;

    top: 140px;

    left: 7vw;

    font-family:
        "DM Mono",
        monospace;

    font-size: 10px;

    color: #555;

}


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

.form-heading {

    position: relative;

    z-index: 2;

    max-width: 800px;

    margin:
        0 auto 80px;

}


.form-heading > span {

    display: block;

    margin-bottom: 25px;

    font-family:
        "DM Mono",
        monospace;

    font-size: 9px;

    letter-spacing: .15em;

    color: #ff2018;

}


.form-heading h2 {

    margin: 0;

    font-family:
        "Figtree",
        sans-serif;

    font-size:
        clamp(65px, 8vw, 130px);

    font-weight: 600;

    line-height: .82;

    letter-spacing: -.06em;

}


.form-heading h2 em {

    font-family:
        "Instrument Serif",
        serif;

    font-weight: 400;

    color: #ff2018;

}


.form-heading p {

    max-width: 500px;

    margin-top: 30px;

    font-family:
        "Figtree",
        sans-serif;

    font-size: 14px;

    line-height: 1.7;

    color: #666;

}


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

.contact-form {

    position: relative;

    z-index: 2;

    max-width: 900px;

    margin:
        0 auto;

}


.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 40px;

}


.form-group {

    margin-bottom: 35px;

}


.form-group label {

    display: block;

    margin-bottom: 12px;

    font-family:
        "DM Mono",
        monospace;

    font-size: 8px;

    letter-spacing: .12em;

    color: #555;

}


.form-group input,
.form-group textarea,
.form-group select {

    display: block;

    width: 100%;

    box-sizing: border-box;

    padding:
        16px 0;

    border: 0;

    border-bottom:
        1px solid #333;

    border-radius: 0;

    outline: none;

    background: transparent;

    color: #eee;

    font-family:
        "Figtree",
        sans-serif;

    font-size: 15px;

    transition:
        border-color .3s ease;

}


.form-group input::placeholder,
.form-group textarea::placeholder {

    color: #444;

}


.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {

    border-bottom-color:
        #ff2018;

}


.form-group textarea {

    min-height: 160px;

    resize: vertical;

}


.form-group select {

    cursor: pointer;

    appearance: none;

}


.form-group select option {

    background: #080808;

    color: #fff;

}


/* =========================================================
   BUTTON
========================================================= */

.contact-submit {

    width: 100%;

    min-height: 68px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0 25px;

    border:
        1px solid #333;

    background: transparent;

    color: #eee;

    font-family:
        "DM Mono",
        monospace;

    font-size: 9px;

    letter-spacing: .12em;

    cursor: pointer;

    transition:
        background .3s ease,
        border-color .3s ease,
        color .3s ease;

}


.contact-submit strong {

    font-size: 18px;

}


.contact-submit:hover {

    background: #ff2018;

    border-color: #ff2018;

    color: #fff;

}


.form-message {

    min-height: 25px;

    margin-top: 15px;

    font-family:
        "DM Mono",
        monospace;

    font-size: 9px;

    color: #777;

}


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

.contact-footer {

    position: relative;

    z-index: 5;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 30px;

    min-height: 90px;

    padding:
        0 7vw;

    border-top:
        1px solid #1b1b1b;

    background: #050505;

}


.footer-logo {

    position: relative;

    width: max-content;

    font-family:
        "Figtree",
        sans-serif;

    font-size: 15px;

    font-weight: 600;

}


.footer-logo span {

    position: absolute;

    width: 5px;

    height: 5px;

    right: -10px;

    top: 2px;

    border-radius: 50%;

    background: #ff2018;

}


.footer-links {

    display: flex;

    align-items: center;

    gap: 25px;

}


.footer-links a {

    font-family:
        "DM Mono",
        monospace;

    font-size: 8px;

    color: #555;

    text-decoration: none;

    transition:
        color .3s ease;

}


.footer-links a:hover {

    color: #fff;

}


.footer-copy {

    justify-self: end;

    font-family:
        "DM Mono",
        monospace;

    font-size: 8px;

    color: #444;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {


    .contact-hero {

        min-height: auto;

        display: block;

        padding:
            130px 30px 50px;

    }


    .contact-label {

        margin-bottom: 65px;

    }


    .contact-title {

        padding-top: 0;

        font-size:
            clamp(58px, 16vw, 110px);

    }


    .contact-info {

        margin-top: 90px;

        padding-bottom: 0;

    }


    .contact-bottom {

        margin-top: 60px;

        flex-wrap: wrap;

        justify-content: flex-start;

    }


    .contact-form-section {

        min-height: auto;

        padding:
            110px 30px 80px;

    }


    .contact-section-number {

        top: 110px;

        left: 30px;

    }


    .form-heading {

        margin-bottom: 60px;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .contact-footer {

        grid-template-columns: 1fr;

        padding:
            30px;

    }


    .footer-links {

        flex-wrap: wrap;

    }


    .footer-copy {

        justify-self: start;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {


    .contact-hero {

        padding:
            110px 20px 40px;

    }


    .contact-title {

        font-size:
            17vw;

        line-height: .84;

    }


    .contact-bg-number {

        font-size:
            100vw;

        right: -50px;

    }


    .contact-form-section {

        padding:
            100px 20px 70px;

    }


    .contact-section-number {

        top: 100px;

        left: 20px;

    }


    .form-heading h2 {

        font-size:
            17vw;

    }

}