/* HAYAL PERDESİ CSS - Optimized v15.1 - 2025 */
body { 
  margin: 0; 
  font-family: Arial, sans-serif; 
  background-image: url('hayalperdesi.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  /* Performance optimization */
  will-change: auto;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* GLOBAL HAMBURGER MENÜ KONTROLÜ - Desktop'ta KESINLIKLE GİZLİ */
@media screen and (min-width: 769px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #222;
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
}

/* Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

/* Desktop'ta hamburger menü KESINLIKLE gizli */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  
  .mobile-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  
  .navbar ul {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

.mobile-menu-toggle:hover {
  color: #f39c12;
}

.navbar img { 
  height: 60px;
}

.navbar-logo {
  height: 45px;
  width: auto;
  filter: none !important;
  -webkit-filter: none !important;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  flex-wrap: nowrap;
  align-items: center;
}

/* Desktop'ta normal menü her zaman görünür */
@media (min-width: 769px) {
  .navbar ul {
    display: flex !important;
  }
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
  padding: 5px 8px;
}

.navbar ul li a:hover { 
  color: #f39c12; 
}

/* Mobile Menu Styles */
/* ESKİ MOBILE MENU CSS'İ SİLİNDİ - YENİ VERSİYON AŞAĞIDA */

/* Anchor scroll offset - navbar için */
#anasayfa {
  scroll-margin-top: 100px;
}

/* Slider */
.slider {
  position: relative;
  margin-top: 80px;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Performance optimization */
  image-rendering: optimizeQuality;
  loading: lazy;
  decoding: async;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  max-width: 80%;
}

.slide-content h2 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  font-family: 'Georgia', serif;
}

.slide-content p {
  color: white;
  font-size: 1.2rem;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  margin: 0;
}

/* Ok butonları */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}

/* Nokta göstergeleri */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 90%;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

/* Bölümler */
section { 
  padding: 20px 15px; 
  min-height: auto;
  background-color: rgba(0, 0, 0, 0.6);
  margin: 20px 0;
  border-radius: 10px;
  color: white;
}

section h2 { 
  text-align: center; 
  margin-bottom: 15px; 
  font-size: 2rem;
  color: white;
}

section p { 
  max-width: 800px; 
  margin: auto auto 20px auto; 
  line-height: 1.6; 
  font-size: 16px;
}

section p:last-of-type {
  margin-bottom: auto;
}

/* Foto grid */
.photo-grid {
  display: grid;
  gap: 8px;
  justify-content: center;
  margin-top: 15px;
}

.photo-grid-10 { 
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.photo-grid-5 { 
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 
}

.photo-grid img { 
  width: 100%; 
  height: 100px; 
  object-fit: cover; 
  border-radius: 5px; 
}


/* Hakkımızda section paragrafları */
#hakkimizda {
  scroll-margin-top: 100px;
}

#hakkimizda p {
  color: #f0f0f0;
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-weight: 300;
}

#bizkimiz {
  scroll-margin-top: 100px;
}

#iletisim {
  scroll-margin-top: 100px;
}

.mission-vision {
  max-width: 1000px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mission-vision-item {
  background: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 15px;
  border-left: 4px solid #f39c12;
  border-right: 4px solid #f39c12;
  text-align: left;
}

.mission-vision-item h3 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
}

.mission-vision-item p {
  color: #f0f0f0;
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 0;
  text-align: center;
}

/* Biz Kimiz Bölümü */
.bizkimiz-section {
  max-width: 900px;
  margin: 50px auto 40px auto;
}

.bizkimiz-content {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  border-left: 4px solid #f39c12;
  border-right: 4px solid #f39c12;
  text-align: center;
}

.bizkimiz-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.bizkimiz-content p {
  color: #f0f0f0;
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 300;
}

.bizkimiz-content p:last-child {
  margin-bottom: 0;
}

.bizkimiz-content strong {
  font-weight: 700;
  font-size: 1.2em;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
  font-family: 'Segoe UI', 'Arial', sans-serif;
}

.bizkimiz-finale {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-top: 40px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
  font-family: 'Segoe UI', 'Arial', sans-serif;
}

.bizkimiz-finale strong {
  font-weight: 700;
  font-size: 1em;
}

.hakkimizda-logo {
  display: block; 
  margin: 30px auto; 
  height: 250px; 
  max-width: 500px;
  object-fit: contain;
}

