/* 
Theme Name: Modern Haber Teması
Description: Ana CSS dosyası - Tüm stiller burada toplanmıştır
Version: 1.0
*/

/* ========== RESET & VARIABLES ========== */
:root {
    /* Ana Renkler */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    
    /* Nötr Renkler */
    --text-color: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --light-bg: #f3f4f6;
    --lighter-bg: #f9fafb;
    --white: #ffffff;
    --black: #000000;
    
    /* Durum Renkleri */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Tipografi */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Boşluklar */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-xxl: 40px;
    
    /* Gölgeler */
    --shadow-sm: 0 1px 2px 0 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-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Geçişler */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Container */
    --container-width: 1200px;
    --container-padding: 20px;
}

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--lighter-bg);
    overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--text-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-lg);
}

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

a:hover {
    color: var(--primary-dark);
}

/* ========== CONTAINER & LAYOUT ========== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.main-content {
    min-width: 0; /* Grid overflow fix */
}

/* ========== HEADER STYLES ========== */
.modern-header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: all var(--transition-normal);
}

.modern-header.scrolled {
    box-shadow: var(--shadow-lg);
    padding: 5px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) 0;
    gap: var(--spacing-lg);
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo a {
    text-decoration: none;
}

.site-description {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

/* Navigasyon */
.main-nav {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-md);
    justify-content: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 8px 15px;
    color: var(--text-color);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: var(--light-bg);
}

/* Dropdown Menü */
.nav-menu .menu-item-has-children {
    position: relative;
}

.nav-menu .menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 0.875rem;
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 100;
    list-style: none;
}

.nav-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    padding: 10px 20px;
}

.nav-menu .sub-menu a:hover {
    background: var(--light-bg);
    padding-left: 25px;
}

/* Header Arama */
.header-search form {
    display: flex;
    align-items: center;
    background: var(--light-bg);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.header-search form:focus-within {
    box-shadow: 0 0 0 2px var(--primary-light);
}

.header-search input {
    border: none;
    background: transparent;
    padding: 8px 15px;
    width: 200px;
    font-size: 0.875rem;
}

.header-search input:focus {
    outline: none;
}

.header-search button {
    background: transparent;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.header-search button:hover {
    color: var(--primary-color);
}

/* Mobil Menü Butonu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

/* ========== HERO / FEATURED SLIDER ========== */
.featured-slider {
    margin-bottom: var(--spacing-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featuredSwiper {
    width: 100%;
    height: 500px;
}

.featured-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.featured-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl);
    color: var(--white);
    max-width: 800px;
}

.post-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.slide-content h2 a {
    color: var(--white);
    text-decoration: none;
}

.slide-content h2 a:hover {
    color: var(--primary-light);
}

.slide-content .post-meta {
    display: flex;
    gap: var(--spacing-lg);
    font-size: 0.875rem;
    opacity: 0.9;
}

.slide-content .post-meta i {
    margin-right: 5px;
}

/* Swiper Navigasyon */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--white);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    width: 25px;
    border-radius: var(--radius-full);
}

/* ========== NEWS GRID ========== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-categories {
    margin-bottom: var(--spacing-sm);
}

.post-categories a {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: all var(--transition-fast);
}

.post-categories a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.post-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.post-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.post-excerpt {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    flex: 1;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 0.8125rem;
    color: var(--text-lighter);
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--light-bg);
}

.post-meta i {
    margin-right: 3px;
    color: var(--primary-color);
}

.post-meta span {
    display: inline-flex;
    align-items: center;
}

/* Sticky Post */
.sticky-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

/* ========== SECTION HEADER ========== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: var(--spacing-sm);
    margin-bottom: 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

.view-all {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.view-all i {
    margin-left: 5px;
    transition: transform var(--transition-fast);
}

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

.view-all:hover i {
    transform: translateX(5px);
}

/* ========== FEATURED NEWS SECTION ========== */
.featured-news {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.featured-large {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.featured-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.featured-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl);
    color: var(--white);
}

.featured-content h3 {
    font-size: 1.8rem;
    margin: var(--spacing-sm) 0;
    color: var(--white);
}

.featured-content h3 a {
    color: var(--white);
}

.featured-content .post-meta {
    color: rgba(255,255,255,0.8);
}

.featured-small {
    display: grid;
    gap: var(--spacing-lg);
}

.featured-small-item {
    display: flex;
    gap: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.featured-small-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.featured-small-item .item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.featured-small-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-small-item .item-content {
    padding: var(--spacing-md);
    flex: 1;
}

.featured-small-item h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.featured-small-item .post-meta {
    font-size: 0.75rem;
    padding-top: 0;
    border-top: none;
}

/* ========== SIDEBAR ========== */
.sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
}

.widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.widget:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--light-bg);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

/* Popüler Post Widget */
.popular-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--light-bg);
}

.popular-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-item .item-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.popular-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

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

.popular-item .item-content {
    flex: 1;
}

.popular-item h4 {
    font-size: 0.9375rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-item .item-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ========== PAGINATION ========== */
.pagination {
    margin: var(--spacing-xl) 0;
    text-align: center;
}

.pagination ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 5px;
}

