/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #f5f5f5;
    line-height: 1.6;
    scroll-behavior: smooth;
}

header {
    text-align: center;
    padding: 20px;
    background-color: #1e1e1e;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

header .logo h1 {
    font-size: 28px;
    color: #fff;
    font-weight: bold;
}

/* Arama Bölümü */
#search-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 70vh;
    background: linear-gradient(135deg, #6200ea, #3700b3);
    color: #fff;
    padding: 20px;
}

.search-container h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.search-container p {
    font-size: 18px;
    margin-bottom: 20px;
}

.search-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-bar input {
    padding: 15px;
    font-size: 16px;
    width: 300px;
    border: none;
    border-radius: 8px;
    outline: none;
}

.search-bar button {
    padding: 15px 20px;
    font-size: 16px;
    background: #fff;
    color: #6200ea;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.search-bar button:hover {
    background: #f5f5f5;
}

/* Sonuçlar Bölümü */
#results-section {
    padding: 40px 20px;
}

.video-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
    margin-top: 20px;
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.result-item:hover {
    transform: scale(1.05);
}

.result-item img {
    width: 100%;
    max-width: 250px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
}

.result-item img:hover {
    transform: scale(1.1);
}

.result-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.result-item p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #aaa;
}

.result-item button {
    padding: 10px 15px;
    background: #6200ea;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.result-item button:hover {
    background: #3700b3;
}

/* Pagination */
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination button {
    padding: 10px 20px;
    font-size: 16px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.pagination button:disabled {
    background: #555;
    cursor: not-allowed;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background: #1e1e1e;
    color: #fff;
    font-size: 14px;
}
