﻿/* === İLETİŞİM SAYFASI HERO === */
.contact-hero {
    position: relative;
    background: url('/images/baslik.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 35vh;
    width: 100%;
    display: flex;
    justify-content: center; /* YATAY ORTA */
    align-items: center; /* DİKEY ORTA */
    text-align: center;
    z-index: 1;
}
    /* Üstte blur efekti */
    .contact-hero::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 160px;
        background: url('/images/baslik.png');
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        filter: blur(15px);
        z-index: 2;
        pointer-events: none;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    }
    /* Siyah opak degrade */
    .contact-hero::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        height: 150px;
        background: linear-gradient(to bottom, rgba(0,0,0,0.70), rgba(0,0,0,0));
        z-index: 3;
        pointer-events: none;
    }

/* Başlık kapsayıcısı */
.contact-hero-title {
    z-index: 5;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

    /* Başlık tipi */
    .contact-hero-title h1 {
        font-size: 2.3rem;
        font-weight: 600;
        color: #f1f1f1;
        margin: 0;
        margin-top: 5.5rem;
        letter-spacing: 0.08em;
        text-align: center;
        text-shadow: 0px 4px 10px rgba(0,0,0,0.6);
    }

/* === ANA İLETİŞİM BÖLÜMÜ === */
.contact-section {
    background-color: #f8f8f8;
    padding: 1rem 0 2.5rem;
    width: 100%;
}

/* İçerik ortalayıcı */
.contact-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === BAŞLIKLAR === */
.contact-details-side h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f3652;
    margin: 0 0 1rem 0;
}

.contact-details-side h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f3652;
    margin: 0 0 1.8rem 0;
}

/* Layout */
.contact-map-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.4rem;
    line-height: 0.4rem;
}

    .contact-item i {
        font-size: 1.4rem;
        color: #1f3652;
    }

    .contact-item h6 {
        margin: 0;
        font-weight: 600;
        color: #1f3652;
        font-size: 1.2rem;
        line-height: 0.5rem;
        line-height: 1rem;
    }

    .contact-item p {
        margin: 0.4rem 0 0;
        font-size: 1rem;
        line-height: 1rem;
        color: #100f0d;
    }

/* Sağ: Harita */
.contact-map-side {
    flex: 1;
    max-width: 50%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

    .contact-map-side iframe {
        width: 100%;
        height: 360px;
        border: 0;
    }

/* ==========================================================
   İLETİŞİM SAYFASI – TABLET (577px – 1199px)
   ========================================================== */
@media (min-width: 577px) and (max-width: 1199px) {

    /* HERO yükseklik biraz azalt */
    .contact-hero {
        height: 35vh !important;
        background-position: center !important;
    }

    .contact-hero-title h1 {
        font-size: 2.5rem !important;
        margin-top: 5.5rem !important;
        letter-spacing: 0.06em !important;
    }

    /* Ana içerik */
    .contact-section {
        padding: 1.5rem 0 2.5rem !important;
    }

    /* İçerik kapsayıcı genişliği */
    .contact-inner {
        max-width: 600px !important;
        padding: 1rem 1rem 2rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Sol & sağ alan yan yana ama daha dar görünür */
    .contact-map-wrapper {
        display: flex !important;
        flex-direction: row !important;
        gap: 2rem !important;
        margin-top: 2rem !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
    }

    /* Sol taraf (iletişim bilgileri) */
    .contact-details-side {
        width: 45% !important;
    }

        .contact-details-side h2 {
            font-size: 1.6rem !important;
            margin-bottom: 0.8rem !important;
        }

        .contact-details-side h3 {
            font-size: 1.25rem !important;
            margin-bottom: 1.5rem !important;
        }

    .contact-item {
        gap: 0.9rem !important;
        margin-bottom: 1.2rem !important;
    }

        .contact-item i {
            font-size: 1.25rem !important;
        }

        .contact-item h6 {
            font-size: 1.1rem !important;
            line-height: 1.2rem !important;
        }

        .contact-item p {
            font-size: 0.95rem !important;
        }

    /* Sağ taraf (harita) */
    .contact-map-side {
        width: 55% !important;
        max-width: none !important;
        border-radius: 12px !important;
        box-shadow: 0 3px 12px rgba(0,0,0,0.12) !important;
    }

        .contact-map-side iframe {
            width: 100% !important;
            height: 300px !important;
        }
}

/* ==========================================================
   İLETİŞİM SAYFASI – MOBİL (max-width: 576px)
   ========================================================== */
@media (max-width: 576px) {

    /* HERO ayarları */
    .contact-hero {
        height: 28vh !important;
        background-position: center !important;
    }

    .contact-hero-title h1 {
        font-size: 1.8rem !important;
        margin-top: 5rem !important;
        letter-spacing: 0.06em !important;
    }

    /* İçerik padding */
    .contact-section {
        padding: 1.3rem 1.1rem 2rem 1.2rem !important;
    }

    /* Detay + harita kolonları tek kolona düşsün */
    .contact-map-wrapper {
        flex-direction: column !important;
        gap: 1.8rem !important;
        margin-top: 1.5rem !important;
    }

    /* Sol taraf (iletişim detayları) */
    .contact-details-side h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
        text-align: left !important;
    }

    .contact-details-side h3 {
        font-size: 1.2rem !important;
        margin-bottom: 1.5rem !important;
    }

    .contact-item {
        gap: 0.8rem !important;
        margin-bottom: 1.2rem !important;
    }

        .contact-item i {
            font-size: 1.2rem !important;
        }

        .contact-item h6 {
            font-size: 1.05rem !important;
            line-height: 1.2rem !important;
        }

        .contact-item p {
            font-size: 0.95rem !important;
            margin-top: 0.3rem !important;
            line-height: 1rem !important;
        }

    /* Harita alanı */
    .contact-map-side {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 12px !important;
        box-shadow: 0 3px 10px rgba(0,0,0,0.15) !important;
    }

        .contact-map-side iframe {
            width: 100% !important;
            height: 260px !important;
        }
}