/* İletişim Bölümü - Profesyonel Tasarım */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-header p {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* İletişim Bilgileri Ortalanmış */
.contact-info-centered {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 8px;
  border-left: 4px solid #f39c12;
  border-right: 4px solid #f39c12;
}

.info-item {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-label {
  color: #999;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-weight: 600;
}

.info-value {
  color: white;
  font-size: 1.05rem;
  line-height: 1.6;
}

.social-accounts {
  margin-top: 8px;
}

.social-row {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.social-item:hover .social-icon {
  filter: brightness(0) saturate(100%) invert(71%) sepia(92%) saturate(2581%) hue-rotate(9deg) brightness(101%) contrast(96%);
}

.social-link {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: #f39c12;
  text-decoration: underline;
}


/* Mobile Responsive - Hamburger menü GÖRÜNÜR */
@media (max-width: 768px) {
  .navbar {
    padding: 8px 15px;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    overflow: visible !important;
  }
  
  .navbar-logo {
    height: 40px;
    flex-shrink: 0;
  }
  
  /* Desktop menüyü mobile'da GİZLE */
  .navbar ul {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  /* Hamburger menüyü mobile'da GÖSTER */
  .mobile-menu-toggle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
    background: #f39c12 !important;
    border: 2px solid white !important;
    color: white !important;
    font-size: 24px !important;
    padding: 10px 15px !important;
    cursor: pointer !important;
    border-radius: 5px !important;
    z-index: 1002 !important;
    position: relative !important;
  }
  
  .mobile-menu {
    display: none;
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(34, 34, 34, 0.98) !important;
    padding: 20px !important;
    z-index: 9999 !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 70px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5) !important;
  }
  
  .mobile-menu.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 70px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important; /* EKRANIN ALTINA KADAR UZAT */
    max-height: calc(100vh - 70px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 9999 !important;
  }
  
  .mobile-menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 9999 !important;
  }
  
  .mobile-menu ul li {
    margin: 10px 0 !important;
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10000 !important;
  }
  
  .mobile-menu ul li a {
    display: block !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    padding: 16px 24px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    min-height: 50px !important;
    line-height: 1.4 !important;
    position: relative !important;
    z-index: 10000 !important;
    visibility: visible !important;
    opacity: 1 !important;
    letter-spacing: 0.5px !important;
  }
  
  /* ULTRA GÜÇLÜ LİNK STİLLERİ */
  .mobile-menu ul li a:link,
  .mobile-menu ul li a:visited,
  .mobile-menu ul li a:active {
    display: block !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    text-decoration: none !important;
  }
  
  .mobile-menu ul li a:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.03) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
  }
  
  .slider {
    height: 60vh;
    margin-top: 70px;
  }
  
  .slide-content h2 {
    font-size: 2rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .slide-content {
    padding: 20px 25px;
    max-width: 90%;
  }
  
  .slider-btn {
    font-size: 1.5rem;
    padding: 10px 15px;
  }
  
  .prev-btn {
    left: 15px;
  }
  
  .next-btn {
    right: 15px;
  }
  
  .slider-dots {
    bottom: 20px;
    gap: 8px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  section {
    padding: 20px 15px;
  }
  
  .photo-grid-10, .photo-grid-5 {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }
  
  .photo-grid img {
    height: 80px;
  }
  
  #hakkimizda p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 auto 25px auto;
    padding: 0 15px;
  }

  .mission-vision {
    margin: 30px auto;
    gap: 20px;
    grid-template-columns: 1fr;
  }
  
  .mission-vision-item {
    padding: 20px;
  }
  
  .mission-vision-item h3 {
    font-size: 1.4rem;
  }
  
  .mission-vision-item p {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .bizkimiz-section {
    margin: 40px auto 30px auto;
  }

  .bizkimiz-content {
    padding: 30px 25px;
    margin: 0 15px;
    border-radius: 15px;
  }

  .bizkimiz-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .bizkimiz-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .bizkimiz-finale {
    font-size: 1.2rem;
    margin-top: 30px;
    letter-spacing: 2px;
  }

  .bizkimiz-content strong {
    font-weight: 700;
    font-size: 1.15em;
  }
  
  .hakkimizda-logo {
    height: 200px;
    max-width: 400px;
    margin: 20px auto;
  }
  
  .contact-header h2 {
    font-size: 2rem;
  }
  
  .contact-header p {
    font-size: 1rem;
    padding: 0 15px;
  }
  
  .contact-info-centered {
    margin: 0 15px;
    padding: 25px 20px;
  }
  
  .info-label {
    font-size: 0.85rem;
  }
  
  .info-value {
    font-size: 0.95rem;
  }
  
  .social-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .social-item {
    justify-content: center;
  }
  
  .social-icon {
    width: 22px;
    height: 22px;
  }
  
  .social-link {
    font-size: 1rem;
  }
}

/* Çok küçük ekranlar için ek düzenlemeler */
@media (max-width: 480px) {
  .navbar {
    padding: 5px 8px;
  }
  
  .navbar-logo {
    height: 30px;
  }
  
  .navbar ul {
    gap: 2px;
    margin-top: 3px;
  }
  
  .navbar ul li a {
    font-size: 9px;
    padding: 1px 3px;
  }
  
  .slider {
    margin-top: 60px;
  }
}

/* Galeri Başlık Kartı */
.galeri-header-card {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px 15px;
  margin: 20px 0;
  margin-bottom: 40px;
  border-radius: 10px;
  color: white;
}

.galeri-header-card h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 2rem;
  color: white !important;
}

