/* ============================================================
   Rana Gül — Porselen Yüzey Deseni Portföyü
   Editoryal & minimal tema (Tashi Studio tarzı):
   nötr/beyaz zemin, bol boşluk, büyük harf-aralıklı tipografi,
   görsel-odaklı ızgara. Mor + turuncu hafif vurgu.
   Saf CSS, framework yok.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f4f1;        /* sıcak nötr off-white */
  --ink: #1b1a18;           /* neredeyse siyah metin */
  --ink-soft: #75716b;      /* ikincil metin */
  --line: #e6e1da;          /* hairline çizgi */
  --kart: #ffffff;

  --accent: #f57c3a;        /* turuncu — sade vurgu */
  --accent-dark: #e06a28;
  --mor: #6c4ab6;           /* mor — çok hafif ikincil vurgu */

  --r: 2px;                 /* keskin, editoryal köşeler */
  --maxw: 1240px;
  --pad: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-weight: 500; line-height: 1.15; margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* Bölüm üstü küçük etiket */
.eyebrow,
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--r);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 64px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-soft); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: 2px;
  border-bottom: 1px solid transparent; transition: 0.18s;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.lang-toggle {
  background: transparent; border: 1px solid var(--line); border-radius: var(--r);
  padding: 6px 12px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
  cursor: pointer; color: var(--ink-soft);
}
.lang-toggle .lang-sep { opacity: 0.4; margin: 0 4px; }
body[data-lang="tr"] .lang-tr { color: var(--accent); }
body[data-lang="en"] .lang-en { color: var(--accent); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero { background: var(--bg); padding: 116px 0 70px; }
.hero-pattern { display: none; }
.hero-inner { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-eyebrow { display: block; margin: 0 0 22px; font-size: 0.95rem; letter-spacing: 0.16em; }
.hero-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.7rem, 7vw, 5rem); line-height: 1;
  letter-spacing: 0.01em; margin: 0 0 24px; color: var(--ink); font-weight: 500;
}
.hero-lead { font-size: 1.1rem; color: var(--ink-soft); margin: 0 auto 38px; max-width: 600px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Tam genişlik desen banner (carousel, 3:1) ---------- */
.banner { width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.bc { position: relative; width: 100%; aspect-ratio: 3 / 1; overflow: hidden; background: #fff; }
.bc-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.7s ease; pointer-events: none;
}
.bc-slide.active { opacity: 1; }
.bc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.8); color: var(--ink); font-size: 1.7rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: background 0.2s, opacity 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.bc-arrow:hover { background: #fff; }
.bc-prev { left: 16px; }
.bc-next { right: 16px; }
.bc-dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3; display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; padding: 0 16px; }
.bc-dot {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.6); box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s;
}
.bc-dot.active { background: #fff; transform: scale(1.35); }

@media (max-width: 600px) {
  .bc-arrow { width: 34px; height: 34px; font-size: 1.3rem; }
  .bc-prev { left: 8px; } .bc-next { right: 8px; }
  .bc-dots { bottom: 8px; gap: 5px; }
  .bc-dot { width: 6px; height: 6px; }
}

/* ---------- Bölüm genel ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: 0.01em; font-weight: 500;
  color: var(--ink); margin: 0 0 18px;
}
.section-lead { color: var(--ink-soft); max-width: 640px; margin: 0 0 48px; font-size: 1.04rem; }

/* ---------- Hakkımda ---------- */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: end; }
.photo-frame { overflow: hidden; border: 1px solid var(--line); }
.photo-placeholder {
  aspect-ratio: 4/5; display: grid; place-items: center;
  font-size: 2.6rem; letter-spacing: 0.1em; color: var(--ink-soft);
  background: var(--bg-alt); font-weight: 500;
}
.photo-img { width: 100%; height: auto; display: block; }
.about-text p { margin: 0 0 18px; color: var(--ink-soft); }
.about-sub {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink); margin: 34px 0 16px; font-weight: 600;
}
.skill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.skill-list li {
  border: 1px solid var(--line); color: var(--ink-soft);
  padding: 7px 15px; border-radius: var(--r); font-size: 0.8rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}

.about-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.about-actions .cv-btn { margin-top: 0; }

/* ---------- Filtreler ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 26px; margin-bottom: 40px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.filter {
  background: none; border: 0; color: var(--ink-soft);
  padding: 0 0 10px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; cursor: pointer; position: relative; transition: color 0.18s;
}
.filter::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform 0.2s ease;
}
.filter:hover { color: var(--ink); }
.filter.is-active { color: var(--ink); }
.filter.is-active::after { transform: scaleX(1); }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tile {
  display: block; width: 100%; text-align: left; padding: 0;
  background: var(--kart); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; cursor: pointer; transition: border-color 0.2s ease;
}
.tile:hover { border-color: var(--ink); }
.tile-imgwrap { overflow: hidden; }
.tile img { aspect-ratio: 4/3; object-fit: cover; background: #fff; transition: transform 0.45s ease; }
.tile:hover img { transform: scale(1.04); }
.tile-meta { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; }
.tile-code { font-weight: 600; color: var(--ink); font-size: 0.8rem; letter-spacing: 0.1em; }
.tile-tag { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); font-weight: 600; }

/* ---------- Markalar ---------- */
.brands-title {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-soft); margin: 0 0 26px; font-weight: 600;
}
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 72px; border: 1px solid var(--line); }
.brand-cell {
  display: grid; place-items: center; padding: 30px 22px; min-height: 110px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--kart);
}
.brand-cell img {
  max-height: 50px; width: auto; max-width: 100%; object-fit: contain;
  filter: grayscale(1); opacity: 0.55; transition: filter 0.2s ease, opacity 0.2s ease;
}
.brand-cell:hover img { filter: grayscale(0); opacity: 1; }
.brand-cell--dark { background: var(--ink); }
.brand-cell--dark img { filter: none; opacity: 0.9; }
.brand-cell--dark:hover img { opacity: 1; }

