@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Vazirmatn',sans-serif;
}

html{
    background: black;
}

body{
    background: black;
    margin:0;
    min-height:100svh;
    background:transparent;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body::before{

    content:"";

    position:fixed;

    inset:0;



    background-size:cover;
    
    height:100dvh;

    z-index:-1;

    transform:translateZ(0);

    -webkit-transform:translateZ(0);

    will-change:transform;

}


.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background:url("../images/backgrond.webp") center center no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: -1;
}

.overlay{

    width:100%;

    min-height:100svh;

    background:rgba(0,0,0,.35);

    padding:30px 0;

}

.container{
    overflow-y: auto;
    overflow-x: hidden;
    width:100%;
    height:100vh;
}


.header{
    width:100%;
    display:flex;
    justify-content:center; /* وسط افقی */
    align-items:center;     /* وسط عمودی */
    padding:20px 0; 
}

.header img{
    width: 220px;
}

.category-menu{
    width: 60%;
    margin: 15px auto;
    display: flex;
    justify-content: space-between;
    gap: 8px;

    padding: 6px; /* کمتر کردیم برای ارتفاع کمتر */

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.08); /* شفاف‌تر */
    backdrop-filter: blur(25px); /* بلور بیشتر */
    -webkit-backdrop-filter: blur(25px);

    border: 1px solid rgba(255,255,255,0.25);

    /* ✨ افکت نور iOS */
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.15),
        inset 0 1px 1px rgba(255,255,255,0.4),
        inset 0 -1px 1px rgba(255,255,255,0.1);
}

.category-item{
    flex:1;
    text-align:center;
    padding:8px 6px; /* کمتر برای ارتفاع کمتر */
    border-radius:20px;
    color:#fff;
    cursor:pointer;
    transition:0.3s;
    font-weight:500;
    font-size:14px;
}

.category-item:hover{
    background: rgba(255,255,255,0.2);
}

/* ✨ حالت انتخاب شده (خیلی مهم برای حس iOS) */
.category-item.active{
    background: rgba(255,255,255,0.25);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.2);
}
/* 
.menu-container{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:25px; 
    padding:20px 0;
} */



.kir{
    width:50%;
    margin:35px auto;   /* وسط صفحه + فاصله بالا و پایین */
}

.product-card{
    padding-right:20px;
    width:100%;
    border-radius:35px;
    display:flex;
    align-items:center;
    box-shadow:0 5px 4px rgba(229, 255, 0, 0.411);
    transition:.35s;
}

.product-card:hover{
    transform:translateY(-5px);
}

.product-image{
    width:170px;
    min-width:170px;
    height:170px;
    margin-left:20px;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:25px;
}

.product-info{
    flex:1;
    display:flex;
    flex-direction:column;
}

.category{
    color:#F5A400;
    font-size:15px;
    margin-bottom:8px;
}

.product-info h2{
    font-size:24px;
    font-weight:700;
    margin-bottom:10px;
    color:#000000;
}

.product-info p{
    font-size:16px;
    line-height:1.8;
    color:#000000;
}

.bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:15px;
}

.price{
    font-size:24px;
    font-weight:bold;
    color:#000000;
}

button{
    border:none;
    background:#F5A400;
    color:#fff;
    font-size:22px;
    padding:12px 35px;
    border-radius:15px;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#dd9300;
}

footer{
    margin-bottom:30px ;
}

.footer-info {
  background-color: rgba(0, 0, 0, 0.301);
  color: #f1f1f1;
  border-radius: 15px;
  text-align: center;
  padding: 10px 20px;
  line-height: 2;
  font-size: 15px;
}

.contact-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px; /* فاصله بین شماره و اینستاگرام */
  flex-wrap: wrap; /* در موبایل اگر جا کم بود، زیر هم می‌روند */
}

.contact-row p {
  margin: 8px 0;
}

.footer-info p {
  margin: 8px 0;
}

.footer-info p,
.footer-info a:not(.kiarix) {
  color: #f1f1f1 !important;
  text-decoration: none !important;
}

.footer-info .designer {
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.7;
}

.footer-info i {
  color: #d6a23b; /* رنگ طلایی هماهنگ با سایت */
  margin-left: 6px;
  font-size: 18px;
}

.footer-info a.kiarix {
    color: #00c4ff !important;
    text-decoration: none !important;
}

@media(min-width:768px) and (max-width: 1150px){
    .kir{
    width: 75%;
    }
    .product-card{
        width: 100%;
    }
}

@media(max-width:768px){

    .kir{
        width:90%;
        margin:15px auto;
    }
    
.category-menu{
    width: 85%;
    }

.product-card{
    width:100%;
    background:#ffffff;
    border-radius:35px;
    display:flex;
    align-items:center;
    padding:10px 15px;
    box-shadow:0 5px 4px rgba(229, 255, 0, 0.411);
    transition:.35s;
}

    .product-image{
        margin:0 15px 10px 0;
        width:90px;
        min-width:90px;
        height:90px;
    }

    .bottom{
        flex-direction:row;
        gap:15px;
        width:100%;
    }

    .product-info h2{
        font-size:16px;
    }

    .product-info p{
        font-size:10px;
    }

    .price{
        font-size: 15px;
        font-weight: 800;
    }

    button{
        width:100%;
    }
}

body.dark .product-card{

background:#1e1e1e;

color:white;

}

body.dark .product-card h2{

color:white;

}

body.dark .product-card p{

color:#f1f1f1;

}

body.dark .price{

color:white;

}

body.light .product-card{

background:white;

color:black;

}

body.light .product-card h2{

color:black;

}

body.light .product-card p{

color:#444;

}

body.light .price{

color: #eaa80f;

}