/* AOS kaynaklı opacity sorununu düzelt */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

/* AOS animasyonlarını sadece sayfa yüklendikten sonra çalıştır */
body:not(.aos-animate) [data-aos] {
    transition: none !important;
}

/* Sayfaya özel stiller */
.page-header {
    background: linear-gradient(135deg, var(--primary-burgundy) 0%, #2d1516 100%);
    padding: 2.5rem 0;
    margin-bottom: 2rem;
}
.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Arama Bölümü */
.search-section {
    background: white;
    border-radius: 60px;
    padding: 0.3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}
.search-input-group {
    display: flex;
    align-items: center;
    background: #f8f5ef;
    border-radius: 60px;
    padding: 0.2rem 0.2rem 0.2rem 1.5rem;
}
.search-input-group i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}
.search-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    outline: none;
}
.search-input-group input::placeholder {
    color: #aaa;
}
.search-input-group button {
    background: linear-gradient(135deg, var(--primary-burgundy), var(--dark-burgundy));
    border: none;
    border-radius: 50px;
    padding: 0.7rem 1.8rem;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}
.search-input-group button:hover {
    background: var(--primary-gold);
    color: #2d2d2d;
}
.result-count {
    font-size: 0.85rem;
    color: #777;
    margin-top: 0.8rem;
    padding-left: 1rem;
}

/* Başkan Yardımcıları Grid */
.deputy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Başkan Yardımcısı Kartı */
.deputy-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 1px solid #f0e5d5;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.deputy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px rgba(139,44,45,0.12);
    border-color: var(--primary-gold);
}

/* Kart Header - Yatay resim için düzenlendi */
.deputy-header {
    background: linear-gradient(135deg, #fef9e8 0%, #fff6e5 100%);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #f0e5d5;
}

/* YATAY RESİM İÇİN - Dikdörtgen görünüm */
.deputy-image-wrapper {
    width: 100%;
    max-width: 280px;
    height: 180px;
    margin: 0 auto 1rem auto;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f0e8;
    border: 3px solid var(--primary-gold);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}
.deputy-card:hover .deputy-image-wrapper {
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    transform: scale(1.02);
}
.deputy-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s;
}
.deputy-card:hover .deputy-image-wrapper img {
    transform: scale(1.05);
}
.deputy-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-burgundy);
    margin-bottom: 0.25rem;
}
.deputy-title {
    font-size: 0.85rem;
    color: var(--primary-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(198, 160, 70, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 50px;
}

/* Kart Body */
.deputy-body {
    padding: 1.2rem;
    flex: 1;
}
.contact-info {
    background: #faf8f3;
    border-radius: 20px;
    padding: 0.8rem;
    margin-bottom: 1rem;
}
.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #555;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.contact-item:last-child {
    border-bottom: none;
}
.contact-item i {
    width: 28px;
    color: var(--primary-gold);
    font-size: 0.9rem;
}
.contact-item a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}
.contact-item a:hover {
    color: var(--primary-gold);
}

/* Sosyal Medya İkonları */
.deputy-social {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}
.deputy-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
}
.deputy-social a:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Biyografi Özeti */
.deputy-bio {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.5;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #f0e5d5;
}

/* Kart Footer */
.deputy-footer {
    background: #faf8f3;
    padding: 0.8rem;
    text-align: center;
    border-top: 1px solid #f0e5d5;
}
.detail-link {
    color: var(--primary-gold);
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.detail-link:hover {
    color: var(--primary-burgundy);
    gap: 10px;
}

/* Sonuç Yok */
.no-results {
    background: #f8f5ef;
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
}
.no-results i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}
.no-results h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-burgundy);
    margin-bottom: 0.5rem;
}
.no-results p {
    color: #777;
    margin-bottom: 1rem;
}
.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-outline-gold:hover {
    background: var(--primary-gold);
    color: #2d2d2d;
}