/* ---------- Projeler ---------- */
.cv-btn { margin-top: 30px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 72px; }
.card { background: var(--kart); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 30px; }
.card-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--line); color: var(--accent); font-size: 1.4rem; margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); font-weight: 600; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.process-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-soft); margin: 0 0 26px; font-weight: 600; }
.process { list-style: none; padding: 0; margin: 0 0 64px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.process li {
  display: grid; grid-template-columns: 56px 220px 1fr; align-items: center; gap: 20px;
  border-bottom: 1px solid var(--line); padding: 22px 6px;
}
.process .step-no { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--accent); font-weight: 600; }
.process strong { color: var(--ink); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.86rem; font-weight: 600; }
.process li > span:last-child { color: var(--ink-soft); font-size: 0.95rem; }

/* Ekran okuyucu için görünmez başlık (SEO + erişilebilirlik) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Firmalara özel çalışma görsel bandı */
.firma-banner { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 40px; }
.firma-banner img { width: 100%; height: auto; display: block; }

/* Proje başlat görselli bandı (yazı görselin içinde, buton üstüne biner) */
.proje-banner { position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.proje-banner img { width: 100%; height: auto; display: block; }
.proje-btn { position: absolute; left: 3.4%; top: 58%; }

@media (max-width: 600px) {
  .proje-banner { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; border: none; }
  .proje-banner img { border: 1px solid var(--line); border-radius: var(--r); }
  .proje-btn { position: static; }
}

/* ---------- Şifre kilidi ---------- */
.lock-gate { max-width: 480px; margin: 0 auto; text-align: center; padding: 20px 0; }
.lock-ico { display: inline-flex; color: var(--accent); margin-bottom: 18px; }
.lock-gate .section-title { margin-bottom: 14px; }
.lock-lead { margin: 0 auto 26px; }
.lock-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lock-form input {
  font: inherit; font-size: 0.98rem; padding: 13px 16px; min-width: 220px; flex: 1;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink);
}
.lock-form input:focus { outline: none; border-color: var(--ink); }
.lock-error { color: #c0392b; font-size: 0.9rem; margin: 16px 0 0; }

/* ---------- Satış ---------- */
.shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.shop-item {
  background: var(--kart); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.2s ease;
}
.shop-item:hover { border-color: var(--ink); }
.shop-item img { aspect-ratio: 4/3; object-fit: cover; background: #fff; }
.shop-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.shop-code { font-weight: 600; color: var(--ink); letter-spacing: 0.08em; font-size: 0.85rem; }
.shop-tag { font-size: 0.66rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.14em; }
.shop-price { font-size: 1.2rem; color: var(--ink); margin: 8px 0 16px; font-weight: 500; }
.shop-buy { margin-top: auto; width: 100%; text-align: center; }
.license-note { color: var(--ink-soft); font-size: 0.82rem; margin-top: 34px; }

/* ---------- Instagram ---------- */
.ig-eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.ig-logo { flex: none; }
.ig-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.ig-head .section-title { margin: 0; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ig-embeds { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.ig-embeds .instagram-media { flex: 0 1 380px; margin: 0 !important; min-width: 260px !important; }
.ig-tile {
  position: relative; display: block; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--r); background: #fff; aspect-ratio: 1 / 1;
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.ig-tile:hover img { transform: scale(1.05); }
.ig-tile .ig-ico {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(27, 26, 24, 0.45); opacity: 0; transition: opacity 0.25s ease;
  background-image:
    linear-gradient(rgba(27,26,24,0.35), rgba(27,26,24,0.35)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cline x1='17.5' y1='6.5' x2='17.5' y2='6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.ig-tile:hover .ig-ico { opacity: 1; }

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-links { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-links li { display: flex; align-items: baseline; gap: 18px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.contact-label {
  min-width: 96px; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-soft); font-weight: 600;
}
.contact-links a { color: var(--ink); font-weight: 500; border-bottom: 1px solid transparent; transition: 0.18s; }
.contact-links a:hover { border-bottom-color: var(--accent); }

.contact-form { display: grid; gap: 18px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); padding: 34px; }
.contact-form label {
  display: grid; gap: 8px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 0.95rem; text-transform: none; letter-spacing: normal;
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; color: var(--ink); resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); }
.contact-form .btn { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0; border-top: 1px solid var(--line); text-align: center; }
.footer-logo { height: 96px; width: auto; margin: 0 auto 20px; opacity: 0.9; }
.site-footer p { margin: 0; color: var(--ink-soft); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(20, 19, 17, 0.92); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 28px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 960px; text-align: center; }
.lightbox img { border-radius: var(--r); max-height: 80vh; width: auto; margin: 0 auto; background: #fff; }
.lightbox figcaption { color: #fff; margin-top: 18px; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; }
.lightbox-close {
  position: absolute; top: 20px; right: 28px; background: none; border: 0; color: #fff;
  font-size: 2.2rem; line-height: 1; cursor: pointer; opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 300px; }
  .gallery, .cards, .shop { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .process li { grid-template-columns: 48px 1fr; }
  .process li strong { grid-column: 2; }
  .process li > span:last-child { grid-column: 2; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 92px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 28px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; width: 100%; }
}

@media (max-width: 560px) {
  .gallery, .cards, .shop { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .hero { padding: 84px 0 76px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
