﻿.delta-contact-page {
    background: radial-gradient(circle at top right, rgba(31,125,215,.14), transparent 32%), var(--black);
    overflow: hidden;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.delta-contact-page h1,
.delta-contact-page h2,
.delta-contact-page h3 {
    font-family: "Century Gothic", "Avenir Next", Arial, sans-serif !important;
    font-weight: 400 !important;
}

/* HERO */

.contact-hero {
    position: relative;
    min-height: 78vh;
    padding: 150px 0 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,5,5,.96), rgba(5,5,5,.72), rgba(5,5,5,.96)), url("/images/delta/projects/projects-hero-main.png");
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.contact-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 90px 90px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.contact-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 46px;
    align-items: end;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--delta-blue);
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

    .section-kicker::before {
        content: "";
        width: 42px;
        height: 1px;
        background: var(--delta-bronze);
    }

.contact-hero h1 {
    margin: 0;
    max-width: 980px;
    font-size: clamp(48px, 8vw, 112px);
    line-height: .94;
    letter-spacing: -.045em;
}

.contact-hero p {
    margin: 30px 0 0;
    max-width: 720px;
    color: rgba(255,255,255,.72);
    font-size: 18px;
    line-height: 1.8;
}

.contact-hero-card {
    position: relative;
    padding: 34px;
    border: 1px solid rgba(181,131,100,.55);
    background: rgba(5,5,5,.52);
    backdrop-filter: blur(18px);
}

    .contact-hero-card span {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        display: block;
        background: var(--delta-bronze);
        box-shadow: 0 0 28px rgba(181,131,100,.9);
        margin-bottom: 24px;
    }

    .contact-hero-card strong {
        display: block;
        font-size: 25px;
        font-weight: 400;
        margin-bottom: 12px;
    }

    .contact-hero-card p {
        margin: 0;
        font-size: 15px;
        line-height: 1.7;
        color: var(--muted);
    }

/* BRANCHES */

.contact-branches {
    padding: 110px 0;
    background: radial-gradient(circle at 70% 20%, rgba(31,125,215,.11), transparent 30%), var(--dark);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    max-width: 760px;
    margin-bottom: 46px;
}

    .section-head h2 {
        margin: 0 0 18px;
        font-size: clamp(34px, 5vw, 64px);
        line-height: 1.05;
        letter-spacing: -.035em;
    }

    .section-head p {
        margin: 0;
        color: rgba(255,255,255,.72);
        font-size: 17px;
        line-height: 1.7;
    }

.branch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.branch-card {
    position: relative;
    min-height: auto;
    padding: 0;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
    color: var(--white);
    cursor: pointer;
    overflow: hidden;
    transition: .32s ease;
}

    .branch-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(31,125,215,.18), transparent 62%);
        opacity: 0;
        transition: .32s ease;
        pointer-events: none;
        z-index: 1;
    }

    .branch-card:hover,
    .branch-card.active {
        border-color: rgba(181,131,100,.75);
        background: rgba(31,125,215,.08);
        transform: translateY(-8px);
    }

        .branch-card:hover::before,
        .branch-card.active::before {
            opacity: 1;
        }

.branch-photo {
    height: 230px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--line);
}

.branch-ankara {
    background-image: url("/images/delta/offices/ankara.png");
}

.branch-istanbul {
    background-image: url("/images/delta/offices/istanbul.png");
}

.branch-germany {
    background-image: url("/images/delta/offices/germany.png");
}

.branch-content {
    position: relative;
    z-index: 2;
    padding: 28px 28px 30px;
}

.branch-card .branch-dot {
    position: static;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--delta-bronze);
    box-shadow: 0 0 22px rgba(181,131,100,.8);
    margin-bottom: 18px;
}

.branch-content h3 {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.branch-content p {
    margin: 0;
    color: rgba(255,255,255,.72);
    line-height: 1.65;
}

.branch-lines {
    display: grid;
    gap: 8px;
    margin: 22px 0 0;
}

.branch-card .branch-lines span,
.branch-card .branch-lines a {
    position: static;
    display: block;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: rgba(255,255,255,.82);
    text-decoration: none;
    line-height: 1.45;
}

.branch-lines a:hover {
    color: var(--delta-bronze);
}

/* FORM AREA */

.contact-form-section {
    padding: 110px 0;
    background: var(--black);
}

.contact-form-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 30px;
    align-items: start;
}

