/* 
===============================================
    BİLGİSAYARX - MODERN BLOG THEME
=============================================== 
*/

/* 1. CSS Variables & Theme Tokens */
:root {
    /* Light Theme (Default) */
    --bg-main: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #333333;
    --text-secondary: #555555;
    --text-muted: #888888;
    
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    --accent-primary: #CA0E02;
    --accent-hover: #a30b02;
    --accent-gradient: linear-gradient(135deg, #CA0E02, #ff4033);
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #0ea5e9;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-glass: 0 8px 32px rgba(51, 51, 51, 0.05);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

[data-theme="dark"] {
    --bg-main: #1f1f1f;
    --bg-secondary: #333333;
    --bg-tertiary: #444444;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #999999;
    
    --border-color: #4a4a4a;
    --glass-bg: rgba(51, 51, 51, 0.8);
    --glass-border: rgba(255, 255, 255, 0.05);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.5);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* 2. Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 3. Utilities */
.text-primary { color: var(--accent-primary); }

/* 4. Breaking Bar */
.breaking-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
}

.breaking-label {
    background: var(--danger);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    margin-right: 15px;
    font-weight: 600;
}

.breaking-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 30px;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}

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

.ticker-track span {
    position: relative;
    cursor: pointer;
}

.ticker-track span:hover {
    color: var(--accent-primary);
}

.breaking-close {
    color: var(--text-secondary);
    padding: 5px;
    margin-left: 15px;
}

.breaking-close:hover {
    color: var(--danger);
}

/* 5. Header */
.site-header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-tagline {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 3px;
}

/* Main Nav */
.main-nav {
    display: none;
}

@media (min-width: 992px) {
    .main-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    padding: 10px 0;
    position: relative;
}

.nav-link i:not(.arrow) {
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-link .arrow {
    font-size: 10px;
    margin-left: 2px;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--accent-primary);
}

.nav-link:hover i:not(.arrow), .nav-item.active .nav-link i:not(.arrow) {
    color: var(--accent-primary);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
    width: 100%;
}

.nav-item.has-dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* Mega Menu */
.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 25px;
    display: flex;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    min-width: 600px;
}

.nav-item.has-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-col {
    flex: 1;
}

.mega-col h4 {
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.mega-col h4 i {
    color: var(--accent-primary);
}

.mega-col ul li {
    margin-bottom: 8px;
}

.mega-col ul li a {
    color: var(--text-secondary);
    font-size: 14px;
    display: block;
    padding: 4px 0;
}

.mega-col ul li a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
}

@media (min-width: 992px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: var(--transition);
}

/* Search Bar Overlay */
.search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-bar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.search-inner {
    max-width: 800px;
    margin: 0 auto;
}

.search-field {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    padding: 5px 5px 5px 20px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-field:focus-within {
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
}

.search-field i {
    color: var(--text-muted);
    font-size: 18px;
}

.search-field input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 15px;
    font-size: 16px;
    color: var(--text-primary);
    outline: none;
}

.search-submit {
    background: var(--accent-gradient);
    color: white;
    padding: 10px 25px;
    border-radius: var(--radius-full);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-submit:hover {
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.search-tags {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
}

.search-tags span {
    color: var(--text-muted);
}

.search-tags a {
    background: var(--bg-tertiary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
}

.search-tags a:hover {
    background: var(--accent-primary);
    color: white;
}

.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    color: var(--text-muted);
}

.search-close:hover {
    color: var(--danger);
    transform: rotate(90deg);
}

/* Mobile Nav */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 1002;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mobile-nav.open {
    transform: translateX(-300px);
}

.mobile-nav-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.mobile-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-list {
    padding: 20px;
    overflow-y: auto;
}

.mobile-nav-list li {
    margin-bottom: 5px;
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-weight: 500;
}

.mobile-nav-list a i {
    color: var(--text-muted);
    width: 20px;
    text-align: center;
}

.mobile-nav-list a:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
}

.mobile-nav-list a:hover i {
    color: var(--accent-primary);
}

/* 6. Main Grid Layout */
.site-main {
    padding: 40px 0;
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

.content-area {
    min-width: 0;
}

/* 7. Hero Section */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

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

.hero-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,15,26,0.9) 0%, rgba(15,15,26,0.4) 50%, transparent 100%);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 40px;
    width: 100%;
}

