﻿/* === منوی بالای صفحه defult === */
.menu-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 60px;
    z-index: 10;
}


.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    font-weight: bold;
    padding-left: 60px; /* ← فاصله از سمت چپ */
    color: red;
}

.subtitle {
    font-size: 12px;
    font-weight: normal;
    color: #ccc;
    margin-top: 2px;
}

.menu-items {
    display: flex;
    gap: 25px;
    padding-right: 60px; /* ← فاصله از سمت راست */
}

    .menu-items a {
        color: white;
        text-decoration: none;
        font-size: 16px;
        transition: color 0.3s;
    }

        .menu-items a:hover {
            color:red;
        }

/* === دکمه موبایل === */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* === گالری === */
.swiper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.swiper-button-next,
.swiper-button-prev {
    color: white; /* ← رنگ فلش */
    background-color: rgba(0, 0, 0, 0.4); /* دکمه گرد و شفاف */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

    .swiper-button-next::after,
    .swiper-button-prev::after {
        display: none;
        font-size: 12px; /* ← فلش کوچک‌تر */
        color:white; /* ← رنگ فلش سفید (تأکیدی) */
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background-color: rgba(0, 0, 0, 0.7);
        color: white; /* ← رنگ فلش */
    }

.navigation-buttons {
    display: none;
}

    .navigation-buttons.show {
        display: flex;
    }

/* === منوی موبایل === */
.side-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #1a1a1a;
    color: white;
    padding: 20px;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

    .side-menu.active {
        right: 0;
    }

    .side-menu a {
        color: white;
        text-decoration: none;
        font-size: 16px;
    }

.close-btn {
    align-self: flex-end;
    font-size: 24px;
    cursor: pointer;
}

/* === واکنش‌گرایی === */
@media (max-width: 768px) {
    .menu-items {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .logo-text {
        font-size: 16px;
    }
}

/*.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s;
}*/

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    transition: background-color 0.3s;
}


    .back-to-top:hover {
        background-color: rgba(0, 0, 0, 0.9);
    }

@media (max-width: 768px) {
    .back-to-top {
        display: flex !important;
        right: 20px;
        left: auto;
    }
}


.music-buy-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    max-width: 340px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    font-family: sans-serif;
    margin: 20px auto;
}

    .music-buy-card h3 {
        font-size: 18px;
        color: #333;
        margin-bottom: 15px;
        text-align: center;
    }

.music-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .music-links li {
        margin-bottom: 10px;
    }

    .music-links a {
        display: block;
        text-decoration: none;
        background-color: #ffffff;
        border: 1px solid #ccc;
        padding: 10px 15px;
        border-radius: 8px;
        color: #333;
        transition: all 0.3s ease;
        font-size: 14px;
    }

        .music-links a:hover {
            background-color: rgba(0, 0, 0, 0.7); /* مشکی شفاف */
            color: #fff; /* متن سفید */
            border-color: rgba(0, 0, 0, 0.7); /* هماهنگی حاشیه */
        }


