﻿/* =====================================================
   İLETİŞİM SAYFASI
===================================================== */

:root {
    --bg: #ffffff;
    --text: #111111;
    --muted: #666666;
    --line: #e9e3d8;
    --soft: #f7f3ed;
    --brand: #c49345;
    --brand-dark: #9b6f2e;
    --page-x: clamp(42px, 3.7vw, 72px);
    --max: 1840px;
    --shadow: 0 14px 40px rgba(0,0,0,.08);
}

.contact-page {
    background: #fff;
    color: var(--text);
}

    .contact-page * {
        box-sizing: border-box;
    }

    .contact-page img {
        max-width: 100%;
        display: block;
    }

    .contact-page a {
        color: inherit;
        text-decoration: none;
    }

    .contact-page .container {
        width: min(var(--max), calc(100% - (var(--page-x) * 2)));
        margin-inline: auto;
    }

.contact-section {
    padding: 70px 0;
}

.contact-label {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
}

.contact-page .btn {
    min-height: 54px;
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: .015em;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

    .contact-page .btn:hover {
        transform: translateY(-1px);
    }

.contact-page .btn-primary {
    background: var(--brand);
    color: #fff;
}

    .contact-page .btn-primary:hover {
        background: var(--brand-dark);
    }


/* =====================================================
   CONTACT HERO
===================================================== */

.contact-hero {
    min-height: 520px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #111;
}

    .contact-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(0,0,0,.84) 0%, rgba(0,0,0,.64) 42%, rgba(0,0,0,.28) 70%, rgba(0,0,0,.10) 100% ), url('../images/iletisim-banner.webp') center / cover no-repeat;
        z-index: -1;
    }

.contact-hero-inner {
    min-height: 520px;
    display: grid;
    align-items: center;
    padding: 70px 0;
}

.contact-hero-content {
    max-width: 760px;
    color: #fff;
}

    .contact-hero-content .contact-label {
        color: #d6a64e;
    }

    .contact-hero-content h1 {
        margin: 0;
        max-width: 780px;
        font-size: clamp(42px, 4vw, 68px);
        line-height: 1.03;
        letter-spacing: -.055em;
    }

    .contact-hero-content p {
        margin: 24px 0 0;
        max-width: 660px;
        color: rgba(255,255,255,.88);
        font-size: 18px;
        line-height: 1.7;
    }

.contact-hero-buttons {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-btn-ghost {
    border-color: rgba(255,255,255,.5);
    color: #fff;
    background: rgba(255,255,255,.08);
}

    .contact-btn-ghost:hover {
        background: rgba(255,255,255,.16);
    }


/* =====================================================
   CONTACT FLOATING INFO
   Banner üstüne binmez, banner altında başlar
===================================================== */

.contact-floating-section {
    margin-top: 0;
    position: relative;
    z-index: 2;
    padding: 54px 0 0;
    background: #fff;
}

.contact-floating-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 60px rgba(0,0,0,.10);
}

.contact-floating-item {
    position: relative;
    min-height: 220px;
    padding: 30px 24px 26px;
    display: flex;
    gap: 16px;
    background: #fff;
    transition: background .2s ease, transform .2s ease;
}

    .contact-floating-item:not(:last-child) {
        border-right: 1px solid var(--line);
    }

    .contact-floating-item:hover {
        background: #fcfaf6;
    }

.contact-floating-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #f4eee4;
    color: var(--brand-dark);
    font-size: 28px;
    font-weight: 900;
}

