/* Modern Blog CMS - Marjinbet Renk Teması */
:root {
    /* Marjinbet Renk Şeması - Koyu Yeşil & Altın */
    --primary: #00c851;
    --primary-dark: #007e33;
    --primary-light: #00ff66;
    --secondary: #ffd700;
    --accent: #00ff88;
    --dark-bg: #0a0e27;
    --dark-bg-light: #141b2d;
    --dark-bg-card: #1a2332;
    --text-dark: #ffffff;
    --text-light: #b0b8c9;
    --text-muted: #6c7a91;
    --bg-light: #0f1420;
    --bg-white: #1a2332;
    --border: #2a3648;
    --shadow-sm: 0 1px 3px 0 rgba(0, 200, 81, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 200, 81, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 200, 81, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 200, 81, 0.5);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-bg-light) 100%);
    background-attachment: fixed;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* COMPACT HEADER - Marjinbet Style */
.header {
    background: linear-gradient(135deg, #0d1117 0%, #1a2332 100%);
    border-bottom: 2px solid var(--primary);
    color: white;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 200, 81, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0.75rem 0;
    text-shadow: 0 0 10px rgba(0, 200, 81, 0.5);
}

.logo:hover {
    color: var(--primary-light);
    transform: scale(1.02);
}

.logo-icon {
    font-size: 1.6rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: 2px solid var(--primary);
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    border-radius: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
    border: 1px solid transparent;
}

.nav-link:hover {
    background: rgba(0, 200, 81, 0.1);
    color: var(--primary);
    border-color: var(--primary);
}

.nav-link i {
    margin-right: 0.25rem;
}

/* Hero - Marjinbet Style */
.hero {
    background: linear-gradient(135deg, #0d1117 0%, #1a2332 50%, #0d1117 100%);
    border-bottom: 3px solid var(--primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 200, 81, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Main Content */
.main {
    padding: 3rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin-top: 2rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Article Card - Dark Theme */
.article-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 200, 81, 0.4);
    border-color: var(--primary);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #000;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.article-title a {
    color: var(--text-dark);
}

.article-title a:hover {
    color: var(--primary);
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.author-name {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.875rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
}

.read-more:hover {
    gap: 0.75rem;
    color: var(--secondary);
}

/* Single Article */
.article-single {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.article-single .article-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-single-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    border: 2px solid var(--primary);
}

.article-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
}

.article-body h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--primary);
}

.article-body a {
    color: var(--secondary);
    font-weight: 600;
}

.article-body a:hover {
    color: var(--primary);
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 200, 81, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-2px);
}

/* Sidebar - Dark */
.sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.widget {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-list {
    list-style: none;
}

.widget-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list a {
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.widget-list a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.widget-list .count {
    background: rgba(0, 200, 81, 0.2);
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    padding: 0.75rem 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-weight: 600;
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 200, 81, 0.4);
}

.pagination .current {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #000;
    border-color: var(--primary);
}

/* Footer - Dark */
.footer {
    background: #0a0e27;
    border-top: 2px solid var(--primary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-section p, .footer-section a {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Buttons - Marjinbet Style */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #000;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 200, 81, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 200, 81, 0.5);
    color: #000;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #ffed4e 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
}

/* MOBILE RESPONSIVE */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 60px);
        background: var(--dark-bg-light);
        border-left: 2px solid var(--primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        box-shadow: -4px 0 20px rgba(0, 200, 81, 0.3);
        transition: right 0.3s ease;
        overflow-y: auto;
        gap: 0;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-light);
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-link:hover {
        background: rgba(0, 200, 81, 0.1);
        color: var(--primary);
    }
    
    .nav-link i {
        margin-right: 0.75rem;
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .article-single {
        padding: 1.5rem;
    }
    
    .article-single .article-title {
        font-size: 1.75rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--primary);
    color: #000;
}

*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}
