/* =====================================================
   GENEL AYARLAR
===================================================== */

.detective-contact-page {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    background: #f4f5f6;
    font-family: Arial, Helvetica, sans-serif;
}

.detective-contact-page * {
    box-sizing: border-box;
}

.contact-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* =====================================================
   ORTAK RENKLER
===================================================== */

.detective-contact-page {
    --dark: #071525;
    --dark-2: #0b1f35;
    --red: #d50000;
    --red-dark: #a80000;
    --text: #222b36;
    --gray: #68717b;
    --border: #e4e6e8;
}

/* =====================================================
   ÜST HERO ALANI
===================================================== */

.contact-hero {
    display: grid;
    grid-template-columns: 31% 40% 29%;
    min-height: 520px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .10);
}


/* =====================================================
   SOL ALAN
===================================================== */

.hero-left {
    position: relative;
    padding: 35px 38px;
    color: #fff;
    background:
        radial-gradient(circle at top left,
        rgba(25, 55, 85, .3),
        transparent 50%),
        linear-gradient(145deg, #09192b, #030b16);
}

.detective-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.brand-icon {
    width: 92px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e00000;
    border-radius: 45% 45% 50% 50%;
    font-size: 48px;
    color: #fff;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text span {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .5px;
}

.brand-text strong {
    margin: 4px 0;
    color: #df1818;
    font-size: 27px;
}

.brand-text small {
    font-size: 11px;
    font-weight: bold;
}

.hero-left h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: .5px;
}

.title-line {
    width: 60px;
    height: 3px;
    margin: 12px 0 8px;
    background: var(--red);
}

.hero-stat-list {
    margin-top: 5px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
}

.stat-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,.12);
    border-radius: 50%;
    color: #e31b23;
    font-size: 24px;
}

.hero-stat div:last-child {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    font-size: 17px;
}

.hero-stat span {
    color: #e23535;
    font-size: 13px;
    font-weight: bold;
}

.hero-stat small {
    margin-top: 3px;
    color: #c7cbd0;
    font-size: 11px;
}


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

.hero-form-area {
    position: relative;
    z-index: 3;
    padding: 55px 35px 30px;
    background: #fff;
}

.form-mail-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    width: 55px;
    height: 55px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c80000;
    background: #fff;
    border-radius: 50%;
    font-size: 26px;
    box-shadow: 0 4px 18px rgba(0,0,0,.13);
}

.form-heading {
    text-align: center;
}

.form-heading > span {
    position: relative;
    display: inline-block;
    color: #424b56;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.form-heading > span:before,
.form-heading > span:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 90px;
    height: 1px;
    background: #e4caca;
}

.form-heading > span:before {
    right: calc(100% + 14px);
}

.form-heading > span:after {
    left: calc(100% + 14px);
}

.form-heading h1 {
    margin: 10px 0 8px;
    color: #26303a;
    font-size: 30px;
}

.form-heading h1 strong {
    color: var(--red);
}

.form-heading p {
    max-width: 400px;
    margin: auto;
    color: #5d6570;
    font-size: 14px;
    line-height: 1.6;
}


/* FORM ELEMANLARI */

.modern-contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
}

.form-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group,
.message-group {
    position: relative;
}

.input-group i,
.message-group > i {
    position: absolute;
    top: 19px;
    left: 16px;
    color: #65717d;
    font-size: 17px;
    z-index: 1;
}

.input-group input,
.message-group textarea {
    width: 100%;
    border: 1px solid #dfe2e5;
    outline: none;
    background: #fafafa;
    color: #26313d;
    font-size: 14px;
    transition: .25s ease;
}

.input-group input {
    height: 57px;
    padding: 0 15px 0 45px;
    border-radius: 10px;
}

.message-group textarea {
    height: 203px;
    padding: 18px 15px 15px 47px;
    border-radius: 10px;
    resize: vertical;
}

.input-group input:focus,
.message-group textarea:focus {
    border-color: #d00000;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(208,0,0,.06);
}

.form-button-area {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.contact-submit-btn {
    border: 0;
    padding: 15px 27px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    background: linear-gradient(135deg, #d90000, #b40000);
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(190,0,0,.20);
    transition: .25s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(190,0,0,.30);
}


/* =====================================================
   SAĞ GÖRSEL ALANI
===================================================== */

.hero-right {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(4,16,31,.30), rgba(4,16,31,.75)),
        url("../images/iletisim-istanbul.webp") center center / cover no-repeat,
        #102238;
}

/*
 Görseliniz henüz yoksa arka plan yine koyu
 kurumsal bir görünümle çalışmaya devam eder.
*/

.city-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 30%,
        rgba(255,255,255,.15) 1px,
        transparent 2px);
    background-size: 40px 40px;
    opacity: .6;
}

.red-shape {
    position: absolute;
    top: -10%;
    bottom: -10%;
    left: -45px;
    width: 90px;
    background: #e40000;
    transform: skewX(19deg);
    box-shadow: 8px 0 15px rgba(0,0,0,.20);
}

