/* ================================================== */
/* KURUMSAL BÖLÜM STİLLERİ (kurumsal.css)             */
/* ================================================== */

:root {
    --primary-color: #0d6efd;
    --primary-gradient: linear-gradient(135deg, #0d6efd, #2563eb);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f7f9fc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --card-shadow: 0 4px 10px rgba(0,0,0,0.06);
    --card-shadow-hover: 0 8px 20px rgba(0,0,0,0.1);
}

/* 1. ORTAK BİLEŞENLER (Tüm Kurumsal Sayfalarda) */
.page-header-gradient {
    background: var(--primary-gradient);
    color: var(--bg-white);
    padding: 80px 0 60px;
    text-align: center;
}
.page-header-gradient h1 {
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: 0.5px;
    margin: 0;
}
.page-header-gradient p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    margin-bottom: 0;
}
.page-header-simple {
    padding: 3rem 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.page-header-simple h1 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}
.page-header-simple p {
    color: var(--text-light);
    font-size: 1.25rem;
}
.content-section {
    padding: 3.5rem 0;
}
.content-section.bg-light {
    background-color: var(--bg-light);
}
.content-section.bg-white {
    background-color: var(--bg-white);
}
.section-heading {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2rem;
}
.section-heading.text-center {
    text-align: center;
    margin-bottom: 2rem;
}

/* ================================== */
/* 2. YÖNETİM & DENETİM KURULU STİLLERİ (GÜNCELLENDİ) */
/* ================================== */

/* YENİ: Başkan Sırası (Ortalanmış) */
.president-row {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

/* YENİ: 3 Sütunlu Grid (2. ve 3. sıra için) */
.members-grid-3col {
    display: grid;
    grid-template-columns: 1fr; /* Mobilde 1 sütun */
    gap: 2rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .members-grid-3col {
        grid-template-columns: repeat(3, 1fr); /* Masaüstünde 3 sütun */
    }
}

/* YENİ: Başkana özel büyük kart stilleri */
.president-card-large {
    width: 100%;
    max-width: 350px; /* Başkan kartı biraz daha geniş */
}
.president-card-large .member-photo,
.president-card-large .member-photo-placeholder {
    width: 160px; /* Daha büyük fotoğraf */
    height: 160px; /* Daha büyük fotoğraf */
    font-size: 3rem; /* Daha büyük placeholder harf */
    margin-bottom: 20px;
}
.president-card-large .member-info h3 {
    font-size: 1.5rem; /* Daha büyük isim */
}
.president-card-large .member-position {
    font-size: 1.1rem; /* Daha büyük pozisyon */
}


/* Standart Üye Kartı (Tüm üyeler ve Denetim Kurulu için) */
.member-card {
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}
.member-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid var(--border-color);
}
.member-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    color: #374151;
    margin: 0 auto 15px;
}
.member-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}
.member-position {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ESKİ GRİD: Bu, DenetimKurulu.cshtml tarafından hala kullanılıyor (Dokunma) */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* 3. HAKKIMIZDA STİLLERİ (Index.cshtml) */
.about-content-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}
.about-content-image,
.about-content-text {
    width: 100%;
}
@media (min-width: 768px) {
    .about-content-image,
    .about-content-text {
        width: calc((100% - 2rem) / 2);
    }
}
.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
}
.about-content-text p {
    color: var(--text-light);
    line-height: 1.7;
}
.vision-mission-section {
    padding: 3.5rem 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.vision-mission-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.vision-mission-item {
    width: 100%;
}
@media (min-width: 768px) {
    .vision-mission-item {
        width: calc((100% - 2rem) / 2);
    }
}
.vision-mission-card {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
    height: 100%;
}
.vision-mission-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.vision-mission-card .card-title i {
    margin-right: 0.5rem;
}
.vision-mission-card p {
    color: var(--text-light);
    line-height: 1.7;
}
.team-preview-section {
    padding: 3.5rem 0;
    background-color: var(--bg-light);
}
.team-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    .team-preview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.team-card {
    background: var(--bg-white);
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
    border: 0;
    overflow: hidden;
    text-align: center;
}
.team-card-image {
    width: 100%;
    height: auto;
}
.team-card-body {
    padding: 1.25rem;
}
.team-card-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}
.team-card-position {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* 4. BAĞLI KURUMLAR STİLLERİ (BagliKurumlar.cshtml) */
.institution-category {
    margin-bottom: 2.5rem;
}
.institution-category h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}
.institution-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.institution-item {
    background: var(--bg-white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}
.institution-item:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-3px);
}
.institution-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}
.institution-discount {
    font-size: 1rem;
    color: #374151;
    font-weight: 500;
    background: var(--bg-light);
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    margin-top: 1rem;
}
.institution-contact {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.institution-contact i {
    margin-right: 0.25rem;
    width: 16px;
    text-align: center;
}
.institution-item .btn-link {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
}
.institution-item .btn-link:hover {
    text-decoration: underline;
}
.institution-item .btn-link i {
    margin-right: 0.25rem;
}