
.title{
color: #000;
font-weight: bolder;
}
    
    
    h2.sayfaBaslik {
      text-align: center;
      font-size: 2em;
      margin-bottom: 30px;
    }
    h2.sayfaBaslik::before {
      content: "🗂️ ";
    }

    .sayfaBaslik{
        text-shadow: #000;
    }
    .portfolio {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
    }
    @media (min-width: 768px) {
      .portfolio {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (min-width: 1025px) {
      .portfolio {
        grid-template-columns: repeat(3, 1fr);
      }
    }
    .card {
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .slider {
      position: relative;
      width: 100%;
      aspect-ratio: 3 / 2;
      overflow: hidden;
      background: #000;
    }
    .slider img {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      cursor: pointer;
      user-select: none;
    }
    .slider img.active {
      opacity: 1;
      z-index: 1;
    }
    .slider button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.5);
      color: white;
      border: none;
      padding: 10px;
      cursor: pointer;
      z-index: 2;
      font-size: 24px;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      user-select: none;
    }
    .slider .prev { left: 10px; }
    .slider .next { right: 10px; }
    .card-media video {
      width: 100%;
      aspect-ratio: 3 / 2;
      object-fit: cover;
      display: block;
      border-radius: 0;
    }
    .card-content {
      padding: 15px;
      flex-grow: 1;
    }
    .card-content .year::before { content: "📅 "; }
    .card-content .type::before { content: "🏷️ "; }
    .card-content .year, .card-content .type {
      font-size: 0.9em;
      color: #666;
      margin-bottom: 5px;
    }
    .card-content .description {
      font-size: 1em;
      color: #444;
      margin: 10px 0 15px;
    }
    .card-content .link {
      text-align: right;
    }
    .card-content .link a {
      text-decoration: none;
      background: #007BFF;
      color: #fff;
      padding: 8px 12px;
      border-radius: 5px;
      font-size: 0.95em;
      transition: background 0.3s ease;
    }
    .card-content .link a:hover {
      background: #0056b3;
    }

    /* Lightbox */
    .lightbox {
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.95);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }
    .lightbox.show {
      display: flex;
    }
    .lightbox img {
      width: 100%;
      height: auto;
      max-height: 90vh;
      object-fit: contain;
      border: none;
      user-select: none;
    }
    .lightbox button {
      position: absolute;
      background: rgba(0,0,0,0.5);
      color: white;
      border: none;
      font-size: 30px;
      padding: 10px;
      cursor: pointer;
      user-select: none;
      border-radius: 50%;
      width: 45px;
      height: 45px;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: background 0.3s ease;
    }
    .lightbox button:hover {
      background: rgba(255,255,255,0.3);
      color: black;
    }
    #lightbox-close {
      top: 20px;
      right: 20px;
    }
    .lightbox-prev {
      left: 20px;
      top: 50%;
      transform: translateY(-50%);
    }
    .lightbox-next {
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
    }
