:root {
  --yellow: #f7c600;
  --black: #111;
  --bg: #0b0b0b;
  --muted: #f3f3f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg), #0f0f0f);
  color: var(--muted);
  min-height: 100vh;
}

/* Üst başlık */
header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.1));
  border-bottom: 4px solid rgba(247,198,0,0.06);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.photo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex: 0 0 56px;
  border: 2px solid rgba(247,198,0,0.14);
  background: linear-gradient(180deg, #222, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 100px;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.subtitle {
  font-size: 12px;
  color: #bdbdbd;
}

/* Sayfa düzeni */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 16px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}

/* Ana içerik */
.main-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.15));
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.03);
}

h1 {
  margin: 0 0 12px 0;
  font-size: 28px;
  color: var(--yellow);
}

p.lead {
  margin: 0 0 18px 0;
  color: #dcdcdc;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.project {
  background: #0b0b0b;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.03);
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s;
}

.project:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.project h3 {
  margin: 0 0 6px 0;
  color: var(--yellow);
  font-size: 16px;
}

.project p {
  margin: 0;
  font-size: 13px;
  color: #cfcfcf;
}

/* Sağ kenar */
aside {
  position: relative;
}

.sidebar {
  background: linear-gradient(180deg, #0b0b0b, #0f0f0f);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.02);
}

.sidebar h4 {
  margin: 0 0 10px 0;
  color: var(--yellow);
  font-size: 14px;
}

.sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar li {
  margin-bottom: 8px;
}

.link {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.01);
  transition: background 0.2s ease;
}

.link:hover {
  background: rgba(247,198,0,0.15);
}

hr {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.05);
  margin: 12px 0;
}

.info {
  font-size: 13px;
  color: #cfcfcf;
}

.yellow {
  color: var(--yellow);
}

.black-bg {
  color: var(--black);
  background: var(--yellow);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Detay sayfası */
.page {
  display: none;
}
.page.active {
  display: block;
}

.detail {
  padding: 14px;
  background: linear-gradient(180deg, #0b0b0b, #0f0f0f);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.03);
}

.detail h2 {
  color: var(--yellow);
}

.back {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  color: var(--yellow);
  transition: background 0.2s ease;
}

.back:hover {
  background: rgba(247,198,0,0.15);
}

.detail-box {
  margin-top: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  color: #e7e7e7;
}

/* Responsive */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .photo-placeholder {
    width: 46px;
    height: 46px;
  }
  .container {
    padding: 12px;
  }
}
