:root {
  --bg:       #efe4cf;   /* sayfa zemini - sicak krem */
  --bg-hero:  #efe4cf;   /* nav + hero + contact - krem */
  --text:     #2a2218;   /* koyu sicak kahve metin */
  --text-dim: #7c6f59;   /* soluk metin */
  --accent:   #eaab3a;   /* sicak amber aksan */
  --font:     'Tahoma', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-y: scroll; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px max(40px, calc((100% - 1440px) / 2 + 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-hero);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: padding 0.3s;
}
nav.scrolled {
  padding: 16px max(40px, calc((100% - 1440px) / 2 + 40px));
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
}
.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.logo span { font-weight: 400; color: var(--text-dim); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links > li > a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
}
.nav-links > li > a:hover { color: var(--accent); }
.nav-links > li > a.active { color: var(--accent); }
.nav-links > li > a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}

.portfolio-btn {
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s;
  cursor: pointer;
}
.portfolio-btn:hover {
  background: transparent;
  color: var(--accent);
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-hero);
}
/* Video katmanı */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center; /* biraz sola kaydırılmış */
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}
/* Karartma katmanı — metni öne çıkarsın */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
  width: 100%;
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: 2px;
  color: #cfcfcf;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 24px;
}
.hero .role {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 500;
  color: var(--text-dim);
  min-height: 1.4em; /* yazı sırasında zıplamayı önler */
}
.hero .role #typewriter {
  color: var(--text);
  font-weight: 600;
}
.hero .role .cursor {
  display: inline-block;
  color: var(--accent);
  font-weight: 400;
  margin-left: 2px;
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink {
  to { visibility: hidden; }
}

/* SIDE ICONS */
.side-icons {
  position: fixed;
  right: 30px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 40;
}
.side-icons a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--text);
  font-size: 17px;
  backdrop-filter: blur(6px);
  transition: all 0.3s;
}
.side-icons a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateX(-4px);
}

/* SCROLL */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-mouse {
  width: 28px;
  height: 46px;
  border: 2px solid var(--text-dim);
  border-radius: 14px;
  position: relative;
}
.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--text-dim);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ===== ABOUT SECTION ===== */
.about {
  background: #e7ddc6;
  color: #2a2a2a;
  display: grid;
  grid-template-columns: 1fr 40%;
  min-height: 100vh;
  font-family: var(--font);
}

/* Stats column */
.about-stats {
  padding: 100px 30px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  border-right: 1px solid #e5e5e5;
}
.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.stat i {
  font-size: 38px;
  color: #2a2a2a;
  margin-bottom: 8px;
}
.stat .num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: #2a2a2a;
}
.stat .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  line-height: 1.4;
  max-width: 120px;
}

/* Main text column */
.about-main {
  padding: 100px 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 24px;
}
.about-main h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 40px;
  color: #1a1a1a;
  max-width: 640px;
}
.about-main p {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4a4a;
  max-width: 620px;
  margin-bottom: 24px;
}
.about-main p strong { color: #1a1a1a; font-weight: 700; }

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 16px 36px;
  border: 2px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}
.contact-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Image column — circular profile */
.about-photo {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}
.photo-circle {
  width: 460px;
  height: 460px;
  max-width: 85%;
  border-radius: 50%;
  background: #d0d0d0 url('../images/profile.jpg') center/cover no-repeat;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18),
  0 0 0 6px #ffffff,
  0 0 0 8px #e5e5e5;
}

@media (max-width: 1100px) {
  .about { grid-template-columns: 1fr 35%; }
  .about-main { padding: 80px 40px; }
}
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    padding: 50px 20px;
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
  }
  .about-photo {
    min-height: auto;
    padding: 60px 20px 20px;
    order: -1;
  }
  .photo-circle {
    width: 280px;
    height: 280px;
  }
  .about-main { padding: 40px 24px 60px; }
}

/* ===== BACKSTORY / TIMELINE ===== */
.backstory {
  background: #bdbdbd;
  padding: 100px 40px 120px;
  position: relative;
}
.backstory-title {
  text-align: center;
  margin-bottom: 80px;
}
.backstory-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 2px;
  color: #2a2a2a;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.backstory-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: #666;
  margin: 0 auto;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
/* Dikey çizgi */
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #888;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 30px 50px;
  box-sizing: border-box;
}
.timeline-item.left {
  left: 0;
  text-align: right;
}
.timeline-item.right {
  left: 50%;
  text-align: left;
}
/* Noktalar */
.timeline-item::before {
  content: '';
  position: absolute;
  top: 42px;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 3px solid #555;
  border-radius: 50%;
  z-index: 2;
}
.timeline-item.left::before { right: -7px; }
.timeline-item.right::before { left: -7px; }

