/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A90E2;
    --secondary-color: #2ECC71;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: #f0f2f5;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.site-header {
    background: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 20px;
}

.site-logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}

.search-box {
    flex: 1;
    max-width: 600px;
}

.search-box form {
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95em;
    transition: all 0.2s ease;
    background: var(--light-gray);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(74,144,226,0.1);
}

.search-box button {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-box button:hover {
    background: #357ABD;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: var(--text-color);
    padding: 4px;
}

/* Ana İçerik */
.main-content {
    position: relative;
  
}

/* Sidebar */
.sidebar {
    width: 250px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    background: white;
    box-shadow: 1px 0 2px rgba(0,0,0,0.1);
    z-index: 1000;
}

.categories {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.categories h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--text-color);
    font-size: 1.2em;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-list a:hover {
    background: #f0f2f5;
    color: var(--primary-color);
    transform: translateX(5px);
}

.category-list a.active {
    background: var(--primary-color);
    color: white;
}

/* Yazılım Grid */
.content {
    width: 100%;
    padding: 20px;
    max-width: 1920px;
    margin: 0 auto;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.software-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.software-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.software-card:hover .software-image,
.software-card:hover .software-image-placeholder {
    transform: scale(1.05);
}

.software-tags {
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.tag {
    background: rgba(255,255,255,0.95);
    color: var(--primary-color);
    padding: 1px 8px;
    border-radius: 20px;
    font-size: 0.7em;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(74,144,226,0.2);
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    letter-spacing: 0.2px;
}

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

.software-image-wrapper {
    position: relative;
    padding-top: 66.67%; /* 3:2 en boy oranı */
    overflow: hidden;
    background: #f8f9fa;
}

.software-image,
.software-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.software-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #f1f3f5, #e9ecef);
}

.software-image-placeholder::after {
    content: '\f03e';
    font-family: 'Font Awesome 5 Free';
    font-size: 2em;
    color: #adb5bd;
    opacity: 0.5;
}

.software-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.software-title {
    font-size: 1.1em;
    margin-bottom: 6px;
    color: var(--text-color);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.software-description {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    flex: 1;
}

.software-links {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-demo {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85em;
    transition: all 0.2s ease;
    font-weight: 500;
}

.btn-demo:hover {
    background: #357ABD;
    transform: translateY(-2px);
}

/* Responsive Tasarım */
@media (max-width: 1920px) {
    .software-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1600px) {
    .software-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1366px) {
    .software-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .software-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .search-box {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .main-content {
        padding-left: 0;
    }

    .sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
        display: none;
    }

    .sidebar.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .software-grid {
        grid-template-columns: 1fr;
    }
}
