/* --- GENEL SIFIRLAMA VE GÜVENLİK --- */
.about-page {
    overflow-x: hidden; /* Kesin çözüm: Yatay kaymayı engeller */
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* --- Page Banner --- */
.page-banner {
    padding: clamp(80px, 10vw, 150px) 0;
    text-align: center;
    color: white;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.page-banner h1 { 
    font-size: clamp(24px, 6vw, 48px);
    text-transform: uppercase; 
    margin-bottom: 10px;
    padding: 0 15px;
}

/* --- History Section (Görsel ve Metin) --- */
.history-section { 
    padding: 80px 0; 
}

.history-grid { 
    display: flex;
    flex-wrap: wrap; /* Mobilde alt alta geçişi garanti eder */
    gap: 40px; 
    align-items: center; 
}

.history-text {
    flex: 1;
    min-width: 300px; /* Metin çok daralmasın */
}

.sub-title { 
    color: #2C3E50; 
    font-weight: bold; 
    text-transform: uppercase; 
    letter-spacing: 2px;
}

.history-text h2 { 
    font-size: clamp(22px, 4vw, 36px); 
    margin: 15px 0 25px; 
    color: #222; 
    line-height: 1.3;
}

.history-text p { 
    color: white; 
    line-height: 1.8; 
    margin-bottom: 15px;
    font-size: 16px;
}

/* --- Görsel Düzenleme (Taşmayı Önleyen Yapı) --- */
.history-images { 
    flex: 1;
    min-width: 300px;
    position: relative;
    padding-right: 20px; /* sub-img için güvenli alan */
    padding-bottom: 20px;
}

.main-img img { 
    width: 100%; 
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
    display: block;
}

.sub-img { 
    position: absolute; 
    bottom: 0; 
    right: 0; 
    width: 50%; /* Ana görselin yarısı kadar */
    border: 6px solid #fff; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 2;
}

.sub-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* --- Founder Section (Kurucu) --- */
.founder-section { 
    background: #f9f9f9; 
    padding: 100px 0; 
}

.founder-card { 
    display: flex; 
    background: #fff; 
    border-radius: 25px; 
    overflow: hidden; 
    box-shadow: 0 15px 60px rgba(0,0,0,0.06);
    max-width: 1000px;
    margin: 0 auto;
}

.founder-img { 
    flex: 0 0 40%; 
    min-height: 350px;
}

.founder-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.founder-text { 
    padding: clamp(30px, 5vw, 60px); 
    flex: 1; 
}

.quote-icon { 
    font-size: 45px; 
    color: #2C3E50; 
    opacity: 0.2; 
    margin-bottom: 10px; 
}

.founder-text blockquote { 
    font-size: clamp(16px, 2.5vw, 20px); 
    font-style: italic; 
    line-height: 1.7; 
    color: #444; 
    margin: 0 0 30px 0;
}

.founder-text h4 { font-size: 24px; color: #2C3E50; margin: 0; }
.founder-text span { color: #888; font-size: 14px; text-transform: uppercase; }



@media (max-width: 992px) {
    .history-grid { flex-direction: column; }
    .history-images { padding-right: 0; padding-bottom: 40px; max-width: 500px; margin: 0 auto; }
    .founder-card { flex-direction: column; }
    .founder-img { flex: none; width: 100%; height: 500px; }
}

@media (max-width: 576px) {
    .history-section { padding: 50px 0; }
    .sub-img { border-width: 4px; }
    .founder-text { padding: 40px 25px; text-align: center; }
    .quote-icon { margin: 0 auto 15px; }
}