body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f9;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: #ffffff;
    padding: 20px;
    border-right: 1px solid #ddd;
}

.sidebar h3 {
    margin-bottom: 15px;
}

.sidebar a {
    display: block;
    padding: 12px;
    margin-bottom: 10px;
    background: #f1f1f1;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}

.sidebar a:hover {
    background: #007bff;
    color: #fff;
}

/* Content */
.content {
    flex: 1;
    padding: 20px;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Image container */
.img-container {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resim tamamen görünür */
}

.card h4 {
    margin: 10px;
}

.card p {
    color: #777;
    font-size: 14px;
}

.card a {
    display: block;
    padding: 10px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.card a:hover {
    background: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
}


/* SAYFALAMA TASARIMI */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-block;
    padding: 10px 14px;
    text-decoration: none;
    color: #333;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.pagination a:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination a.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    font-weight: bold;
}

.pagination a.prev,
.pagination a.next {
    font-weight: bold;
    padding: 10px 16px;
}

/* Kart */
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Resim alanı */
.img-container {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}