.pagination li {
    display: inline-block;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 15px;
    background: var(--white);
    border: 1px solid var(--light-bg);
    border-radius: var(--radius-md);
    color: var(--text-color);
    text-decoration: none;
    transition: all var(--transition-fast);
    min-width: 40px;
}

.pagination a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ========== FOOTER ========== */
.modern-footer {
    background: var(--text-color);
    color: var(--white);
    margin-top: var(--spacing-xxl);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-widget {
    color: rgba(255,255,255,0.8);
}

.footer-widget-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-widget a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.footer-menu a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--white);
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 5px;
    color: var(--text-lighter);
}

.breadcrumb .current {
    color: var(--text-color);
    font-weight: 500;
}

/* ========== LOADING STATES ========== */
.loading {
    position: relative;
    min-height: 200px;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-bg);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ========== NO POSTS MESSAGE ========== */
.no-posts {
    text-align: center;
    padding: var(--spacing-xxl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.no-posts i {
    color: var(--text-lighter);
    margin-bottom: var(--spacing-lg);
}

.no-posts p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

/* ========== ALERTS & MESSAGES ========== */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid transparent;
}

.alert-success {
    background: #d1fae5;
    border-left-color: var(--success);
    color: #065f46;
}

.alert-warning {
    background: #fed7aa;
    border-left-color: var(--warning);
    color: #92400e;
}

.alert-error {
    background: #fee2e2;
    border-left-color: var(--error);
    color: #991b1b;
}

.alert-info {
    background: #dbeafe;
    border-left-color: var(--info);
    color: #1e40af;
}

/* ========== PRINT STYLES ========== */
@media print {
    .modern-header,
    .sidebar,
    .footer,
    .pagination,
    .breadcrumb,
    .page-actions,
    .page-share,
    .comments-area {
        display: none !important;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .content-wrapper {
        display: block;
    }
    
    body {
        background: white;
        font-size: 12pt;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn var(--transition-normal) forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft var(--transition-normal) forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight var(--transition-normal) forwards;
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-xxl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-xxl); }

.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }
.p-5 { padding: var(--spacing-xxl); }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ========== SCROLLBAR STYLES ========== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ========== SELECTION STYLES ========== */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

/* ========== FOCUS STYLES ========== */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========== TABLET RESPONSIVE (768px - 1024px) ========== */
@media (max-width: 1024px) {
    :root {
        --container-width: 960px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr 300px;
    }
    
    .featured-news {
        grid-template-columns: 1.5fr 1fr;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featuredSwiper {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
}

/* ========== MOBILE RESPONSIVE (max 768px) ========== */
@media (max-width: 768px) {
    :root {
        --container-padding: 15px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    .header-content {
        flex-wrap: wrap;
        padding: var(--spacing-md) 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .logo {
        flex: 1;
    }
    
    .header-search {
        order: 3;
        width: 100%;
    }
    
    .header-search form {
        width: 100%;
    }
    
    .header-search input {
        width: 100%;
    }
    
    .main-nav {
        order: 4;
        width: 100%;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: var(--spacing-lg);
        display: none;
    }
    
    .nav-menu .menu-item-has-children.active .sub-menu {
        display: block;
    }
    
    .nav-menu .menu-item-has-children > a::after {
        float: right;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .featured-news {
        grid-template-columns: 1fr;
    }
    
    .featuredSwiper {
        height: 300px;
    }
    
    .slide-content {
        padding: var(--spacing-lg);
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        margin-top: var(--spacing-xl);
    }
    
    .section-header {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: flex-start;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination ul {
        flex-wrap: wrap;
    }
}

/* ========== SMALL MOBILE (max 480px) ========== */
@media (max-width: 480px) {
    .featuredSwiper {
        height: 250px;
    }
    
    .slide-content {
        padding: var(--spacing-md);
    }
    
    .slide-content h2 {
        font-size: 1.25rem;
    }
    
    .post-category {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .featured-small-item {
        flex-direction: column;
    }
    
    .featured-small-item .item-image {
        width: 100%;
        height: 150px;
    }
    
    .widget {
        padding: var(--spacing-md);
    }
    
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-menu {
        gap: var(--spacing-sm);
    }
}
/* manset slendır alanı */

.modern-featured{
    margin:40px 0;
}

.modern-featured-wrapper{
    display:flex;
    gap:25px;
}

/* SOL */
.featured-numbers{
    width:35%;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.num-item{
    padding:15px;
    border-bottom:1px solid #eee;
    cursor:pointer;
    opacity:.6;
    transition:.3s;
}

.num-item span{
    font-size:26px;
    font-weight:700;
    color:#ff3d00;
    display:block;
}

.num-item.active,
.num-item:hover{
    opacity:1;
    transform:translateX(5px);
}

/* SAĞ */
.featured-content{
    width:65%;
    position:relative;
}

.featured-post{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    visibility:hidden;
    transition:.5s;
    border-radius:10px;
    overflow:hidden;
}

.featured-post.active{
    opacity:1;
    visibility:visible;
}

.featured-post .overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(0,0,0,.7), transparent);
}

.featured-post .content{
    position:absolute;
    bottom:30px;
    left:30px;
    color:#fff;
    max-width:80%;
}
