* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cocogoose-Pro-Regular-trial.ttf', sans-serif;
  color: #1a1a1a;
  background-color: #fff;
}
header {
  background: #fff;
  opacity: 0.8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  display: inline-block;
  width: 220px; /* Logo genişliği */
  height: 70px; /* Logo yüksekliği */
  background: url('/image/logo.png') center/cover no-repeat;
  text-indent: -9999px; /* Metni ekran dışına taşı */
  overflow: hidden; /* Taşan metni gizle */
}

.logo a {
  display: block;
  width: 100%;
  height: 100%;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #ff9800;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* Mobil Menü */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 70px;
  right: 30px;
  width: 200px;
  border: 1px solid #eee;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border-radius: 6px;
  overflow: hidden;
}

.mobile-menu a {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.mobile-menu a:hover {
  background: #f7f7f7;
}

@media(max-width: 768px) {
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #111;
  letter-spacing: 1px;
}


.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: #222;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card h3 {
  font-size: 20px;
  padding: 20px;
  background: #fff;
  margin: 0;
}

@media (max-width: 768px) {
  .category-card img {
    height: 160px;
  }
}




/* Yeni eklenen stiller */
.mobile-header-right {
  display: none;
  align-items: center;
  gap: 15px;
  }
  
  @media(max-width: 768px) {
  .mobile-header-right {
      display: flex;
  }
  
  /* Mobildeki dil seçiciyi düzenle */
  .mobile-language .lang-icon {
      font-size: 23px;
      padding: 6px 10px;
      background: transparent;
      border-radius: 6px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 25px;
  }
  
  .mobile-language .lang-dropdown {
    display: none;
      position: absolute;
      left: 0;
      top: 100%;
      transform: translateX(-50%); /* Sola doğru hizala */
      background-color: white;
      border: 1px solid #ccc;
      border-radius: 6px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      z-index: 1000;
      min-width: 140px;
      margin-top: 5px;
  }
  
  /* Mobil menüdeki dil seçiciyi gizle */
  .mobile-menu .language-selector {
      display: none;
  }
  }

  .language-selector {
    position: relative;
    display: flex;
    align-items: center; /* DİKEY ORTALAMA */
    margin-left: 20px;
    }
    
    .lang-icon {
    font-size: 18px;
    padding: 6px 10px;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    }
    .lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 140px;
    }
    
    .lang-dropdown div {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    }
    
    .lang-dropdown div:last-child {
    border-bottom: none;
    }
    
    .lang-dropdown div:hover {
    background-color: #f5f5f5;
    }
    
    .mobile-language {
    margin-top: 10px;
    margin-left: 15px;
    align-items: flex-start;
    }
    .mobile-language .lang-dropdown {
    top: 35px;
    left: 0;
    }
  