﻿/* =========================================================
   USS TEKNOLOJİ VE DANIŞMANLIK
   CONTACT PAGE
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.contact-page {
    position: relative;
    min-height: 100vh;
    padding: 145px 0 95px;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient( circle at 72% 20%, rgba(0, 143, 255, .11), transparent 35% ), linear-gradient( 110deg, #020d18 0%, #041829 52%, #051c30 100% );
}


.contact-grid-background {
    position: absolute;
    inset: 0;
    opacity: .10;
    pointer-events: none;
    background-image: linear-gradient( rgba(62, 207, 255, .10) 1px, transparent 1px ), linear-gradient( 90deg, rgba(62, 207, 255, .10) 1px, transparent 1px );
    background-size: 72px 72px;
    mask-image: linear-gradient( to bottom, rgba(0,0,0,.85), transparent 95% );
}


.contact-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(130px);
}


.contact-glow-one {
    width: 500px;
    height: 500px;
    right: 5%;
    top: 7%;
    background: rgba(0, 140, 255, .10);
}


.contact-glow-two {
    width: 350px;
    height: 350px;
    left: -150px;
    bottom: -100px;
    background: rgba(52, 214, 255, .06);
}



/* =========================================================
   LAYOUT
========================================================= */

.contact-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr);
    align-items: start;
    gap: 85px;
}



/* =========================================================
   LEFT
========================================================= */

.contact-copy {
    padding-top: 4px;
}


.contact-eyebrow {
    display: block;
    margin-bottom: 21px;
    color: #43d6ff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
}


.contact-copy h1 {
    max-width: 600px;
    margin: 0 0 28px;
    color: #ffffff;
    font-size: clamp( 48px, 5vw, 72px );
    font-weight: 800;
    line-height: .99;
    letter-spacing: -.058em;
}


    .contact-copy h1 span {
        display: block;
        color: #42d4ff;
    }


.contact-description {
    max-width: 600px;
    margin: 0 0 22px;
    color: #91a6b6;
    font-size: 12px;
    line-height: 1.95;
}


.contact-description-secondary {
    margin-bottom: 32px;
}



/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {
    margin-top: 35px;
    border-top: 1px solid rgba(255,255,255,.09);
}


.contact-detail-row {
    min-height: 78px;
    display: grid;
    grid-template-columns: 36px 1fr 30px;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: inherit;
    transition: padding-left .22s ease, background .22s ease;
}


    .contact-detail-row:hover {
        padding-left: 10px;
        background: rgba(255,255,255,.018);
    }


.contact-detail-number {
    color: #35cfff;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .08em;
}


.contact-detail-content {
    min-width: 0;
}


    .contact-detail-content span {
        display: block;
        margin-bottom: 5px;
        color: #587489;
        font-size: 6px;
        font-weight: 800;
        letter-spacing: .15em;
    }


    .contact-detail-content strong {
        display: block;
        color: #dce8ef;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }


.contact-detail-address
.contact-detail-content strong {
    max-width: 430px;
}


.contact-detail-arrow {
    color: #43d5ff;
    font-size: 16px;
    text-align: right;
}



/* =========================================================
   PROCESS CARDS
========================================================= */

.contact-process {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat( 3, minmax(0, 1fr) );
    border-top: 1px solid rgba(255,255,255,.09);
    border-left: 1px solid rgba(255,255,255,.09);
}


.contact-process-item {
    min-height: 122px;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,.09);
    border-bottom: 1px solid rgba(255,255,255,.09);
}


    .contact-process-item span {
        display: block;
        margin-bottom: 23px;
        color: #43d6ff;
        font-size: 6px;
        font-weight: 800;
    }


    .contact-process-item strong {
        display: block;
        margin-bottom: 8px;
        color: #e9f1f5;
        font-size: 10px;
    }


    .contact-process-item p {
        margin: 0;
        color: #687f91;
        font-size: 7px;
        line-height: 1.6;
    }



/* =========================================================
   FORM PANEL
========================================================= */

