/* VSCode Live Preview için geliştirici modu */
/* Bu kurallar live reload sırasında lightbox'ın kapanmasını engeller */
.dev-mode .lightbox {
  position: fixed !important;
  z-index: 9999 !important;
  pointer-events: all !important;
}

.dev-mode .lightbox.active {
  display: flex !important;
  opacity: 1 !important;
}

/* Sayfa genel arka plan ayarları */
body {
  background-image: url('bg.gallery/background1.jpg');
  background-size: cover;

}

html,body {
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
/* Sayfa başlığı stili */
header {
    border-radius: 10px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 25px;
    padding: 1px;
    margin-bottom: 1px;
}

/* Navigasyon başlığı ayarları */
nav h1 {
    margin: 0;
    padding: 10px;
    font-size: 30px;
    
}

/* Ana navigasyon menüsü */
nav {
    background-color: #36827F;
    width: 50%;
    margin: auto ;
    padding: 10px;
    border-radius: 80px;
    box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.555);
}
nav ul {
    gap: 30px;
    list-style: none;
    padding: 0px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0%;
    flex-wrap: wrap;
}

nav li {
   
    display: inline;
    color: white;
    margin: 0px;
}

nav a   {
    display: inline-block;
    text-decoration: none;
    color: white;
    line-height: 1;
    font-size: 20px;
    padding: 10px 30px;
}

nav a.active {
    background-color: rgb(247, 232, 205);
    border-radius: 50px;
    padding: 10px 30px;
    color: rgb(22, 6, 36);
    
}

nav a:hover {
    background-color: rgba(226, 210, 210, 0.11);
    border-radius: 100px;
    padding: 10px 30px;
}

/* buradan sonrasıyla alakam yok. biraz incelmek gerek */
/* Sub-navbar wrapper için ortalama */
.sub-navbar-wrapper {
        text-align: center;
        width: 100%;
        margin: 20px 0;
      }

/* Alt navigasyon çubuğu stilleri */
.sub-navbar {
        background-color: #cf853f;
        margin: 0 auto;
        text-align: center;
        font-size: 15px;
        width: auto;
        min-width: 120px;
        max-width: 80%;
        padding: 10px 20px;
        border-radius: 20px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
        display: inline-block;
      }
      
      /* Alt navigasyon liste ayarları */
      .sub-navbar ul {
        
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        gap: 30px;
      }
      
      /* Alt navigasyon liste öğesi */
      .sub-navbar li {
        display: inline-block;
      }
      
      /* Alt navigasyon linkleri */
      .sub-navbar a {
        text-decoration: none;
        color: #ffffff;
        padding: 8px 16px;
        border-radius: 4px;
        transition: all 0.3s ease;
      }
      
      /* Alt navigasyon hover efekti */
      .sub-navbar a:hover {
        background-color: rgba(73, 59, 59, 0.425);
        color: white;
      }
      
      /* Alt navigasyon aktif link */
      .sub-navbar a.active {
        background-color: rgba(247, 232, 205);
        color: rgb(0, 0, 0);
      }
/* Kategori içerikleri için stiller */
/* Ana içerik alanı */
#content-area {
  max-width: 1300px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff17588;
  border-radius: 10px;
  box-shadow: 0px 10px 1px rgba(0, 0, 0, 0.1);
  overflow: visible;
  transition: max-width 0.3s ease;
}

/* Travel bölümü için dar genişlik */
#content-area.travel-mode {
  max-width: 1300px;
}

/* Kategori içerik stili */
.category-content {
  padding: 20px;
  line-height: 1.0;
}

/* Kategori ana başlığı */
.category-content h2 {
  color: #333;
  border-bottom: 2px solid #92055260;
  padding-bottom: 10px;
  margin-top: 1px;
}

/* Kategori paragraf stili */
.category-content p {
  color: #000000;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0.1%;
}
      
      /* Kategori alt başlığı */
      .category-content h3 {
        color: #333;
        margin-top: 25px;
        margin-bottom: 15px;
        border-bottom: 2px solid #92055260;
        padding-bottom: 5px;
      }
      
      /* Kategori resim stili */
      a.contact-button {
        color: white;
        padding: 13px 20px;
        border-radius: 5px;
        cursor:pointer;
        font-size: 17px;
        margin-right: 10px;
        text-decoration: none;
        transition: all 0.3s ease;
      }
      
      a.contact-button:hover {
        background-color: rgb(8, 154, 20);
        transition: all 0.3s ease;
        color: rgb(255, 255, 255);
        transform: scale(1.1);
      }