/*مربع با گوشه‌های دایره‌ای*/
.containerCD {
    width: 300px;
    height: 300px;
    border-radius: 10%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.galleryCD {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.containerCD img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.containerCD:hover img {
    opacity: 0.3;
    transform: scale(1.2);
}

.overlayCD {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
    padding: 10px;
}

.containerCD:hover .overlayCD {
    opacity: 1;
}

.titleCD {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

.overlayCD a {
    color: white;
    text-decoration: none;
    background: #e74c3c; /* قرمز کم‌رنگ */
    padding: 10px 20px;
    border-radius: 20px;
    transition: background 0.3s;
    font-size: 16px;
}

    .overlayCD a:hover {
        background: #c0392b;
    }
/* واکنش‌گرایی برای تبلت */
@media (max-width: 992px) {
    .containerCD {
        width: 350px;
        height: 350px;
    }
}

/* responsive برای موبایل */
@media (max-width: 768px) {
    .containerCD {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 500px) {
    .containerCD {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 10%;
    }
}

/*نمایش متن گالری*/
.rowInfoCD {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap; /* مهم: جلوگیری از رفتن به خط بعد */
}

.boxInfoCD {
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.image-boxInfoCD {
    flex: 0 0 30%;
}

.text-boxInfoCD {
    flex: 0 0 70%;
}

.image-boxInfoCD img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .rowInfoCD {
        flex-direction: column;
    }

    .image-boxInfoCD, .text-boxInfoCD {
        flex: 1 1 100%;
    }
}


/*نمایش قطعه ها*/
.responsive-boxPart {
    width: 260px;
    height: 300px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #f9f9f9;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

    .responsive-boxPart:hover {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

.audio-wrapperPart {
    background-color: #f5deb3; /* کرم */
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

    .audio-wrapperPart audio {
        width: 100%;
    }

.contentPart {
    overflow: hidden;
    flex-grow: 1;
    margin: 5px 0;
}


.responsive-boxPart p {
    font-size: 0.95rem;
    text-overflow: ellipsis;
    white-space: pre-line;
    overflow: hidden;
}

.responsive-boxPart a {
    color: #007BFF;
    text-decoration: none;
    align-self: flex-start;
    font-size: 0.95rem;
}

    .responsive-boxPart a:hover {
        text-decoration: underline;
        color: red;
    }

.titlePart {
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
}

    .titlePart::after {
        content: "";
        display: block;
        width: 40px;
        height: 2px;
        background-color: red;
        margin-top: 4px;
        border-radius: 1px;
    }


/* واکنش‌گرایی برای تبلت */
@media (max-width: 992px) {
    .responsive-boxPart {
        width: 350px;
        height: 350px;
    }
}

/* responsive برای موبایل */
@media (max-width: 768px) {
    .responsive-boxPart {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 500px) {
    .responsive-boxPart {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 10%;
    }
}

audio {
    width: 100%; /* پرکردن ظرف */
}

/*contact us*/

/* متغیرها اکنون فقط برای کانتینر contact اعمال می‌شوند */
.contactUS {
    --primary: #0066ff;
    --primary-light: #3d84ff;
    --primary-dark: #000000;
    --bg: #f5f7fa;
    --text: #1f2937;
    --shadow-gray: rgba(128,128,128,.4);
}



.contactUS { /* ظرف اصلی */

    color: var(--text);
    padding: 0; /* ریست */
    display: flex;
    justify-content: center;
    width: 100%;
}

.cardUS {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    max-width: 900px;
    width: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.infoUS {
    padding: 2rem 3rem;
    background: var(--primary-dark);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: box-shadow .3s ease;
}

    .infoUS:hover {
        box-shadow: 0 0 20px 0 var(--shadow-gray);
    }

    .infoUS h2 {
        margin: 0;
        font-size: 2rem;
    }

    .infoUS p {
        margin: 0;
        line-height: 1.8;
    }

.itemUS {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: .75rem 1rem;
    border-radius: .75rem;
    transition: box-shadow .3s ease, background .3s ease;
}

    .itemUS:hover {
        box-shadow: 0 4px 15px var(--shadow-gray);
        background: rgba(255,255,255,.05);
    }

    .itemUS svg {
        flex-shrink: 0;
    }

.formUS {
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.labelUS {
    font-weight: 600;
}

.inputUS, .textareaUS {
    width: 100%;
    padding: .5rem .75rem; /* ارتفاع کمتر */
    border: 1px solid #d1d5db;
    border-radius: .75rem;
    font-family: inherit;
    resize: vertical;
    transition: box-shadow .2s ease;
}

    .inputUS:focus, .textareaUS:focus {
        outline: 2px solid var(--primary-light);
        box-shadow: 0 0 0 4px rgba(61,132,255,.25);
    }

.buttonUS {
    background: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: .75rem;
    padding: .75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: box-shadow .2s ease;
    align-self: flex-start;
}

    .buttonUS :hover {
        box-shadow: 0 4px 15px var(--shadow-gray);
    }