.contact-form-panel {
    position: relative;
    border: 1px solid rgba(67, 204, 255, .20);
    background: rgba(8, 31, 51, .70);
    box-shadow: 0 35px 90px rgba(0,0,0,.20);
    backdrop-filter: blur(14px);
}


.contact-form-header {
    min-height: 112px;
    padding: 28px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}


    .contact-form-header span {
        display: block;
        margin-bottom: 7px;
        color: #44d6ff;
        font-size: 6px;
        font-weight: 800;
    }


    .contact-form-header h2 {
        margin: 0;
        color: #ffffff;
        font-size: 22px;
        line-height: 1.1;
    }


    .contact-form-header small {
        color: #35b77d;
        font-size: 5px;
        letter-spacing: .08em;
    }



/* =========================================================
   FORM
========================================================= */

.contact-form {
    padding: 31px 30px 30px;
}


.form-grid {
    display: grid;
    gap: 17px;
}


.form-grid-two {
    grid-template-columns: repeat( 2, minmax(0, 1fr) );
}


.contact-form > .form-grid + .form-grid,
.contact-form > .form-grid + .form-group,
.contact-form > .form-group + .form-group,
.contact-form > .form-group + .form-grid {
    margin-top: 22px;
}


.form-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}


    .form-grid-two > .form-group {
        margin-top: 0 !important;
    }


.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #bdcbd4;
    font-size: 7px;
    font-weight: 700;
}


    .form-group label span {
        color: #40d5ff;
    }


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(136, 176, 202, .26);
    outline: 0;
    border-radius: 0;
    color: #e7f0f5;
    background: rgba(255,255,255,.035);
    font-family: inherit;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}


.form-group input,
.form-group select {
    height: 48px;
    padding: 0 14px;
}


.form-group textarea {
    min-height: 180px;
    padding: 15px;
    resize: vertical;
    line-height: 1.7;
}


    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: #62788a;
        opacity: 1;
    }


.form-group select {
    color: #8497a5;
    cursor: pointer;
}


    .form-group select option {
        color: #102438;
        background: #ffffff;
    }


    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: rgba(65, 212, 255, .70);
        background: rgba(255,255,255,.055);
        box-shadow: 0 0 0 3px rgba(50, 194, 255, .045);
    }



/* =========================================================
   TEXTAREA
========================================================= */

.textarea-wrapper {
    position: relative;
}


    .textarea-wrapper textarea {
        padding-bottom: 30px;
    }


    .textarea-wrapper small {
        position: absolute;
        right: 10px;
        bottom: 9px;
        color: #496375;
        font-size: 5px;
    }



/* =========================================================
   CONSENT
========================================================= */

.form-consent {
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
}


    .form-consent input {
        width: 17px;
        height: 17px;
        margin: 1px 0 0;
        flex-shrink: 0;
        accent-color: #168bd2;
    }


    .form-consent label {
        color: #71889a;
        font-size: 7px;
        line-height: 1.6;
    }



/* =========================================================
   SUBMIT
========================================================= */

.contact-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 27px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    color: #ffffff;
    background: linear-gradient( 100deg, #0795e8, #0878bf );
    cursor: pointer;
    font-family: inherit;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}


    .contact-submit span {
        font-size: 9px;
        font-weight: 800;
    }


    .contact-submit strong {
        font-size: 16px;
        font-weight: 400;
    }


    .contact-submit:hover {
        transform: translateY(-2px);
        filter: brightness(1.08);
        box-shadow: 0 15px 35px rgba(0, 126, 204, .18);
    }



/* =========================================================
   VALIDATION
========================================================= */

.contact-validation-summary {
    margin-bottom: 20px;
    color: #ff9a9a;
    font-size: 9px;
    line-height: 1.6;
}


    .contact-validation-summary:empty {
        display: none;
    }


.field-validation-error {
    display: block;
    margin-top: 6px;
    color: #ff8d8d;
    font-size: 7px;
}



/* =========================================================
   HONEYPOT
========================================================= */

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}



