@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
  --bg-dark: #0a192f;
  --text-dark: #ccd6f6;
  --accent-dark: #64ffda;
  --secondary-dark: #8892b0;
  --spotlight-color: rgba(100,255,218,0.13);
  --x: 50vw;
  --y: 50vh;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-dark);
  background-image: radial-gradient(
    520px 360px at var(--x) var(--y),
    var(--spotlight-color),
    transparent 90%
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: background-position 0.12s, background-image 0.22s;
}

#preloader {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: #0a192f;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}
#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}
.loader-container {
  position: relative;
  width: 100px;
  height: 100px;
}
.hexagon {
  width: 100px;
  height: 100px;
  stroke: #64ffda;
  stroke-width: 3;
  fill: none;
  animation: drawHex 1s ease forwards;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}
@keyframes drawHex {
  to {
    stroke-dashoffset: 0;
  }
}
#preloader-k,
.loader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: #64ffda;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.6s cubic-bezier(.54,1.85,.31,.96);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}
#preloader .loader-logo {
  opacity: 1;
  animation: none;
}

.wrapper { display: flex; min-height: 100vh; align-items: flex-start; }

.sidebar {
  width: 330px;
  padding: 80px 50px 40px 60px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  z-index: 99;
}
.sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.profile-photo-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 18px auto;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.profile-photo-border {
  position: absolute;
  left: 18px;
  top: 34px;
  width: 224px;
  height: 224px;
  border-radius: 16px;
  border: 2.5px solid #64ffda;
  transition:
    left 0.35s cubic-bezier(.7,1.6,.2,.85),
    top 0.35s cubic-bezier(.7,1.6,.2,.85),
    border-color 0.22s;
  box-shadow: 0 0 26px 0 rgba(100,255,218,0.22);
  z-index: 1;
}
.profile-photo {
  width: 224px;
  height: 224px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  position: absolute;
  left: 0;
  top: 34px;
  filter: grayscale(9%) brightness(0.98) sepia(0.35) hue-rotate(120deg) saturate(1.3);
  transition:
    filter 0.35s cubic-bezier(.16,1.1,.37,.98),
    left 0.35s cubic-bezier(.7,1.6,.2,.85),
    top 0.35s cubic-bezier(.7,1.6,.2,.85),
    box-shadow 0.2s;
  box-shadow: 0 10px 34px 0 rgba(100,255,218,0.10), 0 2px 8px 0 rgba(0,0,0,0.11);
}
.profile-photo-wrapper:hover .profile-photo,
.profile-photo-wrapper:focus .profile-photo {
  filter: none;
  left: 0;
  top: 0;
  box-shadow: 0 10px 44px 0 rgba(100,255,218,0.19), 0 2px 12px 0 rgba(0,0,0,0.17);
}
.profile-photo-wrapper:hover .profile-photo-border,
.profile-photo-wrapper:focus .profile-photo-border {
  left: 0;
  top: 0;
  border-color: #36ffe1;
  box-shadow: 0 0 36px 0 rgba(100,255,218,0.26);
}

.name h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.name h2 { font-size: 1.1rem; color: var(--accent-dark); margin: 6px 0 12px; }
.name p { font-size: 0.95rem; color: var(--secondary-dark); }

