#topHeader {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px auto 0;
  padding: 15px;
  background-color: #1e1e1e;
  border-bottom: 1px solid #333;
  max-width: 1000px;
  border-radius: 8px 8px 0 0;
}

#topHeader button {
  background-color: #2b2b2b;
  color: #ccc;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

#topHeader button.active {
  background-color: #fab93c;
  color: #000;
}



/* GENEL */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #ddd;
}

#container {
  display: flex;
  max-width: 1000px;
  margin: 30px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 15px #000;
  background-color: #181818;
  flex-shrink: 0; /* container küçülmesin */
}

/* NAV STİLİ */
#container nav {
  width: 280px !important;
  height: 600px;
  background-color: #1a1a1a;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  overflow-y: auto;
  box-sizing: border-box;
  border-radius: 8px 0 0 8px;
  flex-shrink: 0; /* nav küçülmesin */
}

#container nav button {
  background: none;
  border: none;
  color: #e0d7bd;
  text-align: left;
  padding: 15px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.3s, color 0.3s;
  position: relative;

  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  border-bottom: 1px solid #382f23;
  flex-shrink: 0; /* buton küçülmesin */
}

#container nav button:last-child {
  border-bottom: none;
}

#container nav button:hover:not(.active) {
  background-color: #382f23;
  color: #f9a602;
}

#container nav button.active {
  background-color: #fab93c;
  color: #000;
}

#container nav button .icon {
  font-size: 20px;
  flex-shrink: 0;
  color: inherit;
}

#container nav button .text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-grow: 1;
  min-width: 0; /* overflow önleme için önemli */
}

#container nav button .title {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#container nav button .subtitle {
  font-size: 12px;
  color: #8b8573;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* İÇERİK ALANI */
#container main {
  flex-grow: 1.5;       /* Sağ içeriği genişlet */
  padding: 30px;
  background-color: #333333;  /* Koyu gri arka plan */
  color: #ddd;
  overflow-y: auto;
}

#container main section {
  display: none;
}

#container main section.active {
  display: block;
}

/* SAĞ İÇERİK BAŞLIĞI */
#container main h1 {
  position: relative;
  color: #fff;
  background: linear-gradient(90deg, #fab93c 0%, #f9a602 100%);
  width: 520px;          /* Sabit genişlik */
  height: 50px;          /* Sabit yükseklik */
  line-height: 50px;     /* Dikey ortalama */
  padding: 0 40px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(250, 185, 60, 0.7);
  text-transform: uppercase;
  user-select: none;
  border-top: 3px solid #fff8dc;
  border-bottom: 3px solid #fff8dc;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Yan çizgiler (üst çizgi hizasında, kutu dışına taşan dekorlar) */
#container main h1::before,
#container main h1::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 20px;
  height: 3px;
  background-color: #fff8dc;
  border-radius: 1px;
}

#container main h1::before {
  left: -28px;
}

#container main h1::after {
  right: -28px;
}

/* Alt başlık */
#container main h2 {
  color: #999;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 25px;
}

/* Paragraflar */
#container main p {
  line-height: 1.6;
  margin: 12px 0;
}

#container main p strong {
  font-weight: 700;
}

#container main p.highlight-red {
  color: #e74c3c;
  font-weight: 700;
}

#container main p.highlight-green {
  color: #27ae60;
  font-weight: 700;
}

/* Görseller */
#container main img {
  max-width: 100%;
  border: 2px solid #444;
  border-radius: 6px;
  margin: 20px 0;
}

/* Bilgi kutuları */
.info-box {
  background-color: #196a43;
  color: #c6e6c6;
  border-left: 4px solid #1ca45d;
  padding: 15px 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 13px;
}

.warning-box {
  background-color: #843b3b;
  color: #f2c9c9;
  border-left: 4px solid #cc5c5c;
  padding: 15px 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 13px;
}

/* Liste stilleri */
ul.custom-list {
  padding-left: 20px;
  color: #aaa;
  font-size: 14px;
  margin-bottom: 20px;
}

ul.custom-list li {
  margin-bottom: 6px;
}

#welcome {
  background-color: #fab93c; /* Sarı arka plan */
  border-radius: 8px;
  padding: 40px 30px;
  max-width: 600px;
  margin: 40px auto;
  color: #000; /* Yazı rengi siyah */
  box-shadow: 0 4px 10px rgba(250, 185, 60, 0.7);
  text-align: center; /* Metin ortalama */
  user-select: none;
}

#welcome h1 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 20px;
}

#welcome p {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

/* İkonu da ortalamak istersen */
#welcome .welcome-icon {
  font-size: 60px;
  margin-bottom: 20px;
  color: #000;
}