.service-badge {
    position: absolute;
    right: 45px;
    bottom: 35px;
    width: 145px;
    height: 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,.25);
    border-radius: 50%;
    color: #fff;
    background: rgba(3,12,25,.50);
    text-align: center;
    backdrop-filter: blur(3px);
}

.service-badge i {
    margin-bottom: 8px;
    font-size: 28px;
    color: #fff;
}

.service-badge strong {
    font-size: 15px;
}

.service-badge strong span {
    color: #e21a1a;
    font-size: 22px;
}

.service-badge small {
    font-size: 15px;
    font-weight: bold;
}


/* =====================================================
   ALT ORTA BÖLÜM
===================================================== */

.contact-middle {
    display: grid;
    grid-template-columns: 48fr 52fr;
    gap: 18px;
    margin-top: 18px;
}

.contact-information,
.service-principles {
    position: relative;
    min-height: 315px;
    padding: 25px 40px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.contact-information {
    color: #fff;
    background:
        radial-gradient(circle at 80% 50%,
        rgba(26,54,82,.5),
        transparent 35%),
        linear-gradient(135deg, #071525, #0a1e32);
}

.contact-information h2 {
    margin: 0;
    font-size: 21px;
}

.contact-information .title-line {
    margin-bottom: 10px;
}

.contact-info-list {
    position: relative;
    z-index: 2;
}

.info-item {
    display: grid;
    grid-template-columns: 42px 145px 1fr;
    align-items: center;
    min-height: 43px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.info-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #d60000;
    border-radius: 50%;
    font-size: 15px;
}

.info-label {
    font-weight: bold;
    font-size: 15px;
}

.info-value {
    color: #d5d9de;
    font-size: 14px;
}

.address-item {
    padding: 7px 0;
}

.map-decoration {
    position: absolute;
    right: -30px;
    bottom: -50px;
    width: 300px;
    height: 200px;
    opacity: .07;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 7px 7px;
    transform: rotate(-10deg);
}


/* =====================================================
   HİZMET ANLAYIŞI
===================================================== */

.section-center-title {
    text-align: center;
}

.section-center-title h2 {
    margin: 0;
    color: #28323d;
    font-size: 21px;
}

.section-center-title h2 strong {
    color: #c90000;
}

.center-line {
    width: 80px;
    height: 3px;
    margin: 10px auto 14px;
    background: var(--red);
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    overflow: hidden;
}

.principle-item {
    min-height: 105px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px;
    border-right: 1px solid #e6e8eb;
    border-bottom: 1px solid #e6e8eb;
}

.principle-item:nth-child(3n) {
    border-right: 0;
}

.principle-item:nth-last-child(-n+3) {
    border-bottom: 0;
}

.principle-item > i {
    flex-shrink: 0;
    color: #c90000;
    font-size: 28px;
}

.principle-item h3 {
    margin: 0 0 7px;
    color: #303943;
    font-size: 12px;
    font-weight: bold;
    line-height: 15px;
}

.principle-item p {
    margin: 0;
    color: #6b737d;
    font-size: 11px;
    line-height: 1.45;
}


/* =====================================================
   GÜVEN BARI
===================================================== */

.trust-bar {
    margin-top: 18px;
    padding: 14px 30px 18px;
    color: #fff;
    border-radius: 18px;
    background: linear-gradient(90deg, #071525, #0d263f, #071525);
    box-shadow: 0 5px 20px rgba(0,0,0,.10);
}

.trust-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
}

.trust-title span {
    width: 80px;
    height: 2px;
    background: #c90000;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 25px;
    border-right: 1px solid rgba(255,255,255,.16);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: #d9dce0;
    font-size: 25px;
}

.trust-item div:last-child {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-size: 14px;
}

.trust-item b {
    color: #d9dce0;
    font-size: 11px;
}

.trust-item small {
    margin-top: 4px;
    color: #aeb7c0;
    font-size: 10px;
}

.contact-page-footer {
    padding: 14px;
    color: #5c6570;
    text-align: center;
    font-size: 14px;
}

.contact-page-footer i {
    margin-right: 7px;
    color: #c90000;
}
/* =====================================================
   TABLET - MEVCUT TASARIM KORUNUR
===================================================== */

@media (max-width: 1100px) and (min-width: 769px) {

    /* Üst bölüm: Sol bilgi + Form */
    .contact-hero {
        grid-template-columns: 34% 66%;
    }

    /* Sağdaki görsel alan tablet için gizlenir */
    .hero-right {
        display: none;
    }

    /* Alt alan yan yana kalır */
    .contact-middle {
        grid-template-columns: 48fr 52fr;
        gap: 15px;
    }

    .contact-information,
    .service-principles {
        padding: 25px 20px;
    }

    /* Hizmet anlayışı 3 kolon olarak devam eder */
    .principle-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .principle-item {
        padding: 12px 10px;
    }

    .principle-item > i {
        font-size: 22px;
    }

    .principle-item h3 {
        font-size: 10px;
    }

    .principle-item p {
        font-size: 10px;
    }

    /* Alt güven alanı */
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        padding: 15px;
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255,255,255,.16);
    }

}


