/* ══════════════════════════════════════════
   Tuba Çelik Portfolyo — Paylaşılan Stiller
══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --krem:       #F7F0E4;
  --kart:       #FFFDF8;
  --siyah:      #1A1A1A;
  --pembe:      #EC5A9E;
  --sari:       #F5C842;
  --teal:       #2BA88E;
  --peri:       #6E7BE8;
  --mor:        #9D5CE0;
  --mercan:     #E84C3D;
  --pembe-text: #4B1528;
  --teal-text:  #04342C;
  --peri-text:  #042C53;
  --shadow:     6px 6px 0 var(--siyah);
  --shadow-sm:  4px 4px 0 var(--siyah);
  --border:     3px solid var(--siyah);
  --radius-kart: 16px;
  --radius-pill: 999px;
}

html { scroll-behavior: smooth; }
section, footer { scroll-margin-top: 72px; }

body {
  font-family: 'Work Sans', sans-serif;
  background: var(--krem);
  color: var(--siyah);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Tipografi ── */
h1, h2, h3 { font-weight: 900; line-height: 0.95; letter-spacing: -0.03em; }
h1 { font-size: clamp(42px, 8vw, 72px); }
h2 { font-size: clamp(32px, 5vw, 52px); text-transform: uppercase; }
h3 { font-size: clamp(18px, 2.5vw, 22px); line-height: 1.2; letter-spacing: -0.01em; }
p  { font-size: clamp(15px, 1.5vw, 17px); line-height: 1.65; font-weight: 400; }
a  { color: inherit; }

/* ── Section wrapper ── */
.section {
  padding: 80px 24px;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--sari);
  color: var(--siyah);
  border: 2.5px solid var(--siyah);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  margin-bottom: 20px;
}

/* ── Butonlar ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn-primary  { background: var(--sari); color: var(--siyah); box-shadow: 4px 4px 0 var(--siyah); }
.btn-secondary { background: var(--kart); color: var(--siyah); box-shadow: 4px 4px 0 var(--siyah); }
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--siyah);
}

/* ── Kart ── */
.card {
  background: var(--kart);
  border: var(--border);
  border-radius: var(--radius-kart);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

/* ── Etiket / Pill ── */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  border: 2.5px solid var(--siyah);
}
.tag-pembe  { background: var(--pembe);  color: var(--pembe-text); }
.tag-sari   { background: var(--sari);   color: var(--siyah); }
.tag-teal   { background: var(--teal);   color: var(--teal-text); }
.tag-peri   { background: var(--peri);   color: var(--peri-text); }
.tag-mor    { background: var(--mor);    color: #fff; }
.tag-mercan { background: var(--mercan); color: #fff; }
.tag-gray   { background: #e5ddd0;       color: var(--siyah); }

/* ── İkon kutusu ── */
.icon-box {
  width: 52px;
  height: 52px;
  border: var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* ── Dekoratif şekiller ── */
.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--krem);
  border-bottom: var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.03em;
  text-decoration: none;
  background: var(--peri);
  color: #fff;
  border: var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  box-shadow: 3px 3px 0 var(--siyah);
  transition: transform 120ms, box-shadow 120ms;
}
.nav-logo:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--siyah);
}
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: background 120ms;
  cursor: pointer;
}
.nav-links a:hover  { background: var(--sari); }
.nav-links a.active { background: var(--sari); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--siyah);
  border-radius: 2px;
  transition: all 200ms;
}

#mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: var(--border);
  background: var(--krem);
}
#mobile-menu a {
  padding: 14px 24px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(26,26,26,.15);
  cursor: pointer;
}
#mobile-menu a:hover  { background: var(--sari); }
#mobile-menu a.active { background: var(--sari); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
#hero {
  padding: 72px 24px 80px;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
@media (min-width: 768px) {
  #hero { grid-template-columns: 1fr 1fr; }
}

.hero-greeting {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  margin-bottom: 12px;
}
.hero-title {
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-title span { color: var(--pembe); }
.hero-desc {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 32px;
  color: #3a3530;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-img-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-avatar {
  width: min(440px, 88vw);
  aspect-ratio: 4 / 5;
  border: var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: #d9d1c6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  position: relative;
}
.hero-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.hero-avatar-inner img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.hero-avatar .placeholder-avatar { font-size: 72px; opacity: .45; }

/* Konuşma balonu rozeti */
.speech-bubble {
  position: absolute;
  top: -22px;
  left: -24px;
  z-index: 10;
  background: var(--sari);
  border: 3px solid var(--siyah);
  border-radius: 14px;
  padding: 9px 18px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--siyah);
  box-shadow: 4px 4px 0 var(--siyah);
  white-space: nowrap;
  line-height: 1;
}
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: 24px;
  border-width: 15px 10px 0;
  border-style: solid;
  border-color: var(--siyah) transparent transparent;
}
.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -11px;
  right: 25px;
  border-width: 12px 9px 0;
  border-style: solid;
  border-color: var(--sari) transparent transparent;
  z-index: 1;
}

