/* ================= 1. GENEL RESET VE TEMEL AYARLAR ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100%;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #ffffff;
  color: #000000;
  overflow-x: hidden;
}

/* ================= 2. NAVBAR (ÜST MENÜ) ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  z-index: 1000; /* Her zaman üstte */
}

.nav-left img {
  height: 40px;
  cursor: pointer;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-icon {
  font-size: 20px;
  cursor: pointer;
  color: #000;
  transition: 0.3s;
}

.nav-icon:hover {
  color: #e60000;
}

/* ================= 3. HAMBURGER İKONU ================= */
.hamburger {
  width: 25px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  transition: 0.3s;
}

/* ================= 4. YAN MENÜ (SIDE MENU) ================= */
.side-menu {
  position: fixed;
  top: 64px; /* Navbar'ın hemen altından başlar */
  right: -280px; /* Başlangıçta gizli (sağda) */
  width: 260px;
  height: calc(100vh - 64px);
  background: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  border-left: 1px solid #eee;
  box-shadow: -5px 5px 15px rgba(0,0,0,0.05);
}

/* Hamburger menü tıklandığında gelecek class */
.side-menu.open {
  right: 0 !important;
}

.side-menu a {
  color: #000;
  text-decoration: none;
  font-size: 17px;
  padding: 12px 15px;
  border-radius: 8px;
  transition: 0.3s;
  font-weight: 500;
}

.side-menu a:hover {
  background: #f5f5f5;
  color: #e60000;
}

/* ================= 5. BANNERLAR (ANA İÇERİK) ================= */
main {
  margin-top: 100px; /* Navbar altında kalmasın diye */
  padding: 0 20px 60px;
}

.hero-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eee;
  line-height: 0; /* Alttaki hayalet gri boşluğu siler */
  transition: 0.4s;
}

.hero-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= 6. SEPET PANELİ (DRAWER) ================= */
/* Sepet şu an bozuk dedin ama iskeleti burada hazır dursun */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -350px;
  width: 320px;
  height: 100%;
  background: #ffffff;
  z-index: 2000; /* En üstte */
  transition: 0.4s;
  border-left: 1px solid #eee;
  padding: 24px;
}

.cart-sidebar.open {
  right: 0 !important;
}

/* ================= 7. FOOTER ================= */
.footer {
  padding: 50px 20px;
  background: #ffffff;
  border-top: 1px solid #eee;
  text-align: center;
}

.socials a {
  color: #000;
  font-size: 24px;
  margin: 0 15px;
  transition: 0.3s;
}

.socials a:hover {
  color: #e60000;
}
