@import url('css/satoshi.css');

:root {
  --bg-main: #ffffff;
  --text-main: #111111;
  --accent: #ff4d5a;
  --accent-light: #ff7b86;
}

body {
  font-family: 'Satoshi-Regular', 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
  overflow-y: auto;
  cursor: none;
}

.panel {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 20px;
  text-align: center;
}

#hero {
  position: relative;
  height: 100vh;
  background: #f0f0f0;
}

#letter-container {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  text-align: center;
  max-width: 90vw;
}

#main-name-row {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

#sub-letter-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 20px;
}

#about {
  position: relative;
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  min-height: 600px;
}

canvas#shape-pool {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 600px !important;
  pointer-events: none;
  z-index: 0;
}

#projects {
  background: var(--bg-main);
}

#contact {
  background: #f6f6f6;
  min-height: auto;
  padding-top: 60px;
  padding-bottom: 80px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

#contact h2 {
  margin-bottom: 20px;
}

#contact p {
  margin-top: 0;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

p, a {
  font-size: 1.2rem;
  max-width: 600px;
  line-height: 1.6;
  color: var(--text-main);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

#contact a:hover {
  text-decoration: underline;
}

#circle-nav {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

#circle-nav a {
  position: relative;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #ccc;
  transition: background 0.3s, transform 0.3s;
  display: inline-block;
  cursor: pointer;
}

#circle-nav a::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
}

#circle-nav a.active,
#circle-nav a:hover {
  background: var(--accent);
  transform: scale(1.2);
}

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: rgba(255, 77, 90, 0.7);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, background 0.2s;
  z-index: 10000;
}

a:hover ~ #custom-cursor {
  background: var(--accent-light);
}

* {
  cursor: none !important;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 90%;
  max-width: 800px;
  margin-top: 30px;
  margin-bottom: 100px;
}

.project-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 24px 30px;
  border-radius: 15px;
  background: #f0f0f0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.project-entry:hover {
  background: #5ab9f0;
  transform: translateY(-5px);
}

.project-entry:hover h3,
.project-entry:hover p,
.project-entry:hover .tag {
  color: white;
}

.project-entry:hover .tag {
  background: rgba(255, 255, 255, 0.2);
}

.entry-content {
  flex: 1;
  text-align: left;
}

.entry-content h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.entry-content p {
  font-size: 1rem;
  margin: 0 0 15px 0;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: #ddd;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}

.entry-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  #letter-container {
    top: 28%;
  }

  .project-entry {
    flex-direction: column;
    align-items: flex-start;
  }

  .entry-img {
    width: 100%;
    height: auto;
    margin-top: 15px;
    border-radius: 10px;
  }

  .entry-content {
    width: 100%;
    text-align: left;
  }
}
