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

html {
  height: 100%;
  font-family: "JetBrains Mono", "Fira Code", "Segoe UI", "Inter", sans-serif,
    monospace;
  background-color: #000;
  color: #f4f4f4;
}

body {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background-color: #000;
  /* cursor: url("https://cdn-icons-png.flaticon.com/512/4610/4610129.png"), auto; */
  cursor: url("./assets/cursor.png"), auto !important;
}

.custom-cursor {
  position: fixed;
  width: 13px;
  height: 13px;
  border: 3px solid rgb(255, 0, 0);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

/* Ana Düzen */
.container {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  width: 100%;
  flex-wrap: wrap;
}

/* Sol (Fotoğraf) Alan */
.left {
  width: 50%;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

/* Sağ (İçerik) Alan */
.right {
  width: 50%;
  padding: 3rem 4rem;
  scroll-behavior: smooth;
  background: #000;
}

section {
  margin-bottom: 3.5rem;
}

/* Giriş */
.intro h1 {
  font-size: 3rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.intro h2 {
  font-size: 1.4rem;
  color: #aaa;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.intro p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: #ccc;
}

.socials a {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.6rem 1.2rem;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.socials a:hover {
  background: #ccc;
}

/* Kartlar */
.card {
  background: #111;
  padding: 1rem 1.2rem;
  border-left: 4px solid #fff;
  margin-bottom: 1rem;
  border-radius: 8px;
  transition: border 0.3s ease;
}

.card:hover {
  border-left-color: #888;
}

ul {
  list-style: none;
  padding-left: 1rem;
}

ul li::before {
  content: "•";
  color: #fff;
  margin-right: 0.5rem;
}

footer {
  text-align: center;
  font-size: 0.85rem;
  color: #555;
  margin-top: 4rem;
}

/* Accordion */
#projelerim {
  margin-top: 2rem;
}

.accordion .card {
  margin-bottom: 1rem;
  background: #111;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border-left: 3px solid #444;
  transition: all 0.3s ease;
}

.accordion .card:hover {
  border-left-color: #888;
  background: #181818;
}

.accordion .toggle {
  background: none;
  border: none;
  color: #eee;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  transition: color 0.2s ease;
}

.accordion .toggle:hover {
  color: #fff;
}

.accordion .content {
  display: none;
  margin-top: 0.8rem;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 0.2rem;
}

.voting-box {
  text-align: center;
  margin-bottom: 1rem;
}

.voting-box button {
  background: #111;
  border: 1px solid #444;
  color: #fff;
  padding: 0.6rem 1.2rem;
  margin: 0 0.5rem;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.voting-box button:hover {
  background: #333;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 1024px) {
  .right {
    padding: 2rem 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .left,
  .right {
    width: 100%;
  }

  .left {
    height: 300px;
    position: relative;
  }

  .right {
    padding: 2rem 1.5rem;
  }

  .intro h1 {
    font-size: 2.5rem;
    text-align: center;
  }

  .intro h2,
  .intro p,
  .socials {
    text-align: center;
  }

  .socials a {
    margin: 0.5rem 0.4rem;
  }
}

@media (max-width: 480px) {
  .intro h1 {
    font-size: 2rem;
  }

  .intro h2 {
    font-size: 1.1rem;
  }

  .intro p {
    font-size: 0.95rem;
  }

  .socials a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .accordion .toggle {
    font-size: 1rem;
  }

  .card {
    padding: 0.8rem 1rem;
  }
}
