/* =================================================================
   ARK YAPI - İLETİŞİM SAYFASI
   ================================================================= */

/* --- GENEL AYARLAR --- */
:root {
    --color-green: #425F57;
    --color-dark: #212121;
    --color-grey: #9A9A9A;
    --color-light-grey: #7E7E7E;
    --color-border: #E3E3E3;
    --font-poppins: 'Poppins', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

/* Kapsayıcı (Ortalama ve Genişlik) */
.content-container {
    margin: 0;
    margin-right: auto;
    padding: 0 240px;
    width: 100%;
    box-sizing: border-box;
}

/* --- 1. HERO ALANI --- */
.page-hero {
    position: relative;
    width: 100%;
    height: 507px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    max-width: 100vw;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../img/ark/iletisim-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Yeşil Overlay */
.hero-overlay-green {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(66, 95, 87, 0.57);
    mix-blend-mode: overlay;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(31, 31, 31, 0.75) 1.12%, rgba(31, 31, 31, 0) 101.12%);
    z-index: 3;
}

.hero-text-wrapper {
    position: relative;
    z-index: 4;
    padding-left: 0;
}

.hero-title {
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 54px;
    line-height: 1.25;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.hero-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

/* --- 2. BİLGİ & HARİTA ALANI --- */
.info-map-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.split-layout {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 100px;
}

/* Sol Taraf: Harita */
.map-container {
    width: 724px;
    height: 499px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #eee;
    flex-shrink: 0;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    border-radius: 8px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

/* --- İletişim Bilgi Alanı (Figma Birebir) --- */

.contact-details-fof {
    display: flex;
    flex-direction: column;
    /* Önceki 130px, Figma'daki blok üst konumları arasındaki FARKI (183px/222px) blok
       yüksekliği çıkarılmadan gap sanıp kullanmıştı — bu yüzden üç blok haritanın tüm
       yüksekliğine yayılıp aşırı boşluklu duruyordu. Gerçek Figma görünümünde bloklar
       birbirine yakın; gap küçültüldü. */
    gap: 56px;
    margin-top: 50px;
}

.fof-info-group {
    display: flex;
    align-items: flex-start;
    gap: 20px; /* İkon ve yazı arası mesafe */
}

/* İkon Stili (Kutucuksuz) */
.fof-icon {
    width: 47.23px;
    height: 47.23px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px; /* İkon boyutu */
    color: #425F57; /* Figma İkon Rengi */
    flex-shrink: 0;
}

.fof-texts {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Başlık ve detay arası yakınlık */
}

/* Üst Başlık (Figma: Poppins 26px, #9A9A9A) */
.fof-label {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 39px;
    color: #9A9A9A;
    margin: 0;
}

/* Alt Detay (Figma: Poppins 21px, #212121) */
.fof-value {
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    line-height: 32px;
    color: #212121;
    margin: 0;
}

.fof-value a {
    color: #212121;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fof-value a:hover {
    color: #425F57;
    text-decoration: none;
}

.merkez-bold {
    font-weight: 700;
    color: #000000;
}

/* --- 3. İLETİŞİM FORMU ALANI --- */
.form-section {
    position: relative;
    padding: 80px 0 100px;
    background-color: var(--color-green);
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    min-height: 778px;
}

/* Arka plan görseli - Neden ARK Yapı ile aynı */
.form-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../img/ark/Hero.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Yeşil overlay - Neden ARK Yapı ile aynı */
.form-overlay-green {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-green);
    opacity: 0.95;
    z-index: 1;
}

.form-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1249px;
    margin: 0 auto;
    padding: 0 240px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1550px) {
    .form-wrapper {
        padding: 0 60px;
    }
}

@media (max-width: 1399px) {
    .form-wrapper {
        padding: 0 150px;
    }
}

@media (max-width: 1199px) {
    .form-wrapper {
        padding: 0 100px;
    }
}

.form-title {
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 36px;
    color: #FFFFFF;
    margin-bottom: 50px;
    text-align: center;
}

.contact-form {
    width: 975px;
    max-width: 975px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-input {
    width: 100%;
    height: 62px;
    background: #FFFFFF;
    border: 1.3px solid var(--color-border);
    border-radius: 8px;
    padding: 0 24px;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 18px;
    color: var(--color-light-grey);
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--color-green);
}

.form-textarea {
    height: 186px;
    padding-top: 20px;
    resize: none;
}

.form-btn {
    width: 165px;
    height: 48px;
    background: #FFFFFF;
    border-radius: 6px;
    border: none;
    margin: 10px auto 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-green);
    transition: transform 0.2s;
}

