/* Ana Stil Tanımları */
.personel-section {
    /* margin-top: 85px; */
    background-color: #f8f9fa;
}

/* Hero Alanı */
.personel-hero {
    position: relative;
    width: 100%;
    height: auto;
}

.personel-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* İçerik Alanı */
.pnl-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Grid Yapısı */
.pnl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Kutu Stili */
.pnl-box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

    .pnl-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(28, 69, 139, 0.12);
    }

/* Kutu Başlığı */
.pnl-box__header {
    background: var(--selcuk-blue);
    padding: 1.25rem;
    text-align: center;
}

.pnl-box__title {
    color: white;
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
}

/* Kutu İçeriği */
.pnl-box__content {
    padding: 1.5rem;
}

/* Link Listesi */
.pnl-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pnl-links__item {
    display: flex;
    align-items: center;
    color: #2c3e50;
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

    .pnl-links__item:hover {
        background: rgba(28, 69, 139, 0.06);
        color: #0d2d5e;
        padding-left: 1rem;
    }

    .pnl-links__item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: #0d2d5e;
        transition: width 0.3s ease;
    }

    .pnl-links__item:hover::after {
        width: 100%;
    }

    .pnl-links__item i {
        color: var(--selcuk-blue);
        margin-right: 0.75rem;
        font-size: 0.875rem;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .pnl-links__item:hover i {
        transform: translateX(3px);
        color: #0d2d5e;
    }

/* Video Bölümü */
.pnl-video {
    margin-top: 4rem;
}

.pnl-video__header {
    text-align: center;
    margin-bottom: 2rem;
}

.pnl-video__title {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

    .pnl-video__title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--selcuk-blue);
    }

/* Kart görünümü: sağ/sol boşluk pnl-content padding ile hizalı; kenarlara yapışmaz */
.pnl-video__content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #000;
    /* Üstteki kartlarla aynı his: hafif içe çekik */
    width: 100%;
    box-sizing: border-box;
}

/* Tanıtım videosu: sabit px yükseklik yerine 16:9 kutu, video alanı doldurur — mobilde üst/alt yan boşluk azalır */
.pnl-video__player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
    overflow: hidden;
}

.pnl-video__media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    vertical-align: top;
}

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

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

.pnl-box {
    animation: fadeInUp 0.5s ease backwards;
}

    .pnl-box:nth-child(2) {
        animation-delay: 0.2s;
    }

    .pnl-box:nth-child(3) {
        animation-delay: 0.4s;
    }

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .pnl-content {
        padding: 2rem 1.5rem;
    }

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

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

    .pnl-video__content iframe {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .personel-section {
        margin-top: 5px;
    }

    .pnl-content {
        padding: 1.5rem 1rem;
    }

    .pnl-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pnl-box__header {
        padding: 1rem;
    }

    .pnl-box__title {
        font-size: 1.1rem;
    }

    .pnl-video__title {
        font-size: 1.5rem;
    }

    .pnl-video__content iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    /* Tam genişlik kaldırıldı — pnl-content padding (1rem) karttaki gibi sağ/sol boşluk verir */
    .pnl-video__content {
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        max-width: 100%;
    }

    .pnl-content {
        padding: 1rem;
    }

    .pnl-links__item {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .pnl-video__content iframe {
        height: 250px;
    }

    .pnl-box__header {
        padding: 0.875rem;
    }

    .pnl-box__content {
        padding: 1rem;
    }
}

/* Hover Efektleri */
.pnl-box {
    will-change: transform;
    transform-origin: center center;
}

.pnl-box--yonetim:hover .pnl-box__header {
    background: #f0b800;
}

    .pnl-box:hover .pnl-box__header {
        background: var(--selcuk-blue-hover);
    }

/* Print Styles */
@media print {
    .personel-section {
        margin-top: 0;
    }

    .pnl-box {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
    }

        .pnl-box:hover {
            transform: none;
            box-shadow: none;
        }

    .pnl-box__header {
        background: #f0f0f0 !important;
        color: #000 !important;
    }

    .pnl-links__item {
        color: #000 !important;
    }

        .pnl-links__item i {
            display: none;
        }

    .pnl-video {
        display: none;
    }
}

/* Accessibility */
.pnl-links__item:focus {
    outline: 2px solid var(--selcuk-blue);
    outline-offset: -2px;
}

    .pnl-links__item:focus:not(:focus-visible) {
        outline: none;
    }

/* Loading States */
.pnl-box.loading {
    position: relative;
    overflow: hidden;
}

    .pnl-box.loading::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) );
        animation: shimmer 1.5s infinite;
    }

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Performance Optimizations */
.pnl-box,
.pnl-links__item {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
