* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  transition: background-color 0.5s, color 0.5s;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: rgba(255,255,255,0.7);
  position: absolute;
  width: 100%;
  z-index: 10;
}
.navbar .logo {
  font-size: 24px;
  font-weight: bold;
}
.navbar .logo span {
  font-style: italic;
}
.menu a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.right-icons button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  color: #000;
  background-color: rgba(255, 255, 255, 0.5); /* açık mod için zemin */
  backdrop-filter: blur(6px); /* cam efekti */
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  z-index: 1;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px rgba(0,0,0,0.2);

}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.hero-content input {
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  width: 300px;
}

/* Dark mode */
body.dark-mode {
  background-color: rgba(0, 0, 0, 0.5); /* koyu mod zemin */
  color: #fff;
}
body.dark-mode .menu a {
  color: #eee;
}
body.dark-mode .navbar {
  background-color: rgba(20,20,20,0.7);
}
.social-media-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.social-box {
    display: flex; /* Flexbox'ı hala kullanıyoruz ama hizalama için değil */
    align-items: center;
    justify-content: flex-end; /* İkonu sağa yaslamak için */
    width: 50px; /* Başlangıç genişliği */
    height: 50px;
    background-color: #333;
    color: white;
    text-decoration: none;
    margin-bottom: 5px;
    transition: width 0.3s ease; /* Sadece genişlik animasyonu */
    overflow: hidden;
    position: relative; /* Mutlak konumlandırma için gerekli */
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.social-box i {
    font-size: 24px;
    /* İkonu sağa sabitlemek için genişlik ve merkezleme */
    min-width: 50px;
    text-align: center;
    transition: color 0.3s ease; /* Renk geçişi (isteğe bağlı) */
    position: absolute; /* Mutlak konuma al */
    right: 0; /* Sağ kenara sabitle */
    top: 50%; /* Dikeyde ortala */
    transform: translateY(-50%); /* Dikey ortalamayı tamamla */
    padding: 0 13px; /* İç boşluklar */
}

.social-text {
    position: absolute; /* Metni mutlak konuma al */
    right: 60px; /* İkonun solunda başlasın */
    top: 50%;
    transform: translateY(-50%);
    opacity: 0; /* Başlangıçta gizli */
    transition: opacity 0.3s ease; /* Sadece opaklık animasyonu */
    white-space: nowrap;
    pointer-events: none; /* Metnin hover'ı engellemesini önle */
}

.social-box:hover {
    width: 250px; /* Genişliği artır */
}

/* ÖNEMLİ: Hover durumunda ikonun rengini değiştirebiliriz ama pozisyonunu değil */
.social-box:hover i {
    /* İsterseniz renk değişimi ekleyebilirsiniz */
    /* color: #fff; */
}

.social-box:hover .social-text {
    opacity: 1; /* Metni görünür yap */
    pointer-events: auto; /* Tıklanabilir yap (isteğe bağlı) */
}

/* Farklı Sosyal Medya Renkleri */
.facebook { background-color: #3b5998; }
.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.telegram { background-color: #0088cc; }
.whatsapp { background-color: #25d366; }


.galeri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px;
}

.galeri-kart {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.galeri-kart img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.galeri-kart:hover img {
  transform: scale(1.07);
}

/* Başlık kutusu */
.galeri-baslik {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: bold;
  color: #111;
  z-index: 2;
}

body.dark-mode .galeri-baslik {
  background: rgba(0,0,0,0.5);
  color: #fff;
}



.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 320px;
  background-color: #2b2b2b;
  color: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 9999;
  font-size: 14px;
  display: none;
  animation: slideUp 0.4s ease-out;
}

.cookie-popup button {
  background-color: #00b894;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.theme-toggle {
  width: 80px;
  height: 40px;
  background: #ddd;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
  z-index: 10;
  margin-left: 20px; /* Menüden ayrıştır */
  position: relative; /* absolute yerine relative */
}

.theme-toggle .toggle-icons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  z-index: 2;
  font-size: 16px;
  color: #888;
}

.theme-toggle .toggle-thumb {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 30px;
  height: 30px;
  background: orange;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 1;
}

/* Dark Mode aktifken sağa kaydır */
body.dark-mode .toggle-thumb {
  left: 45px;
  background: #444;
}

body.dark-mode .theme-toggle {
  background: #222;
}

body.dark-mode .toggle-icons .fa-moon {
  color: #fff;
}
body:not(.dark-mode) .toggle-icons .fa-sun {
  color: #ffb100;
}

.hero {
  background-image: url("../img/daylightcurtain.jpg");
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease-in-out;
}

body.dark-mode .hero {
  background-image: url("../img/perde-gece.jpg");
}

.site-footer {
  background: linear-gradient(to right, #e0e0e0, #f5f5f5);
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #333;
  border-top: 1px solid #ccc;
  box-shadow: inset 0 1px 5px rgba(0,0,0,0.1);
}

body.dark-mode .site-footer {
  background: #111;
  color: #ccc;
  border-top: 1px solid #333;
}