.galeri-header-card p {
  max-width: 800px;
  margin: auto;
  line-height: 1.6;
}

/* Tüm Galeriyi Gör Butonu */
.view-gallery-btn {
  background: rgba(0, 0, 0, 0.6);
  color: #f39c12;
  border: 2px solid #f39c12;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
}

.view-gallery-btn:hover {
  background: #f39c12;
  color: #000;
  border-color: #f39c12;
  transform: translateY(-3px);
  box-shadow: none;
}

.view-gallery-btn:active {
  transform: translateY(-1px);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.9);
  margin-top: 60px;
  border-top: 2px solid rgba(243, 156, 18, 0.3);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 40px 20px;
}

.footer-section h3 {
  color: #f39c12;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-contact p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer-contact strong {
  color: #f39c12;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #f39c12;
  padding-left: 5px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  color: #f39c12;
}

.footer-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.footer-social-link:hover .footer-icon {
  filter: brightness(0) saturate(100%) invert(71%) sepia(92%) saturate(2581%) hue-rotate(9deg) brightness(101%) contrast(96%);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.95);
  padding: 15px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #999;
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 15px;
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
  }
  
  .footer-contact p {
    font-size: 0.85rem;
  }
  
  .footer-links a {
    font-size: 0.85rem;
  }
  
  .footer-social-link {
    font-size: 0.85rem;
  }
  
  .footer-icon {
    width: 16px;
    height: 16px;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
  }
}

/* Festival Page Styles */
.festival-page {
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.festival-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 20px 15px 0 15px;
}

.festival-card {
  display: block;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.festival-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.festival-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  display: block;
  transition: transform 0.3s ease;
}

.festival-card:hover .festival-image {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .festival-page {
    padding: 0;
  }
  
  .festival-grid {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    margin: 20px 5px 0 5px !important;
    padding: 0 !important;
    width: calc(100% - 10px) !important;
    max-width: none !important;
  }
  
  .festival-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 20px auto !important;
    display: block !important;
    height: auto !important;
    min-height: 250px !important;
    box-sizing: border-box !important;
  }
  
  .festival-image {
    width: 100% !important;
    height: auto !important;
    max-height: 350px !important;
    min-height: 250px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Oyunlar Page Styles */
.oyunlar-page {
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.oyun-listesi {
  margin: 20px 15px 0 15px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.oyun-listesi h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: #f39c12;
}

.oyun-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 4px solid #f39c12;
  transition: all 0.3s ease;
}

.oyun-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.oyun-ad {
  font-size: 1.1rem;
  color: #ddd;
  font-weight: 500;
}

.oyun-yil {
  font-size: 1rem;
  color: #f39c12;
  font-weight: 600;
}

.gallery {
  margin: 20px 15px 0 15px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: #f39c12;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(0.95);
  object-fit: contain;
}

@media (max-width: 768px) {
  .oyunlar-page {
    padding: 0;
  }
  
  .oyun-listesi {
    margin: 20px 15px 0 15px;
    padding: 15px;
  }
  
  .oyun-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .oyun-ad {
    font-size: 1rem;
  }
  
  .oyun-yil {
    font-size: 0.9rem;
  }
  
  .gallery {
    margin: 20px 15px 0 15px;
    padding: 15px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .gallery-item img {
    height: 150px;
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-counter {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 18px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 25px;
  z-index: 10000;
  letter-spacing: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: #f39c12;
  background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
  color: white;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  pointer-events: all;
  user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.6);
  color: #f39c12;
  transform: scale(1.1);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes loading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    font-size: 30px;
    padding: 15px;
  }
  
  .lightbox-counter {
    top: 10px;
    font-size: 14px;
    padding: 8px 15px;
    letter-spacing: 1px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 30px;
    width: 40px;
    height: 40px;
  }
}

