/* AOS kaynaklı opacity sorununu düzelt */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-burgundy) 0%, #2d1516 100%);
    padding: 2.5rem 0;
    margin-bottom: 2rem;
}
.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
}

/* Müdür Profil Kartı - Yatay resim için geniş tasarım */
.profile-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: all 0.3s;
    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 resim için BÜYÜK ve etkileyici görsel alanı */
.profile-image {
    width: 100%;
    max-width: 500px;
    height: 280px;
    margin: 0 auto 1.5rem;
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid var(--primary-gold);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #f0e5d5, #e8d9c4);
    position: relative;
}
.profile-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(197,160,40,0.1), transparent);
    pointer-events: none;
    border-radius: 24px;
}
.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
}
.profile-image:hover img {
    transform: scale(1.05);
}
.profile-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-burgundy);
    margin-bottom: 0.5rem;
}
.profile-header .directorate-name {
    font-size: 1.1rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.profile-header .directorate-name i {
    margin-right: 8px;
}
.director-title-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold), #d4aa30);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2d2d2d;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.profile-info {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    background: white;
    border-top: 1px solid #f0e5d5;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f5ef;
    padding: 0.7rem 1.5rem;
    border-radius: 60px;
    transition: all 0.3s;
}
.info-item:hover {
    background: var(--primary-gold);
    transform: translateY(-3px);
}
.info-item:hover i {
    background: white;
}
.info-item:hover a {
    color: white;
}
.info-item i {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1rem;
    transition: all 0.3s;
}
.info-item a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

/* Sekme Stili */
.tabs-container {
    background: white;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #f0e5d5;
}
.nav-tabs-custom {
    background: #fef9e8;
    border-bottom: 1px solid #f0e5d5;
    padding: 0 1.5rem;
}
.nav-tabs-custom .nav-link {
    border: none;
    padding: 1.2rem 2rem;
    font-weight: 600;
    color: #6c6c6c;
    transition: all 0.3s;
    position: relative;
    font-size: 1rem;
}
.nav-tabs-custom .nav-link i {
    margin-right: 10px;
    color: var(--primary-gold);
    font-size: 1.1rem;
}
.nav-tabs-custom .nav-link:hover {
    color: var(--primary-burgundy);
    background: transparent;
}
.nav-tabs-custom .nav-link.active {
    color: var(--primary-burgundy);
    background: white;
    border-bottom: 3px solid var(--primary-gold);
}
.tab-content-custom {
    padding: 2.5rem;
}

/* İçerik Stilleri */
.regulation-content, .bio-content {
    line-height: 1.9;
    color: #4a4a4a;
    font-size: 1rem;
}
.regulation-content h4, .bio-content h4 {
    color: var(--primary-burgundy);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.regulation-content p, .bio-content p {
    margin-bottom: 1rem;
}
.bio-section {
    margin-bottom: 1.5rem;
}
.bio-section h5 {
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* DÖKÜMANLAR LİSTESİ */
.documents-list {
    width: 100%;
}
.documents-list .document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    border-bottom: 1px solid #f0e5d5;
    transition: background 0.3s;
    flex-wrap: wrap;
    gap: 1rem;
}
.documents-list .document-item:hover {
    background: #fef9e8;
    border-radius: 20px;
}
.documents-list .document-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: 1;
    flex-wrap: wrap;
}
.documents-list .document-icon {
    width: 55px;
    height: 55px;
    background: #f8f5ef;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.documents-list .document-icon i {
    font-size: 1.6rem;
    color: var(--primary-gold);
}
.documents-list .document-details {
    flex: 1;
}
.documents-list .document-details h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-burgundy);
    margin-bottom: 0.25rem;
}
.documents-list .document-details p {
    font-size: 0.75rem;
    color: #888;
    margin: 0;
}
.documents-list .document-badge {
    background: #f8f5ef;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-gold);
    white-space: nowrap;
}
.documents-list .download-link {
    background: linear-gradient(135deg, var(--primary-burgundy), var(--dark-burgundy));
    color: white;
    border: none;
    border-radius: 40px;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.documents-list .download-link:hover {
    background: var(--primary-gold);
    color: #2d2d2d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197,160,40,0.3);
}

/* Placeholder stilleri */
.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0e5d5, #e8d9c4);
    color: var(--primary-gold);
    font-size: 4rem;
}

/* 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: 12px 18px;
    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;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
}
.loading-spinner .spinner-border {
    color: var(--primary-gold);
}

.error-message {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 30px;
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .kurumsal-sidebar {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
    .nav-tabs-custom .nav-link {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
    }
    .profile-image {
        max-width: 400px;
        height: 240px;
    }
    .profile-header h2 {
        font-size: 1.5rem;
    }
    .documents-list .document-item {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .documents-list .download-link {
        align-self: flex-end;
    }
    .documents-list .document-badge {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 1.5rem 0;
    }
    .page-header h1 {
        font-size: 1.5rem;
    }
    .profile-header {
        padding: 1.5rem;
    }
    .profile-image {
        max-width: 100%;
        height: 200px;
    }
    .profile-header h2 {
        font-size: 1.3rem;
    }
    .profile-header .directorate-name {
        font-size: 0.95rem;
    }
    .profile-info {
        gap: 1rem;
        padding: 1rem;
    }
    .info-item {
        padding: 0.5rem 1rem;
    }
    .info-item a {
        font-size: 0.85rem;
    }
    .info-item i {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
    .tab-content-custom {
        padding: 1.5rem;
    }
    .nav-tabs-custom {
        padding: 0 0.5rem;
    }
    .nav-tabs-custom .nav-link {
        padding: 0.8rem 0.8rem;
        font-size: 0.8rem;
    }
    .documents-list .document-info {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .documents-list .document-icon {
        width: 50px;
        height: 50px;
    }
    .documents-list .document-icon i {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .profile-image {
        height: 160px;
    }
    .profile-header h2 {
        font-size: 1.1rem;
    }
    .profile-header .directorate-name {
        font-size: 0.85rem;
    }
    .director-title-badge {
        font-size: 0.7rem;
        padding: 0.3rem 1rem;
    }
    .info-item {
        width: 100%;
        justify-content: center;
    }
    .nav-tabs-custom .nav-link i {
        margin-right: 5px;
    }
    .tab-content-custom {
        padding: 1rem;
    }
}