.slide-cat {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.slide-title {
    font-size: 32px;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.slide-title a:hover {
    text-decoration: underline;
}

.slide-meta {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    opacity: 0;
    transition: var(--transition);
}

.slider-container:hover .slider-controls {
    opacity: 1;
}

.slider-btn {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.slider-btn:hover {
    background: var(--accent-primary);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background: white;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-side-item {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
}

.hero-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-side-item:hover img {
    transform: scale(1.05);
}

.hero-side-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,15,26,0.9), transparent);
}

.side-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 25px;
    z-index: 2;
}

.side-item-content h3 {
    color: white;
    font-size: 18px;
    margin-top: 10px;
}

/* 8. Articles Grid */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.section-header h1,
.section-header h2 {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all:hover {
    color: var(--accent-primary);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

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

.post-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.post-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-thumb img {
    transform: scale(1.05);
}

.post-cat-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(4px);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-title a:hover {
    color: var(--accent-primary);
}

.post-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    flex: 1;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-load-more:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.btn-load-more i {
    transition: transform 0.3s;
}

.btn-load-more:hover i {
    transform: rotate(180deg);
}

/* 9. Sidebar Styles */
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: var(--accent-primary);
}

.widget-more {
    font-size: 13px;
    color: var(--text-muted);
}

.widget-more:hover {
    color: var(--accent-primary);
}

/* Search Widget */
.widget-search {
    padding: 15px;
}

.search-box {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 5px;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 15px;
    outline: none;
    color: var(--text-primary);
}

.search-box button {
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Trending Widget */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 15px;
    group: hover;
}

.trending-rank {
    font-size: 24px;
    font-weight: 800;
    color: var(--border-color);
    width: 25px;
    text-align: center;
}

.trending-img {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.trending-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.trending-item:hover .trending-img img {
    transform: scale(1.1);
}

.trending-info {
    flex: 1;
    min-width: 0;
}

.trending-cat {
    font-size: 11px;
    color: var(--accent-primary);
    font-weight: 700;
    text-transform: uppercase;
}

.trending-title {
    font-size: 14px;
    font-weight: 600;
    margin: 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trending-item:hover .trending-title {
    color: var(--accent-primary);
}

.trending-views {
    font-size: 12px;
    color: var(--text-muted);
}

/* Ad Widget */
.widget-ad {
    padding: 0;
    overflow: hidden;
}

.ad-banner {
    position: relative;
    background: linear-gradient(45deg, #1e1e38, #2a2a50);
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.ad-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.ad-icon {
    font-size: 40px;
    color: var(--success);
    margin-bottom: 15px;
}

.ad-banner h4 {
    color: white;
    margin-bottom: 5px;
}

.ad-banner p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.ad-btn {
    display: inline-block;
    background: var(--success);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
}

/* Categories Widget */
.categories-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cat-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.cat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--glass-bg);
    color: var(--cat-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cat-name {
    font-weight: 600;
    font-size: 15px;
}

.cat-count {
    font-size: 12px;
    color: var(--text-muted);
}

.cat-arrow {
    color: var(--text-muted);
    font-size: 12px;
    transition: var(--transition);
}

.cat-item:hover {
    background: var(--cat-color);
    color: white;
}

.cat-item:hover .cat-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

.cat-item:hover .cat-count, .cat-item:hover .cat-arrow {
    color: rgba(255,255,255,0.8);
}

.cat-item:hover .cat-arrow {
    transform: translateX(5px);
}

/* Newsletter Widget */
.widget-newsletter {
    position: relative;
    background: var(--bg-secondary);
    border: 2px solid var(--accent-primary);
    text-align: center;
    overflow: hidden;
}

.newsletter-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-primary);
    filter: blur(80px);
    opacity: 0.2;
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-icon {
    font-size: 40px;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.newsletter-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.newsletter-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    outline: none;
    color: var(--text-primary);
}

.newsletter-form button {
    background: var(--accent-gradient);
    color: white;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-note {
    font-size: 11px !important;
    color: var(--text-muted) !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}

/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
}

.tag-pill:hover {
    background: var(--accent-primary);
    color: white;
}

/* Social Widget */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    transition: var(--transition);
}

.social-item i {
    font-size: 20px;
}

.social-info {
    display: flex;
    flex-direction: column;
}

.social-count {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
}

.social-label {
    font-size: 11px;
    color: var(--text-muted);
}

.social-item.twitter:hover { background: #1da1f2; color: white; }
.social-item.youtube:hover { background: #ff0000; color: white; }
.social-item.instagram:hover { background: #e1306c; color: white; }
.social-item.telegram:hover { background: #229ed9; color: white; }

.social-item:hover .social-label {
    color: rgba(255,255,255,0.8);
}

/* 10. Footer Styles */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    position: relative;
}

.footer-stats-bar {
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .stats-row {
        flex-wrap: wrap;
        gap: 20px;
    }
    .stat-divider {
        display: none;
    }
    .stat-item {
        width: 45%;
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item i {
    font-size: 30px;
    color: var(--accent-primary);
}

.stat-num {
    display: block;
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.footer-main {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 25px;
    padding-right: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.fsocial-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.fsocial-btn:hover {
    background: var(--fc);
    color: white;
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 18px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col-title i {
    color: var(--accent-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.footer-links a:hover i {
    color: var(--accent-primary);
}

.footer-newsletter-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.fnl-input-wrap {
    position: relative;
}

.fnl-input-wrap i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.fnl-input-wrap input {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 12px 15px 12px 40px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    outline: none;
}

.fnl-input-wrap input:focus {
    border-color: var(--accent-primary);
}

.footer-newsletter-form button {
    background: var(--text-primary);
    color: var(--bg-main);
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-newsletter-form button:hover {
    background: var(--accent-primary);
    color: white;
}

.footer-app-links p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.app-btns {
    display: flex;
    gap: 10px;
}

.app-btn {
    flex: 1;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.app-btn:hover {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: var(--bg-main);
}

.footer-bottom {
    background: var(--bg-tertiary);
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal-links a:hover {
    color: var(--accent-primary);
}

.footer-made i {
    color: var(--danger);
}

.back-to-top {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--accent-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--text-primary);
    transform: translateY(-5px);
}

/* 11. Single Article Styles (haber-detay.php) */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 20px 0;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: var(--text-secondary);
}
.breadcrumb a:hover {
    color: var(--accent-primary);
}
.breadcrumb .separator {
    font-size: 10px;
}

.single-article {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
    .single-article {
        padding: 20px;
    }
}

.article-meta-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.cat-badge {
    background: var(--accent-primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.read-time {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-title {
    font-size: 36px;
    margin-bottom: 25px;
    line-height: 1.3;
}
@media (max-width: 768px) {
    .article-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
}

.article-author-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}
.article-author-meta .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.author-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
}
.author-name:hover {
    color: var(--accent-primary);
}
.meta-details {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    flex-wrap: wrap;
}
.meta-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}
@media (max-width: 768px) {
    .meta-details {
        font-size: 11px;
        gap: 10px;
    }
}

.article-share-top {
    display: flex;
    gap: 10px;
}
.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.share-btn:hover {
    transform: translateY(-2px);
    color: white;
}
.share-btn.facebook:hover { background: #1877f2; }
.share-btn.twitter:hover { background: #1da1f2; }
.share-btn.whatsapp:hover { background: #25d366; }
.share-btn.copy-link:hover { background: var(--text-primary); }

.article-featured-image {
    margin-bottom: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.article-featured-image img {
    width: 100%;
    height: auto;
}
.article-featured-image figcaption {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    padding: 10px;
    background: var(--bg-tertiary);
}

.article-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
}
.article-content .lead {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 25px;
}
.article-content p {
    margin-bottom: 20px;
}
.article-content h2 {
    font-size: 26px;
    margin: 35px 0 20px;
    color: var(--text-primary);
}
.article-content h3 {
    font-size: 22px;
    margin: 25px 0 15px;
    color: var(--text-primary);
}
.article-content ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 25px;
}
.article-content ul li {
    margin-bottom: 10px;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}
.article-content iframe,
.article-content video {
    max-width: 100%;
}
.article-content table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
    border-collapse: collapse;
}
.article-content table th, .article-content table td {
    border: 1px solid var(--border-color);
    padding: 8px;
}
.article-content pre {
    max-width: 100%;
    overflow-x: auto;
    background: #2d2d2d;
    color: #ccc;
    padding: 15px;
    border-radius: var(--radius-sm);
}
.article-content blockquote {
    font-style: italic;
    font-size: 22px;
    color: var(--text-primary);
    border-left: 4px solid var(--accent-primary);
    padding: 20px 25px;
    background: var(--bg-tertiary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 30px 0;
}
.ad-in-article {
    margin: 40px 0;
    text-align: center;
}

.article-footer {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}
.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.article-tags span {
    font-weight: 600;
    margin-right: 5px;
}
.article-tags a {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 6px 15px;
    border-radius: var(--radius-full);
    font-size: 13px;
    transition: var(--transition);
}
.article-tags a:hover {
    background: var(--accent-primary);
    color: white;
}

.article-reaction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: var(--radius-md);
    flex-wrap: wrap;
    gap: 20px;
}
.article-reaction span {
    font-weight: 600;
}
.reaction-buttons {
    display: flex;
    gap: 15px;
}
.reaction-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}
.reaction-btn:hover {
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.article-author-box {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-top: 40px;
}
@media (max-width: 576px) {
    .article-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
.author-box-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}
.author-box-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}
.author-role {
    font-size: 13px;
    color: var(--accent-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}
.author-box-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}
.author-social {
    display: flex;
    gap: 15px;
}
@media (max-width: 576px) {
    .author-social {
        justify-content: center;
    }
}
.author-social a {
    color: var(--text-muted);
    font-size: 18px;
}
.author-social a:hover {
    color: var(--text-primary);
}

.related-articles {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}
.related-articles h3 {
    font-size: 22px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-section {
    margin-top: 50px;
}
.comments-section h3 {
    font-size: 22px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.comment-form-wrap {
    background: var(--bg-tertiary);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
}
.comment-form-wrap h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
.comment-form-wrap p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
    }
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    outline: none;
    font-family: inherit;
}
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--accent-primary);
}
.comment-form textarea {
    resize: vertical;
    margin-bottom: 20px;
}
.btn-submit {
    background: var(--accent-gradient);
    color: white;
    padding: 12px 30px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    border: none;
    cursor: pointer;
}
.btn-submit:hover {
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.comment-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.comment-item.reply {
    margin-left: 70px;
    margin-top: -10px;
}
@media (max-width: 576px) {
    .comment-item.reply {
        margin-left: 20px;
    }
}
.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
}
.comment-body {
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: var(--radius-md);
    flex: 1;
}
.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.comment-author {
    font-weight: 700;
    font-size: 15px;
}
.comment-date {
    font-size: 12px;
    color: var(--text-muted);
}
.comment-body p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}
.reply-btn {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.reply-btn:hover {
    color: var(--accent-primary);
}

/* 12. Forum Statistics Widget (istatistik.php) */
.stats-widget {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    overflow: hidden;
    font-family: var(--font-sans);
}

.stats-header {
    display: flex;
    background: var(--bg-tertiary);
    border-bottom: 2px solid var(--success);
    gap: 5px;
    padding: 0 10px;
    padding-top: 10px;
}
.stats-tab {
    background: transparent;
    border: none;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.stats-tab:hover {
    color: var(--success);
}
.stats-tab.active {
    background: var(--success);
    color: white;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.stats-table {
    display: flex;
    flex-direction: column;
}
.stats-table-header {
    display: flex;
    padding: 10px 15px;
    background: var(--bg-tertiary);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}
.stats-section-title {
    background: #dcfce7; /* Light green */
    color: #166534;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}
[data-theme="dark"] .stats-section-title {
    background: #14532d;
    color: #bbf7d0;
}

.stats-row {
    display: flex;
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    font-size: 13px;
    transition: background 0.2s;
}
.stats-row:hover {
    background: var(--bg-tertiary);
}
.stats-row:last-child {
    border-bottom: none;
}

.col-title { flex: 4; display: flex; align-items: center; gap: 10px; min-width: 300px; }
.col-forum { flex: 2; color: var(--text-secondary); }
.col-date { flex: 1.5; color: var(--text-muted); }
.col-author { flex: 1.5; display: flex; align-items: center; gap: 8px; }

.row-num {
    color: var(--text-muted);
    font-size: 12px;
    width: 20px;
    text-align: center;
}
.stats-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.topic-prefix {
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.topic-link {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
}
.topic-link:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}
.author-avatar-sm {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.col-author a {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 992px) {
    .stats-table-header { display: none; }
    
    .stats-header {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }
    .stats-header::-webkit-scrollbar { height: 3px; }
    .stats-header::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 4px; }
    [data-theme="dark"] .stats-header::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); }
    
    .stats-tab {
        flex-shrink: 0;
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .stats-row { 
        flex-wrap: wrap; 
        gap: 8px;
        padding: 15px;
    }
    
    .col-title { 
        flex: 100%; 
        min-width: 100%;
        align-items: flex-start;
    }
    
    .topic-link {
        line-height: 1.4;
        margin-top: 2px;
        font-size: 14px;
    }
    
    .col-forum {
        flex: 100%;
        font-size: 12px;
        padding-left: 40px;
    }
    
    .col-date { 
        font-size: 12px; 
        padding-left: 40px;
        flex: 1;
    }
    
    .col-author { 
        font-size: 12px; 
        justify-content: flex-end;
    }
}

@media (max-width: 576px) {
    .row-num { display: none; }
    .col-forum, .col-date { padding-left: 38px; }
    .col-author span { display: none; /* optional: hide author text on very small screens, only keep avatar/icon if wanted, but let's keep text for now */ }
    .topic-prefix { font-size: 10px; padding: 2px 5px; }
}

/* ===============================================
   FOOTER - Modern Premium Styles
   =============================================== */
.site-footer-modern {
    background: #0f172a;
    position: relative;
    overflow: hidden;
    color: #94a3b8;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Background Glow Effects */
.site-footer-modern::before {
    content: '';
    position: absolute;
    top: 0; left: 20%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.site-footer-modern::after {
    content: '';
    position: absolute;
    bottom: 0; right: 10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-modern-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 40px;
    position: relative;
    z-index: 10;
}

.footer-modern-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Brand Section */
.fm-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.fm-brand-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}
.fm-brand-desc {
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 15px;
}

/* Social Icons */
.fm-social-links {
    display: flex;
    gap: 12px;
}
.fm-social-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}
.fm-social-btn:hover {
    background: var(--hover-color);
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Links Columns */
.fm-col-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.fm-col-title i {
    color: #3b82f6;
    font-size: 16px;
}
.fm-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fm-links li {
    margin-bottom: 15px;
}
.fm-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.fm-links a i {
    font-size: 14px;
    opacity: 0.5;
    transition: all 0.3s ease;
}
.fm-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}
.fm-links a:hover i {
    opacity: 1;
    color: #3b82f6;
}

/* Newsletter */
.fm-newsletter p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.fm-newsletter-form {
    position: relative;
    margin-bottom: 25px;
}
.fm-newsletter-input {
    width: 100%;
    padding: 14px 20px 14px 45px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}
.fm-newsletter-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.fm-newsletter-form .fa-envelope {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}
.fm-newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 0 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.fm-newsletter-btn:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transform: scale(1.02);
}

/* App Links */
.fm-apps p {
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.fm-app-buttons {
    display: flex;
    gap: 10px;
}
.fm-app-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
.fm-app-btn i { font-size: 16px; }
.fm-app-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Footer Bottom */
.fm-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.fm-copyright {
    font-size: 14px;
}
.fm-legal-links {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.fm-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}
.fm-legal-links a:hover {
    color: #3b82f6;
}
.fm-legal-links span {
    color: rgba(255, 255, 255, 0.1);
}
.fm-made-with {
    font-size: 13px;
    color: #64748b;
}
.fm-made-with i {
    color: #ef4444;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Footer Mobile Responsiveness */
@media (max-width: 1024px) {
    .footer-modern-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .footer-modern-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .fm-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .fm-legal-links {
        justify-content: center;
    }
}

/* ===============================================
   BACK TO TOP BUTTON
   =============================================== */
.modern-back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}
.modern-back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.modern-back-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}
@media (max-width: 768px) {
    .modern-back-top {
        bottom: 20px;
        right: 20px;
    }
}

/* ===============================================
   BENTO GRID HERO SECTION (LIGHT THEME)
   =============================================== */
.bento-hero {
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 991px) {
    .bento-hero {
        grid-template-columns: 1fr;
    }
}

.bento-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.bento-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.bento-card:hover img {
    transform: scale(1.05);
}

/* Light Theme Gradient Overlay */
.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 40%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 2;
}

.bento-content {
    position: relative;
    z-index: 3;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.bento-badge {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.bento-title {
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    text-shadow: none;
}

.bento-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bento-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    margin-top: 5px;
}

.bento-meta i {
    margin-right: 5px;
}

/* Layout Variations */
.bento-large {
    grid-column: 1;
    min-height: 450px;
}

.bento-right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.bento-small {
    min-height: 215px;
}

.bento-large .bento-title {
    font-size: 28px;
}

.bento-small .bento-title {
    font-size: 18px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.bento-small .bento-desc {
    display: none; /* Hide description on small cards to save space */
}

.bento-small .bento-content {
    padding: 20px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .bento-right-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-large {
        min-height: 350px;
    }
    
    .bento-large .bento-title {
        font-size: 24px;
    }
    
    .bento-small {
        min-height: 250px;
    }
}

/* ===============================================
   DARK AI SECTION (YENI REHBERLER)
   =============================================== */
.dark-ai-section {
    background: #0f172a;
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dark-ai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.dark-ai-header h2 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.dark-ai-view-all {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.dark-ai-view-all:hover {
    color: #ffffff;
}

.dark-ai-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dark-ai-card {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.dark-ai-card:hover {
    transform: translateY(-5px);
    background: #253348;
}

.dark-ai-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.dark-ai-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dark-ai-card:hover .dark-ai-thumb img {
    transform: scale(1.05);
}

.dark-ai-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
    justify-content: center;
}

.dark-ai-title {
    color: #f8fafc;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark-ai-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    width: fit-content;
}

/* Mobile Adjustments for Dark AI */
@media (max-width: 991px) {
    .dark-ai-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .dark-ai-grid {
        grid-template-columns: 1fr;
    }
    .dark-ai-section {
        padding: 20px;
    }
}
