/* ══ GALERİ (FSO) ══ */
.fso-gallery-sec {
    padding: 130px 5vw;
    background: var(--bg);
    border-top: 1px solid var(--border);
  }
  .fso-gallery-sec h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem,4.5vw,4.5rem);
    font-weight: 300; text-align: center;
    margin-bottom: 60px; color: var(--text);
  }
  .fso-gallery-sec h2 em { color: var(--coral); font-style: italic; }
  
  .fso-grid { display: flex; gap: 2vw; justify-content: center; align-items: center; }
  .fso-thumb {
    width: 17vw; aspect-ratio: 1/1; border-radius: 14px;
    overflow: hidden; cursor: none; position: relative;
    transition: all .5s cubic-bezier(.19,1,.22,1);
    filter: saturate(.7) brightness(.85);
  }
  .fso-thumb:hover {
    filter: saturate(1.1) brightness(1.05);
    transform: translateY(-14px) scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    border: 1.5px solid var(--teal);
  }
  
  .fso-overlay {
    position: fixed; inset: 0; background: #0f1f1e;
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    opacity: 0; pointer-events: none; z-index: 9999;
    color: white; transition: opacity .5s ease;
  }
  .fso-overlay.open { opacity: 1; pointer-events: auto; }
  
  #fso-img-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 1; opacity: .75;
  }
  .fso-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,31,30,.96) 0%, rgba(15,31,30,.2) 60%, transparent 100%);
    z-index: 2;
  }
  .fso-content-over {
    position: relative; z-index: 3; text-align: center;
    padding: 0 5vw 10vh; max-width: 900px;
    transform: translateY(40px); transition: transform .8s cubic-bezier(.19,1,.22,1); opacity: 0;
  }
  .fso-overlay.open .fso-content-over { transform: translateY(0); opacity: 1; transition-delay: .2s; }
  
  #fso-num {
    font-family: 'Space Mono', monospace; font-size: .72rem;
    letter-spacing: .4em; color: var(--teal);
    margin-bottom: 28px; display: inline-block;
  }
  #fso-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem,7vw,6.5rem);
    line-height: 1; font-weight: 300;
    margin-bottom: 20px; color: #fff;
    text-shadow: 0 10px 30px rgba(0,0,0,.6);
  }
  #fso-desc { font-size: 1.2rem; line-height: 1.8; color: rgba(255,255,255,.78); font-weight: 300; }
  
  .fso-close {
    position: absolute; top: 40px; right: 40px;
    font-size: 1.8rem; z-index: 10; color: #fff;
    width: 56px; height: 56px; border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: all .3s; background: rgba(15,31,30,.4); backdrop-filter: blur(6px);
  }
  .fso-close:hover { background: var(--coral); color: #fff; transform: rotate(90deg); border-color: var(--coral); }

  /* ══ MOBİL UYUMLULUK: GALERİ ══ */
@media (max-width: 768px) {
    .fso-gallery-sec { padding: 60px 5vw; }
    .fso-grid { 
      display: grid; 
      grid-template-columns: repeat(2, 1fr); /* Mobilde 2 sütun yap */
      gap: 10px; 
    }
    .fso-thumb { height: 150px; } /* Resimlerin boyunu telefona uydur */
    
    /* Galeri resmine tıklayınca açılan tam ekran pop-up ayarları */
    .fso-content-over { bottom: 5%; left: 5%; width: 90%; }
    #fso-title { font-size: 2rem; }
    #fso-desc { font-size: 1rem; }
  }