/**
 * İletişim sayfası — responsive, modern glass kart
 */

.contact-page {
    width: min(493px, calc(100% - 32px));
    max-width: 493px;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 0 48px;
    box-sizing: border-box;
}

.contact-page__inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 100%;
}

.contact-page__header {
    text-align: center;
}

.contact-page__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    padding: 6px 14px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2dd4d2;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(1, 177, 175, 0.28);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-page__header h1 {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 6vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #f4f8fc;
    line-height: 1.15;
}

.contact-page__lead {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(196, 210, 224, 0.9);
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
}

.contact-page__channels {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.contact-page__channel {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 6px 20px rgba(0, 0, 0, 0.18);
    min-width: 0;
}

.contact-page__channel-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: rgba(1, 177, 175, 0.12);
    border: 1px solid rgba(1, 177, 175, 0.22);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
}

.contact-page__channel-icon--phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300ece9'%3E%3Cpath d='M6.6 10.8a15 15 0 0 0 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.2 1 .4 2.1.7 3.2.9.5.1.8.5.8 1v3.4c0 .6-.4 1-1 1C10.3 22 2 13.7 2 3c0-.6.4-1 1-1h3.4c.5 0 .9.3 1 .8.2 1.1.5 2.2.9 3.2.1.4 0 .9-.3 1.2L6.6 10.8z'/%3E%3C/svg%3E");
}

.contact-page__channel-icon--mail {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300ece9'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm0 2v.3l8 5.3 8-5.3V6H4zm16 2.4-8 5.3-8-5.3V18h16V8.4z'/%3E%3C/svg%3E");
}

.contact-page__channel-icon--pin {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300ece9'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}

.contact-page__channel strong {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(184, 200, 216, 0.85);
    margin-bottom: 2px;
}

.contact-page__channel a,
.contact-page__channel span {
    display: block;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #e8eef2;
    word-break: break-word;
    text-decoration: none;
}

.contact-page__channel a:hover {
    color: #00f2ff;
}

/* ---- Glass form kartı ---- */
.contact-card {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 20px 22px;
    box-sizing: border-box;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.03) 40%,
        rgba(1, 177, 175, 0.05) 100%
    );
    backdrop-filter: blur(24px) saturate(1.65);
    -webkit-backdrop-filter: blur(24px) saturate(1.65);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        0 24px 56px rgba(0, 0, 0, 0.42),
        0 0 48px rgba(1, 177, 175, 0.08);
}

.contact-card::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -20%;
    width: 70%;
    height: 60%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 236, 233, 0.14),
        transparent 70%
    );
    pointer-events: none;
}

.contact-card__title {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #f2f6fa;
    text-align: center;
}

.contact-card form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.contact-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.contact-card label {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(232, 238, 242, 0.92);
    margin: 0;
}

.contact-field,
.contact-card input[type="text"],
.contact-card input[type="email"],
.contact-card input[type="tel"],
.contact-card input[type="file"],
.contact-card textarea,
.contact-card select {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    font-family: inherit;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.22) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 12px !important;
    outline: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.contact-field--textarea,
.contact-card textarea {
    min-height: 140px !important;
    height: auto !important;
    resize: vertical;
    line-height: 1.5;
}

.contact-card input[type="file"] {
    padding: 10px 12px !important;
    font-size: 14px !important;
    cursor: pointer;
}

.contact-field:focus,
.contact-card input:focus,
.contact-card textarea:focus {
    border-color: rgba(0, 236, 233, 0.55) !important;
    background: rgba(0, 0, 0, 0.32) !important;
    box-shadow: 0 0 0 3px rgba(1, 177, 175, 0.18);
}

.contact-field::placeholder,
.contact-card textarea::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.contact-card__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
    padding: 13px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #021014;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    background: linear-gradient(135deg, #7af8f6 0%, #00ece9 42%, #01b1af 100%);
    box-shadow:
        0 10px 28px rgba(1, 177, 175, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.contact-card__submit:hover {
    box-shadow:
        0 14px 36px rgba(1, 177, 175, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.contact-card__submit:active {
    transform: scale(0.98);
}

/* Eski iletişim sarmalayıcıları — bu sayfada devre dışı */
.contact-page .service-wrapper2,
.contact-page .service2,
.contact-page .cards2,
.contact-page .wrapper {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    overflow: visible !important;
}

.contact-page .input-box {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}

@media (min-width: 992px) {
    .contact-card {
        padding: 24px 22px 22px;
    }
}

@media (max-width: 991px) {
    .contact-page {
        width: min(100%, calc(100vw - 28px));
        max-width: 100%;
    }

    .contact-card {
        padding: 20px 16px 18px;
        border-radius: 18px;
    }
}

@media (max-width: 380px) {
    .contact-card {
        padding: 18px 14px 18px;
    }

    .contact-page__channel {
        padding: 10px 12px;
    }
}

body.light-mode .contact-page__header h1,
body.light-mode .contact-card__title {
    color: #0f172a;
}

body.light-mode .contact-page__lead,
body.light-mode .contact-page__channel span {
    color: #475569;
}

body.light-mode .contact-page__channel a {
    color: #0f766e;
}

body.light-mode .contact-card {
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.92) 100%
    );
    border-color: rgba(1, 177, 175, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 16px 40px rgba(0, 0, 0, 0.08);
}

body.light-mode .contact-field,
body.light-mode .contact-card input,
body.light-mode .contact-card textarea {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

body.light-mode .contact-page__channel {
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(22px) saturate(1.25);
    -webkit-backdrop-filter: blur(22px) saturate(1.25);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 6px 20px rgba(0, 0, 0, 0.06);
}
