/**
 * jrodix.com Knowledge Base - Ana Stil Dosyası
 * Modern ve responsive tasarım
 */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    font-size: 14px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Yazı boyutlarını küçült */
h1, .h1 { font-size: 1.75rem; }
h2, .h2 { font-size: 1.5rem; }
h3, .h3 { font-size: 1.25rem; }
h4, .h4 { font-size: 1.1rem; }
h5, .h5 { font-size: 1rem; }
h6, .h6 { font-size: 0.9rem; }

.lead { font-size: 1rem; }
.display-1 { font-size: 2.5rem; }
.display-2 { font-size: 2rem; }
.display-3 { font-size: 1.75rem; }
.display-4 { font-size: 1.5rem; }
.display-5 { font-size: 1.25rem; }

/* Header Stilleri */
header.bg-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    box-shadow: var(--box-shadow);
}

/* Arama Formu */
.search-form .input-group-lg .form-control {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border: 2px solid #e9ecef;
    transition: var(--transition);
}

.search-form .input-group-lg .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.search-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.search-form .btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Kart Stilleri */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); - Admin panelden değiştirilebilir */
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

/* Makale Kartları */
.article-card {
    height: 100%;
    transition: var(--transition);
}

/* Öne Çıkan Görsel Stilleri */
.featured-image-container {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.featured-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* Responsive öne çıkan görsel */
@media (max-width: 768px) {
    .featured-image {
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .featured-image:hover {
        transform: none;
    }
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.article-card .card-title a {
    color: #333;
    transition: var(--transition);
}

.article-card .card-title a:hover {
    color: var(--primary-color);
}

/* Sidebar Stilleri */
.list-group-item {
    border: none;
    border-radius: 0;
    transition: var(--transition);
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.list-group-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    border: none;
}

/* Makale İçeriği */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-content h2 {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.article-content code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
    color: #e83e8c;
}

.article-content pre {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Badge Stilleri */
.badge {
    font-size: 0.8em;
    padding: 0.5em 0.75em;
    border-radius: 20px;
}

/* Buton Stilleri */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.btn-group .btn:last-child {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Main Content */
main {
    flex-grow: 1;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-item h3 {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.search-card {
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

/* Quick Link Cards */
.quick-link-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    border-color: var(--primary-color);
}

.quick-link-icon {
    transition: transform 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
    transform: scale(1.1);
}

/* Newsletter Form */
.newsletter-form .form-control {
    border: 2px solid rgba(255,255,255,0.4) !important;
    background: rgba(255,255,255,0.15) !important;
    color: #333 !important;
    backdrop-filter: blur(10px);
    font-size: 1.1rem !important;
    padding: 1rem 1.25rem !important;
    height: auto !important;
    min-height: 3.5rem !important;
    line-height: 1.4 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.newsletter-form .input-group {
    width: 100% !important;
    max-width: 100% !important;
}

.newsletter-form .input-group-lg {
    width: 100% !important;
    max-width: 100% !important;
}

.newsletter-form .form-control::placeholder {
    color: rgba(0,0,0,0.6) !important;
}

.newsletter-form .form-control:focus {
    border-color: rgba(255,255,255,0.7) !important;
    background: rgba(255,255,255,0.25) !important;
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25) !important;
    color: #333 !important;
}

.newsletter-form .btn-light {
    background: rgba(255,255,255,0.9);
    border: 2px solid rgba(255,255,255,0.3);
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem !important;
    padding: 1rem 1.25rem !important;
    height: auto !important;
    min-height: 3.5rem !important;
    line-height: 1.4 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.newsletter-form .btn-light:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Search Suggestions */
.search-suggestions .badge {
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-suggestions .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Enhanced Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-search {
    animation: fadeInRight 0.8s ease-out;
}

.quick-link-card {
    animation: slideInUp 0.6s ease-out;
}

.quick-link-card:nth-child(1) { animation-delay: 0.1s; }
.quick-link-card:nth-child(2) { animation-delay: 0.2s; }
.quick-link-card:nth-child(3) { animation-delay: 0.3s; }
.quick-link-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Tasarım */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .search-form .input-group-lg .form-control {
        font-size: 1rem;
    }
    
    .btn-group {
        width: 100%;
    }
    
    .btn-group .btn {
        flex: 1;
    }
    
    /* Hero Section Mobile */
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .hero-stats .stat-item {
        text-align: center;
    }
    
    /* Quick Link Cards Mobile */
    .quick-link-card {
        margin-bottom: 1rem;
    }
    
    /* Newsletter Form Mobile */
    .newsletter-form .input-group {
        flex-direction: column;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .newsletter-form .input-group .form-control {
        border-radius: 0.5rem 0.5rem 0 0 !important;
        margin-bottom: 0;
        border: 2px solid rgba(255,255,255,0.4) !important;
        background: rgba(255,255,255,0.15) !important;
        color: #333 !important;
        font-size: 1rem !important;
        padding: 0.875rem 1rem !important;
        height: auto !important;
        min-height: 3rem !important;
        line-height: 1.4 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .newsletter-form .input-group .form-control::placeholder {
        color: rgba(0,0,0,0.6) !important;
    }
    
    .newsletter-form .input-group .form-control:focus {
        border-color: rgba(255,255,255,0.7) !important;
        background: rgba(255,255,255,0.25) !important;
        color: #333 !important;
    }
    
    .newsletter-form .input-group .btn {
        border-radius: 0 0 0.5rem 0.5rem !important;
        font-size: 1rem !important;
        padding: 0.875rem 1rem !important;
        height: auto !important;
        min-height: 3rem !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 576px) {
    /* Body overflow fix - küçük ekranlar */
    body {
        overflow-x: hidden !important;
    }
    
    html {
        overflow-x: hidden !important;
    }
    
    .container, .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Hero section çok küçük ekranlarda */
    .hero-section {
        padding: 8px 0 !important;
        margin-bottom: 3px !important;
    }
    
    .hero-content h1 {
        font-size: 1rem !important;
        margin-bottom: 0.1rem !important;
    }
    
    .hero-content p {
        font-size: 0.65rem !important;
        margin-bottom: 0.1rem !important;
    }
    
    .hero-stats .stat-item h3 {
        font-size: 0.7rem !important;
    }
    
    .hero-stats .stat-item small {
        font-size: 0.5rem !important;
    }
    
    /* 576px altında da KESINLIKLE tek satır - Bootstrap override */
    .hero-stats .row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: stretch !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
    }
    
    .hero-stats .col-4 {
        flex: 0 0 30% !important;
        max-width: 30% !important;
        width: 30% !important;
        float: none !important;
        display: block !important;
        padding: 0.05rem !important;
        flex-basis: 30% !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        position: relative !important;
        min-height: 1px !important;
    }
    
    .hero-button .btn {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.4rem !important;
    }
    
    .search-card {
        margin-top: 1rem;
    }
    
    .quick-link-card h5 {
        font-size: 1rem;
    }
    
    .quick-link-card p {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .card-columns {
        column-count: 1;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .d-flex.justify-content-between > * {
        margin-bottom: 0.5rem;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Özel Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Loading Animasyonu */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tooltip Stilleri */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background-color: #2c3e50;
    border-radius: var(--border-radius);
}

/* Alert Stilleri */
.alert {
    border: none;
    border-radius: var(--border-radius);
    border-left: 4px solid;
}

.alert-primary {
    border-left-color: var(--primary-color);
}

.alert-success {
    border-left-color: var(--success-color);
}

.alert-warning {
    border-left-color: var(--warning-color);
}

.alert-danger {
    border-left-color: var(--danger-color);
}

/* Form Stilleri */
.form-control {
    border-radius: var(--border-radius);
    border: 1px solid #ced4da;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Tablo Stilleri */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

/* Pagination */
.pagination {
    justify-content: center;
}

.page-link {
    border-radius: var(--border-radius);
    margin: 0 2px;
    border: 1px solid #dee2e6;
    color: var(--primary-color);
    transition: var(--transition);
}

.page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Bootstrap Gradient Sınıfları */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Yeni Ana Sayfa Stilleri */
.article-icon {
    transition: all 0.3s ease;
}

/* Kategori Butonları */
.category-buttons .btn {
    transition: all 0.3s ease;
    border-radius: 25px;
}

.category-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-buttons .btn.active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

/* Popüler İçerikler Bölümü */
.popular-content-section .card {
    transition: all 0.3s ease;
}

.popular-content-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.popular-content-section .card-header {
    border-bottom: none;
}

.popular-content-section .badge {
    transition: all 0.3s ease;
}

.popular-content-section .badge:hover {
    transform: scale(1.05);
    background-color: var(--bs-primary) !important;
    color: white !important;
}

.article-card:hover .article-icon {
    transform: scale(1.1);
    background-color: rgba(var(--bs-primary-rgb), 0.2) !important;
}

.newsletter-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.newsletter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Yorum Stilleri */
.comment-item {
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.comment-item p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* Footer Stilleri */
footer {
    color: white !important;
}

footer a:hover {
    color: var(--bs-warning) !important;
    transition: color 0.3s ease;
}

footer .fab {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

footer .fab:hover {
    transform: translateY(-3px);
    color: var(--bs-warning) !important;
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

footer .text-warning {
    color: var(--bs-warning) !important;
}

footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Responsive İyileştirmeler */
@media (max-width: 768px) {
    .hero-stats .row {
        gap: 1rem;
    }
    
    .hero-stats .col-4 {
        flex: 0 0 auto;
        width: 30%;
    }
    
    .newsletter-card {
        padding: 2rem !important;
    }
    
    .newsletter-card h2 {
        font-size: 1.5rem;
    }
    
    .input-group-lg .form-control,
    .input-group-lg .btn {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-stats .col-4 {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .newsletter-card {
        padding: 1.5rem !important;
    }
    
    .newsletter-card h2 {
        font-size: 1.25rem;
    }
}

/* Print Stilleri */
@media print {
    .navbar,
    .sidebar,
    footer,
    .btn,
    .search-form {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {
    /* Body overflow fix - sadece mobilde */
    body {
        overflow-x: hidden !important;
    }
    
    html {
        overflow-x: hidden !important;
    }
    
    /* Header Mobile */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Hero Section Mobile - Çok kompakt */
    .hero-section {
        padding: 10px 0 !important;
        margin-bottom: 5px !important;
    }
    
    .hero-content h1 {
        font-size: 1.1rem !important;
        margin-bottom: 0.2rem !important;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 0.7rem !important;
        margin-bottom: 0.2rem !important;
        line-height: 1.3;
    }
    
    .hero-content .btn {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem !important;
        margin-top: 0.2rem !important;
    }
    
    /* Hero stats mobile - KESINLIKLE yan yana - Bootstrap override */
    .hero-stats {
        margin-top: 0.3rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .hero-stats .row {
        margin: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: stretch !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
    }
    
    /* Bootstrap col-4'ü tamamen override et - daha küçük */
    .hero-stats .col-4 {
        padding: 0.1rem !important;
        flex: 0 0 30% !important;
        max-width: 30% !important;
        width: 30% !important;
        float: none !important;
        display: block !important;
        flex-basis: 30% !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        position: relative !important;
        min-height: 1px !important;
    }
    
    /* Tüm responsive breakpoint'leri override et - daha küçük */
    @media (max-width: 768px) {
        .hero-stats .col-4 {
            flex: 0 0 30% !important;
            max-width: 30% !important;
            width: 30% !important;
        }
    }
    
    @media (max-width: 576px) {
        .hero-stats .col-4 {
            flex: 0 0 30% !important;
            max-width: 30% !important;
            width: 30% !important;
        }
    }
    
    @media (max-width: 480px) {
        .hero-stats .col-4 {
            flex: 0 0 30% !important;
            max-width: 30% !important;
            width: 30% !important;
        }
    }
    
    .hero-stats .stat-item {
        padding: 0.2rem 0.1rem !important;
        margin-bottom: 0 !important;
        border-radius: 0.25rem !important;
        width: 100% !important;
        display: block !important;
    }
    
    .hero-stats .stat-item h3 {
        font-size: 0.8rem !important;
        margin-bottom: 0 !important;
        line-height: 1;
    }
    
    .hero-stats .stat-item small {
        font-size: 0.55rem !important;
        margin-bottom: 0 !important;
        line-height: 1;
    }
    
    /* Hero buton mobile */
    .hero-button {
        margin-top: 0.2rem !important;
    }
    
    .hero-button .btn {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem !important;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .hero-stats .col-4 {
        margin-bottom: 1rem;
    }
    
    /* Search Form Mobile */
    .hero-search {
        margin-top: 2rem;
    }
    
    .search-card {
        padding: 1.5rem !important;
    }
    
    .search-form .input-group {
        flex-direction: column;
    }
    
    .search-form .input-group .form-control {
        border-radius: 8px 8px 0 0 !important;
        margin-bottom: 0;
    }
    
    .search-form .input-group .btn {
        border-radius: 0 0 8px 8px !important;
        width: 100%;
    }
    
    /* Quick Access Mobile */
    .quick-link-card {
        margin-bottom: 1.5rem;
    }
    
    .quick-link-icon .icon-wrapper {
        width: 60px !important;
        height: 60px !important;
    }
    
    .quick-link-icon i {
        font-size: 1.5rem !important;
    }
    
    /* Categories Mobile */
    .category-buttons .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 0.5rem;
    }
    
    .category-buttons .btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Article Cards Mobile */
    .article-card {
        margin-bottom: 1.5rem;
    }
    
    .article-card .card-body {
        padding: 1rem;
    }
    
    .article-meta {
        font-size: 0.8rem;
    }
    
    /* Popular Content Mobile */
    .popular-content-section {
        padding: 2rem 0;
    }
    
    .popular-content-section .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Newsletter Mobile */
    .newsletter-section {
        padding: 2rem 0;
    }
    
    .newsletter-card {
        padding: 2rem 1.5rem !important;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .newsletter-form .form-control {
        border-radius: 8px 8px 0 0 !important;
        margin-bottom: 0;
        border: 2px solid rgba(255,255,255,0.4) !important;
        background: rgba(255,255,255,0.15) !important;
        color: #333 !important;
        font-size: 1rem !important;
        padding: 0.875rem 1rem !important;
        height: auto !important;
        min-height: 3rem !important;
        line-height: 1.4 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .newsletter-form .form-control::placeholder {
        color: rgba(0,0,0,0.6) !important;
    }
    
    .newsletter-form .form-control:focus {
        border-color: rgba(255,255,255,0.7) !important;
        background: rgba(255,255,255,0.25) !important;
        color: #333 !important;
    }
    
    .newsletter-form .btn {
        border-radius: 0 0 8px 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1rem !important;
        padding: 0.875rem 1rem !important;
        height: auto !important;
        min-height: 3rem !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
    }
    
    /* Footer Mobile */
    footer {
        padding: 2rem 0 !important;
    }
    
    footer .col-lg-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    footer .d-flex {
        justify-content: center;
    }
    
    /* Back to Top Button Mobile */
    #backToTop {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    /* Extra Small Mobile */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Hero Section Extra Small */
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    /* Search Form Extra Small */
    .search-card {
        padding: 1rem !important;
    }
    
    /* Quick Links Extra Small */
    .quick-link-card {
        padding: 1rem;
    }
    
    .quick-link-icon .icon-wrapper {
        width: 50px !important;
        height: 50px !important;
    }
    
    .quick-link-icon i {
        font-size: 1.25rem !important;
    }
    
    /* Categories Extra Small */
    .category-buttons .col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Cards Extra Small */
    .card-body {
        padding: 0.75rem;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
    }
    
    /* Newsletter Extra Small */
    .newsletter-card {
        padding: 1.5rem 1rem !important;
    }
    
    .newsletter-card h3 {
        font-size: 1.1rem;
    }
    
    /* Footer Extra Small */
    footer {
        padding: 1.5rem 0 !important;
    }
    
    footer h5, footer h6 {
        font-size: 1rem;
    }
    
    /* Back to Top Button Extra Small */
    #backToTop {
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
}

/* Hızlı Erişim Mobil Responsive */
@media (max-width: 768px) {
    /* Hızlı erişim bölümü - 2 li sıralı */
    .quick-link-card {
        margin-bottom: 1rem;
    }
    
    .quick-link-card .icon-wrapper {
        width: 60px !important;
        height: 60px !important;
    }
    
    .quick-link-card .icon-wrapper i {
        font-size: 1.5rem !important;
    }
    
    .quick-link-card h5 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .quick-link-card p {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .quick-link-card .btn {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }
    
    /* Kategoriler Mobil Responsive - 2 li sıralı */
    .category-buttons .btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .category-buttons .btn i {
        font-size: 0.8rem;
    }
    
    /* Popüler İçerikler Mobil Responsive - 2 li sıralı */
    .popular-content-section .card {
        margin-bottom: 1rem;
    }
    
    .popular-content-section .card-header h5 {
        font-size: 0.9rem;
    }
    
    .popular-content-section .card-body {
        padding: 1rem;
    }
    
    .popular-content-section .d-flex {
        margin-bottom: 0.75rem !important;
    }
    
    .popular-content-section .small {
        font-size: 0.75rem !important;
    }
    
    .popular-content-section .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    /* Footer Mobil Responsive */
    footer .col-12 {
        text-align: center;
    }
    
    footer .d-flex {
        justify-content: center;
    }
    
    footer h5, footer h6 {
        font-size: 1rem;
    }
    
    footer p, footer li {
        font-size: 0.9rem;
    }
    
    /* Arama ve Abone Ol Inputları Mobil Responsive */
    .hero-search .input-group {
        flex-direction: column !important;
    }
    
    .hero-search .input-group-lg {
        flex-direction: column !important;
    }
    
    .hero-search .form-control,
    .hero-search .input-group-lg .form-control {
        border-radius: 0.375rem 0.375rem 0 0 !important;
        margin-bottom: 0.5rem !important;
        font-size: 0.95rem !important;
        padding: 0.75rem 1rem !important;
        height: auto !important;
        min-height: 2.5rem !important;
        line-height: 1.3 !important;
        border: 2px solid #e9ecef !important;
        background-color: #fff !important;
    }
    
    .hero-search .form-control:focus,
    .hero-search .input-group-lg .form-control:focus {
        border-color: #007bff !important;
        box-shadow: 0 0 0 0.3rem rgba(0, 123, 255, 0.25) !important;
        outline: none !important;
    }
    
    .hero-search .btn,
    .hero-search .input-group-lg .btn {
        border-radius: 0 0 0.375rem 0.375rem !important;
        width: 100% !important;
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem !important;
        height: auto !important;
        min-height: 2.5rem !important;
        line-height: 1.3 !important;
        border: 2px solid #007bff !important;
        font-weight: 500 !important;
        background-color: #007bff !important;
        color: #fff !important;
    }
    
    .hero-search .btn:hover,
    .hero-search .input-group-lg .btn:hover {
        background-color: #0056b3 !important;
        border-color: #0056b3 !important;
    }
    
    /* Arama Butonu Mobil Yazı */
    .hero-search .btn span {
        font-size: 0.85rem !important;
        font-weight: 500 !important;
    }
    
    .search-card {
        padding: 1.25rem !important;
        margin: 0.5rem 0 !important;
    }
    
    .search-card h3 {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
        font-weight: 600 !important;
    }
    
    /* Popüler Aramalar Mobil */
    .search-card .badge {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.6rem !important;
        margin: 0.2rem !important;
        border-radius: 0.4rem !important;
        font-weight: 500 !important;
    }
    
    .search-card .text-muted {
        font-size: 0.85rem !important;
        margin-bottom: 0.6rem !important;
        font-weight: 500 !important;
    }
    
    /* Hero Search Container Mobile */
    .hero-search .col-lg-5 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    .hero-search {
        margin-top: 2rem !important;
    }
    
    /* Hero Search Input Group Override */
    .hero-search .input-group-lg {
        width: 100% !important;
    }
    
    .hero-search .input-group-lg > * {
        width: 100% !important;
        flex: none !important;
    }
    
    /* Article Kategoriler Mobil */
    .d-block.d-md-none .btn-sm {
        font-size: 0.8rem !important;
        padding: 0.5rem 0.75rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .d-block.d-md-none .btn-sm i {
        font-size: 0.8rem !important;
    }
    
    .newsletter-form .input-group {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .newsletter-form .form-control {
        border-radius: 0.375rem 0.375rem 0 0 !important;
        margin-bottom: 0.5rem !important;
        font-size: 1rem !important;
        padding: 0.875rem 1rem !important;
        height: auto !important;
        min-height: 3rem !important;
        line-height: 1.4 !important;
        border: 2px solid rgba(255,255,255,0.4) !important;
        background: rgba(255,255,255,0.15) !important;
        color: #333 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .newsletter-form .form-control::placeholder {
        color: rgba(0,0,0,0.6) !important;
    }
    
    .newsletter-form .form-control:focus {
        border-color: rgba(255,255,255,0.7) !important;
        background: rgba(255,255,255,0.25) !important;
        box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25) !important;
        color: #333 !important;
    }
    
    .newsletter-form .btn {
        border-radius: 0 0 0.375rem 0.375rem !important;
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1rem !important;
        padding: 0.875rem 1rem !important;
        height: auto !important;
        min-height: 3rem !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
        background: rgba(255,255,255,0.9) !important;
        border: 2px solid rgba(255,255,255,0.3) !important;
        color: #333 !important;
    }
    
    .newsletter-form .btn:hover {
        background: white !important;
        border-color: white !important;
        color: #333 !important;
    }
    
    /* Newsletter Card Mobile */
    .newsletter-card {
        padding: 1.25rem !important;
        margin: 0.5rem 0 !important;
    }
    
    .newsletter-card h3 {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
        font-weight: 600 !important;
    }
    
    .newsletter-card p {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .newsletter-card .form-text {
        font-size: 0.8rem !important;
        margin-top: 0.5rem !important;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-stats .col-4 {
        margin-bottom: 1rem;
    }
    
    .quick-link-card {
        margin-bottom: 1.5rem;
    }
    
    .popular-content-section .col-lg-4 {
        margin-bottom: 2rem;
    }
}