@media (max-width: 640px) {
  .speech-bubble { font-size: 13px; padding: 7px 14px; top: -18px; left: -14px; }
}

.hero-circle-1 {
  width: 80px; height: 80px;
  border: var(--border);
  border-radius: 50%;
  background: var(--teal);
  bottom: 0; left: -20px;
}
.hero-circle-2 {
  width: 48px; height: 48px;
  border: var(--border);
  border-radius: 50%;
  background: var(--pembe);
  top: 10px; right: 10px;
}

/* ════════════════════════════════════════
   NE YAPIYORUM
════════════════════════════════════════ */
#ne-yapiyorum .cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 640px) {
  #ne-yapiyorum .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  #ne-yapiyorum .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card .card-desc {
  color: #3a3530;
  margin: 10px 0 20px;
  font-size: 15px;
}
.card-link {
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.card-link:hover { text-decoration: underline; }

/* ════════════════════════════════════════
   PROJELER
════════════════════════════════════════ */
.projeler-wrap { padding: 80px 24px; max-width: 1140px; margin: 0 auto; }

.proje-list { margin-top: 40px; display: flex; flex-direction: column; gap: 32px; }

.proje-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 768px) {
  .proje-item { grid-template-columns: 1fr 1fr; }
  .proje-item.reverse .proje-gorsel { order: 2; }
  .proje-item.reverse .proje-metin  { order: 1; }
}

.proje-gorsel {
  aspect-ratio: 16/10;
  border: var(--border);
  border-radius: var(--radius-kart);
  box-shadow: var(--shadow-sm);
  background: #d9d1c6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.proje-gorsel img { width: 100%; height: 100%; object-fit: cover; }
.proje-gorsel .placeholder-img { opacity: .35; font-size: 56px; }

.proje-metin { padding: 8px 0; }
.proje-tags  { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.proje-title { font-size: clamp(20px, 3vw, 26px); margin-bottom: 12px; }
.proje-desc  { font-size: 15px; color: #3a3530; line-height: 1.65; margin-bottom: 20px; }
.proje-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ════════════════════════════════════════
   HAKKIMDA
════════════════════════════════════════ */
#hakkimda {
  background: var(--siyah);
  color: var(--krem);
  padding: 80px 24px;
}
.hakkimda-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .hakkimda-inner { grid-template-columns: 1fr 1fr; }
}
#hakkimda h2 { color: var(--sari); }
#hakkimda p  { color: #d9d1c6; font-size: 16px; line-height: 1.7; }

.hakkimda-img {
  aspect-ratio: 1;
  max-width: 320px;
  border: 3px solid var(--sari);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--sari);
  background: #2a2520;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hakkimda-img img { width: 100%; height: 100%; object-fit: cover; }

/* ════════════════════════════════════════
   İÇERİK ÜRETİYORUM
════════════════════════════════════════ */
#icerik { padding: 80px 24px; }
.icerik-inner { max-width: 1140px; margin: 0 auto; }

.icerik-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 640px) {
  .icerik-grid { grid-template-columns: repeat(2, 1fr); }
}

.icerik-card {
  border: var(--border);
  border-radius: var(--radius-kart);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 120ms, box-shadow 120ms;
  text-decoration: none;
  color: inherit;
}
.icerik-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}
.icerik-card.pembe { background: var(--pembe); }
.icerik-card.peri  { background: var(--peri); color: #fff; }
.icerik-card h3    { font-size: 22px; }
.icerik-card p     { font-size: 14px; opacity: .85; }
.icerik-card .arrow { font-size: 28px; font-weight: 900; }

/* ════════════════════════════════════════
   YETENEKLER
════════════════════════════════════════ */
#yetenekler { padding: 80px 24px; background: var(--krem); }
.yetenekler-inner { max-width: 1140px; margin: 0 auto; }

.skill-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 36px;
}
@media (min-width: 768px) {
  .skill-categories { grid-template-columns: repeat(2, 1fr); }
}

