/* =========================================
   VahitTursun.com — index.css (temizlenmiş)
   - Temel ayarlar, yerleşim ve içerik bölümleri
   - Header/mobile menü için minimum destek
   - Lightbox stilleri bu dosyada DEĞİL (css/lightbox.css)
   ========================================= */

/* ---------- 0) Değişkenler & temel ---------- */
:root{
  --max-page: 1200px;
  --container-w-desktop: 80%;
  --container-pad-mobile: 16px;
  --text: #222;
  --muted: #555;
  --bg: #fdfdfd;
  --card: #fefefe;
  --brand: #111;
}

/* Dış arka plan — paneldeki açık gri */
html, body {
background-color: #f2f2f2;/* çok açık gri */
}

body{
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
}


/* İç kart (sayfa gövdesi) */
.container {
  width: min(1100px, 90vw);     /* masaüstünde şık genişlik, mobilde 90vw */
  margin: 28px auto;            /* üst/alt boşluk + ortalama */
  padding: clamp(16px, 3vw, 32px);
  background: #fff;             /* kart rengi */
  border: 1px solid #ccc;
  border-radius: 16px;          /* yuvarlatılmış köşeler */
  box-shadow: 0 0 8px rgba(0,0,0,.1);  /* yumuşak gölge */
  box-sizing: border-box;
}



/* İç kart (sayfa gövdesi) */
.page-wrap {
  width: min(1100px, 90vw);     /* masaüstünde şık genişlik, mobilde 90vw */
  margin: 28px auto;            /* üst/alt boşluk + ortalama */
  padding: clamp(16px, 3vw, 32px);
  background: #fff;             /* kart rengi */
  border: 1px solid #ccc;
  border-radius: 16px;          /* yuvarlatılmış köşeler */
  box-shadow: 0 0 8px rgba(0,0,0,.1);  /* yumuşak gölge */
  box-sizing: border-box;
}



/* Başlıca H1’i hafif sağa kaydır (masaüstü) */
.page-wrap > h1:first-of-type{ margin-left: 2rem; }
@media (max-width: 640px){
  .page-wrap > h1:first-of-type{ margin-left: .5rem; }
}

/* Daha küçük ekranda biraz daha kompakt görünsün */
@media (max-width: 640px){
  .page-wrap {
    width: 94vw;
    border-radius: 12px;
    padding: 16px;
    margin: 16px auto;
  }
}


/* Alt başlık (H2) */
.page-wrap h2{
  font-size: 1.25rem;
  font-weight: 400;
  color: #6c757d;
  text-align: center;
  margin: 0 auto 2rem auto;
  max-width: 80%;
}

/* ---------- 2) Header / Mobil menü (minimum) ---------- */
/* Not: header.css yükleniyor; burada sadece mobil/destekleyici kurallar var */

@media (min-width: 992px){
  .vt-burger{ display: none; }
  .vt-header-left{ display: flex; gap: 20px; }
  #vtNavPanel{ display: none !important; }
}

