body {
  background: url("../img/wood-bg.png") center/cover fixed;
  font-family: "Segoe UI", sans-serif;
}

/* Sidebar */
.sidebar {
  width: 260px;
  min-height: 100vh;
  background: url("../img/wood-dark.png") center/cover;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
}
.sidebar-overlay {
  width: 100%;
  padding: 0; /* ❌ padding yok */
  margin: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.sign-wrap {
  width: 230px;
  margin: 0; /* ❌ margin yok */
  padding: 0;

  display: flex;
  justify-content: center;

  transform-origin: top center;
  animation: swing 4s ease-in-out infinite;
}

.wood-sign-item {
  width: 200px;
  height: 105px;
  background: url("../img/wooden.png") center/cover no-repeat;
  position: relative;
}

@keyframes swing {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(1.2deg);
  }

  50% {
    transform: rotate(0deg);
  }

  80% {
    transform: rotate(-1.2deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.sign-wrap:hover {
  animation-duration: 1.2s;
}

.wood-sign-item:hover {
  transform: rotate(1deg) translateX(4px);
}

.wood-sign-item a {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);

  color: #2b1d12;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

/* Content */
.content {
  position: relative;
  margin-left: 260px;
  padding: 80px 60px;
  background: rgba(255, 255, 255, 0.88);
  min-height: 100vh;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.1);
}

section {
  margin-bottom: 160px;
}

h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

.sign-wrap {
  position: relative;
  width: 230px;
  /* margin-bottom: 30px; */
  transform-origin: top center;
  animation: swing 4s ease-in-out infinite;
}

.music-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
}

#about{
  padding-right: 250px;
}

.profile-photo {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 6px;

  background: linear-gradient(145deg, #e6d3b1, #b0895a);

  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35),
    inset 0 0 6px rgba(255, 255, 255, 0.6);

  z-index: 1000;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #5a3e1b;
}

.profile-photo:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .profile-photo {
    width: 90px;
    height: 90px;
    top: 10px;
    right: 10px;
  }
}

.profile-photo {
  background-image: url("assets/img/wood-frame.jpg");
  background-size: cover;
}

/* ===========================
   TABLET (≤ 992px)
=========================== */
@media (max-width: 992px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 999;
    width: 200px;
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .content {
    margin-left: 200px;
    padding: 50px 30px;
  }
  .mobile-menu-btn {
    display: block;
    position: fixed;
    top: 15px;
    left: 15px;
    background: transparent;
    border: none;
    padding: 6px;
    z-index: 3000;
    font-size: 28px;
    cursor: pointer;
    color: #0c9e1bff;

  }

  .mobile-menu-btn i {
    color: #0c9e1bff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  }

  .mobile-menu-btn:hover i {
    transform: scale(1.1);
    color: #7a4f23;
  }

  .sidebar-overlay {
    gap: 18px; /* biraz daha sık */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
  }

  .sign-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    animation: none;
  }

  .wood-sign-item {
    width: 200px;
    height: 100px;
  }
  .wood-sign-item a {
    font-size: 10px;
  }
  .rope {
    height: 30px;
  }
  .profile-photo {
    position: relative;
    top: 0;
    right: 0;
    display: block;
    margin: 0 auto 30px;
    width: 140px;
    height: 140px;
  }
}

/* ===========================
   MOBILE (≤ 768px)
=========================== */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  /* Sidebar -> hidden */
  .sidebar {
    width: 120px;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 999;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  /* Content full width */
  .content {
    margin-left: 0;
    padding: 90px 20px 40px;
  }

  /* Mobile menu button */
  .mobile-menu-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: transparent;
    /* ❌ arka plan yok */
    border: none;
    z-index: 3000;
    font-size: 28px;
    cursor: pointer;
  }

  .mobile-menu-btn i {
    color: #0c9e1bff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, color 0.2s ease;
  }

  /* Hover / touch hissi */
  .mobile-menu-btn:hover i {
    transform: scale(1.1);
    color: #7a4f23;
  }

  .sidebar-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:0;
    padding-top: 50px;
  }

  .sign-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .wood-sign-item {
    position: relative;
    left: 0; /* ✅ reset */
    top: 0; /* ✅ reset */
    width: 170px;
    height: 90px;
    transform: none;
  }
  /* Signs stacked nicely */
  /* .sign-wrap {
    animation: none;
    margin-bottom: 25px;
  }

  .wood-sign-item {
    top: 50px;
    left: 25px;
    width: 150px;
    height: 80px;
    margin: 0 auto;
  } */
  .wood-sign-item a {
    font-size: 7px;
  }
  #about{
    padding-right: 0;
  }

  /* Profile photo reposition */
  .profile-photo {
    position: relative;
    margin: 0 auto 30px;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
  }

  /* Music toggle */
  .music-toggle {
    bottom: 15px;
    right: 15px;
  }
}
