* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DejaVu Sans', Tahoma, sans-serif;
    line-height: 1.6;
    color: #333;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-header {
    background: #f8f9fa;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-header .container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.site-header h1 a {
    font-size: 2.5rem; /* کاهش اندازه h1 */
    text-decoration: none;
    color: #333;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 1rem 0;
}

.main-nav a {
    text-decoration: none;
    color: #007bff;
}

.search-form {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    width: 100%;
    max-width: 800px; /* پهن‌تر کردن باکس جستجو */
}

.search-form input {
    padding: 12px 20px; /* بزرگ‌تر کردن ورودی */
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 18px; /* بزرگ‌تر کردن فونت */
    width: 70%;
    transition: border-color 0.3s;
}

.search-form input:focus {
    border-color: #007bff;
    outline: none;
}

.search-form button {
    padding: 12px 25px; /* بزرگ‌تر کردن دکمه */
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px; /* بزرگ‌تر کردن فونت */
    transition: background 0.3s;
}

.search-form button:hover {
    background: #0056b3;
}

.intro-section, .songs-section {
    margin: 2rem 0;
}

.song-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.song-item a {
    color: #007bff;
    text-decoration: none;
}

.pagination {
    margin: 1rem 0;
    text-align: center;
}

.pagination a {
    padding: 8px 12px;
    margin: 0 5px;
    background: #e9ecef;
    color: #007bff;
    text-decoration: none;
    border-radius: 4px;
}

.music-detail {
    margin: 2rem 0;
}

.music-detail h1 {
    font-size: 2.5rem; /* کاهش اندازه h1 در صفحه جزئیات */
}

.download-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.site-footer {
    background: #f8f9fa;
    padding: 1rem 0;
    text-align: center;
    margin-top: 2rem;
}

/* ریسپانسیویتی */
@media (max-width: 768px) {
    .site-header .container {
        grid-template-columns: 1fr;
    }
    .main-nav {
        flex-direction: column;
        margin-top: 1rem;
    }
    .song-list {
        grid-template-columns: 1fr;
    }
    .search-form {
        flex-direction: column;
        max-width: 100%;
    }
    .search-form input {
        width: 100%;
        margin-bottom: 10px;
    }
}