/* Genel ayarlar */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f4f4f4;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background-color: #000;
  color: white;
  text-align: center;
}

/* Logo container ve çerçeve düzeni */
.logo-frame-wrapper {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.logo-container {
position: absolute;
top: 20px;
left: 20px;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
}

.logo-frame {
position: absolute;
width: 120px;
height: 120px;
border: 3px solid rgb(255, 255, 255);
border-radius: 20px;
box-shadow: 0 0 10px hsla(0, 0%, 100%, 0.568);
background-color: rgba(255, 255, 255, 0.5); /* burası logonun arkasına yarı saydam fon */
z-index: 1;
}

.logo-container img {
position: relative;
z-index: 2;
}


.hero .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}




.hero h1 {
  font-size: 3rem;
  margin: 0;
}

.hero .buttons {
  margin-top: 20px;
}

.hero .btn {
  padding: 10px 20px;
  background-color: #f4c542;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  margin: 10px;
}

.hero .btn-alt {
  background-color: #444;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -230px;
  width: 230px;
  height: 100%;
  background-color: #333;
  transition: right 0.3s ease-in-out;
  z-index: 9;
}

.sidebar.open {
  right: 0;
}

.sidebar-header {
  padding: 10px;
  background-color: #444;
  color: white;
  height: 50px;
}

.sidebar-search {
  width: 100%; /* ya da belli bir genişlik, örneğin 200px */
  display: flex;
  justify-content: center;
  padding-top: 65px;
}


.sidebar-search input {
  width: 90%;
  margin: 5px auto;
  padding: 10px;
  border: none;
  border-radius: 5px;
}

.sidebar a {
  display: block;
  padding:20px;
  color: white;
  background-color: #444;
  text-align: center;
  transition: background-color 0.3s;
}

.sidebar a:hover {
  background-color: #f4c542;
}

/* Sidebar Footer */
.sidebar-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #444;
  padding: 10px;
  text-align: center;
}

.sidebar-footer .sidebar-footer-social {
  display: flex;
  justify-content: space-around; /* İkonları yan yana yerleştiriyoruz */
  align-items: center; /* Yatayda ortalıyoruz */
  gap: 10px; /* İkonlar arasındaki boşluğu azaltıyoruz */
}

.sidebar-footer .sidebar-footer-social .icon {
  font-size: 1.2rem; /* İkon boyutunu küçültüyoruz */
  color: white;
  transition: color 0.3s ease;
  padding: 5px; /* İkonlar arasındaki boşluk */
}

.sidebar-footer .sidebar-footer-social .icon:hover {
  color: #f4c542; /* Hover efekti */
}




/* Main Content */
main {
  padding: 50px 10%;
}

section {
  margin-bottom: 50px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  padding: 10px;
  background-color: #f4c542;
  margin: 5px 0;
}

form input,
form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  padding: 10px 20px;
  background-color: #f4c542;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

form button:hover {
  background-color: #444;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 30px 0;
}

/* Footer container düzenlemesi */
.footer-container {
  display: flex;
  justify-content: space-between;
  padding: 0 10%;
  flex-wrap: wrap; /* Ekran küçüldüğünde elemanlar alt alta geçsin */
}

/* Sol menü */
.footer-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px; /* Menü öğeleri arasına boşluk ekler */
}

.footer-nav a {
  color: white;
  margin: 5px 0;
  text-align: left;
}

/* Ortadaki logo ve slogan */
.footer-center {
  flex: 1;
  text-align: center;
}

.footer-logo {
  width: 120px; /* Logo genişliğini ayarlayabilirsiniz */
  height: auto;
}

.footer-slogan {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Sağdaki sosyal medya ikonları */
.footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.footer-social a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #f4c542; /* Hover efektinde renk değişimi */
}

/* Alt kısım */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
}

.footer-bottom p {
  margin: 5px 0;
}

/* Scroll Top Butonunu Sağ Alt Köşeye Yerleştirme */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #f4c542;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.scroll-top:hover {
  transform: scale(1.1); /* Hover efektiyle butonu büyütme */
}

.scroll-top svg {
  fill: white;
}


/* Ürün görselleri galerisi için stil */
#gallery {
  padding: 20px;
  text-align: center; /* Başlık ve galeri ortalanır */
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Esnek grid yapısı */
  gap: 15px; /* Görseller arasındaki boşluk */
  justify-items: center; /* Görselleri ortalar */
  padding: 20px;
}

.gallery img {
  width: 100%;  /* Görselin bulunduğu alanı tamamen doldurur */
  max-width: 300px; /* Görselin genişliğini 300px ile sınırlar */
  height: auto; /* Yüksekliği orantılı olarak ayarlar */
  object-fit: cover; /* Görselin kutuyu kaplayacak şekilde kesilmesini sağlar */
  border-radius: 8px; /* Görsellerin köşelerini yuvarlatır */
  transition: transform 0.3s ease;  /* Efekt için geçiş süresi ekler */
}

.gallery img:hover {
  transform: scale(1.05);  /* Görsel üzerine gelindiğinde büyütme efekti */
}

/* Lang Switcher - Sağ Üst Köşeye Yerleştirme */
.hero .lang-switcher {
  position: fixed;
  top: 20px;   /* Üstten 20px mesafe */
  right: 20px; /* Sağdan 20px mesafe */
  display: flex;
  gap: 10px;   /* Butonlar arasındaki boşluk */
  z-index: 9999;
}

.hero .lang-switcher button {
  background-color: transparent;
  border: 1px solid #fff;
  color: white;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.hero .lang-switcher button:hover {
  background-color: #f4c542;
}



.sidebar-toggle {
  font-size: 1.8rem;
  border: none;
}


/* Sidebar'ın dışındaki alanı karartacak overlay */
.overlay.active {
  display: block;
  opacity: 0.2; /* Hafif karartma */
  pointer-events: auto; /* Tıklanabilir alan yapmak için */
}

/* Normalde overlay gizli */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* Hafif karartma */
  display: none;
  z-index: 8; /* Sidebar'dan önce ama daha az öncelikli */
  pointer-events: auto;
}

/* Sidebar Açıldığında */
.sidebar.open {
  transform: translateX(0);
  transition: transform 0.3s ease-in-out;
  z-index: 9; /* Sidebar'ı overlay'in üstünde tutuyoruz */
}


.overlay-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 8;
  display: none;
}

.sidebar.open ~ .overlay-screen {
  display: block;
}








