/* Header Styles */
.unit-page-header {
    border-bottom: none;
    padding: 1.5rem 0;
    position: relative;
}

    .unit-page-header::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: var(--selcuk-blue);
    }

.unit-page-header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.unit-page-header__content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.unit-page-header__title {
    color: #1E293B;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .unit-page-header__title::before {
        content: '';
        width: 30px;
        height: 2px;
        background: var(--selcuk-blue);
        display: inline-block;
        vertical-align: middle;
        transition: width 0.3s ease;
    }

.unit-page-header__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #64748B;
    padding-left: 2.75rem;
}

.unit-page-header__link {
    color: var(--selcuk-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .unit-page-header__link:hover {
        color: var(--selcuk-blue-hover);
    }

.unit-page-header__separator {
    color: #94A3B8;
}

.unit-page-header__current {
    color: #64748B;
    font-weight: 500;
}

/* Page Container */
.page-container {
    background: #F8FAFC;
    min-height: calc(100vh - 120px);
    padding: 3rem 0;
}

.page-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Staff Card */
.staff-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .staff-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(28, 69, 139, 0.12);
        border-color: rgba(28, 69, 139, 0.2);
    }

.staff-photo {
    position: relative;
    width: 180px; /* Geni�li�i sabit tutuyoruz */
    height: 207px; /* Y�ksekli�i sabit tutuyoruz */
    border-radius: 50%; /* Daire �ekli i�in 50% radius */
    overflow: hidden;
    background: #f8fafb;
    margin: 1.5rem auto 1rem; /* �st, yan ve alt bo�luklar */
    border: 3px solid #fff; /* Beyaz �er�eve */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Hafif g�lge efekti */
}

    .staff-photo img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 15%;
        transition: transform 0.5s ease;
    }

.staff-card:hover .staff-photo img {
    transform: scale(1.08);
}

/* Staff Info */
.staff-info {
    padding: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}

.staff-title {
    display: inline-block;
    background: rgba(28, 69, 139, 0.08);
    color: var(--selcuk-blue);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin: 0 auto;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.staff-name {
    color: #1E293B;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.staff-position {
    color: #64748B;
    font-size: 0.875rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* Contact Links */
.staff-contact {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
}

.contact-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.2s ease;
    background: rgba(0, 0, 0, 0.02);
}

    .contact-link:hover {
        background: var(--selcuk-blue);
        color: white;
        transform: translateY(-2px);
    }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
}

.btn-secondary {
    background: #F1F5F9;
    color: #475569;
    border-radius: 20px;
}

    .btn-secondary:hover {
        background: var(--selcuk-blue);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(28, 69, 139, 0.2);
    }

/* Section Title */
.section-title {
    color: #1E293B;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #E2E8F0;
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 60px;
        height: 2px;
        background: var(--selcuk-blue);
    }

/* Animation */
.staff-card {
    opacity: 1;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered Animation */
.staff-card:nth-child(1) {
    animation-delay: 0.1s;
}

.staff-card:nth-child(2) {
    animation-delay: 0.2s;
}

.staff-card:nth-child(3) {
    animation-delay: 0.3s;
}

.staff-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .staff-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 1200px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .page-grid {
        grid-template-columns: 1fr;
    }

    .staff-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .unit-page-header__container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .unit-page-header {
        padding: 1.25rem 0;
    }

    .unit-page-header__title {
        font-size: 1.35rem;
    }

    .unit-page-header__breadcrumb {
        padding-left: 2rem;
        font-size: 0.8125rem;
    }

    .page-container {
        padding: 2rem 0;
    }

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .staff-info {
        padding: 1rem;
    }

    .staff-title {
        font-size: 0.65rem;
    }

    .staff-name {
        font-size: 1rem;
    }

    .contact-link {
        width: 32px;
        height: 32px;
    }

    .staff-photo {
        width: 250px;
/*        height: 170px;
*/    }
    .staff-photo img{
        width: 150px;
    }
}

@media (max-width: 576px) {
    .unit-page-header {
        padding: 1rem 0;
    }

    .unit-page-header__title {
        font-size: 1.25rem;
    }

    .unit-page-header__container,
    .page-grid {
        padding: 0 1rem;
    }

    .staff-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .staff-photo {
        padding-top: 40%;
        width: 150px;
        height: 170px;
    }

    .staff-card {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .page-container {
        background: none;
        padding: 0;
    }

    .staff-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #E2E8F0;
    }

    .contact-link,
    .btn-secondary {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .staff-card,
    .staff-card *,
    .btn {
        transition: none !important;
        animation: none !important;
    }
}
