  @charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

  /* =========================
     RESET
  ========================= */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  *,
  *:before,
  *:after {
    box-sizing: border-box;
  }
  /* =========================
     BODY & GENEL
  ========================= */
  body {
    background-color: #fefefe; /* Açık beyaz */
    color: #222222;            /* Koyu gri yazı */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    justify-content: center; /* yatay ortalama */
    padding: 0 150px;
          font-family: 'Montserrat', Arial, sans-serif;

  }

  h1, h2, h3, h4, h5, h6 {
    color: #000; /* Firebrick kırmızısı */
      font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* veya 900 kullanabilirsin daha dramatik için */
    font-size: 40px;
    text-align: center;  
  }

  p {
    color: #222222;
    text-align: justify;
    text-align-last: left;
  }

  a {
    color: #222222;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  a:hover {
    color: #000;
  }

/* =========================
   HEADER
========================= */
.bannerA {
  background-color: #ffffff;
  color: #222222;
  display: flex;
  flex-direction: column; /* Logo üstte, menü altında */
  justify-content: center;
  align-items: center;
  padding: 10px 0px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0px;
}

.logo img {
  width: 45%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Navbar genel */
.navbar {
  display: flex;
  justify-content: center; /* Menüler ortada yatay */
  align-items: center;
  width: 100%;
}

.navbar ul {
  margin: 0;
  list-style: none;
  display: flex;  /* Masaüstünde yatay */
  gap: 20px;
}

.navbar li a {
  color: #222222;
  font-weight: 600;
  text-decoration: none;
}

.navbar li a:hover {
  color: #000;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  height: 20px;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: #222222;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
  /* =========================
     KATEGORİLER
  ========================= */
.kategori-container {
  text-align: center;
  margin-bottom: 20px;
  padding: 0 10px;
}

.kategori-listesi {
  display: inline-flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

/* Mobilde yatay kaydırma aktif et */
@media (max-width: 768px) {
  .kategori-listesi {
    display: flex;               /* inline-flex yerine flex */
    overflow-x: auto;            /* yatay kaydırma */
    -webkit-overflow-scrolling: touch; /* iOS için yumuşak kaydırma */
    gap: 10px;
    padding-bottom: 5px;
    scroll-snap-type: x mandatory; /* düzgün hizalama */
  }

  .kategori-listesi li {
    flex: 0 0 auto;              /* her öğe kendi boyutunda */
    scroll-snap-align: start;
  }

  /* Scroll bar gizle */
  .kategori-listesi::-webkit-scrollbar {
    display: none;
  }
  .kategori-listesi {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

.kategori-listesi li {
  cursor: pointer;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background 0.3s;
  white-space: nowrap; /* metin tek satır kalsın */
}


  /* =========================
     GRID / TASARIM
  ========================= */
  .grid-container {
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #fefefe;
    padding: 10px 0px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 30px;
    gap: 15px;
  }

  .grid-item {
    aspect-ratio: 16 / 13;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: none;
    background-color: #fff;
    max-height: 450px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
  }

  .grid-item:hover {
    transform: scale(1.05);
  }

  /* Overlay efekt (örnek) */
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(178, 34, 34, 0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    border-radius: 8px;
    opacity: 0;
  }

  .grid-item:hover .overlay {
    opacity: 1;
  }

/* =========================
     MODAL / PROJEDETAY
  ========================= */
.modal {
  background-color: rgba(50, 55, 55, 0.95);
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1000;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  padding: 80px 30px 30px; /* üst padding çarpı & başlıktan kaçsın */
  color: #222222;
  position: relative;
  max-width: 900px;
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: row; /* yan yana */
  gap: 30px;
  align-items: flex-start;
}

.modal-images {
  width: 100%;            /* her zaman yarısı */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.modal-content div.text {
  width: 50%;           /* diğer yarısı */
  max-width: 50%;
  color: #222222;
}

.modal-content div.text h2 {
  color: #000;
  margin-bottom: 15px;
}

.modal-content div.text p {
  font-size: 1.1em;
  line-height: 1.5;
  text-align: justify;
  text-align-last: left;
}

.modal-content img,
.modal-content video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  cursor: pointer;
  min-width: 30vw;
}

.modal-title {
  color: #000;
  font-size: 20px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  transition: color 0.3s ease;
  font-weight: bold;
  user-select: none;
    padding: 0 0px;
}

.modal-close {
  color: #000;
  font-size: 35px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 25px;
  transition: color 0.3s ease;
  font-weight: bold;
  user-select: none;
}

.modal-close:hover {
  color: #222222;
}

  /* =========================
     FULLSCREEN
  ========================= */
  .fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .fullscreen-overlay.active {
    display: flex;
  }

  .fullscreen-overlay img {
    border-radius: 8px;
    max-width: none;
    max-height: none;
    user-select: none;
    pointer-events: auto;
    cursor: zoom-out;
    transform: none;
    display: block;
    margin: auto;
    width: 200%;
    height: auto;
  }

.footerA {
  background-color: #ffffff;
  color: #222222;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* 3 eşit sütun */
  border-top: 1px solid #ddd;
  margin-top: 30px;
}

.footerA ul {
  margin: 0;
  padding: 0;
}

.footerA li {
  list-style: none;
  margin: 5px 0;
}

.listebaslik {
  font-weight: bold;
  color: #000;
}

/* Sütun hizalamaları */
.footersol {
  text-align: left;
}

.footerorta {
  text-align: center;
}

.footersag {
  text-align: right;
}


  .typing {
      display: flex;
      align-items: center;
      justify-content: center;
      height: auto;
      color: black;
      font-family: "Montserrat", sans-serif;
      font-weight: 100;
      font-size: 8vw;
  }

  #typing::after {
      content: '|';
      position: relative;
      right: 0;
      animation: blink 1s step-end infinite;
  }

  @keyframes blink {
      from, to {
          color: transparent
      }
      50% {
          color: black;
      }
  }

  /* =========================
     RESPONSIVE
  ========================= */
  @media (max-width: 768px) {
    body { padding: 0 10px; }

    .modal-content {
      flex-direction: column;
      max-width: 90%;
    }

    .modal-content img,
    .modal-content div.text {
      max-width: 100%;
    }

  .bannerA {
    flex-direction: row;           /* Logo ve hamburger yan yana */
    justify-content: space-between; /* Logo solda, hamburger sağda */
    align-items: center;
    padding: 10px 20px;
  }

  .navbar {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: auto;
  }

  .navbar ul {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #fff;
    width: 200px;
    flex-direction: column;       /* Menü açıldığında dikey */
    gap: 15px;
    padding: 20px;
    border: 1px solid #ddd;
    display: none;                /* Başlangıçta gizli */
    z-index: 999;
  }

  .navbar ul.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

    .grid-container {
      grid-template-columns: repeat(2, 1fr);
      padding: 0;
      margin: 0 auto;
    }
    
.sonislerlistsoliki p{
  margin-right: 0px;
}

.sonislerlistsagbir p{
  margin-left: 0px;
}
    .footerA {
      flex-direction: column;
      padding: 20px 20px;
      display: flex;
      text-align: center;
    }

    .footersag{
      text-align: center;
      padding: 10px;
    }
    .footersol{
      text-align: center;
      padding: 10px;
    }
  }

  @media (max-width: 554px) {
    .grid-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }
  }

  @media (max-width: 480px) {
    .grid-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }
  }

  /* =========================
     DİĞER SAYFALAR
  ========================= */
  /* main container */
  .main { margin: 0 auto; padding: 20px 0; }

  .contentA {
    height: 85vh;
    /*height: 500px;*/
    /*background-image: url("../img/back.png");*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
    padding: 0 0px;
      display: flex;
    justify-content: center; /* Yatay ortalama */
    align-items: center;     /* Dikey ortalama */
  }

  .contentHakkimda,
  .contentIcerik {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    padding: 0 0px;
  }

  
  .contentHakkimdaSol,
  .contentHakkimdaSag,
  .contentIcerikSol,
  .contentIcerikSag,
  .contentIcerikOrta {
    flex: 1 1 100%;
  }

  .contentHakkimdaSag img,
  .contentIcerikOrta img { width: 100%; max-height: 400px; object-fit: contain; }

/*iletişim*/
.contentIletisim {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  padding: 0;
  height: 30vw; /* Tam ekran yüksekliği */
}

.contentIletisimSol,
.contentIletisimSag {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contentIletisimSol ul li a {
  font-size: 18px;
}
.contentIletisimSol ul li i {
  font-size: 18px;
}

/* Resmi sabitle */
.contentIletisimSag img {
  max-width: 100%;
  max-height: 100%; /* Yüksekliği sınırla */
  object-fit: contain;
}

/* Mobilde alt alta geçmesi */
@media (max-width: 768px) {
  .contentIletisim {
    flex-direction: column;
    height: auto; /* Mobilde otomatik yükseklik */
  }

  .contentIletisimSol,
  .contentIletisimSag {
    flex: 1 1 100%;
  }

  .contentIletisimSag img {
    max-height: 400px;
  }
}


  /* Son İşler */
  .sonisler {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0px;
  }

  .sonislerlist { display: flex; width: 100%; align-items: stretch; }

 .sonislerlistsolbir, .sonislerlistsagiki{
  width: 60%;
  aspect-ratio: 21 / 9;  /* Oranı sabitle (örn. 16:9) */
  overflow: hidden;
  border-radius: 8px;
}

.sonislerlistsolbir img, .sonislerlistsagiki img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* Ortada hizala */
  display: block;
}

  .sonislerlistsagbir {
    width: 40%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .sonislerlistsagbir p { margin-left: 20px; color: #222222; text-align: justify; text-align-last: left; }

  .sonislerlistsoliki {
    width: 40%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .sonislerlistsoliki p { margin-right: 20px; color: #222222; text-align: justify; text-align-last: left; }




  @media (max-width: 554px) {
    .sonislerlist { flex-direction: column; }

    .sonislerlistsolbir,
    .sonislerlistsagbir,
    .sonislerlistsoliki,
    .sonislerlistsagiki { width: 100%; }

    .sonislerlistsagiki { order: -1; }
  }

  @media (min-width: 768px) {
    
    .contentHakkimdaSol,
    .contentHakkimdaSag,
    .contentIcerikSol,
    .contentIcerikSag,
    .contentIcerikOrta,
    .footersol,
    .footerorta,
    .footersag {
      flex: 1 1 calc(33.33% - 20px);
    }
  }

  /* =========================
     İLETİŞİM
  ========================= */
  .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 8px;
  }

  .contact-list i {
    color: #000;
    font-size: 20px;
  }

  .contact-list a {
    color: inherit;
    text-decoration: none;
  }

  .contact-list a:hover {
    text-decoration: underline;
  }
