/* =========================================================================
   MUTLU SINIFLAR - PAGE SPECIFIC CSS
   ========================================================================= */

/* Mobile Navbar Overrides */
@media (max-width: 991px) {
    .bg-mobile-menu {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        border-radius: 20px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        position: absolute;
        width: 100%;
        left: 0;
        top: 100%;
        z-index: 1000;
    }
}

/* Page Headers (Hero-Lite) */
.page-header {
    background: linear-gradient(135deg, rgba(140, 82, 255, 0.05), rgba(255, 102, 196, 0.05));
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute; top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(140, 82, 255, 0.1) 0%, transparent 60%);
    border-radius: 50%;
}
.breadcrumb-item a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* Subcategory Cards (Kategori Detay) */
.subcat-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.subcat-icon {
    width: 90px; height: 90px;
    border-radius: 28px;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}
.subcat-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(140, 82, 255, 0.1);
    border-color: rgba(140, 82, 255, 0.1);
}
.subcat-card:hover .subcat-icon {
    transform: scale(1.1) rotate(5deg);
}
.subcat-card h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}
.subcat-card:hover h3 { color: var(--primary-color); }

/* Sidebar Chips Filter (Etkinlik Liste) */
.filter-sidebar {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: sticky;
    top: 100px;
}
.filter-chip {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--bg-light);
    color: var(--text-muted);
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.filter-chip:hover, .filter-chip.active {
    background: rgba(140, 82, 255, 0.1);
    color: var(--primary-color);
    border-color: rgba(140, 82, 255, 0.3);
}
@media (max-width: 991px) {
    .filter-sidebar {
        position: relative; top: 0;
        padding: 1rem;
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 16px;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 2rem;
    }
    .filter-sidebar > h5 { display: none; }
    .filter-chip { margin-bottom: 0; }
    /* Hide scrollbar for clean look */
    .filter-sidebar::-webkit-scrollbar { display: none; }
}

/* Activity Detail - Awesome PDF Preview */
.pdf-preview-box {
    background: #fff;
    border-radius: 30px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}
.pdf-preview-box:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}
.pdf-preview-img {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    width: 100%;
}
.detail-tags .badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Big Vibrant Download Button */
.btn-huge-download {
    background: linear-gradient(135deg, var(--secondary-color), #ff47a1);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 1.25rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 15px 35px rgba(255, 102, 196, 0.4);
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    position: relative;
    overflow: hidden;
}
.btn-huge-download::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}
@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}
.btn-huge-download:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(255, 102, 196, 0.6);
    color: white;
}

/* Mobile Sticky Download Bar */
@media (max-width: 768px) {
    .mobile-sticky-dl {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
        padding: 1rem;
        z-index: 1050;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        display: flex; justify-content: space-between; align-items: center;
    }
    .mobile-sticky-dl .btn-huge-download {
        padding: 0.75rem 1.5rem;
        border-radius: 16px;
        font-size: 1.1rem;
        width: auto;
        flex-grow: 1;
    }
    .main-download-area {
        display: none; /* Hide desktop download button */
    }
}

/* News Detailed Page */
.article-header-bg {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}
@media (max-width: 768px) {
    .article-header-bg { border-radius: 0; margin-top: 0; height: 300px; }
}
.article-header-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4b5065;
}
.article-content p { margin-bottom: 1.5rem; }
.article-content h3 { font-family: var(--font-heading); font-weight: 700; color: var(--text-dark); margin: 2rem 0 1rem; }
.article-content img { border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
