 

.detail-card{
  background:rgba(255,255,255,0.09);
  backdrop-filter:blur(25px) saturate(180%);
  -webkit-backdrop-filter:blur(25px) saturate(180%);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:30px;
  color:white;
  transition:all 0.5s ease;
  box-shadow:0 15px 40px rgba(0,0,0,0.4);
  overflow:hidden;
}

.detail-img{
  width:100%;
  height:400px;
  object-fit:cover;
  border-radius:20px;
  transition:0.5s;
}

.detail-img:hover{
  transform:scale(1.03);
}

.detail-date{
  color:#00ffd5;
  font-size:0.9rem;
}

.back-btn{
  background:linear-gradient(135deg, #00ffd5 0%, #00d4ff 100%);
  border:none;
  color:black;
  font-weight:bold;
  border-radius:20px;
  padding:10px 20px;
  transition:0.3s;
}

.back-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 20px rgba(0,255,213,0.4);
}
 /* کارت */
.detail-card {
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(25px) saturate(180%);
  border-radius: 30px;
  color: white;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  overflow: hidden;
}

/* عکس */
.detail-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  transition: 0.4s;
}

.detail-img:hover {
  transform: scale(1.03);
}

/* مودال */
.custom-modal {
  max-width: 500px;
}

.modal-body img {
  max-height: 70vh;
  object-fit: contain;
}

/* دکمه ضربدر حرفه‌ای */
.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1100;
    background-color: white;  
}

/* دکمه بازگشت */
.back-btn {
  background: linear-gradient(135deg, #00ffd5 0%, #00d4ff 100%);
  border: none;
  color: black;
  font-weight: bold;
  border-radius: 20px;
  padding: 10px 20px;
}