.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav li { margin: 26px 0; position: relative; }
.side-nav a {
  text-decoration: none;
  font-size: 1rem;
  color: #8892b0;
  font-weight: 500;
  letter-spacing: 1px;
  padding-left: 52px;
  display: block;
  position: relative;
  opacity: 0.7;
  transition: color 0.24s, font-weight 0.24s, opacity 0.16s;
  cursor: pointer;
}
.side-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  width: 24px;
  background: #ccd6f6;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.18s;
}
.side-nav a.active {
  color: #ccd6f6;
  font-weight: 700;
  opacity: 1;
  letter-spacing: 1.2px;
  pointer-events: auto;
}
.side-nav a.active::before { opacity: 1; }
.side-nav a:not(.active):hover { color: #64ffda; opacity: 1; }

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 0px;
  align-items: center;
  margin-left: 55px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.social-icons img {
  width: 24px;
  height: 24px;
  filter: invert(100%);
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.main-content {
  flex: 1;
  padding: 80px 40px 40px 40px;
  max-width: 1100px;
  margin-left: 500px;
  min-width: 0;
}

.section { margin-bottom: 80px; }
.section-title {
  font-size: 1.3rem;
  color: #64ffda;
  margin-bottom: 24px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 8px;
  letter-spacing: 1px;
}

.experience-entry { margin-bottom: 52px; }
.experience-entry .date-range {
  font-size: 1.07rem;
  color: #a5b6d7;
  margin-bottom: 7px;
  font-weight: 600;
}
.experience-entry h4 {
  font-size: 1.25rem;
  margin-bottom: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.experience-entry p { font-size: 1.06rem; margin-bottom: 8px; color: #ccd6f6;}
.experience-entry strong { color: #64ffda; font-weight: 700; }
.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 13px;
  margin-bottom: 5px;
}
.experience-tag {
  background: rgba(100,255,218,0.13);
  color: #64ffda;
  border: 1.5px solid #36ffe1;
  font-size: 1.08rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 6px 18px;
  letter-spacing: 0.07em;
  margin-bottom: 2px;
  box-shadow: 0 2px 10px 0 rgba(100,255,218,0.08);
  transition: background 0.2s, color 0.2s, border 0.16s;
}
.experience-tag:hover {
  background: #64ffda;
  color: #0a192f;
  border-color: #fff;
}

.big-project-card {
  display: flex;
  gap: 32px;
  background: rgba(255,255,255,0.03);
  border: 1.8px solid #29354a;
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: 0 8px 40px 0 rgba(100,255,218,0.07);
  padding: 36px 36px;
  align-items: center;
  transition: box-shadow 0.22s, transform 0.18s, border-color 0.18s;
}
.big-project-card:hover {
  box-shadow: 0 12px 50px 0 rgba(100,255,218,0.17);
  transform: translateY(-3px) scale(1.01);
  border-color: #64ffda;
}
.big-card-media iframe {
  width: 340px;
  height: 192px;
  border-radius: 14px;
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.13);
  background: #090d18;
}
.big-card-body {
  display: flex;
  flex-direction: column;
}
.big-card-title {
  font-size: 1.3rem;
  color: #ccd6f6;
  margin-bottom: 10px;
  font-weight: 700;
}
.big-card-desc {
  font-size: 1.07rem;
  color: #a5b6d7;
  margin-bottom: 14px;
}
.tags { margin-bottom: 10px; }
.tags span {
  display: inline-block;
  background: #182234;
  color: #64ffda;
  font-size: 0.93rem;
  padding: 4px 10px;
  border-radius: 5px;
  margin-right: 7px;
}
.project-btn {
  display: inline-block;
  margin-right: 8px;
  color: #64ffda;
  background: rgba(100,255,218,0.13);
  padding: 7px 19px;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.1px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 6px 0 rgba(100,255,218,0.09);
  margin-bottom: 7px;
}
.project-btn:hover {
  background: #64ffda;
  color: #0a192f;
}

.blender-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px 32px;
  margin-top: 20px;
  padding-left: 18px;
  padding-right: 18px;
}
.blender-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(100,255,218,0.11);
  border-radius: 13px;
  padding: 18px 12px 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 1px 8px 0 rgba(100,255,218,0.07);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.blender-card.hidden {
  display: none !important;
}
.blender-card:hover {
  box-shadow: 0 4px 18px 0 rgba(100,255,218,0.16);
  border-color: #64ffda;
}
.blender-card img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 11px;
  margin-bottom: 14px;
  background: #192438;
  transition: transform 0.25s cubic-bezier(.44,1.53,.58,.93);
}
.blender-card:hover img {
  transform: scale(1.28);
  z-index: 2;
  box-shadow: 0 4px 24px 0 rgba(100,255,218,0.22);
}
.blender-card h4 {
  font-size: 1.07rem;
  color: #ccd6f6;
  margin-bottom: 7px;
  margin-top: 0;
  text-align: center;
}
.blender-card p {
  color: #a5b6d7;
  font-size: 0.99rem;
  margin-bottom: 12px;
  text-align: center;
}
.blender-card a {
  color: #64ffda;
  font-size: 1rem;
  text-decoration: none;
  background: rgba(100,255,218,0.13);
  padding: 7px 19px;
  border-radius: 7px;
  font-weight: 500;
  letter-spacing: 0.1px;
  margin-top: 12px;
  margin-bottom: 2px;
  display: inline-block;
  border: 1.5px solid #64ffda;
  box-shadow: 0 1px 6px 0 rgba(100,255,218,0.09);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border-color 0.16s;
}
.blender-card a:hover {
  background: #64ffda;
  color: #0a192f;
  border-color: #36ffe1;
  box-shadow: 0 3px 16px 0 rgba(100,255,218,0.16);
}

.show-more-btn {
  margin: 24px auto 0 auto;
  padding: 14px 42px;
  border: 2px solid #64ffda;
  background: transparent;
  color: #64ffda;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, border 0.15s;
  box-shadow: 0 2px 10px 0 rgba(100,255,218,0.11);
  letter-spacing: 1px;
  display: block;
}
.show-more-btn:hover,
.show-more-btn:focus {
  background: #64ffda;
  color: #0a192f;
  box-shadow: 0 3px 16px 0 rgba(100,255,218,0.16);
  border-color: #36ffe1;
}

.highlight {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.highlight-green {
  color: #64ffda;
  font-weight: 700;
  font-size: 1.07rem;
  margin-bottom: 5px;
  display: inline-block;
}
.interests-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin: 34px 0 36px 0;
  flex-wrap: wrap;
}
.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.interest-list li {
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  background: rgba(100,255,218,0.17);
  border: 1.2px solid #36ffe1;
  border-radius: 16px;
  padding: 8px 20px;
  margin: 0;
  box-shadow: 0 2px 12px 0 rgba(100,255,218,0.06);
  letter-spacing: 0.2px;
  transition: background 0.17s, color 0.17s, border 0.17s;
}
.interest-list li:hover {
  background: #64ffda;
  color: #0a192f;
  border-color: #fff;
  cursor: pointer;
}

.about-section { margin-bottom: 90px; }
.about-text {
  color: #b4cbe7;
  max-width: 680px;
}
.about-text h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  font-weight: 700;
  color: #d6eaff;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
}
.section-index {
  color: #64ffda;
  font-size: 1.5rem;
  font-family: monospace;
  margin-right: 13px;
  font-weight: 700;
}
.about-text p {
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 25px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.54,1.85,.31,.96), transform 0.8s cubic-bezier(.54,1.85,.31,.96);
}
.revealed {
  opacity: 1 !important;
  transform: none !important;
}