/* Sağ Menü */
.kurumsal-sidebar {
    background: white;
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
    border-bottom: 3px solid var(--primary-gold);
}
.kurumsal-sidebar h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-burgundy);
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.kurumsal-sidebar h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 3px;
}
.kurumsal-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.kurumsal-menu li {
    margin-bottom: 0.5rem;
}
.kurumsal-menu a {
    display: block;
    padding: 10px 15px;
    border-radius: 50px;
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    background: #f8f5ef;
}
.kurumsal-menu a i {
    margin-right: 12px;
    color: var(--primary-gold);
    width: 24px;
}
.kurumsal-menu a:hover {
    background: linear-gradient(135deg, var(--primary-burgundy), var(--dark-burgundy));
    color: white;
    transform: translateX(5px);
}
.kurumsal-menu a:hover i {
    color: white;
}
.kurumsal-menu a.active {
    background: linear-gradient(135deg, var(--primary-burgundy), var(--dark-burgundy));
    color: white;
}
.kurumsal-menu a.active i {
    color: white;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 3rem;
}
.loading-spinner .spinner-border {
    color: var(--primary-gold);
}

/* Hata Mesajı */
.error-message {
    background: #f8f5ef;
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
}
.error-message i {
    font-size: 3rem;
    color: var(--primary-burgundy);
    margin-bottom: 1rem;
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .kurumsal-sidebar {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
    .deputy-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 1.5rem;
    }
    .deputy-image-wrapper {
        max-width: 240px;
        height: 150px;
    }
    .deputy-header h3 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .deputy-grid {
        grid-template-columns: 1fr;
    }
    .deputy-image-wrapper {
        max-width: 100%;
        height: 170px;
    }
    .deputy-header h3 {
        font-size: 1rem;
    }
    .deputy-title {
        font-size: 0.75rem;
    }
    .search-input-group {
        padding: 0.2rem;
    }
    .search-input-group input {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
    .search-input-group button {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }
    .search-input-group i {
        display: none;
    }
    .contact-item {
        font-size: 0.7rem;
        flex-wrap: wrap;
        text-align: center;
    }
    .deputy-social a {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    .deputy-bio {
        font-size: 0.7rem;
    }
    .page-header {
        padding: 1.5rem 0;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .deputy-card {
        border-radius: 20px;
    }
    .deputy-header {
        padding: 1rem;
    }
    .deputy-image-wrapper {
        height: 140px;
    }
    .deputy-body {
        padding: 0.8rem;
    }
    .deputy-footer {
        padding: 0.6rem;
    }
    .contact-info {
        padding: 0.5rem;
    }
    .contact-item {
        padding: 5px 0;
    }
}



/* Başkan Yardımcısı Detay Sayfası CSS */

/* Profil Kartı */
.profile-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    border: 1px solid #f0e5d5;
}

.profile-header {
    background: linear-gradient(135deg, #fef9e8 0%, #fff6e5 100%);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #f0e5d5;
}

/* YATAY RESİM İÇİN */
.profile-image-wrapper {
    width: 100%;
    max-width: 280px;
    height: 200px;
    margin: 0 auto 1.5rem auto;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--primary-gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.profile-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.profile-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-burgundy);
    margin-bottom: 0.5rem;
}

.deputy-title-badge {
    display: inline-block;
    background: rgba(198, 160, 70, 0.15);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-gold);
}

.profile-info {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    background: white;
    border-bottom: 1px solid #f0e5d5;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f5ef;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
}

.info-item i {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 0.9rem;
}

.info-item a {
    color: #4a4a4a;
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--primary-gold);
}

/* Sosyal Medya */
.deputy-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.5rem 1.5rem;
}

.deputy-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
}

.deputy-social a:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Biyografi Konteynırı */
.bio-container {
    background: white;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #f0e5d5;
}

.bio-header {
    background: linear-gradient(135deg, #fef9e8 0%, #fff6e5 100%);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0e5d5;
}

.bio-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-burgundy);
    margin: 0;
}

.bio-content {
    padding: 2rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.bio-content p {
    margin-bottom: 1rem;
}

.bio-content h4 {
    color: var(--primary-burgundy);
    font-weight: 700;
    margin: 1.5rem 0 1rem;
}

.bio-content h5 {
    color: var(--primary-gold);
    font-weight: 600;
    margin: 1rem 0 0.5rem;
}

.bio-content ul, .bio-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.bio-content li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-header {
        padding: 1.5rem;
    }
    
    .profile-image-wrapper {
        max-width: 100%;
        height: 180px;
    }
    
    .profile-header h2 {
        font-size: 1.4rem;
    }
    
    .profile-info {
        gap: 1rem;
    }
    
    .info-item {
        padding: 0.4rem 1rem;
    }
    
    .info-item span, .info-item a {
        font-size: 0.8rem;
    }
    
    .bio-content {
        padding: 1.2rem;
    }
    
    .deputy-social a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}