/* ForbideNexus - Sözlük Sayfası CSS */

/* Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c0392b;
    --secondary-color: #2c3e50;
    --light-color: #ecf0f1;
    --dark-color: #121212;
    --gray-color: #95a5a6;
    --border-color: #34495e;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --bg-gradient: linear-gradient(to right, #2c3e50, #1a1a2e);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: white;
    background-image: url('https://admin.forbiddenexus.com/assets/785ec0d9-d5fb-4946-8de7-3c1c3d631323');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #a93226;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Main Container */
.main-container {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto 50px;
    margin-top: 100px;
    background-color: rgba(50, 50, 50, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Dictionary Header */
.dictionary-header {
    text-align: center;
    background-color: transparent;
    border-radius: 8px;
}

.dictionary-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.dictionary-description {
    font-size: 1.1rem;
    color: var(--primary-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Alfabe Navigasyonu */
.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    background-color: #121212;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.alphabet-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 5px;
    border-radius: 50%;
    background-color: #2c3e50;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.alphabet-nav a:hover,
.alphabet-nav a.active {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Arama Formu */
.dictionary-search {
    display: flex;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dictionary-search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #444;
    border-radius: 5px 0 0 5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #222;
    color: white;
    font-size: 1rem;
}

.dictionary-search-submit {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 1rem;
}

.dictionary-search-submit i {
    font-size: 1.1rem;
}

/* Sözlük İçerik Bölümü */
.dictionary-content {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dictionary-letter-heading {
    font-size: 2rem;
    color: var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    display: flex;
    align-items: center;
}

.dictionary-letter-heading i {
    margin-right: 15px;
    font-size: 1.8rem;
}

.dictionary-entries {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.dictionary-entry {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #333;
}

.dictionary-entry:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.entry-content {
    color: white;
    line-height: 1.8;
    font-size: 1rem;
}

.entry-term {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Sonuç Olmaması Durumu */
.no-entries {
    text-align: center;
    padding: 40px 0;
}

.no-entries h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.no-entries p {
    color: white;
    margin-bottom: 20px;
}

/* Sayfalama */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 10px;
    gap: 15px;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 4px;
    background-color: #2c3e50;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pagination a.active {
    background-color: var(--primary-color);
    color: white;
}

.pagination a:hover:not(.active) {
    background-color: #354b60;
}

.pagination-prev, .pagination-next {
    padding: 0 20px !important;
}

.pagination-prev i, .pagination-next i {
    font-size: 0.9rem;
}

/* Sidebar Tags */
.sidebar-tags {
    margin-top: 20px;
}

.sidebar-tags-container {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}

.sidebar-tags-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-tag-item {
    margin: 0;
}

.sidebar-tag-link {
    display: inline-block;
    color: red;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    background: none;
    padding: 0;
    border: none;
    border-radius: 0;
}

.sidebar-tag-link:hover {
    color: red;
    text-decoration: underline;
    transform: none;
    box-shadow: none;
}

.sidebar-tag-count {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 0.7rem;
    margin-left: 5px;
}

/* Scroll bar özelleştirmesi */
.sidebar-tags-container::-webkit-scrollbar {
    width: 6px;
}

.sidebar-tags-container::-webkit-scrollbar-track {
    background: rgba(192, 57, 43, 0.1);
    border-radius: 3px;
}

.sidebar-tags-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.sidebar-tags-container::-webkit-scrollbar-thumb:hover {
    background: #a93226;
}

/* Firefox için scroll bar */
.sidebar-tags-container {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(192, 57, 43, 0.1);
}

/* Genel Scrollbar Stilleri */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #a93226;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c0392b;
    border-radius: 10px;
    border: 2px solid #a93226;
}

::-webkit-scrollbar-thumb:hover {
    background: #000;
}

/* Firefox için (versiyon 64+) */
* {
    scrollbar-width: thin;
    scrollbar-color: #000 #a93226;
}

/* Duyarlı Tasarım */
@media (max-width: 992px) {
    .alphabet-nav a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .alphabet-nav {
        padding: 10px;
    }
    
    .alphabet-nav a {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        margin: 4px;
    }
    
    .dictionary-letter-heading {
        font-size: 1.8rem;
    }
    
    .entry-title {
        font-size: 1.2rem;
    }
    
    .dictionary-content {
        padding: 20px;
    }
    
    .dictionary-search-input {
        padding: 10px;
    }
    
    .pagination-numbers {
        display: none;
    }
    
    .dictionary-entries {
        grid-template-columns: 1fr;
    }
    
    .sidebar-tags-container {
        max-height: 200px;
    }
    
    .sidebar-tag-link {
        font-size: 0.8rem;
    }
    
    .sidebar-tags-list {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .dictionary-title {
        font-size: 1.8rem;
    }
    
    .dictionary-description {
        font-size: 0.9rem;
    }
    
    .alphabet-nav {
        padding: 8px;
    }
    
    .alphabet-nav a {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        margin: 3px;
    }
    
    .main-container {
        padding: 20px;
        margin-top: 100px;
    }
    
    .dictionary-header {
        padding: 20px 0;
    }
    
    .dictionary-letter-heading {
        font-size: 1.5rem;
    }
    
    .entry-title {
        font-size: 1.1rem;
    }
}