html{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
*, *::after, *::before {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}
body {
    font-family: "ProductSans-Regular","Delius", monospace;
    min-height: 100vh;

    background: linear-gradient(rgba(0, 0, 0, 0.200)), linear-gradient(to top, #1a0033, #33004d, #1a1a1a);
    background-attachment: fixed;
}
input,button,textarea{
    font-family: "ProductSans-Regular","Delius" , monospace;
    border: none;
    outline: none;
    text-decoration: none;
    padding: none;
    margin: none;
}
.container {
    width: 80rem;
    max-width: 95%;
    margin: 0 auto;
}
/* --- استایل‌های سربرگ (Header) --- */
.header {
    z-index: 1000;
    width: 100%;
    height: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 7rem;
    position: sticky;
    top: 1rem;
    border-radius: 1rem;
    background-color: rgba(59, 59, 59, 0.184);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px -2px black;
    margin-bottom: 2rem;
}
.header-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    color: white;
}
.header-icon__name{
    font-size: 2.5rem;
}
.header-icon__img{
    width: 5rem;
    height: 5rem;
    object-fit: contain;
}
.header-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.h__item {
    text-decoration: none;
    font-size: 1.2rem;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    transition: color,transform 0.3s ease;
    position: relative;
}
.h__item:hover {
    color: #00AEEF;
    transform: scale(0.9);
}
.h__home::after{
    content: "";
    width: 100%;
    height: 4px;
    position: absolute;
    right: 0;
    bottom: -10px;
    border-radius: 1rem;
    background-color: #00AEEF;
}
/* --- استایل‌های بخش اصلی (Main) --- */
.main {
    width: 100%;
    height: auto;
    margin-top: 1rem;
    padding: 0 1rem;
}
.main-images {
    /* display: flex;  */
    gap: 2rem;
}
/* --- استایل‌های اسلایدر (main-slider) --- */
.main-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    height: 40rem;
    overflow: hidden;
    border-radius: 1rem; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5); 
}
.imgall {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeLoop 15s infinite;
    cursor: pointer;
}
.loop__1 {
    animation-delay: 0s;
    object-position: bottom;
}
.loop__2 {
    animation-delay: 5s;
    object-position: top;
}
.loop__3 {
    animation-delay: 10s;
    object-position: center;
}
@keyframes fadeLoop {
    0% { opacity: 0; }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; }
    100% { opacity: 0; }
}
.main-static-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 2rem; 
    gap: 2rem; 
}
.s-img__1{
    background: linear-gradient(rgb(74, 74, 74));
}
.s-img__2{
    background:linear-gradient(rgba(74, 74, 74));
}
.static__img{
    width: 50%;
    height: 50rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 1rem; 
    position: relative;
    overflow: hidden;
}
.make_purchase{
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 1rem 1rem;
    color: white; 
    text-decoration: none;
    font-weight: 900;
    background-color: rgba(66, 0, 99, 0.8); 
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    cursor: pointer;
    transition: transform 200ms ease 20ms, background-color 200ms;
}
.make_purchase:hover{
    background-color: #00AEEF; 
    color: black;
    transform: translateY(-5px); 
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.6);
}