@media (max-width: 1200px) {
  .main-content { max-width: 98vw; }
  .blender-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 1050px) {
  .sidebar {
    width: 240px;
    padding: 50px 22px 24px 20px;
  }
  .main-content { margin-left: 260px; }
}

@media (max-width: 900px) {
  .wrapper { flex-direction: column; }
  .sidebar {
    position: static;
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    height: auto;
    padding: 32px 6vw 12px 6vw;
    background: transparent;
    box-shadow: none;
    z-index: 10;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .sidebar-inner {
    gap: 24px;
  }
  .main-content {
    margin-left: 0;
    padding: 50px 7vw 35px 7vw;
    max-width: 100vw;
  }
  .blender-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 22px 10px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .main-content {
    padding: 18vw 2vw 24vw 2vw;
    max-width: 100vw;
    box-sizing: border-box;
  }
  .sidebar {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    padding: 22px 4vw 14px 4vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .sidebar-inner {
    gap: 18px;
  }
  .profile-photo-wrapper {
    width: 100px;
    height: 100px;
  }
  .profile-photo, .profile-photo-border {
    width: 100px;
    height: 100px;
    left: 0 !important;
    top: 14px;
  }
  .name h1 {
    font-size: 1.25rem;
    word-break: break-word;
  }
  .name h2 {
    font-size: 0.92rem;
    word-break: break-word;
  }
  .name p {
    font-size: 0.91rem;
  }
  .side-nav li { margin: 12px 0; }
  .side-nav a {
    padding-left: 18px;
    font-size: 0.95rem;
    word-break: break-word;
  }
  .social-icons { margin-left: 0; gap: 8px; }
  .blender-card img { width: 60px; height: 60px; }
  .interest-list li { font-size: 0.95rem; padding: 6px 11px; }
  .interests-row { gap: 10px; margin: 18px 0 18px 0; flex-direction: column; }
  .highlight-green { min-width: 0; margin-bottom: 4px; }
  .experience-entry h4 { font-size: 1.01rem; }
  .experience-entry .date-range { font-size: 0.91rem; }
  .experience-tag { font-size: 0.91rem; padding: 4px 8px; }
  .blender-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px 6px;
    padding-left: 0;
    padding-right: 0;
  }
  .big-project-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
    gap: 14px;
  }
  .big-card-media iframe {
    width: 92vw;
    max-width: 100vw;
    height: 54vw;      /* 16:9 oranı için */
    min-height: 140px;
    margin-left: 2vw;  /* Sola/sağa taşmayı engeller */
    border-radius: 9px;
    display: block;
  }
  .big-card-body {
    width: 100%;
  }
}

/* Corner GIF ve Lottie */
#corner-lottie {
  position: fixed;
  top: 26px;
  right: 32px;
  width: 72px;
  height: 72px;
  z-index: 2222;
  pointer-events: none;
  opacity: 0.93;
}
@media (max-width: 600px) {
  #corner-lottie {
    width: 44px;
    height: 44px;
    top: 10px;
    right: 10px;
  }
}
#corner-gif {
  position: fixed;
  top: 26px;
  right: 32px;
  width: 72px;
  height: 72px;
  z-index: 2222;
  opacity: 0.93;
  border-radius: 18px;
  box-shadow: 0 6px 24px 0 rgba(100,255,218,0.15);
  background: rgba(10,25,47,0.23);
  transition: transform 0.24s cubic-bezier(.6,1.2,.3,.95), box-shadow 0.2s;
  cursor: pointer;
}
#corner-gif:hover,
#corner-gif:focus {
  transform: scale(1.18) rotate(-3deg);
  box-shadow: 0 10px 38px 0 rgba(100,255,218,0.25), 0 2px 14px 0 rgba(0,0,0,0.15);
  opacity: 1;
}
@media (max-width: 600px) {
  #corner-gif {
    width: 44px;
    height: 44px;
    top: 10px;
    right: 10px;
  }
}
.section-note {
  font-size: 0.95rem;
  font-weight: 400;
  color: #8bd6b1;
  margin-left: 14px;
  letter-spacing: 0.01em;
  opacity: 0.85;
}
@media (max-width: 600px) {
  .section-note {
    display: block;
    margin: 4px 0 0 0;
    font-size: 0.87rem;
  }
}