.timeline-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.timeline-item .date {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.timeline-item p {
  font-size: 14px;
  line-height: 1.7;
  color: #3a3a3a;
  margin-bottom: 10px;
}
.details-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 22px;
  background: #2a2a2a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}
.details-btn:hover {
  background: var(--accent);
}

/* ===== EXPERIENCE DETAILS MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  position: relative;
  width: 100%;
  max-width: 880px;
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  color: #2a2a2a;
  border-radius: 18px;
  padding: 50px 56px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.modal-close:hover {
  background: var(--accent);
  transform: rotate(90deg);
}
.modal-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #1a1a1a;
  padding-right: 50px;
  margin-bottom: 18px;
}
.modal-divider {
  border-top: 2px dotted #cfcfcf;
  margin-bottom: 26px;
}
.modal-body h4 {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.modal-body p {
  font-size: 15px;
  line-height: 1.75;
  color: #4a4a4a;
  margin-bottom: 14px;
}
.modal-body ul {
  margin: 0 0 16px 22px;
}
.modal-body li {
  font-size: 15px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 6px;
}
.modal-body strong {
  color: #1a1a1a;
  font-weight: 700;
}
body.modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .modal-box { padding: 40px 26px; border-radius: 14px; }
}

@media (max-width: 760px) {
  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    width: 100%;
    left: 0;
    padding: 20px 20px 20px 50px;
    text-align: left;
  }
  .timeline-item.left::before,
  .timeline-item.right::before {
    left: 13px;
    right: auto;
  }
}

/* ===== PROJECTS SECTION ===== */
.projects {
  background: #e7ddc6;
  padding: 110px 40px 130px;
}
.projects-title {
  text-align: center;
  margin-bottom: 70px;
}
.projects-title h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.projects-title p {
  font-size: 16px;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.projects-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 36px;
}

.project-card {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #222;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}

/* Kapak görseli */
.project-card .cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.project-card:hover .cover {
  transform: scale(1.05);
}

/* Alt şerit — başlık + stüdyo (default görünüm) */
.project-card .footer {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 30%, rgba(0,0,0,0) 100%);
  color: #fff;
  z-index: 2;
  transition: opacity 0.3s ease;
}
.project-card .footer h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}
.project-card .footer .studio {
  font-size: 13px;
  color: #bbb;
  font-weight: 400;
}
.project-card:hover .footer { opacity: 0; }

/* Hover overlay — üstten gelen bilgi kutusu */
.project-card .overlay {
  position: absolute;
  inset: 0;
  padding: 32px 26px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 3;
}
.project-card:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}
.project-card .overlay h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 4px;
}
.project-card .overlay .studio {
  font-size: 13px;
  color: #bbb;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.project-card .overlay p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #e4e4e4;
  margin-bottom: 12px;
}
.project-card .overlay p strong {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 560px) {
  .projects { padding: 80px 24px 100px; }
  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-hero);
  padding: 110px 40px 120px;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-title {
  text-align: center;
  margin-bottom: 70px;
}
.contact-title h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.contact-title p {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2.5px;
}
.contact-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 2px;
  background: var(--accent);
  margin: 24px auto 0;
}

.contact-grid {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.contact-link::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}
.contact-link:hover {
  background: rgba(51, 171, 226, 0.08);
  border-color: rgba(51, 171, 226, 0.35);
  transform: translateY(-3px);
}
.contact-link:hover::before {
  transform: scaleY(1);
}

.contact-link .icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(51, 171, 226, 0.1);
  color: var(--accent);
  font-size: 20px;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.contact-link:hover .icon {
  background: var(--accent);
  color: #fff;
}
.contact-link .info .label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-link .info .value {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .contact { padding: 80px 24px 90px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Contact info row (title altı) */
.contact-info {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info .info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  color: var(--text);
}
.contact-info .info-block i {
  font-size: 28px;
  color: var(--accent);
}
.contact-info .info-block span,
.contact-info .info-block a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-info .info-block a {
  text-transform: lowercase;
}
.contact-info .info-block a:hover {
  color: var(--accent);
}

@media (max-width: 560px) {
  .contact-info {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 50px;
  }
}

@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  .nav-links { gap: 22px; }
  .nav-links > li > a { font-size: 13px; }
  .portfolio-btn { padding: 10px 20px; font-size: 12px; }
  .side-icons { right: 14px; }
  .side-icons a { width: 38px; height: 38px; font-size: 15px; }
}
@media (max-width: 680px) {
  .logo { font-size: 22px; }
  .nav-links { display: none; }
}
/* ===== PROJECT DETAIL PAGE ===== */
body.project-page {
  background: #e7ddc6;
}
.project-detail {
  max-width: 1440px;
  margin: 0 auto;
  padding: 130px 40px 100px;
  color: #2a2a2a;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6a6253;
  margin-bottom: 40px;
  transition: color 0.3s ease;
}
.back-link:hover { color: var(--accent); }

.pd-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #2a2a2a;
  letter-spacing: -0.5px;
  margin-bottom: 36px;
}