.selected-office {
    position: relative;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
    padding: 38px;
    overflow: hidden;
}

.selected-map-glow {
    position: absolute;
    right: -120px;
    top: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(31,125,215,.18);
    filter: blur(18px);
    pointer-events: none;
}

.selected-office h2 {
    position: relative;
    z-index: 2;
    margin: 0 0 30px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.selected-lines {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 16px;
}

    .selected-lines p {
        margin: 0;
        padding-top: 16px;
        border-top: 1px solid var(--line);
        display: grid;
        gap: 6px;
    }

    .selected-lines strong {
        font-weight: 400;
        color: var(--white);
    }

    .selected-lines span,
    .selected-lines a {
        color: rgba(255,255,255,.72);
        text-decoration: none;
    }

        .selected-lines a:hover {
            color: var(--delta-bronze);
        }

.selected-map-link {
    position: relative;
    z-index: 2;
    margin-top: 30px;
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--delta-blue);
    color: var(--white);
    text-decoration: none;
    transition: .25s ease;
}

    .selected-map-link:hover {
        background: var(--delta-bronze);
    }

/* FORM */

.contact-form {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
    padding: 38px;
}

.form-head h2 {
    margin: 0 0 34px;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 10px;
}

    .contact-form label span {
        color: rgba(255,255,255,.72);
        font-size: 13px;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(5,5,5,.44);
    color: var(--white);
    outline: none;
    padding: 0 16px;
    font-family: "ITC Avant Garde Gothic", "Century Gothic", "Avenir Next", Arial, sans-serif;
    transition: .25s ease;
}

.contact-form input,
.contact-form select {
    height: 54px;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
    padding-top: 16px;
}

    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
        border-color: var(--delta-bronze);
        background: rgba(255,255,255,.045);
    }

.contact-form ::placeholder {
    color: rgba(255,255,255,.38);
}

.contact-form select {
    color-scheme: dark;
    background-color: rgba(5,5,5,.44);
    color: var(--white);
}

    .contact-form select option {
        background-color: #0b0d0f;
        color: #ffffff;
    }

.message-field {
    margin-top: 18px;
}

.form-bottom {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: space-between;
}

    .form-bottom p {
        margin: 0;
        color: var(--muted);
        line-height: 1.6;
    }

    .form-bottom strong {
        color: var(--delta-bronze);
        font-weight: 400;
    }

.btn-primary {
    min-height: 52px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--delta-blue);
    color: var(--white);
    border: 1px solid transparent;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .3s ease;
    font-family: "ITC Avant Garde Gothic", "Century Gothic", "Avenir Next", Arial, sans-serif;
}

    .btn-primary:hover {
        background: var(--delta-bronze);
    }

/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: .8s ease;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

/* RESPONSIVE */

@media (max-width: 1100px) {
    .contact-hero-inner {
        grid-template-columns: 1fr;
    }

    .contact-hero-card {
        max-width: 440px;
    }

    .branch-grid {
        grid-template-columns: 1fr;
    }

    .branch-card {
        display: grid;
        grid-template-columns: 280px 1fr;
    }

    .branch-photo {
        height: auto;
        min-height: 250px;
        border-bottom: 0;
        border-right: 1px solid var(--line);
    }

    .contact-form-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .contact-hero {
        min-height: auto;
        padding: 135px 0 78px;
    }

        .contact-hero h1 {
            font-size: 42px;
        }

        .contact-hero p {
            font-size: 16px;
        }

    .contact-branches,
    .contact-form-section {
        padding: 78px 0;
    }

    .branch-card {
        grid-template-columns: 1fr;
    }

    .branch-photo {
        height: 210px;
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .branch-content,
    .selected-office,
    .contact-form {
        padding: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-primary {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .contact-hero h1 {
        font-size: 38px;
    }

    .section-head h2,
    .selected-office h2,
    .form-head h2 {
        font-size: 34px;
    }

    .branch-content h3 {
        font-size: 24px;
    }
}