.contact-floating-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.contact-floating-label {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-floating-content h3 {
    margin: 0;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.contact-floating-content p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.contact-floating-content a {
    margin-top: auto;
    padding-top: 18px;
    color: var(--brand-dark);
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
}

    .contact-floating-content a:hover {
        color: var(--text);
    }


/* =====================================================
   CONTACT MAIN
===================================================== */

.contact-main-section {
    padding-top: 72px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 34px;
    align-items: start;
}

.contact-form-box,
.contact-side-card,
.contact-hours-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(0,0,0,.045);
}

.contact-form-box {
    padding: 34px;
}

    .contact-form-box h2,
    .contact-map-head h2,
    .contact-cta h2 {
        margin: 0;
        font-size: clamp(32px, 3vw, 52px);
        line-height: 1.08;
        letter-spacing: -.045em;
    }

    .contact-form-box p,
    .contact-map-head p,
    .contact-cta p {
        margin: 18px 0 0;
        color: var(--muted);
        font-size: 17px;
        line-height: 1.75;
    }

.contact-form {
    margin-top: 30px;
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

    .form-group label {
        font-size: 14px;
        font-weight: 900;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fbfaf7;
        color: var(--text);
        outline: 0;
        padding: 0 16px;
        font-size: 15px;
        font-family: inherit;
    }

    .form-group input,
    .form-group select {
        min-height: 54px;
    }

    .form-group textarea {
        min-height: 150px;
        padding-top: 16px;
        resize: vertical;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: #d4aa62;
            background: #fff;
            box-shadow: 0 0 0 4px rgba(196,147,69,.12);
        }


/* =====================================================
   CONTACT SIDE
===================================================== */

.contact-side-box {
    display: grid;
    gap: 18px;
}

.contact-side-card {
    padding: 30px;
    color: #fff;
    background: radial-gradient(circle at top left, rgba(196,147,69,.24), transparent 36%), #10100f;
}

    .contact-side-card .contact-label {
        color: #d6a64e;
    }

    .contact-side-card h3 {
        margin: 0;
        font-size: 30px;
        line-height: 1.12;
        letter-spacing: -.035em;
    }

    .contact-side-card p {
        margin: 16px 0 0;
        color: rgba(255,255,255,.72);
        font-size: 15px;
        line-height: 1.7;
    }

    .contact-side-card .btn {
        margin-top: 24px;
    }

.contact-hours-card {
    padding: 28px;
}

    .contact-hours-card h3 {
        margin: 0 0 18px;
        font-size: 24px;
        line-height: 1.15;
    }

    .contact-hours-card div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 15px 0;
        border-top: 1px solid var(--line);
    }

    .contact-hours-card span {
        color: var(--muted);
    }

    .contact-hours-card strong {
        font-weight: 950;
    }

.contact-mini-list {
    display: grid;
    gap: 10px;
}

    .contact-mini-list span {
        padding: 14px 16px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        font-weight: 800;
    }


/* =====================================================
   MAP
===================================================== */

.contact-map-section {
    padding: 0 0 70px;
    background: #fff;
}

.contact-map-head {
    margin-bottom: 28px;
    text-align: center;
}

    .contact-map-head h2 {
        max-width: 850px;
        margin-inline: auto;
    }

    .contact-map-head p {
        max-width: 720px;
        margin-inline: auto;
    }

.contact-map-box {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: var(--shadow);
    background: var(--soft);
}

    .contact-map-box iframe {
        display: block;
    }

.contact-map-button {
    margin-top: 28px;
    text-align: center;
}


/* =====================================================
   CONTACT CTA
===================================================== */

.contact-cta {
    padding: 0 0 70px;
    background: #fff;
}

.contact-cta-inner {
    min-height: 240px;
    padding: 42px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-radius: 26px;
    color: #fff;
    background: radial-gradient(circle at top left, rgba(196,147,69,.24), transparent 36%), #10100f;
}

.contact-cta .contact-label {
    color: #d6a64e;
}

.contact-cta p {
    max-width: 740px;
    color: rgba(255,255,255,.74);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1300px) {
    .contact-page .container {
        width: calc(100% - 64px);
    }

    .contact-floating-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-floating-item:nth-child(1),
    .contact-floating-item:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .contact-floating-item:nth-child(2) {
        border-right: none;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1020px) {
    .contact-cta-inner {
        display: grid;
    }
}

@media (max-width: 760px) {
    .contact-page .container {
        width: calc(100% - 32px);
    }

    .contact-hero,
    .contact-hero-inner {
        min-height: auto;
    }

        .contact-hero::before {
            background: linear-gradient( 180deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.78) 55%, rgba(0,0,0,.92) 100% ), url('../images/iletisim-banner.webp') center / cover no-repeat;
        }

    .contact-hero-inner {
        padding: 86px 0;
    }

    .contact-hero-content h1 {
        font-size: 40px;
    }

    .contact-hero-content p {
        font-size: 17px;
    }

    .contact-hero-buttons {
        display: grid;
    }

    .contact-page .btn {
        width: 100%;
        min-height: 62px;
        text-align: center;
    }

    .contact-floating-section {
        margin-top: 0;
        padding-top: 34px;
    }

    .contact-floating-box {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .contact-floating-item {
        min-height: auto;
        padding: 22px 20px;
    }

        .contact-floating-item:not(:last-child) {
            border-right: none;
            border-bottom: 1px solid var(--line);
        }

        .contact-floating-item:nth-child(1),
        .contact-floating-item:nth-child(2) {
            border-bottom: 1px solid var(--line);
        }

    .contact-floating-content h3 {
        font-size: 22px;
    }

    .contact-main-section {
        padding-top: 54px;
    }

    .contact-section {
        padding: 54px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-box {
        padding: 24px;
        border-radius: 22px;
    }

        .contact-form-box h2,
        .contact-map-head h2,
        .contact-cta h2 {
            font-size: 32px;
        }

    .contact-map-box {
        border-radius: 20px;
    }

        .contact-map-box iframe {
            height: 360px;
        }

    .contact-cta-inner {
        padding: 32px 24px;
        border-radius: 22px;
    }
}

@media (max-width: 430px) {
    .contact-hero-content h1 {
        font-size: 34px;
    }

    .contact-form-box h2,
    .contact-map-head h2,
    .contact-cta h2 {
        font-size: 29px;
    }

    .contact-floating-item,
    .contact-side-card,
    .contact-hours-card {
        padding: 22px;
    }

    .contact-floating-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        font-size: 24px;
    }
}
