/* ==========================================
   Basında Biz (Press) Modülü - Modern Tasarım
   ========================================== */

/* Liste Sayfası - Modern Card Tasarımı */
.press-card-modern {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.press-card-modern:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.press-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #f5f5f5;
}

.press-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.press-card-modern:hover .press-card-image img {
    transform: scale(1.05);
}

.press-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.press-card-date {
    color: #e74c3c;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.press-card-date i {
    font-size: 14px;
}

.press-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 16px 0;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.press-card-actions {
    margin-top: auto;
}

.btn-press-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.btn-press-detail:hover {
    background: #2980b9;
    color: #fff;
    text-decoration: none;
    gap: 12px;
}

.btn-press-detail i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-press-detail:hover i {
    transform: translateX(4px);
}

/* PDF Modal */
#pdfModal .modal-dialog {
    max-width: 95%;
    margin: 1.75rem auto;
}

#pdfModal .modal-content {
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

#pdfModal .modal-header {
    background: #2c3e50;
    color: #fff;
    padding: 20px 24px;
    border-bottom: none;
}

#pdfModal .modal-title {
    font-size: 18px;
    font-weight: 700;
}

#pdfModal .btn-close {
    background: transparent;
    border: none;
    color: #fff;
    opacity: 1;
    font-size: 24px;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#pdfModal .btn-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

#pdfModal .modal-body {
    padding: 0;
    background: #ecf0f1;
}

#pdfModal .modal-footer {
    padding: 16px 24px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

#pdfModal .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

#pdfModal .btn-danger {
    background: #e74c3c;
    border: none;
}

#pdfModal .btn-danger:hover {
    background: #c0392b;
}

#pdfModal .btn-secondary {
    background: #95a5a6;
    border: none;
}

#pdfModal .btn-secondary:hover {
    background: #7f8c8d;
}

/* Detay Sayfası */
.press-detail-page .press-meta {
    padding: 15px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

.press-detail-page .press-date-large {
    font-size: 16px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.press-detail-page .press-date-large i {
    font-size: 20px;
    color: #e74c3c;
}

.press-detail-page .press-image {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.press-detail-page .press-image img {
    width: 100%;
    height: auto;
    display: block;
}

.press-detail-page .press-pdf-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.press-detail-page .press-pdf-title {
    font-size: 24px;
    margin: 0;
    color: #333;
}

.press-detail-page .pdf-viewer-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 141.4%;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.press-detail-page .pdf-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.press-detail-page .btn-danger {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.press-detail-page .btn-danger:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

.press-detail-page .btn-outline-danger {
    color: #e74c3c;
    border-color: #e74c3c;
}

.press-detail-page .btn-outline-danger:hover {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

.press-detail-page .press-back-section {
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
    .press-card-modern {
        margin-bottom: 20px;
    }
    
    .press-card-image {
        height: 200px;
    }
    
    .press-card-title {
        font-size: 16px;
    }
    
    #pdfModal .modal-dialog {
        max-width: 100%;
        margin: 0;
    }
    
    #pdfModal .modal-body iframe {
        height: 60vh !important;
    }
    
    .press-detail-page .press-pdf-section .col-md-6 {
        text-align: center !important;
        margin-bottom: 15px;
    }
    
    .press-detail-page .btn-lg {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .press-detail-page .pdf-viewer-container {
        padding-bottom: 150%;
    }
}

@media (max-width: 576px) {
    .press-card-image {
        height: 180px;
    }
    
    .press-card-body {
        padding: 16px;
    }
    
    .press-card-title {
        font-size: 15px;
    }
    
    .press-detail-page .press-pdf-title {
        font-size: 20px;
    }
    
    .press-detail-page .pdf-viewer-container {
        padding-bottom: 160%;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.press-card-modern.loading .press-card-image {
    animation: pulse 1.5s ease-in-out infinite;
}
