/**
 * Fenerbahçe Ankara Spor Okulları
 * Premium Duyurular (Category) Sayfası CSS
 * Bootstrap 3.3.5 Uyumlu
 */

/* ============================================
   DUYURULAR PAGE WRAPPER
   ============================================ */
.fb-category-wrapper {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 500px;
}

/* ============================================
   PREMIUM CATEGORY HEADER
   ============================================ */
.fb-category-header {
    background: linear-gradient(135deg, #001C58 0%, #00102E 100%);
    color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 28, 88, 0.3);
    position: relative;
    overflow: hidden;
}

.fb-category-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 237, 0, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.fb-category-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFED00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    display: inline-block;
}

.fb-category-header .fb-social-links {
    position: relative;
    z-index: 1;
    margin-top: 10px;
}

.fb-category-header .fb-social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 237, 0, 0.2);
    color: #FFED00;
    border-radius: 50%;
    margin: 0 5px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.fb-category-header .fb-social-links a:hover {
    background: #FFED00;
    color: #001C58;
    transform: translateY(-3px);
}

/* ============================================
   PREMIUM POST CARDS
   ============================================ */
.fb-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 30px;
    border-top: 4px solid #FFED00;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fb-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 28, 88, 0.2);
    border-top-color: #001C58;
}

/* Post Image Container */
.fb-post-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #f0f0f0;
}

.fb-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.fb-post-card:hover .fb-post-image img {
    transform: scale(1.1);
}

.fb-post-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 28, 88, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fb-post-card:hover .fb-post-image::after {
    opacity: 1;
}

/* Post Content */
.fb-post-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fb-post-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.fb-post-date i {
    color: #FFED00;
    margin-right: 8px;
    font-size: 14px;
}

.fb-post-title {
    font-size: 20px;
    font-weight: 700;
    color: #001C58;
    margin: 0 0 15px 0;
    line-height: 1.4;
    flex: 1;
}

.fb-post-title a {
    color: #001C58;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fb-post-title a:hover {
    color: #FFED00;
}

/* Post Footer */
.fb-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.fb-read-more {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #FFED00 0%, #FDD835 100%);
    color: #001C58;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 237, 0, 0.3);
}

.fb-read-more:hover {
    background: linear-gradient(135deg, #001C58 0%, #00102E 100%);
    color: #FFED00;
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 28, 88, 0.4);
    text-decoration: none;
}

.fb-read-more i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.fb-read-more:hover i {
    margin-left: 12px;
}

/* Share Button */
.fb-share-toggle {
    position: relative;
}

.fb-share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #001C58;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fb-share-button:hover {
    background: #FFED00;
    transform: rotate(15deg);
}

.fb-share-list {
    position: absolute;
    bottom: 50px;
    right: 0;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 10;
}

.fb-share-toggle:hover .fb-share-list {
    display: block;
}

.fb-share-list a {
    display: block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    margin: 5px 0;
    transition: all 0.3s ease;
    color: #fff;
    text-decoration: none;
}

.fb-share-list a.facebook {
    background: #3b5998;
}

.fb-share-list a.twitter {
    background: #1da1f2;
}

.fb-share-list a.google {
    background: #dd4b39;
}

.fb-share-list a:hover {
    transform: scale(1.15);
}

/* ============================================
   PAGINATION
   ============================================ */
.fb-pagination {
    text-align: center;
    margin: 40px 0;
    padding: 30px 0;
}

.fb-pagination .pagination {
    display: inline-block;
    margin: 0;
}

.fb-pagination .pagination > li > a,
.fb-pagination .pagination > li > span {
    background: #fff;
    border: 2px solid #eee;
    color: #001C58;
    margin: 0 3px;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 18px;
    transition: all 0.3s ease;
}

.fb-pagination .pagination > li > a:hover {
    background: #FFED00;
    border-color: #FFED00;
    color: #001C58;
}

.fb-pagination .pagination > .active > a,
.fb-pagination .pagination > .active > span {
    background: linear-gradient(135deg, #001C58 0%, #00102E 100%);
    border-color: #001C58;
    color: #FFED00;
}

.fb-pagination .pagination > .disabled > a,
.fb-pagination .pagination > .disabled > span {
    opacity: 0.5;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.fb-no-posts {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    margin: 40px 0;
}

.fb-no-posts i {
    font-size: 80px;
    color: #FFED00;
    margin-bottom: 20px;
}

.fb-no-posts h3 {
    font-size: 28px;
    color: #001C58;
    margin-bottom: 15px;
}

.fb-no-posts p {
    font-size: 16px;
    color: #888;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
    .fb-category-header h1 {
        font-size: 32px;
    }
    
    .fb-category-header .row {
        text-align: center;
    }
    
    .fb-category-header .fb-social-links {
        margin-top: 20px;
    }
    
    .fb-post-image {
        height: 180px;
    }
    
    .fb-post-title {
        font-size: 18px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .fb-post-image {
        height: 200px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .fb-category-header,
    .fb-social-links,
    .fb-share-toggle,
    .fb-pagination {
        display: none !important;
    }
    
    .fb-post-card {
        page-break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}