.form-btn:hover {
    transform: scale(1.02);
}

/* --- RESPONSIVE AYARLAR --- */

/* 1920px+ */
@media (min-width: 1920px) {
    .content-container {
        padding: 0 240px;
    }
}

/* 1600px - 1919px */
@media (min-width: 1600px) and (max-width: 1919px) {
    .content-container {
        padding: 0 200px;
    }
}

/* 1400px - 1599px */
@media (min-width: 1400px) and (max-width: 1599px) {
    .content-container {
        padding: 0 175px;
    }
}

/* 1350px - 1550px (1470px MacBook için optimize) */
@media (min-width: 1350px) and (max-width: 1550px) {
    .content-container {
        padding: 0 60px;
    }
    
    .hero-title {
        font-size: 46px;
    }
    
    .hero-desc {
        font-size: 18px;
        line-height: 28px;
    }
    
    .split-layout {
        gap: 60px;
    }
    
    .map-container {
        width: 100%;
        max-width: 600px;
        height: 400px;
    }
}

/* 1200px - 1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
    .content-container {
        padding: 0 150px;
    }
    
    .split-layout {
        gap: 60px;
    }
    
    .map-container {
        width: 100%;
        max-width: 550px;
        height: 400px;
    }
}

/* 992px - 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
    .content-container {
        padding: 0 100px;
    }
    
    .split-layout {
        gap: 60px;
    }
    
    .map-container {
        width: 100%;
        max-width: 500px;
        height: 350px;
    }
}

/* max-width: 991px */
@media (max-width: 991px) {
    .page-hero {
        height: 400px;
    }
    
    .content-container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 48px;
    }
    
    .hero-desc {
        font-size: 16px;
        line-height: 24px;
    }
    
    .info-map-section {
        padding: 60px 0;
    }
    
    .split-layout {
        flex-direction: column;
        gap: 60px;
    }
    
    .map-container {
        width: 100%;
        height: 350px;
    }
    
    .contact-details-fof {
        gap: 60px;
        margin-top: 30px;
    }
    
    .fof-label {
        font-size: 22px;
        line-height: 30px;
    }
    
    .fof-value {
        font-size: 18px;
        line-height: 26px;
    }

    .fof-icon {
        font-size: 24px;
        width: 40px;
    }
    
    .form-section {
        padding: 60px 0;
        height: auto;
        min-height: auto;
    }
    
    .form-wrapper {
        padding: 0 30px;
    }
    
    .form-title {
        font-size: 20px;
        margin-bottom: 40px;
    }
    
    .contact-form {
        width: 100%;
        max-width: 100%;
        gap: 20px;
    }
}

/* max-width: 576px - Markalar ile aynı */
@media (max-width: 576px) {
    .page-hero {
        height: 350px;
    }
    
    .content-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 20px;
        line-height: 36px;
    }
    
    .hero-desc {
        font-size: 14px;
        line-height: 20px;
    }
    
    .info-map-section {
        padding: 40px 0;
    }
    
    .map-container {
        height: 250px;
    }
    
    .contact-details-fof {
        gap: 60px;
        margin-top: 30px;
    }
    
    .fof-label {
        font-size: 22px;
        line-height: 30px;
    }
    
    .fof-value {
        font-size: 18px;
        line-height: 26px;
    }

    .fof-icon {
        font-size: 24px;
        width: 40px;
    }
    
    .info-map-section {
        padding: 40px 0;
    }
    
    .map-container {
        height: 250px;
    }
    
    .contact-details-fof {
        gap: 40px;
        margin-top: 20px;
    }
    
    .fof-label {
        font-size: 18px;
        line-height: 26px;
    }
    
    .fof-value {
        font-size: 16px;
        line-height: 24px;
    }

    .fof-icon {
        font-size: 20px;
        width: 35px;
        height: 35px;
    }
    
    .form-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .form-wrapper {
        padding: 0 20px;
    }
    
    .form-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .contact-form {
        width: 100%;
        max-width: 100%;
    }
    
    .form-input {
        font-size: 16px;
        padding: 0 20px;
        height: 56px;
    }
    
    .form-textarea {
        height: 150px;
    }
    
    .form-btn {
        width: 100%;
        max-width: 165px;
    }
}