.skill-category {
  background: var(--kart);
  border: var(--border);
  border-radius: var(--radius-kart);
  box-shadow: var(--shadow-sm);
  padding: 24px 24px 28px;
}

.skill-cat-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1.2;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--siyah);
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-pill {
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: var(--border);
  background: var(--kart);
  box-shadow: 3px 3px 0 var(--siyah);
  transition: transform 100ms, box-shadow 100ms;
}
.skill-pill:hover {
  transform: translate(-1px,-1px);
  box-shadow: 4px 4px 0 var(--siyah);
}
.skill-pill.p { background: var(--pembe); color: var(--pembe-text); }
.skill-pill.t { background: var(--teal);  color: var(--teal-text); }
.skill-pill.b { background: var(--peri);  color: var(--peri-text); }
.skill-pill.m { background: var(--mor);   color: #fff; }
.skill-pill.s { background: var(--sari);  color: var(--siyah); }

/* ════════════════════════════════════════
   DENEYİM & EĞİTİM & SERTİFİKALAR
════════════════════════════════════════ */
#deneyim { padding: 80px 24px; }
.deneyim-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .deneyim-inner { grid-template-columns: 1fr 1fr; }
}

.timeline { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }

.timeline-item {
  border-left: 3px solid var(--siyah);
  padding-left: 20px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--siyah);
  border-radius: 50%;
  background: var(--sari);
}

.timeline-title   { font-weight: 800; font-size: 16px; margin-bottom: 2px; }
.timeline-company { font-weight: 700; font-size: 14px; color: var(--pembe); margin-bottom: 2px; }
.timeline-date    { font-size: 13px; font-weight: 600; color: #7a7065; margin-bottom: 6px; }
.timeline-desc    { font-size: 14px; color: #3a3530; line-height: 1.6; }
.timeline-item.dim { opacity: .65; }

.cert-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.cert-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: var(--border);
  border-radius: 12px;
  background: var(--kart);
  box-shadow: 3px 3px 0 var(--siyah);
}
.cert-icon   { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.cert-name   { font-weight: 700; font-size: 14px; line-height: 1.4; }
.cert-issuer { font-size: 12px; color: #7a7065; font-weight: 600; }

/* ════════════════════════════════════════
   İLETİŞİM
════════════════════════════════════════ */
#iletisim {
  padding: 80px 24px;
  background: var(--siyah);
  color: var(--krem);
}
.iletisim-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
#iletisim h2   { color: var(--sari); margin-bottom: 16px; }
#iletisim .sub { font-size: 17px; color: #d9d1c6; margin-bottom: 36px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  margin-bottom: 36px;
}
.contact-form input,
.contact-form textarea {
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  border: 2.5px solid var(--krem);
  border-radius: 10px;
  background: #2a2520;
  color: var(--krem);
  outline: none;
  transition: border-color 120ms;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #7a7065; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--sari); }
.contact-form textarea { min-height: 140px; resize: vertical; }

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  color: var(--sari);
  text-decoration: none;
  border-bottom: 2.5px solid transparent;
  transition: border-color 120ms;
}
.email-link:hover { border-color: var(--sari); }

.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #7a7065;
  font-size: 13px;
  font-weight: 700;
}
.or-divider::before, .or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #3a3530;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: var(--krem);
  border-top: var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-logo { font-weight: 900; font-size: 16px; letter-spacing: -0.02em; }
.footer-logo span { color: var(--peri); }
.footer-role { font-size: 13px; font-weight: 600; color: #7a7065; }

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 14px;
  border: 2.5px solid var(--siyah);
  border-radius: var(--radius-pill);
  background: var(--kart);
  box-shadow: 2px 2px 0 var(--siyah);
  transition: transform 100ms, box-shadow 100ms;
}
.social-link:hover {
  transform: translate(-1px,-1px);
  box-shadow: 3px 3px 0 var(--siyah);
}

.footer-copy { font-size: 13px; color: #7a7065; font-weight: 600; }

/* ════════════════════════════════════════
   FADE-IN ANİMASYON
════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease, transform 400ms ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════
   RESPONSIVE TWEAKS
════════════════════════════════════════ */
@media (max-width: 640px) {
  .section       { padding: 56px 20px; }
  #hero          { padding: 48px 20px 56px; }
  .projeler-wrap { padding: 56px 20px; }
  #hakkimda      { padding: 56px 20px; }
  #icerik        { padding: 56px 20px; }
  #yetenekler    { padding: 56px 20px; }
  #deneyim       { padding: 56px 20px; }
  #iletisim      { padding: 56px 20px; }
}
