:root {
    --primary-color: #00CED1;
    --secondary-color: #008B8B;
    --bg-color: #f9ffff;
    --text-color: #2c3e50;
    --light-gray: #eaeaea;
    --white: #fff;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: var(--white);
    padding: 10px 5%;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo img {
    height: 50px;
	text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

nav ul li a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.pdf-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.pdf-item {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 400px;
}

.pdf-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.pdf-preview-container {
    height: 280px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pdf-preview-canvas {
		max-width: 100%;
		max-height: 100%;
		width: auto;
		height: auto;
		display: block;
	}

.loading-message {
    color: #888;
    font-style: italic;
    font-size: 14px;
    position: absolute;
    text-align: center;
}

.pdf-info {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pdf-info a {
    color: var(--text-color);
    font-weight: bold;
    text-decoration: none;
    word-break: break-word;
}

.pdf-info a:hover {
    color: var(--primary-color);
}

footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    background-color: var(--white);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

footer p {
    color: #888;
}

/* Mobil uyum */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        background: var(--white);
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px 0;
        display: none;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        margin: 4px 0;
    }
}