/* =====================================================
   MOBİL - TÜM ALANLAR TEK SÜTUN
===================================================== */

@media (max-width: 768px) {

    .detective-contact-page {
        padding: 8px;
    }

    /* =========================
       TÜM ANA BÖLÜMLER
    ========================= */

    .contact-hero,
    .contact-middle {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    /* =========================
       ÜST HERO ALANI
    ========================= */

    .contact-hero {
        border-radius: 12px;
    }

    .hero-left,
    .hero-form-area,
    .hero-right {
        width: 100%;
    }

    .hero-left {
        padding: 30px 20px;
        order: 1;
    }

    .hero-form-area {
        padding: 50px 20px 25px;
        order: 2;
    }

    /*
      Mobilde sağdaki görsel alanı da göstermek isterseniz
      display: block yapabilirsiniz. Tasarımın daha kompakt
      olması için burada gizlenmiştir.
    */
    .hero-right {
        display: none;
    }


    /* =========================
       MARKA VE İSTATİSTİKLER
    ========================= */

    .detective-brand {
        justify-content: center;
    }

    .hero-left h2 {
        text-align: center;
    }

    .hero-left .title-line {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stat-list {
        width: 100%;
    }


    /* =========================
       FORM - TAMAMEN TEK SÜTUN
    ========================= */

    .modern-contact-form {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .form-inputs {
        width: 100%;
        gap: 15px;
    }

    .input-group,
    .message-group {
        width: 100%;
    }

    .input-group input {
        width: 100%;
    }

    .message-group textarea {
        width: 100%;
        height: 170px;
    }

    .form-button-area {
        width: 100%;
        justify-content: stretch;
    }

    .contact-submit-btn {
        width: 100%;
        justify-content: center;
        min-height: 52px;
    }


    /* =========================
       ALT ORTA BÖLÜM
    ========================= */

    .contact-middle {
        gap: 15px;
        margin-top: 15px;
    }

    .contact-information,
    .service-principles {
        width: 100%;
        min-height: auto;
        padding: 25px 18px;
        border-radius: 12px;
    }


    /* =========================
       İLETİŞİM BİLGİLERİ
    ========================= */

    .info-item {
        display: grid;
        grid-template-columns: 45px 100px 1fr;
        width: 100%;
        min-height: 52px;
    }

    .info-value {
        word-break: break-word;
    }


    /* =========================
       HİZMET ANLAYIŞI
       MOBİLDE TEK SÜTUN
    ========================= */

    .principle-grid {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .principle-item,
    .principle-item:nth-child(3n),
    .principle-item:nth-last-child(-n+3) {
        width: 100%;
        min-height: auto;
        padding: 18px 15px;
        border-right: 0;
        border-bottom: 1px solid #e6e8eb;
    }

    .principle-item:last-child {
        border-bottom: 0;
    }


    /* =========================
       GÜVEN BARI
       MOBİLDE TEK SÜTUN
    ========================= */

    .trust-bar {
        width: 100%;
        margin-top: 15px;
        padding: 20px;
        border-radius: 12px;
    }

    .trust-title {
        font-size: 11px;
        line-height: 1.5;
        letter-spacing: 1px;
    }

    .trust-title span {
        display: none;
    }

    .trust-items {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .trust-item,
    .trust-item:nth-child(2) {
        width: 100%;
        padding: 16px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.15);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .contact-page-footer {
        padding: 15px 10px;
        line-height: 1.6;
    }

}


/* =====================================================
   KÜÇÜK EKRAN MOBİL OPTİMİZASYONU
===================================================== */

@media (max-width: 480px) {

    .detective-contact-page {
        padding: 5px;
    }

    .hero-left {
        padding: 25px 15px;
    }

    .hero-form-area {
        padding: 45px 15px 20px;
    }

    .detective-brand {
        gap: 10px;
    }

    .brand-icon {
        width: 65px;
        height: 75px;
        font-size: 32px;
    }

    .brand-text span {
        font-size: 17px;
    }

    .brand-text strong {
        font-size: 21px;
    }

    .brand-text small {
        font-size: 8px;
    }

    .hero-stat {
        gap: 10px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .hero-stat strong {
        font-size: 14px;
    }

    .hero-stat span {
        font-size: 11px;
    }

    .hero-stat small {
        font-size: 10px;
    }

    .form-heading h1 {
        font-size: 24px;
    }

    .form-heading > span:before,
    .form-heading > span:after {
        width: 30px;
    }

    .contact-information,
    .service-principles {
        padding: 22px 15px;
    }

    /* İletişim bilgileri küçük ekran */
    .info-item {
        grid-template-columns: 40px 85px 1fr;
        gap: 3px;
    }

    .info-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .info-label,
    .info-value {
        font-size: 11px;
    }

    .trust-item {
        gap: 10px;
    }

    .trust-icon {
        width: 50px;
        height: 50px;
        font-size: 21px;
    }

}