/* استایل‌های اصلی */

/* هدر */
.site-header {
    background: var(--shia-darker);
    border-bottom: 1px solid var(--shia-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding .site-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--shia-red-light);
}

.site-branding .site-title a {
    text-decoration: none;
    color: inherit;
}

.site-description {
    color: #999;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--shia-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--shia-red-light);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-toggle,
.admin-link {
    background: var(--shia-red);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
}

.search-toggle:hover,
.admin-link:hover {
    background: var(--shia-red-light);
}

/* مودال جستجو */
.search-modal {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1001;
    transition: top 0.3s;
    padding: 2rem 0;
}

.search-modal.active {
    top: 0;
}

.search-modal form {
    max-width: 600px;
    margin: 0 auto;
}

.search-modal input {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    background: transparent;
    border: 2px solid var(--shia-red);
    color: white;
    border-radius: 4px;
}

/* محتوای اصلی */
.nava-main-content {
    flex: 1;
    padding: 2rem 0;
}

.nava-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.nava-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--shia-red-light);
}

.nava-hero p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
}

/* کارت‌های آثار */
.nava-tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.nava-track-card {
    background: var(--shia-light);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nava-track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.track-thumbnail {
    height: 200px;
    overflow: hidden;
}

.track-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.nava-track-card:hover .track-thumbnail img {
    transform: scale(1.1);
}

.track-info {
    padding: 1.5rem;
}

.track-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.track-artist {
    color: var(--shia-red-light);
    margin-bottom: 0.5rem;
}

.track-duration {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.play-track {
    background: var(--shia-red);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.play-track:hover {
    background: var(--shia-red-light);
}

/* دسته‌بندی‌ها */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    background: var(--shia-light);
    padding: 2rem 1rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.category-card:hover {
    background: var(--shia-red);
    transform: translateY(-3px);
}

.category-card h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #ccc;
    font-size: 0.9rem;
}

/* فوتر */
.site-footer {
    background: var(--shia-darker);
    border-top: 1px solid var(--shia-light);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--shia-light);
}

.copyright {
    color: #999;
}

.footer-navigation ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.footer-navigation a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-navigation a:hover {
    color: var(--shia-red-light);
}

/* پخش‌کننده جهانی */
.global-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--shia-dark);
    border-top: 1px solid var(--shia-light);
    padding: 1rem;
    z-index: 1000;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.player-btn {
    background: none;
    border: 2px solid var(--shia-red);
    color: var(--shia-red);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.player-btn:hover {
    background: var(--shia-red);
    color: white;
}

.play-btn {
    background: var(--shia-red);
    color: white;
    padding: 0.5rem 2rem;
}

.player-info {
    text-align: center;
}

#player-title {
    display: block;
    font-weight: bold;
    color: white;
}

#player-artist {
    display: block;
    color: #999;
    font-size: 0.9rem;
}

.player-progress {
    width: 150px;
}

.player-progress input[type="range"] {
    width: 100%;
}

/* پاسخگو */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .nava-tracks-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .player-controls {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}