.containerItem {
    width: 100%;
    max-width: 463px;   /* büyük ekranda sınır */
    display: inline-block;
    margin: 2px;
    position: relative;
    vertical-align: top;
}

.containerItem #imgArea {
    border-radius: 8px;
    border: 5px solid #ccc;
    background: #ccc;
    position: relative;   /* absolute yerine relative */
    width: 100%;
    height: auto;
    text-align: center;
    overflow: hidden;
}

.containerItem #imgArea img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.containerItem #imgArea div {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;             /* genişliği esnek */
    padding: 10px;
    background: rgba(0,0,0,0.6); /* transparan siyah */
    text-align: center;
    line-height: 1.4;
}

.containerItem #imgArea div h1 {
    font-size: 14px;
    color: #FFF;
    font-weight: bold;
    margin: 0;
}



  .gallery-img {
    width: 100%;
    height: 220px;            /* sabit yükseklik (mobilde küçülür, col genişliğine uyar) */
    object-fit: cover;        /* resmi kırparak doldurur */
    border-radius: .5rem;     /* opsiyonel yuvarlak köşe */
  }
  .gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: .5rem;
  }
  .gallery-img {
    width: 100%;
    height: 290px;           /* sabit yükseklik */
    object-fit: cover;       /* kırparak doldur */
    display: block;
  }
  .gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .5rem .75rem;
    background: rgba(0,0,0,0.6); /* siyah yarı saydam */
    color: #fff;
    text-align: center;
    font-size: 1rem;
  }
  
  #facebookImg {
    position: absolute;
    right: 5px;
    bottom: 20px;
    height: 25px;
    cursor: pointer;
}
#instagramImg {
    position: absolute;
    right: 95px;
    bottom: 20px;
    height: 25px;
    cursor: pointer;
}

#facebookClose {
    position: absolute;
    right: 0px;
    top: 0px;
    cursor: pointer;
    height: 20px;
}

#facebook {
    position: absolute;
    right: 0px;
    height: 450px;
    width: 550px;
    bottom: 50px;
    background: url(../_IMAGES/design/transBg75Black.png);
    display: none;
}

#flagEng {
    position: absolute;
    right: 100px;
    bottom: 25px;
    height: 20px;
}

#flagTr {
    position: absolute;
    right: 139px;
    bottom: 25px;
    height: 20px;
}

#houzzImg {
    position: absolute;
    right: 35px;
    bottom: 20px;
    height: 25px;
    cursor: pointer;
}

#houzzClose {
    position: absolute;
    right: 0px;
    top: 0px;
    cursor: pointer;
    height: 20px;
}

#houzz {
    position: absolute;
    right: 0px;
    height: 300px;
    width: 290px;
    border: 1px solid #666;
    bottom: 50px;
    background: url(../_IMAGES/design/transBg75Black.png);
    display: none;
}

#houzz a {
    text-decoration: none;
    color: #CCC;
}

