section{
    margin: 0;
    padding: 0;
}
*{
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;!important;
    padding: 0;
    margin: 0;
    direction: rtl;
    scroll-behavior: smooth;
}
a{
    text-decoration: none;
    padding: 0;
    margin: 0;
}
ul,li{
    padding: 0;
    margin: 0;
}


.navbar1{
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(140deg, #053a41, #010634 74%);

}
.menu{
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu .logo{
    width: 5%;
}
.menu .hamburger-menu{
    width: 40px;
    height: 40px;
    cursor: pointer;

}
.menu .hamburger-menu .bar{
    position: relative;
    width: 30px;
    height: 3px;
    background: #eee;
    transition: .4s ease-in-out;


}
.menu .hamburger-menu .bar::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #eee;
    transition: .4s ease-in-out;
}
.menu .hamburger-menu .bar::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #eee;
    transition: .4s ease-in-out;

}
.bar::before{
    transform: translateY(-10px);
}
.bar::after{
    transform: translateY(10px);
}

.offcanvas{
    background: linear-gradient(140deg, #053a41, #010634 74%);
}
.offcanvas-header h5{
    background-color: #008a93;
    border-radius: 50px 0 50px 0px;
    padding: 15px;
    font-size: 15px;
    color: white;
    transition: all .3s ease-in-out;
    position: relative;
}
.offcanvas-header h5::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
    transform: scale(.9);
    color: #850303;
    border-radius: 50px 0 50px 0;

}
.offcanvas-header h5:hover::before {
    transform: scale(1);
    box-shadow: 0 0 15px #850303;
    border-radius: 0 50px 0 50px;

}
.offcanvas-header h5:hover {
    border-radius: 0 50px 0 50px;
    box-shadow: 0 0 5px #850303;
    text-shadow: 0 0 5px #850303;
    color:#850303 ;

}
.links ul li {
    margin: 10px 0;

}
.links ul li a{
    position: relative;
    color: #666;
    padding: 20px 10px;
    transition: .3s ease-out;
    font-size: 10px;
    background: #333333;
    text-align: center;
    border-radius: 10px;
    margin: 10px 0;
    display: block;

}
.links ul li a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    transition: .5s;
    transform: scale(.9);
    color: #ff9200;
}
.links ul li a:hover::before {
    transform: scale(1);
    box-shadow: 0 0 15px #ff9200;
}

.links ul li a:hover{
    color: #ff9200;
    box-shadow: 0 0 5px #ff9200;
    text-shadow: 0 0 5px #ff9200;}

/*body*/

.body{
    width: 100%;
    background-image: url('444.jpg');
    background-size: cover;
    background-attachment: fixed;}

.container-1 {
    max-width: 1200px;
    border-radius: 10px;
    background: linear-gradient(90deg,rgba(65,37,54,.1) 5%, rgba(65,37,54,.5) 20%, rgba(0,1,57,.5) 100%,rgba(0,1,57,.1) 5%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0; /* شروع با پنهان بودن */
    transition: opacity 1s ease-in-out; /* انتقال به حالت قابل مشاهده */
    margin: 10px 0;
}

/* بخش تصاویر و ویدیو */
.product-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.product-images img {
    margin-top:10px ;
    width: 300px;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.product-images img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 10px #ff9200;}

/* ویدیو */
.video-container {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}

.video-button {
    background-color: #ff4c4c;
    color: #fff;
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.video-button:hover {
    background-color: #ff1a1a;
    box-shadow: 0 0 10px #ff1a1a;
}



/* متن معرفی محصول */
.product-description {
    margin-bottom: 30px;
}

.product-description h2 {
    color: #d2cacb;
    font-size: 28px;
    margin-bottom: 10px;
    background-color: #0a3d3f;
    padding: 5px;
    border-radius:2px 20px ;
    width: 30%;
    transition: all .3s ease-in-out;
}
.product-description h2:hover{
    box-shadow: 0 0 5px #ff9200;
    text-shadow: 0 0 5px #ff9200;
}


.product-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #f0e8ff;
}
.product-description ul {
    font-size: 16px;
    line-height: 1.6;
    color: #f0e8ff;
}


/* دکمه‌های فراخوانی */
.cta-buttons {
    display: flex;
    justify-content: space-between;
    margin: 5px;
}

.cta-buttons .details-btn {
    background-color: #4caf50;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;

}

.cta-buttons .details-btn:hover {
    background-color: #45a049;
}

/* پاپ‌آپ ویدیو */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeInBackground 0.5s ease-out; /* انیمیشن پس‌زمینه */

}

.modal-content {
    position: relative;
    margin: 15px auto;
    background-color: #fff;
    padding: 10px;
    max-width: 800px;
}

.modal-content iframe {
    width: 100%;
    height: 450px;
}

.close {
    position: absolute;
    top: 0;
    right: 10px;
    color: #000000;
    font-size: 24px;
    cursor: pointer;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .product-images {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/*مودال محصول */
.modal-1 {
    display: none; /* پیش‌فرض پنهان است */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* پس‌زمینه تاریک */
    animation: fadeInBackground 0.5s ease-out; /* انیمیشن پس‌زمینه */
}

/* انیمیشن پس‌زمینه */
@keyframes fadeInBackground {
    from {
        background-color: rgba(0, 0, 0, 0);
    }
    to {
        background-color: rgba(0, 0, 0, 0.5);
    }
}

/* محتویات مودال */
.modal-content-1 {
    background: rgba(3, 27, 40, 0.8);
    padding: 20px 10px;
    margin: 15% auto;
    width: 100%;
    max-width: 1000px;
    border-radius: 80px 10px;
    transform: translateY(-30px);
    opacity: 0;
    animation: slideIn 0.5s ease-out forwards;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #dcf0ff;
}

/* انیمیشن برای ظاهر شدن مودال */
@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* دکمه بستن مودال */
.close-1 {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top:0;
    right: 10px;
    transition: color 0.3s;
}

.close-1:hover {
    color: black;
}

/* استایل برای صفحه موبایل */
@media screen and (max-width: 600px) {
    .modal-content-1 {
        width: 90%;
        font-size: 14px;
    }
    .product-description h2 {
        color: #d2cacb;
        font-size: 20px;
        margin-bottom: 10px;
        background-color: #0a3d3f;
        padding: 5px;
        border-radius:2px 20px ;
        width: 100%;
        transition: all .3s ease-in-out;
    }
}

















/*footer*/
#footer{
    width: 100%;
    background: url("thunderstorm-city (2).jpg");
    background-size: cover;
    background-attachment: fixed;

}
#footer section{
    position: relative;
    bottom: 0;
    right: 0;
}
.overlay-1{

    background: rgba(40, 37, 37, 0.4);
    width: 100%;
    height: 100%;
}





.footer-title{
    text-align: center;
    border-radius: 10px;
    background-color: #232121;
    color: #54504b;
    transition: all .3s ease-in-out;
    padding: 5px 0;
    margin: 5px 0 ;


}


.footer-title:hover::before {
    transform: scale(1);
    box-shadow: 0 0 15px #ff9200;
}

.footer-title:hover{
    color: #ff9200;
    box-shadow: 0 0 5px #ff9200;
    text-shadow: 0 0 5px #ff9200;}

.footer-text{
    color: white;
    transition: all.3s ease-in-out;
}
.footer-text:hover{
    color: #ff9200;
    text-shadow:3px 2px 4px rgba(176, 103, 5, 0.89);
}
.cursor {
    cursor: pointer;
}