/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #2a2a2a;
    border-bottom: 2px solid #00bcd4;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navigation a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: #00bcd4;
}

/* Main Content */
.main-content {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Article Styles */
.article-content {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.article-content h1 {
    color: #00bcd4;
    font-size: 2.2em;
    margin-bottom: 20px;
    border-bottom: 2px solid #00bcd4;
    padding-bottom: 10px;
}

.article-content h2 {
    color: #ffffff;
    font-size: 1.8em;
    margin: 30px 0 15px 0;
    border-left: 4px solid #00bcd4;
    padding-left: 15px;
}

.article-content h3 {
    color: #ffffff;
    font-size: 1.4em;
    margin: 25px 0 10px 0;
}

.article-content p {
    margin-bottom: 15px;
    color: #cccccc;
    text-align: justify;
}

.article-content ul, .article-content ol {
    margin: 15px 0 15px 30px;
    color: #cccccc;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content strong {
    color: #ffffff;
}

.highlight-link {
    color: #00bcd4;
    text-decoration: none;
    font-weight: bold;
}

.highlight-link:hover {
    text-decoration: underline;
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.search-widget {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    background-color: #1a1a1a;
    color: #ffffff;
    border-radius: 4px;
    margin-bottom: 10px;
}

.search-input::placeholder {
    color: #888;
}

.search-button {
    width: 100%;
    padding: 12px;
    background-color: #00bcd4;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #0097a7;
}

.social-banner, .giris-banner {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.social-banner img, .giris-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.social-banner img:hover, .giris-banner img:hover {
    transform: scale(1.05);
}

.recent-posts {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.recent-posts h3 {
    color: #00bcd4;
    font-size: 1.3em;
    margin-bottom: 15px;
    border-bottom: 2px solid #00bcd4;
    padding-bottom: 8px;
}

.recent-posts ul {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #444;
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.recent-posts a:hover {
    color: #00bcd4;
}

/* Footer Styles */
.footer {
    background-color: #1a1a1a;
    border-top: 2px solid #00bcd4;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.footer p {
    color: #888;
    font-size: 0.9em;
}

.footer a {
    color: #00bcd4;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .navigation ul {
        gap: 15px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-content h1 {
        font-size: 1.8em;
    }
    
    .article-content h2 {
        font-size: 1.5em;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .article-content h1 {
        font-size: 1.5em;
    }
    
    .article-content h2 {
        font-size: 1.3em;
    }
    
    .article-content h3 {
        font-size: 1.2em;
    }
    
    .article-content {
        padding: 15px;
    }
    
    .sidebar > div {
        padding: 15px;
    }
}

/* Additional Styling for Better Visual Appeal */
.article-content ul li::before {
    content: "▶";
    color: #00bcd4;
    font-weight: bold;
    margin-right: 8px;
}

.article-content ol li {
    counter-increment: item;
}

.article-content ol li::before {
    content: counter(item) ".";
    color: #00bcd4;
    font-weight: bold;
    margin-right: 8px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: #00bcd4;
    color: #ffffff;
}

/* Focus styles for accessibility */
.search-input:focus,
.search-button:focus {
    outline: 2px solid #00bcd4;
    outline-offset: 2px;
}

/* Hover effects for links */
a {
    transition: all 0.3s ease;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Print styles */
@media print {
    .sidebar,
    .header,
    .footer {
        display: none;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .article-content {
        background-color: white;
        box-shadow: none;
    }
}