.pd-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.pd-media { width: 100%; align-self: start; }

/* Slider */
.pd-gallery { width: 100%; position: relative; }
.pd-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #00000012;
  border: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.pd-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}
.pd-track.no-anim { transition: none; }
.pd-slide {
  flex: 0 0 100%;
  height: 100%;
}
.pd-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.25s ease, background 0.25s ease;
  z-index: 2;
}
.pd-nav:hover { opacity: 1; background: var(--accent); }
.pd-prev { left: 14px; }
.pd-next { right: 14px; }
.pd-gallery.single .pd-nav,
.pd-gallery.single .pd-dots { display: none; }

.pd-dots {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}
.pd-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.pd-dot:hover { background: rgba(0, 0, 0, 0.4); }
.pd-dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

/* Galeri altındaki video (yerel dosya veya YouTube) */
.pd-youtube {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 42px;
  background: #000;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.pd-youtube iframe,
.pd-youtube video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.pd-content { padding-top: 4px; display: flex; flex-direction: column; }
.pd-role {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 22px;
}
.pd-description {
  font-size: 15px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 20px;
}
.pd-contribution p {
  font-size: 15px;
  line-height: 1.75;
  color: #3a3a3a;
  margin-bottom: 16px;
}
.pd-contribution strong { color: #1a1a1a; font-weight: 700; }
.pd-contribution h4 {
  font-size: 17px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 22px 0 12px;
}
.pd-contribution ul {
  margin: 0 0 16px 20px;
}
.pd-contribution li {
  font-size: 15px;
  line-height: 1.7;
  color: #3a3a3a;
  margin-bottom: 8px;
}

.pd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.pd-tag {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 6px;
  border: none;
  background: #d9b8e7;
  color: #4a2f63;
}
.pd-tag.tag-0 { background: #d9b8e7; color: #1a1a1a; }
.pd-tag.tag-1 { background: #eccc83; color: #1a1a1a; }
.pd-tag.tag-2 { background: #dea19e; color: #1a1a1a; }

.pd-links { margin-top: 36px; }
.pd-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  background: #2a2a2a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.pd-links a:hover { background: var(--accent); transform: translateY(-2px); }

@media (max-width: 820px) {
  .pd-grid { grid-template-columns: 1fr; gap: 30px; }
  .project-detail { padding: 110px 24px 80px; }
  .pd-links { margin-top: 28px; }
  .pd-dots { position: static; margin-top: 14px; }
  .pd-youtube { margin-top: 18px; }
}

.modal-body video {
  width: 50%;
  border-radius: 8px;
  margin: 0 auto 22px;
  display: block;
  background: #000;
}



/* NAV — krem zemine uygun kenarlık */
nav { border-bottom: 1px solid rgba(0,0,0,0.08); }
nav.scrolled { background: rgba(239,228,207,0.92); }

/* HERO — videoların olduğu kısım eski koyu hâlinde kalsın */
.hero { background: #1a1a1a; }

/* SIDE ICONS — açık zemine uygun */
.side-icons a {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.12);
  color: #2a2218;
}

/* CONTACT — koyu bölümü açığa çevir */
.contact-title h2          { color: #1f1a12; }
.contact-link {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.10);
}
.contact-link:hover {
  background: rgba(196,125,24,0.10);
  border-color: rgba(196,125,24,0.40);
}
.contact-link .icon        { background: rgba(196,125,24,0.12); }
.contact-link .info .value { color: #1f1a12; }

/* ===== EXPERIENCE (backstory) arka plan rengi ===== */
.backstory { background: #dcc9a4; }   /* düz gri yerine sıcak kum/bal tonu */

/* ===== CONTACT — koyu bölüm ===== */
.contact {
  background: #1f1a14;          /* sıcak koyu kahve */
  color: #ece3d2;
}
.contact-title h2          { color: #f4ead7; }
.contact-title p           { color: #b7a98c; }
.contact-link {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: #ece3d2;
}
.contact-link:hover {
  background: rgba(196,125,24,0.12);
  border-color: rgba(196,125,24,0.45);
}
.contact-link .info .label { color: #b7a98c; }
.contact-link .info .value { color: #f4ead7; }
.contact-info .info-block,
.contact-info .info-block a,
.contact-info .info-block span { color: #ece3d2; }

/* ===== EXPERIENCE — scroll-in animasyon ===== */
.timeline-item {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-item.left  { transform: translateX(-40px); }
.timeline-item.right { transform: translateX(40px); }
.timeline-item.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Mobilde iki taraf da aşağıdan yukarı belirsin */
@media (max-width: 760px) {
  .timeline-item.left,
  .timeline-item.right { transform: translateY(30px); }
  .timeline-item.in-view { transform: translateY(0); }
}

/* Animasyon istemeyen kullanıcılar için direkt göster */
@media (prefers-reduced-motion: reduce) {
  .timeline-item { opacity: 1; transform: none; transition: none; }
}

/* ===== PROJECTS — scroll-in (aşağıdan) ===== */
.project-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease;
}
.project-card.in-view { opacity: 1; transform: translateY(0); }
.project-card.in-view:hover { transform: translateY(-6px); }  /* hover kalkması korunsun */

/* ===== CONTACT — scroll-in (kademeli) ===== */
.contact-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.contact-title.in-view { opacity: 1; transform: translateY(0); }

.contact-link {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.contact-link:nth-child(1) { transition-delay: 0.05s; }
.contact-link:nth-child(2) { transition-delay: 0.13s; }
.contact-link:nth-child(3) { transition-delay: 0.21s; }
.contact-link:nth-child(4) { transition-delay: 0.29s; }
.contact-link:nth-child(5) { transition-delay: 0.37s; }
.contact-link:nth-child(6) { transition-delay: 0.45s; }
.contact-link.in-view { opacity: 1; transform: translateY(0); }
.contact-link.in-view:hover { transform: translateY(-3px); transition-delay: 0s; }

/* Animasyon istemeyenler için direkt göster */
@media (prefers-reduced-motion: reduce) {
  .project-card,
  .contact-title,
  .contact-link { opacity: 1; transform: none; transition: none; }
}
/* ===== EXPERIENCE — kart + düğüm + rozet + ikon ===== */

/* Kart yüzeyi (içerik JS ile .timeline-card'a sarılıyor) */
.timeline-card {
  background: #f3ecdb;                 /* zeminden bir ton açık krem */
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  padding: 22px 26px;
  text-align: left;                   /* kart içi sola hizalı, daha okunur */
}

/* Kartın çizgiye/dışa mesafesi (dotlar yerinde kalsın diye) */
.timeline-item.left  { padding: 14px 28px 14px 40px; }
.timeline-item.right { padding: 14px 40px 14px 28px; }

/* Düğümler — amber halkalı, en güncel olan dolu */
.timeline-item::before {
  width: 16px; height: 16px;
  top: 30px;
  background: #f3ecdb;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(234,171,58,0.18);
}
.timeline-item.left::before  { right: -8px; }
.timeline-item.right::before { left: -8px; }
.timeline .timeline-item:first-child::before { background: var(--accent); }

/* Dikey çizgiyi biraz ısıt */
.timeline::before { background: #b6a380; }

/* Başlık ikonları amber */
.timeline-item h3 i { color: var(--accent); margin-right: 6px; }

/* Tarih → amber pill rozet */
.timeline-item .date {
  display: inline-block;
  background: rgba(234,171,58,0.18);
  color: #7a4f0f;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Mobilde dotlar sol çizgide kalsın */
@media (max-width: 760px) {
  .timeline-item.left,
  .timeline-item.right { padding: 14px 20px 14px 50px; }
  .timeline-item.left::before,
  .timeline-item.right::before { left: 12px; right: auto; }
}

.hero .role #typewriter { color: #cfcfcf; }
/* Profil fotoğrafı çerçevesi — koyu */
.photo-circle {
  box-shadow: 0 20px 60px rgba(0,0,0,0.25),
  0 0 0 6px #2a2218,
  0 0 0 8px #4a3f30;
}
/* ===== NAVBAR — A: ortalı editorial ===== */
nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
}
nav > .logo          { justify-self: start; }
nav > .nav-links     { justify-self: center; }
nav > .portfolio-btn { justify-self: end; }

/* Logo — sonuna amber nokta */
.logo { font-size: 21px; letter-spacing: -0.3px; }
.logo span { color: #9b8a6f; }
.logo::after { content: '.'; color: var(--accent); font-weight: 800; }

/* Linkler — büyük harf + harf aralığı */
.nav-links { gap: 30px; }
.nav-links > li > a {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #3f3528;
}
.nav-links > li > a.active { color: #b8932e; }
.nav-links > li > a.active::after { bottom: -7px; }

/* RESUME — dolu amber, koyu yazı, ikon */
.portfolio-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3a2607;
  font-size: 12px;
  letter-spacing: 1.4px;
  padding: 10px 20px;
  border-radius: 7px;
}

/* Mobilde sığsın diye sıkıştır */
@media (max-width: 900px) {
  nav { gap: 12px; }
  .nav-links { gap: 18px; }
  .nav-links > li > a { letter-spacing: 1px; font-size: 11.5px; }
}