.main-description{
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.des__inf{
    width: 38rem;
    max-width: 90%; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 5rem;
    text-align: center;
}
.inf__title{
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}
.inf__subtitle{
    font-size: 1.1rem; 
    line-height: 1.6; 
    color: rgb(168, 168, 168);
}
.comments{
    width: 100%;
    border-top: 2px solid #00AEEF; 
    margin-bottom: 10rem;
    padding-top: 2rem; 
}
.comments__title{
    font-size: 2rem; 
    color: white;
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.2rem;
}
.comments-container{
    margin-top: 2rem;
    display: flex;
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 2rem;
    width: 100%;
}
.comment-1{
    width: 25rem;
    max-width: 90;
    border: none; 
    padding: 1.5rem; 
    background-color: white;
    border-radius: 1rem; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease;
}
.comment-1:hover {
    transform: translateY(-5px);
}
.forward{
    margin-bottom: 0.4rem;
    color: #00AEEF; 
    font-weight: 600;
}
.comment-user{
    display: flex;
    align-items: center;
    gap: 0.7rem; 
    margin-bottom: 1rem;
}
.user__img{
    width: 1.5rem; 
    height: 1.5rem;
    background-color: #00AEEF;
    border-radius: 100%;
}
.user__name{
    font-weight: 900;
    color: #333;
}
.comment__text{
    font-weight: 400;
    line-height: 1.5;
    color: rgb(40, 40, 40);
}
/* --- استایل‌های فوتر (Footer) --- */
.footer{
    width: 100%;
    border-top: 2px solid #420063; 
    height: auto; 
    min-height: 15rem;
    background-color: #0088CC;
    padding: 3rem 0; 
    margin-bottom: 0;
}
.container2{
    width: 80rem;
    max-width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 3rem; 
}
/* بخش Follow Us */
.follow-container{
    width: 15rem;
}
.follow__text, .quick-access__title, .your-comment__title{
    letter-spacing: 0.1rem; 
    color: #420063;
    font-weight: 900;
}
.follow__text{
    text-align: center;
}
.follow-img{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding-top: 1rem;
    padding-left: 0.2rem;
}
.follow__icon{
    color: #560080;
    transition: color 0.2s ease;
}
.follow__icon:hover{
    color: black;
}
.follow__insta, .follow__tel, .follow__x {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* بخش Quick Access */
.quick-access-container{
    width: 15rem;
    max-width: 100%;
}
.quick-access-items{
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    /* margin-left: 0.2rem; */
}
.items__item{
    text-decoration: none;
    color: #420063; 
    padding: 0.3rem 0; 
    transition: all 0.2s ease;
}
.items__item:hover{
    color: white;
    padding-left: 5px;
}
/* your comments */
.your-comments{
    width: 15rem;
    max-width: 100%;
    height: auto;
}
.your-comment__title{
    margin-bottom: 1rem;
}
.box-form{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row; 
    align-items: stretch;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.your-comment-input{
    display: flex;
    flex-direction: column;
    width: 70%;
}
.your-comment__name{
    width: 100%;
    height: 30%;
    padding: 0.5rem;
    background-color: #f0f8ff;
    color: #420063; 
    border: 1px solid #420063;
    border-bottom: none;
    border-right: none;
    transition: all 200ms ease;
}
.your-comment__name:focus{
    transform: scale(0.95); 
    background-color: white;
    border-radius: 0.5rem;
}
.your-comment__name::placeholder{
    color: #8c739d; 
}
.comment-box__box{
    display: block;
    scrollbar-width: none;
    padding: 0.5rem;
    width: 100%;
    height: 70%;
    background-color: #f0f8ff;
    color: #420063;
    resize: none;
    border: 1px solid #420063;
    border-right: none;
    transition: all 200ms ease;
}
.comment-box__box:focus{
    transform: scale(0.95); 
    background-color: white;
    border-radius: 0.5rem;
}
.comment-box__box::placeholder{
    color: #8c739d;
}
.comment__button{
    width: 30%;
    background-color: #420063;
    cursor: pointer;
    color: white;
    font-size: 1.2rem;
    border: 1px solid #420063;
    border-left: none;
    transition: all 200ms ease;
}
.comment__button:hover{
    color: white;
    transform: scale(0.95);
    background: #00AEEF;
    box-shadow: 0 0 10px rgba(0, 174, 239, 0.7);
    border: none;
    outline: none;
}
/* --- Media Queries برای ریسپانسیو شدن --- */
@media (max-width: 1200px) {
    .header {
        padding: 1rem 5rem;
    }
    .main-slider {
        height: 30rem;
    }
    .imgall {
        width: 100%;
    }
    .static__img{
        height: 30rem;
    }
    .comments-container{
        justify-content: center;
    }
}
@media (max-width: 992px) {
    .header {
        padding: 1rem 2rem;
    }
    .header-item {
        gap: 1rem;
    }

    .main-static-images {
        /* flex-direction: column; */
        gap: 1rem;
    }
    .static__img{
        width: 100%;
    }
    .des__inf{
        width: 90%;
    }
    .comments-container{
        gap: 1rem;
    }
    .comment-1{
        width: 45%;
    }
    .follow-container{
        width: 12rem;
    }
    .quick-access-container{
        width: 12rem;
    }
    .your-comments{
        width: 12rem;
    }
}
@media (max-width: 768px) {
    .container{
        padding-top: 0;
    }
    .header {
        flex-direction: column;
        height: 5rem;
        margin: auto;
        width: 70%;
        padding: 1rem;
        align-items: center;
        position: none;
        border-radius: 2rem;
        margin-bottom: 2rem;
    }
    .header-icon__name{
        font-size: 2.5rem;
    }
    .header-icon {
        margin-bottom: 0.5rem;
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        /* gap: 1rem; */
    }
    .header-item {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        display: none;
    }
    .h__item {
        font-size: 0.9rem;
    }
    .h__home::after{
        bottom: -5px;
        height: 2px;
    }
    .main-slider {
        height: 20rem;
    }
    .static__img{
        height: 25rem;
    }

    .comments-container{
        flex-direction: column; 
        align-items: center;
    }
    .comment-1{
        width: 90%; 
    }
    .container2{
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    .follow-container, .quick-access-container, .your-comments{
        width: 90%;
        text-align: center;
    }
    .follow-img{
        justify-content: center;
        padding-left: 0;
    }
    .quick-access-items{
        align-items: center;
        margin-left: 0;
    }
    .box-form{
        width: 80%;
        margin: 0 auto;
    }
}

@media(max-width: 520px){
    .header{
        width: 100%;
    }
    .header-icon__name{
        font-size: 2rem;
    }
    .static__img{
        height: 18rem;
        display: flex;

    
    }
    .make_purchase{
        font-size: 0.8rem;

    }
    .inf__title{
        font-size: 1.5rem ;
    }
    .inf__subtitle{
        font-size: 0.75rem;
        
    }
}