/* Geri dönüş butonu */
.back-to-albums {
  background-color: #36827F;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.back-to-albums:hover {
  background-color: #2a6663;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.back-to-albums:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Fotoğraf Albüm Galerisi Stilleri */
.photo-albums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  padding: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Albüm kartı stili */
.album-card {
  width: 100%;
  max-width: 380px;
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.album-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Albüm kapak resmi */
.album-cover {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  border-bottom: 3px solid #36827F;
  background: transparent;
}

/* Albüm bilgi alanı */
.album-info {
  padding: 20px;
  text-align: center;
  line-height: 1.5;
}

.album-title {
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.album-description {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

.photo-count {
  font-size: 14px;
  color: #36827F;
  font-weight: bold;
}

/* Lightbox - Fotoğraf görüntüleyicisi */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

/* Lightbox içerik konteyneri */
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
  padding: 0 50px;
}

/* Lightbox resmi */
.lightbox-image {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

/* Fotoğraf açıklaması */
.photo-caption {
  background-color: rgb(202, 202, 202);
  color: #333;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1.6;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.photo-title {
  font-size: 24px;
  font-weight: bold;
  color: #36827F;
}

/* Navigasyon okları */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  border: none;
  font-size: 24px;
  padding: 12px 16px;
  border-radius: 50px;
  cursor: pointer;
  color: #ffffff;
  z-index: 1002;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.1s ease;
}

.nav-arrow:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Loading indicator */
.loading-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  font-size: 24px;
  color: white;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.loading-indicator::after {
  content: '';
  width: 40px;
  height: 40px;
  margin-left: 10px;
  border: 4px solid #36827F;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.prev-arrow {
  left: 10px;
}

.next-arrow {
  right: 10px;
}

/* Kapatma butonu */
.close-lightbox {
  position: absolute;
  top: -15px;
  right: 77px;
  background-color: rgba(0, 0, 0, 0.9);
  border: none;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.close-lightbox:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* Küçük fotoğraf önizleme gridi */
.photo-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin: 20px 0;
  padding: 15px;
}

.thumbnail {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: #36827F;
}

/* Responsive tasarım */
@media (max-width: 768px) {
  .photo-albums {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 10px;
    padding: 5px;
  }
  
  .album-card {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
  
  .album-cover {
    height: 140px;
    object-fit: contain;
    object-position: center;
    background: transparent;
  }
  
  .album-info {
    padding: 8px;
  }
  
  .album-title {
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  .album-description {
    font-size: 12px;
    line-height: 1.3;
  }
  
  .photo-count {
    font-size: 11px;
  }
  
  .nav-arrow {
    font-size: 20px;
    padding: 10px 14px;
  }
  
  .prev-arrow {
    left: 5px;
  }
  
  .next-arrow {
    right: 5px;
  }
  
  .photo-thumbnails {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }
  
  .thumbnail {
    height: 120px;
  }
  
  .close-lightbox {
    top: -15px;
    right: 55px;
    font-size: 15px;
    padding: 10px 14px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.9);
  }
}

/* Blog Link Card Stilleri */
.link-card {
  display: flex;
  background-color: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  margin: 10px 0 -10px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 1260px;
}

.link-card-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  flex-shrink: 0;
}

.link-card-content {
  padding: 20px;
  flex: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.link-card-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.link-card-description {
  font-size: 15px;
  color: #666;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 12px;
  margin-top: 8px;
}

.link-card-domain {
  font-size: 12px;
  color: #999;
  font-weight: 500;
}

/* Mobil responsive */
@media (max-width: 768px) {
  .link-card {
    flex-direction: column;
    max-width: 100%;
    margin-bottom: 16px;
  }
  
  .link-card-image {
    width: 100%;
    height: 100px;
    object-fit: contain;
  }

  body {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Mobil navbar küçültme */
@media (max-width: 768px) {
  nav {
    width: 90%;
    padding: 8px;
  }
  
  nav ul {
    gap: 15px;
  }
  
  nav a {
    font-size: 16px;
    padding: 8px 20px;
  }
  
  nav a.active {
    padding: 8px 20px;
  }
  
  nav a:hover {
    padding: 8px 20px;
  }
  
  header {
    font-size: 20px;
  }
}