/* ============================================================
   1. BRANCHEN FOCUS SECTION (LAYOUT)
   ============================================================ */
.branchen-focus-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-white);
    padding: 80px 5%;
    box-sizing: border-box;
}

/* --- MERKEZİ INTRO --- */
.intro-section {
    width: 100%;
    max-width: 900px;
    margin-bottom: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.intro-section h2 {
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-black);
    line-height: 1.1;
    margin-bottom: 15px;
}

.intro-section h2 span {
    color: var(--primary-orange);
}

.intro-section::after {
    content: "";
    width: 80px;
    height: 4px;
    background-color: var(--primary-orange);
    margin: 15px 0 25px 0;
    border-radius: 2px;
}

.sub-slogan {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 10px;
}

.section-text {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
    max-width: 750px;
}

/* ============================================================
   2. GRID SİSTEMİ & RESİM BOYUTLARI (DESKTOP PRESERVED)
   ============================================================ */
.overlay-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Masaüstü 5'li sarsılmaz yapı */
    gap: 20px;
    width: 100%;
    max-width: 1400px;
}

.img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1.618 / 1; /* Kral, senin istediğin Altın Oran burada sabit */
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--nav-transition);
    background-color: var(--primary-black);
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--nav-transition);
}

/* ============================================================
   3. OVERLAY & HOVER EFEKTLERİ (OV-6)
   ============================================================ */
.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10%;
    transition: var(--nav-transition);
    opacity: 0;
    z-index: 2;
    background-color: rgba(26, 26, 26, 0.85);
    text-align: center;
}

.overlay-title {
    color: var(--primary-white);
    font-weight: 900;
    font-size: clamp(10px, 1.1vw, 16px);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    width: 100%;
}

.overlay-text {
    color: var(--primary-orange);
    font-size: clamp(8px, 0.7vw, 11px);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 8px;
    display: block;
    width: 100%;
}

/* Hover Durumu */
.ov-6:hover .overlay {
    opacity: 1;
    border: 2px solid var(--primary-orange);
    margin: 8%;
    width: 84%;
    height: 84%;
}

.img-container:hover img {
    transform: scale(1.1);
}

/* ============================================================
   4. RESPONSIVE (BOYUTLARI KORUYARAK)
   ============================================================ */

/* Tablet: Resimler çok küçülmesin diye 3'lüye dönüyoruz */
@media (max-width: 1100px) {
    .overlay-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobil Geniş: 2'li yapı, oran hala 1.618 */
@media (max-width: 768px) {
    .overlay-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .branchen-focus-section {
        padding: 60px 15px;
    }
}

/* Tam Mobil: Resimler net görünsün diye tekli sütun */
@media (max-width: 480px) {
    .overlay-grid {
        grid-template-columns: 1fr;
    }
    
    .img-container {
        /* İsteğe bağlı: Mobilde resim çok büyük gelirse oranı 1.77 (16:9) yapabilirsin 
           ama senin isteğin üzerine 1.618'i burada da sabit bırakıyorum. */
        aspect-ratio: 1.618 / 1; 
    }
}