@charset "utf-8";
/* CSS Document */
html {scroll-behavior: smooth;}

main{
	width:100%;
    height: 33vh}

.all-picture{ 
  position: relative;
  width: 100%;
  height: 33vh;
  overflow: hidden;}

.apartment{
	justify-content: center;
	text-align: center; width: auto;
	height: auto;
	height: 10vh}

.apartment div{
	float: right}
img {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

img.loaded {
    opacity: 1;
    transform: scale(1);
}

.indicators {
  position: absolute;
  justify-content: center;
  text-align: center;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.indicators div {
  display: block;
  width: 12px;
  height: 10px;
  border-radius: 50%;
  background: rgba(5,5,5,0.5);
  cursor: pointer;
  transition: 0.3s;
}

.indicators div.active {
  background: #001612;
  transform: scale(1.2);
}
.products{font-family: semi;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
    width: 95%;
    max-width: 1200px;
    margin: 50px auto;
justify-content: center;
align-items: center;}

.product{
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #DD4103;
    padding: 7px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
	height: 100%;
    max-width: 600px;
}
.product:hover{
    transform: translateY(-5px);
    background: #001621; 
    color: aliceblue;
    font-size: 16px}

.product img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;}
.product_lable_all_p{
	
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px,1fr));
    gap: 0px;
    width: 95%;
    max-width: 1200px;
    margin: 02px auto;
	text-align: center;
    padding: 2px;
	
}
.product_lable_all_p a{
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px,1fr));
    width: auto;
    max-width: 1200px;
    margin: 01px auto;
	text-align: center;
    background:#001216;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
	font-family: semi;
	text-decoration-style: none;
	text-decoration: none;
	color : #DD4103;
	font-size: 20px;
    text-shadow: #001216 1px 1px;
	}
.product_lable_all_p a:hover{
	background: #FFFFFF;
	color:#001216;
}
.product_lable_all{ font-size: 18px;
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px,1fr));
    gap: 5px;
    width: 95%;
    max-width: 1200px;
    margin: 02px auto;
	text-align: center;
    padding: 2px;
}
.product_lable_all a{ 
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px,10fr));
    width: 100%;
    max-width: 1200px;
    margin: 00px auto;
	text-align: center;
    background:#DD4103;
    padding: 1px;
    border-radius: 10px;
    box-shadow: 1px 1px 4px 0px #001216;
    transition: 0.3s ease;
	font-family: semi;
	text-decoration-style: none;
	text-decoration: none;
	color : #ffffff;
    text-shadow: #001216 1px 1px;
	
	
}

.product_lable_all a:hover{
	background: #001216;
}

.product_lable{ 
	display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
    width: 95%;
    max-width: 1200px;
    margin: 00px auto;
	text-align: center;
    background: #DD4103;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
	font-family: semi;
	
}
.product_lable a{
	font-size: 25px;
}
.product_lable_intro{display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
    width: 95%;
    max-width: 1200px;
    margin: 10px auto;
	text-align: center;
    background: #001216;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 1px  1px #DD4105;
    transition: 0.3s ease;
	font-family: semi;
	color:#FFFFFF
	
}


.product-explaine a{
color: aliceblue;
text-shadow: 1px 1px 1px #001621;
text-decoration-style: none;
text-decoration: none;
background-color: #001612;
padding: 1px 4px 1px 4px;
box-shadow: 1px 1px 1px 0px #ffffff;
border-radius: 5px;
transition: 0.2s;}

.product-explaine a:hover{
color: #001216;
background-color: #ffffff;
box-shadow: 1px 1px 1px 0px #DD4103;
}

.btnc{display: inline-block;
	text-decoration: none;
	text-decoration-style: none;
	
	}
.btnc a{
	text-decoration: none;
    text-decoration-style: none;
    font-family: semi;
    color: aliceblue;
    text-shadow: 1px 1px 1px #001621;}
.btnc a:hover{
	text-shadow: 1px 1px 1px #DD4103}



@media screen and (max-width:768px) {
.products{font-family: semi;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px,1fr));
    gap: 10px;
    width: 95%;
    max-width: 1200px;
    margin: 5px auto;
	}	
	
.product{
    text-align: center;
    background: #DD4103;
    padding: 2px;
    border-radius: 12px;
    box-shadow: 0 1px 2px #001216;
    transition: 0.3s ease;
	
	
}
.product:hover{
    transform: translateY(-2px);
    background: #001621; 
    color: aliceblue;
    font-size: 16px}

.product img{
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 8px;}	

	.product-explaine{
		font-size: 1.8vw;
		padding: 0px 0px 0px 0px;
	}
	
	.product h3{
		font-size: 15px;
	}


.product_lable_all { 
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 95%;
        max-width: 1200px;
        margin: 5px auto; /* ایجاد فاصله مناسب از بالا و پایین */
        padding: 0;
        justify-content: center; /* تراز کردن دکمه‌ها دقیقاً در وسط صفحه */
    }
	
.product_lable_all a { 
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 1; /* اجازه می‌دهد در صورت وجود چند دکمه، فضا را تقسیم کنند */
        min-width: 50px; /* حداقل عرض برای هر دکمه */
        max-width: 100%; /* جلوگیری از بیرون زدن دکمه تکی */
        margin: 0;
        text-align: center;
        background: #DD4103;
        padding: 4px 5px; /* پدینگ مناسب برای لمس راحت در موبایل */
        border-radius: 10px;
        transition: 0.3s ease;
        font-family: semi;
        text-decoration: none;
        color: #ffffff;
        font-size: 1.8vw; /* اصلاح اندازه فونت برای خوانایی بهتر */
        box-shadow: 1px 1px 4px 0px #001216;
    }

.product_lable_all a:hover{
	background: #001216;
}
.product_lable { 
        display: block; /* تغییر از grid به block برای کنترل راحت‌تر تراز میانی */
        width: 95%;
        max-width: 1200px;
        margin: 10px auto;
        text-align: center;
        background: #DD4103;
        padding: 10px 5px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: 0.3s ease;
        font-family: semi;
    }
.product_lable a {
        font-size: 4vw;
        color: #ffffff;
        text-decoration: none;
        display: block;
    }
	.product_lable_intro {
        width: 95%; /* هم‌اندازه کردن عرض با باکس بالا */
        margin: 10px auto; /* وسط‌چین کردن کل باکس در صفحه */
        font-size: 14px;
        box-shadow: 0px 0px 1px 1px #DD4105;
        padding: 8px; /* پدینگ داخلی برای مرتب شدن متن */
        border-radius: 8px;
        text-align: center;
        box-sizing: border-box; /* برای جلوگیری از بزرگتر شدن باکس به خاطر پدینگ */
    }



}
@font-face{ 
	font-family: semi;
	src: url("Yekan.ttf")}