﻿/* =============================================== */
/* --- HAKKIMIZDA SAYFASI STİLLERİ --- */
/* (MOBİL ÖNCELİKLİ YAKLAŞIM) */
/* =============================================== */

/* 1. Sayfa Başlığı Alanı */
.page-header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
}

    .page-header h1 {
        font-size: 2.8rem;
        margin: 0;
    }

    .page-header p {
        font-size: 1.2rem;
        opacity: 0.8;
        margin-top: 10px;
    }
.section.bg-light {
    background-color: var(--background-gray);
}

/* 2. Giriş ve Hikaye Alanı */
.about-intro {
    /* Mobilde varsayılan olarak dikey (alt alta) hizalanacak */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-intro__image img {
    width: 100%;
    border-radius: 8px;
}

.about-intro__text h2 {
    font-size: 2.2rem;
    margin-top: 0;
}

/* 3. Değerlerimiz Alanı */
.values-grid {
    /* Mobilde varsayılan olarak dikey (tek sütunlu) olacak */
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.value-card__icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* 4. CTA Alanı */
.cta-section {
    background-color: var(--dark-text);
    color: var(--secondary-color);
    text-align: center;
}

    .cta-section h2 {
        font-size: 2.2rem;
    }

    .cta-section .btn {
        margin-top: 1rem;
    }

/* =============================================== */
/* --- TABLET VE MASAÜSTÜ İÇİN GELİŞTİRMELER --- */
/* =============================================== */

/* Genişliği 768px'den fazla olan ekranlar için */
@media (min-width: 768px) {
    /* Giriş ve hikaye alanını yan yana getir */
    .about-intro {
        flex-direction: row;
        align-items: center;
    }

    .about-intro__image {
        flex: 0 0 40%; /* Resim alanının genişliği %40 olsun */
    }

    .about-intro__text {
        flex: 1;
    }

    /* Değerler kartlarını yan yana (3 sütunlu) diz */
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ana fotoğraf */
.about-intro__image .main-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Küçük fotoğrafların kapsayıcısı */
.image-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Küçük fotoğraflar */
.small-image {
    width: 100%;
    max-height: 180px; /* Sabit bir yükseklik sınırı ekledik */
    object-fit: cover; /* Taşma ve bozulmayı önler */
    border-radius: 8px;
}

/* Tablet ve Desktop görünümü */
@media (min-width: 768px) {
    .image-row {
        flex-direction: row;
    }

    .small-image {
        width: calc(50% - 0.5rem); /* Yan yana taşma yapmasın */
        max-height: 150px; /* Daha küçük gözüksün */
    }
}
