/* GENEL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background-color: #000000;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* HEADER - PC & TABLET (VW İLE DİNAMİK HALE GETİRİLDİ) */
header {
  display: flex; /* PC ve tablet için görünür */
  justify-content: space-between; /* Logo sola, menü sağa */
  align-items: center; /* Dikey ortala */
  padding: 1.5vw 4vw; /* PX yerine VW kullanıldı */
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo img {
  height: 3.5vw; /* PX yerine VW kullanıldı (PC'de 60px civarı) */
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  gap: 2.5vw; /* PX yerine VW kullanıldı (PC'de 50px civarı) */
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  font-size: 1vw; /* PX yerine VW kullanıldı (PC'de 19px civarı) */
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #ff6347;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #ff6347;
}

nav ul li a:hover::after {
  width: 100%;
}

/* HEADER SADECE MOBİLDE GİZLE */
@media (max-width: 768px) {
  header {
    display: none; /* Mobilde header gizlensin */
  }
}

/* MENU SECTION */
.menu-section {
  background-image: url("menuBG.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #ffffff;
  text-align: center;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.menu-box {
  height: 100vh; /* container tüm ekran yüksekliği (vh birimi zoomdan etkilenmez) */
}

.menu-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  filter: brightness(0.95);
  transition: transform 0.3s, filter 0.3s;
}

/* ABOUT SECTION - DÜZELTME */
.about-section {
  text-align: center;
  background-image: url("kebabBG.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* İLK DÜZELTME: Arka planı tarayıcı penceresine göre sabitler */
  background-attachment: fixed;
  position: relative;
  color: #ffffff;
  z-index: 1;

  /* DÜZELTME 1: Dinamik padding eklendi (vh/vw) */
  padding: 15vh 7.5vw; /* PC Ekranına uygun bir vh/vw değeri verildi */

  display: flex;
  justify-content: center;
  align-items: center;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.about-box {
  /* Orijinal max-width: 500px, 1920px genişlikte yaklaşık 26vw'ye tekabül eder. Güvenli bir değer: */
  max-width: 35vw;
  /* Orijinal margin: 25px, PC'de 1.3vw'ye yakın */
  margin: 1.3vw;

  transform: translateX(-300px);

  background: rgba(255, 255, 255, 0.06);
  /* Orijinal padding: 50px, PC'de 2.6vw'ye yakın */
  padding: 3vw;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-box p {
  /* Orijinal font-size: 22px, PC'de 1.15vw'ye yakın bir dinamik değer kullanıldı */
  font-size: 1.5vw;
  color: #f1d69a;
  line-height: 1.8;
  font-weight: 400;
}

/* GALLERY SECTION */
.gallery-section {
  padding: 2.5vw 7.5vw;
  background-image: url("galleryBG.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  position: relative;
  color: #ffffff;
  z-index: 1;
  text-align: center;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 80vw;
  margin: auto;
}

.gallery-box img {
  width: 100%;
  height: 18vw;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-box img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* CONTACT SECTION - DÜZELTME */
.contact-section {
  padding: 15vh 7.5vw;
  background-image: url("iletisimBG.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  position: relative;
  color: #ffffff;
  z-index: 1;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.contact-wrapper {
  display: flex;
  gap: 3vw;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  max-width: 80vw;
  margin: auto;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  padding: 4.5vw 4vw;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-info p {
  font-size: 1.6vw; /* PC ve Tablet için */
  margin: 12px 0;
  line-height: 1.6;
}

.contact-info strong {
  color: #ffcc66;
  font-weight: 700;
}

.contact-info a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  font-size: 1.6vw;
}

.contact-info a:hover {
  color: #ffcc66;
}

.map-container {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  min-width: 25vw;
}

/* RESPONSIVE - TABLET & MOBİLE */
@media (max-width: 1024px) {
  nav ul {
    gap: 30px;
  }

  .menu-box {
    height: 100vh;
  }

  .menu-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
  }
  
  /* HEADER TABLET DÜZELTMESİ (GÖRÜNÜR OLDUĞU İÇİN FONT BOYUTU AYARLANDI) */
  header {
    padding: 1.8vw 5vw; /* Tablette biraz daha fazla dikey boşluk */
  }

  header .logo img {
    height: 5vw; /* Tablette küçüldü */
  }
  
  nav ul li a {
    font-size: 1.8vw; /* Tablette font boyutu ayarlandı */
  }
  /* BİTİŞ */

  .gallery-section,
  .menu-section,
  .about-section,
  .contact-section {
    background-image: none;
    background-color: #000000;
  }

  /* ABOUT SECTION'A GÖRSELİ GERİ GETİREN KURAL AŞAĞIDAN KALDIRILDI! */
  .about-section {
    background-attachment: fixed; /* Yalnızca sabitlik korundu */
    /* DÜZELTME 2: Tablet padding vh/vw olarak güncellendi (Orijinal 150px 30px) */
    padding: 15vh 5vw;
  }

  .menu-section {
    padding: 120px 15px;
  }

  /* ABOUT SECTION TABLET DÜZELTMELERİ */
  .about-box {
    transform: translateX(0);
    max-width: 60vw;
    padding: 6vw;
    margin: 3vw auto;
  }

  .about-box p {
    font-size: 2.0vw;
  }
  /* BİTİŞ */

  .gallery-section {
    padding: 5vw 3vw;
  }

  .gallery-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 90vw;
  }

  .gallery-box img {
    height: 25vw; /* PC/Tablet (Tablet) için korundu */
  }

  .contact-info p,
  .contact-info a {
    font-size: 2.0vw;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 2.5vw;
  }

  .contact-info {
    width: 100%;
    padding: 4.5vw 4vw;
  }

  .map-container {
    width: 100%;
    min-width: 100%;
    height: 35vw;
  }

  .contact-section {
    padding: 7vh 3vw;
  }
}

@media (max-width: 768px) {
  nav ul {
    gap: 15px;
    margin-top: 10px;
    flex-direction: column;
    align-items: center;
  }

  header {
    display: none; /* mobilde gizlensin */
  }

  .menu-box {
    height: 80vh;
  }

  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .gallery-box img {
    height: 40vw; /* GÜNCELLENDİ: 2 sütunlu mobil için yükseklik artırıldı (35vw -> 40vw) */
  }

  .menu-section {
    padding: 150px 10px;
  }

  .about-section {
    /* DÜZELTME 3: Mobil tablet padding vh/vw olarak güncellendi (Orijinal 180px 15px) */
    padding: 18vh 3vw;
  }

  /* ABOUT SECTION MOBİL DÜZELTMELERİ */
  .about-box {
    transform: translateX(0);
    max-width: 85vw;
    padding: 7vw;
    margin: 4vw auto;
  }

  .about-box p {
    font-size: 3.0vw;
    transform: translateX(0);
  }
  /* BİTİŞ */

  .contact-section {
    padding: 7vh 3vw;
  }

  .contact-info p,
  .contact-info a {
    font-size: 3.0vw;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 2vw;
    padding: 0 0;
  }

  .contact-info {
    width: 100%;
    padding: 4vw 3vw;
    box-sizing: border-box;
  }

  .map-container {
    width: 100%;
    min-height: 40vw;
    height: 40vw;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  nav ul li a {
    font-size: 16px;
  }

  .menu-box {
    height: 70vh;
  }

  .gallery-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-box img {
    height: 70vw; /* GÜNCELLENDİ: 1 sütunlu mobil için yükseklik artırıldı (50vw -> 70vw) */
  }

  .menu-section {
    padding: 120px 8px;
  }

  .about-section {
    /* DÜZELTME 4: Küçük mobil padding vh/vw olarak güncellendi (Orijinal 150px 10px) */
    padding: 18vh 2vw;
  }

  /* ABOUT SECTION KÜÇÜK MOBİL DÜZELTMELERİ */
  .about-box {
    transform: translateX(0);
    max-width: 95vw;
    padding: 10vw;
    margin: 5vw auto;
  }

  .about-box p {
    font-size: 4.0vw;
  }
  /* BİTİŞ */

  .contact-section {
    padding: 5vh 2vw;
  }

  .contact-info p,
  .contact-info a {
    font-size: 4.0vw;
  }

  .contact-wrapper {
    padding: 0;
  }

  .contact-info {
    padding: 3vw 2.5vw;
  }

  .map-container {
    min-height: 50vw;
    height: 50vw;
  }
}