@media (max-width: 991.98px){
  .vt-burger{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    background: transparent;
    border: 1px solid #333; border-radius: 10px;
    cursor: pointer;
  }
  .vt-header-right{ display: none; }

  .vt-nav-panel{ display: none; }
  .vt-nav-panel.open{
    display: block; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.55);
  }
  .vt-nav-sheet{
    position: absolute; inset: 0 0 0 auto; width: min(82vw, 360px);
    background: #111; border-left: 1px solid #333;
    transform: translateX(100%); transition: transform .25s ease;
    padding: 18px; display: flex; flex-direction: column; gap: 12px;
  }
  .vt-nav-panel.open .vt-nav-sheet{ transform: translateX(0); }
  .vt-nav-sheet a{ color: #fff; font-weight: 700; text-decoration: none; }
  .vt-nav-sheet a:hover{ color: #ffcc00; }

  /* Burger çizgileri */
  .vt-burger-line, .vt-burger-line::before, .vt-burger-line::after{
    content: ""; position: absolute; left: 50%; width: 22px; height: 2px;
    background: #fff; transform: translateX(-50%);
    transition: transform .25s ease, opacity .2s ease;
  }
  .vt-burger-line{ top: 50%; transform: translate(-50%,-50%); }
  .vt-burger-line::before{ top: -7px; }
  .vt-burger-line::after{ top: 7px; }
  .vt-burger.is-open .vt-burger-line{ transform: translate(-50%,-50%) rotate(45deg); }
  .vt-burger.is-open .vt-burger-line::before{ top: 0; transform: rotate(-90deg); }
  .vt-burger.is-open .vt-burger-line::after{ opacity: 0; }
}

/* Bayraklar (nazik hover) — istersen header.css’e taşıyabilirsin */
.vt-flags{ display: flex; gap: 8px; align-items: center; }
.vt-flags a{ text-decoration: none; line-height: 0; }
.vt-flags img{ height: 24px; display: block; transition: opacity .15s; }
.vt-flags img:hover{ opacity: .7; }

/* ---------- 3) Biography ---------- */
.bio-section{
width: min(1100px, 90vw);     /* masaüstünde şık genişlik, mobilde 90vw */
  margin: 28px auto;            /* üst/alt boşluk + ortalama */
  padding: clamp(16px, 3vw, 32px);
  background: #fff;             /* kart rengi */
  border: 1px solid #ccc;
  border-radius: 16px;          /* yuvarlatılmış köşeler */
  box-shadow: 0 0 8px rgba(0,0,0,.1);  /* yumuşak gölge */
  box-sizing: border-box;


}
.bio-section h1{
  text-align: center; font-size: 2.5rem; margin-top: 40px;
}
.bio-section h2{
  text-align: center; font-size: 2rem; margin-top: 40px; font-weight: 700;
}
.bio-section .paragraph{ font-weight: 700; font-size: 1.1rem; color: #333; }
.bio-section .biography_body{ display: block; margin: .5em 0 1.5em; }

/* ---------- 4) Home / Görsel Kutuları ---------- */
.quote-box{
  text-align: center; font-weight: 300; font-style: italic;
}
.image-box{
  text-align: center; font-size: 1.6rem; color: #000;
}
.image-box img{
  width: 70%; height: auto; border-radius: 12px;
}

/* ---------- 5) Latest Uploads ---------- */
.latest-uploads{
  max-width: 1000px; margin: 40px auto; padding: 0 20px;
}
.latest-uploads h3{
  text-align: center; font-size: 2em; margin-bottom: 20px; color: #333;
}
.latest-grid{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}
.upload-box{
  flex: 1 1 300px; max-width: 450px; background: var(--card);
  padding: 10px; border-radius: 12px; box-shadow: 0 0 10px rgba(0,0,0,.07);
  overflow: hidden; position: relative; transition: transform .3s;
}
.upload-box:hover{ transform: scale(1.01); }
.upload-box img{ width: 100%; height: auto; border-radius: 8px; display: block; }
.img-link{ position: relative; display: block; text-decoration: none; }
.hover-overlay{
  position: absolute; left: 10px; bottom: 10px; padding: 6px 10px;
  background: rgba(0,0,0,.6); color: #fff; border-radius: 6px; font-size: .9em;
  opacity: 0; transition: opacity .3s;
}
.img-link:hover .hover-overlay{ opacity: 1; }
.upload-title{ text-align: center; margin-top: 12px; font-size: 1.1em; }
.upload-title a{ color: #222; font-weight: 700; text-decoration: none; }
.upload-title a:hover{ color: #444; }
.caption{ text-align: center; margin-top: 10px; font-size: 1em; font-weight: 500; }
.caption a{ color: #222; text-decoration: none; transition: color .2s; }
.caption a:hover{ color: #555; }

/* ---------- 6) Arama ---------- */
.search-bar{ max-width: 500px; margin: 20px auto; padding: 10px; }
.search-bar input[type="text"]{
  width: 70%; padding: 10px; border: 1px solid #ccc; border-radius: 6px;
}
.search-bar button{
  padding: 10px 20px; border: 0; background: #222; color: #fff; border-radius: 6px; font-weight: 700;
}

/* ---------- 7) Sayfalama ---------- */
.pagination{
  display: flex; justify-content: center; gap: 16px; margin-top: 20px;
}
.pagination a{
  padding: 8px 14px; background: #333; color: #fff; border-radius: 6px;
  text-decoration: none; font-size: 16px; transition: background .3s;
}
.pagination a.active{ background: #555; }
.pagination a:hover{ background: #444; }

/* ---------- 8) Kartlar ---------- */
.cards{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.card{
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,.1); transition: transform .2s;
}
.card:hover{ transform: scale(1.01); }
.card img{ width: 100%; height: auto; object-fit: cover; max-height: 240px; }
.card h2{ margin: 16px; font-size: 1.1rem; }
.card p{ margin: 0 16px 16px; color: var(--muted); }
.card .button{
  margin: 0 16px 16px; display: inline-block; padding: 10px 16px; background: #000; color: #fff;
  border-radius: 6px; text-align: center; text-decoration: none;
}

/* ---------- 9) Gallery blokları (1/2/3) ---------- */
/* 1) 3’lü kolon, 300px kutular */
.gallery-container-1{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 30px;
}
.gallery-item-1{
  width: calc(33.33% - 20px); max-width: 300px; height: 300px;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: center;
}
.gallery-item-1 img{ width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item-1:hover img{ transform: scale(1.05); }

/* 2) Daha sık kolon */
.gallery-container-2{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 30px;
}
.gallery-item-2{
  width: calc(23.33% - 20px); max-width: 300px; height: 300px;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: center;
}
.gallery-item-2 img{ width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item-2:hover img{ transform: scale(1.05); }

/* 3) Küçük kolonlar */
.gallery-container-3{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 30px;
}
.gallery-item-3{
  width: calc(16.66% - 20px); max-width: 150px; height: 300px;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: center;
}
.gallery-item-3 img{ width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item-3:hover img{ transform: scale(1.05); }

/* Mobil tek kolon */
@media (max-width: 768px){
  .gallery-item-1, .gallery-item-2, .gallery-item-3{ width: 100%; max-width: none; }
}

/* ---------- 10) Videolar ---------- */
.videos-container{ max-width: 1100px; margin: 40px auto; padding: 0 20px; }
.videos-title{
  text-align: center; font-size: 2rem; margin-bottom: 30px; color: #333;
}
.no-videos-message{
  text-align: center; font-size: 1.2rem; font-style: italic; color: #555;
  margin-bottom: 30px; padding: 10px;
}
.videos-grid{
  margin: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px;
}
.video-box{
  background: #fff; padding: 15px; border-radius: 12px; box-shadow: 0 0 10px rgba(0,0,0,.05);
}
.video-box video{
  width: 100%; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,.1);
}
.video-title{ text-align: center; font-weight: 700; margin-bottom: 10px; font-size: 1rem; }

/* ---------- 11) Gallery sayfası genel ---------- */
.gallery-container{ max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.gallery-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 20px;
}
.gallery-grid img{
  width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 8px rgba(0,0,0,.1);
  transition: transform .2s;
}
.gallery-grid img:hover{ transform: scale(1.03); }
.gallery-title{
  text-align: center; font-size: 2rem; margin-bottom: 30px; color: #333;
}

/* ---------- 12) PDFs ---------- */
.pdfs-container{ max-width: 1100px; margin: 40px auto; padding: 0 20px; }
.pdfs-title{
  text-align: center; font-size: 2rem; margin-bottom: 30px; color: #333;
}
.pdfs-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px;
}
.no-pdfs-message{
  text-align: center; font-size: 1.2rem; color: #666; margin-bottom: 30px; font-style: italic;
}
.pdf-box{
  background: var(--card); padding: 20px; border-radius: 10px; box-shadow: 0 0 8px rgba(0,0,0,.05);
  display: flex; flex-direction: column; align-items: center;
}
.pdf-box .title{ font-weight: 700; margin-bottom: 10px; text-align: center; }
.pdf-box a{
  text-decoration: none; background: #222; color: #fff; padding: 8px 12px; border-radius: 6px; font-weight: 700;
  transition: background .2s;
}
.pdf-box a:hover{ background: #444; }

/* ---------- 13) Müzik ---------- */
.music-container{ max-width: 1100px; margin: 40px auto; padding: 0 20px; }
.music-title{
  text-align: center; font-size: 2rem; margin-bottom: 30px; color: #333;
}
.music-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px;
}
.no-music-message{
  text-align: center; font-size: 1.2rem; font-style: italic; color: #555; margin-bottom: 30px; padding: 10px;
}
.music-box{
  background: var(--card); padding: 15px; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,.05);
}
.music-box audio{ width: 100%; }

/* ---------- 14) İletişim ---------- */
.contact-container{
  max-width: 600px; margin: 50px auto; padding: 20px; background: var(--card);
  border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,.05);
}
.contact-container h2{ text-align: center; margin-bottom: 30px; }
.contact-container input,
.contact-container textarea{
  width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 6px; font-size: 1em;
}
.contact-container button{
  width: 100%; padding: 10px; background: var(--brand); color: #fff; border: 0; border-radius: 6px; font-weight: 700;
}
.contact-container button:hover{ background: #444; }
.success-message{
  text-align: center; background: #e0ffe0; color: #006600;
  padding: 15px; border-radius: 6px; margin-bottom: 20px;
}
/* Mobile: slide-in panel SOL taraftan gelsin */
@media (max-width: 991.98px){
  .vt-nav-panel .vt-nav-sheet{
    left: 0;              /* sağ yerine sol */
    right: auto;
    width: min(82vw, 360px);
    transform: translateX(-100%);   /* başlangıçta dışarıda (sol) */
    border-left: none;              /* önceki çizgiyi kapat */
    border-right: 1px solid #333;   /* sol panel için sağa çizgi */
    box-shadow: 4px 0 16px rgba(0,0,0,.35);
  }
  .vt-nav-panel.open .vt-nav-sheet{
    transform: translateX(0);       /* açılınca içeri gelsin */
  }
}
