/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #226671;
    --secondary-color: #e58810;
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --bg-light: #faf9f6; /* Tasarımdaki premium krem/kırık beyaz tonu */
}

/* Hakkımızda Bölümü Ana Kapsayıcı */
.about-section {
    background-color: var(--bg-light);
    padding: 6rem 0;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.about-container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 6rem;
}

/* --- SOL SÜTUN (İÇERİK) --- */
.about-content {
    flex: 1;
    max-width: 750px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(34, 102, 113, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-badge .dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.about-content h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.about-content h2 span {
    color: var(--secondary-color);
}

.about-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Misyon / Vizyon Özellikleri */
.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

.feature-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-weight: 500;
}

/* İstatistik Kutusu */
.about-stats-box {
    background: linear-gradient(135deg, rgba(34,102,113,0.05) 0%, rgba(229,136,16,0.05) 100%);
    border: 1px solid rgba(34, 102, 113, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.stat-item {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-number span {
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.4;
    max-width: 200px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(34, 102, 113, 0.2);
    margin: 0 2rem;
}

/* Buton */
.btn-about-more {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(34, 102, 113, 0.2);
}

.btn-about-more:hover {
    background-color: #1a515a;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(34, 102, 113, 0.3);
}

.btn-about-more .icon-circle {
    background-color: #ffffff;
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-about-more:hover .icon-circle {
    background-color: var(--secondary-color);
    color: #ffffff;
}

/* --- SAĞ SÜTUN (GÖRSELLER) ---
   ÖNEMLİ DÜZELTME: Eskiden bu bölge "min-height" + yüzde genişliklere dayanıyordu.
   Wrapper genişliği ekrana göre değişince görsellerin ORANI bozuluyor, üst üste biniyorlardı.
   Şimdi wrapper'a sabit bir aspect-ratio (en-boy oranı) veriyoruz; içindeki tüm görseller
   bu orana göre yüzdesel konumlanıyor, böylece HER ekran genişliğinde aynı düzeni korur. */
.about-images-wrapper {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 1 / 1.05;
    margin: 0 auto;
}

/* Ana Büyük Görsel (Yuvarlak) */
.img-main {
    width: 68%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: absolute;
    top: 0;
    right: 6%;
    z-index: 1;
}

/* Alt Sol Görsel (Kemerli - Arch) */
.img-secondary {
    width: 44%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 200px 200px 15px 15px; /* Üstler yuvarlak, altlar hafif kavisli */
    border: 10px solid var(--bg-light); /* Arka plan rengiyle aynı çerçeve (kesik efekti) */
    position: absolute;
    bottom: 0;
    left: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    z-index: 2;
}

/* Yüzen İletişim Kutusu - artık ana görselin YÜZÜNÜ kapatmayacak şekilde
   sağ kenardan dışarı taşan bir konumda */
.floating-contact-card {
    position: absolute;
    right: -4%;
    bottom: 14%;
    background-color: var(--primary-color);
    padding: 14px;
    border-radius: 15px;
    width: 190px;
    box-shadow: 0 15px 30px rgba(34, 102, 113, 0.3);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-contact-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
}

.contact-info {
    color: #ffffff;
    text-align: center;
    padding-bottom: 4px;
}

.contact-info p {
    font-size: 0.78rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.contact-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Dekoratif Yaprak SVG (Opsiyonel süsleme) */
.decorative-leaf {
    position: absolute;
    bottom: 2%;
    right: 22%;
    width: 50px;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

/* =========================================================
   SCROLL-REVEAL ANİMASYONLARI
   Sayfa yüklenirken / kullanıcı bu bölüme kaydırınca içerikler
   ve görseller sırayla (stagger) belirir.
   ========================================================= */

/* Metin bloğu elemanları: alttan yukarı doğru belirir */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Ana/dairesel görsel ve kart: hafif büyüyerek belirir */
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-scale.in-view {
    opacity: 1;
    transform: scale(1);
}

/* Kemerli görsel: soldan kayarak belirir */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Kullanıcı "azaltılmış hareket" tercih ediyorsa animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-scale, .reveal-left {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */
@media (max-width: 1200px) {
    .about-container { gap: 3rem; }
    .about-content h2 { font-size: 2.8rem; }
}

@media (max-width: 991px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

    .about-content {
        max-width: 100%;
    }

    .about-features {
        text-align: left; /* Özellikleri solda tutalım daha şık durur */
    }

    .about-images-wrapper {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .about-section { padding: 4rem 0; }
    .about-content h2 { font-size: 2.2rem; }

    .about-stats-box {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-images-wrapper {
        max-width: 420px;
    }

    .floating-contact-card {
        width: 160px;
        padding: 10px;
        right: -2%;
    }

    .floating-contact-card img { height: 90px; }

    .contact-info h4 { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .about-images-wrapper {
        max-width: 320px;
        aspect-ratio: 1 / 1.15;
    }

    .img-main { width: 72%; right: 2%; }
    .img-secondary { width: 50%; border-width: 7px; }

    .floating-contact-card {
        width: 130px;
        right: -3%;
        bottom: 10%;
    }

    .floating-contact-card img { height: 70px; }

    .contact-info p { font-size: 0.68rem; }
    .contact-info h4 { font-size: 0.85rem; }

    .decorative-leaf {
        width: 36px;
    }
}