/* =========================================================
   MAP SECTION
========================================================= */

.contact-map-section {
    padding: 90px 0 110px;
    color: #102438;
    background: linear-gradient( 180deg, #f6f9fb, #edf3f7 );
}


.contact-map-header {
    margin-bottom: 35px;
    display: grid;
    grid-template-columns: 1fr .75fr;
    align-items: end;
    gap: 80px;
}


.contact-map-eyebrow {
    display: block;
    margin-bottom: 11px;
    color: #0877d1;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .16em;
}


.contact-map-header h2 {
    margin: 0;
    color: #102438;
    font-size: clamp( 38px, 4vw, 57px );
    line-height: 1.05;
    letter-spacing: -.055em;
}


    .contact-map-header h2 strong {
        display: block;
        color: #1174cf;
    }


.contact-map-address {
    max-width: 520px;
    justify-self: end;
}


    .contact-map-address > span {
        display: block;
        margin-bottom: 9px;
        color: #0877d1;
        font-size: 7px;
        font-weight: 800;
        letter-spacing: .12em;
    }


    .contact-map-address p {
        margin: 0 0 16px;
        color: #687d8e;
        font-size: 11px;
        line-height: 1.8;
    }


    .contact-map-address a {
        display: inline-flex;
        align-items: center;
        gap: 11px;
        color: #0877d1;
        font-size: 9px;
        font-weight: 800;
    }


        .contact-map-address a span {
            font-size: 15px;
            transition: transform .2s ease;
        }


        .contact-map-address a:hover span {
            transform: translate( 3px, -3px );
        }


.contact-map-frame {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    border: 1px solid #cddde7;
    background: #dfe9ef;
    box-shadow: 0 25px 70px rgba(11, 45, 70, .08);
}


    .contact-map-frame iframe {
        width: 100%;
        height: 100%;
        display: block;
        border: 0;
        filter: saturate(.88) contrast(.97);
    }



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1180px) {

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }


    .contact-copy {
        max-width: 800px;
    }


    .contact-details {
        max-width: 760px;
    }


    .contact-process {
        max-width: 760px;
    }


    .contact-form-panel {
        width: 100%;
    }
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .contact-page {
        padding: 115px 0 70px;
    }


    .contact-layout {
        width: min( calc(100% - 30px), var(--container) );
        gap: 45px;
    }


    .contact-copy h1 {
        font-size: clamp( 43px, 13vw, 59px );
    }


    .contact-detail-row {
        grid-template-columns: 30px 1fr 25px;
    }


    .contact-process {
        grid-template-columns: 1fr;
    }


    .contact-process-item {
        min-height: 105px;
    }


    .form-grid-two {
        grid-template-columns: 1fr;
    }


        .form-grid-two .form-group + .form-group {
            margin-top: 22px;
        }


    .contact-form-header {
        padding: 24px 20px;
    }


    .contact-form {
        padding: 25px 20px;
    }


    .contact-map-section {
        padding: 70px 0 80px;
    }


    .contact-map-header {
        grid-template-columns: 1fr;
        gap: 28px;
    }


    .contact-map-address {
        justify-self: stretch;
    }


    .contact-map-frame {
        height: 420px;
    }
}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .contact-detail-content strong {
        font-size: 10px;
    }


    .contact-detail-address
    .contact-detail-content strong {
        font-size: 9px;
    }


    .contact-form-header small {
        display: none;
    }


    .contact-map-frame {
        height: 360px;
    }
}

/* =========================================================
   FORM SUCCESS
========================================================= */

.contact-success-message {
    margin: 25px 30px 0;
    padding: 18px 20px;
    border: 1px solid rgba(56, 205, 138, .28);
    border-left: 3px solid #35c982;
    background: rgba(53, 201, 130, .07);
}


    .contact-success-message strong {
        display: block;
        margin-bottom: 6px;
        color: #4de09c;
        font-size: 10px;
    }


    .contact-success-message p {
        margin: 0;
        color: #9db4c3;
        font-size: 9px;
        line-height: 1.7;
    }