/*------------------------
    Top Section
------------------------*/
.top-section .container {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 500px;
    display: flex;
    margin-top: 10px;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden;
}
.top-section h1 {
    font-family: 'IRANSansBlack';
    font-size: 51px;
}
/*------------------------
   Services Section
------------------------*/
.services-section {
    padding: 25px 0;
}

.service-items>div:last-child .service-items-sec {
    border-left: none !important;
}

.service-icon-sec img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.service-text-sec h3 {
    color: #555;
    font-size: 14px;
    margin: 0;
}
.service-text-sec span{
    font-size: 12px;
}

/*------------------------
   Home Perfumes Section
------------------------*/
.men-perfume-section::after {
    content: "";
    display: inline-block;
    background-image: url(img/men-perfume-section-after.svg);
    width: 458px;
    height: 484px;
    filter: grayscale(1);
    position: absolute;
    bottom: -204px;
    right: -45px;
    z-index: -1;
}

.perfume-items-sec::after {
    content: "";
    background-image: url(img/perfume-items-sec-after.svg);
    width: 10px;
    height: 17px;
    display: inline-block;
    position: absolute;
    bottom: -17px;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0;
    visibility: hidden;
}

.perfume-items-sec:hover::after {
    visibility: visible;
    opacity: 1;
}
.perfume-image-sec {
    position: relative;
}

.perfume-image-sec::after {
    content: "";
    background-color: var(--main-color);
    height: 2px;
    width: 70%;
    display: inline-block;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
}

.perfume-image-sec img {
    width: 230px !important;
    height: 230px;
}

.men-perfume-items-title {
    font-size: 15px;
    line-height: 27px;
    margin: 20px 0 5px;
}

.perfume-options-title, .perfume-options-detail {
    font-size: 14px;
}

/*------------------------
   Brands Section
------------------------*/
.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 سکشن در دسکتاپ */
    gap: 20px;
}

.brand-item {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-item img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/*------------------------
   Notes Section
------------------------*/
.note-items-sec{
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}
.note-items-sec:hover{
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}
.note-items-sec img {
    height: 110px;
}
.note-items-sec h3{
    font-size: 14px;
}



@media only screen and (max-width: 850px) {
    .top-section{
        top: 60px;
        margin-bottom: 60px;
    }
    .top-section .container {
    height: 350px;
}
.top-section h1 {
    font-size: 35px;
    line-height: 65px !important;
}
.services-section {
    padding: 15px 0;
}
.service-items-sec{
    margin-bottom: 15px;
}
.brand-grid {
        grid-template-columns: repeat(3, 1fr); /* 2 سکشن در موبایل */
    }
    .brand-item img {
    margin: auto;
    display: table;
}

}

@media only screen and (max-width: 500px) {
.top-section {
    top: 47px;
    margin-bottom: 47px;
}
.top-section h1 {
    font-size: 23px;
    line-height: 40px !important;
}
.top-section .container {
    height: 200px;
}
.service-items-sec{
    border-left: none !important;
}
.note-items-sec {
        filter: none;
        -webkit-filter: none;
    }
    .note-items-sec img {
    height: 85px;
}
}