/**
 * Emrekara Studio portföy şablonu — açık tonlu, modern üst menü
 * /public/templates/emrekara-studio/theme.css
 *
 * Not: Google Fonts <link> layout Head içinde yüklenir (@import parse’ı bloklamasın diye).
 */

:root {
  --color-primary:        #0e7490;
  --color-primary-hover:  #0c5f75;
  --color-primary-light:  #ecfeff;
  --color-primary-text:   #ffffff;

  --color-accent:         #0e7490;
  --color-accent-hover:   #0c5f75;

  --color-bg-page:        #f4f7fb;
  --color-bg-card:        #ffffff;
  --color-bg-muted:       #e8eef5;
  --color-bg-section:     #ffffff;

  --color-text-base:      #334155;
  --color-text-muted:     #64748b;
  --color-text-heading:   #0f172a;
  --color-text-light:     #ffffff;

  --color-border:         #dbe3ee;
  --color-border-strong:  #c5d0de;

  --font-body:    'Figtree', ui-sans-serif, system-ui, sans-serif;
  --font-heading: 'Syne', ui-sans-serif, system-ui, sans-serif;

  --emrekara-studio-content-max: 72rem;
  --emrekara-studio-header-h: 4.25rem;
}

.emrekara-studio-body {
  font-family: var(--font-body);
  color: var(--color-text-base);
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(14, 116, 144, 0.12), transparent 55%),
    radial-gradient(700px 420px at 92% 8%, rgba(56, 189, 248, 0.1), transparent 50%),
    radial-gradient(800px 500px at 70% 100%, rgba(15, 23, 42, 0.04), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, var(--color-bg-page) 40%, #eef3f8 100%);
  background-attachment: scroll;
  min-height: 100vh;
  overflow-x: clip;
}

@media (min-width: 1024px) {
  .emrekara-studio-body {
    background-attachment: fixed;
  }
}

.emrekara-studio-body h1,
.emrekara-studio-body h2,
.emrekara-studio-body h3,
.emrekara-studio-heading {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  letter-spacing: -0.03em;
}

/* Header */
.emrekara-studio-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--emrekara-studio-header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.emrekara-studio-header-inner {
  width: 100%;
  max-width: var(--emrekara-studio-content-max);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .emrekara-studio-header-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .emrekara-studio-header-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.emrekara-studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-text-heading);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  min-width: 0;
  max-width: calc(100% - 5.5rem);
}

.emrekara-studio-brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .emrekara-studio-brand {
    gap: 0.75rem;
    font-size: 1.05rem;
    max-width: none;
  }
}

.emrekara-studio-brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(14, 116, 144, 0.2);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .emrekara-studio-brand img {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.emrekara-studio-nav {
  display: none;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Geniş tablet+: yatay menü (dar tablette hâlâ hamburger) */
@media (min-width: 900px) {
  .emrekara-studio-nav {
    display: flex;
  }
}

.emrekara-studio-nav-link {
  padding: 0.4rem 0.65rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

@media (min-width: 1024px) {
  .emrekara-studio-nav-link {
    padding: 0.45rem 0.85rem;
    font-size: 0.875rem;
  }
}

.emrekara-studio-nav-link:hover,
.emrekara-studio-nav-link.active {
  color: var(--color-primary);
  background: rgba(14, 116, 144, 0.08);
}

.emrekara-studio-mobile-panel {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  padding: 0.75rem 1rem 1rem;
}

.emrekara-studio-mobile-panel a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-heading);
  text-decoration: none;
}

.emrekara-studio-mobile-panel a.active,
.emrekara-studio-mobile-panel a:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* Layout helpers */
.emrekara-studio-container {
  width: 100%;
  max-width: var(--emrekara-studio-content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .emrekara-studio-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .emrekara-studio-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.emrekara-studio-section {
  scroll-margin-top: calc(var(--emrekara-studio-header-h) + 0.75rem);
}

.emrekara-studio-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
}

.emrekara-studio-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 4.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--color-text-heading);
}

@media (min-width: 768px) {
  .emrekara-studio-section-title {
    margin-bottom: 1.35rem;
  }
}

.emrekara-studio-lead {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 40rem;
}

@media (min-width: 768px) {
  .emrekara-studio-lead {
    font-size: 1.05rem;
  }
}

/* Hero — mobil/tablet: içerik üstte, boşluk yok; masaüstü: yüksek hero + alta hizalı */
.emrekara-studio-hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  padding: 2rem 0 2.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
  .emrekara-studio-hero {
    padding: 2.75rem 0 3rem;
    align-items: center;
    min-height: min(52vh, 28rem);
  }
}

@media (min-width: 1024px) {
  .emrekara-studio-hero {
    min-height: min(88vh, 52rem);
    align-items: flex-end;
    padding: 4.5rem 0 4rem;
  }
}

.emrekara-studio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 247, 251, 0.72) 42%, rgba(236, 254, 255, 0.55) 100%),
    radial-gradient(circle at 78% 35%, rgba(14, 116, 144, 0.18), transparent 42%),
    radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.12), transparent 40%);
  pointer-events: none;
}

.emrekara-studio-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.emrekara-studio-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.emrekara-studio-hero-brand {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 11vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--color-text-heading);
  margin: 0 0 0.85rem;
  max-width: 14ch;
  animation: emrekara-studio-from-left 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 768px) {
  .emrekara-studio-hero-brand {
    margin-bottom: 1.1rem;
  }
}

.emrekara-studio-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.6vw, 1.75rem);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 0.55rem;
  animation: emrekara-studio-from-left 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.emrekara-studio-hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 34rem;
  margin: 0 0 1.35rem;
  animation: emrekara-studio-from-left 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

@media (min-width: 768px) {
  .emrekara-studio-hero-sub {
    margin-bottom: 1.75rem;
  }
}

.emrekara-studio-hero-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.65rem;
  animation: emrekara-studio-from-left 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

@media (min-width: 420px) {
  .emrekara-studio-hero-actions {
    flex-direction: row;
    gap: 0.75rem;
  }
}

.emrekara-studio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

@media (max-width: 419px) {
  .emrekara-studio-hero-actions .emrekara-studio-btn {
    width: 100%;
  }
}

.emrekara-studio-btn-primary {
  background: var(--color-primary);
  color: #fff;
  border: 1px solid transparent;
}

.emrekara-studio-btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.emrekara-studio-btn-ghost {
  background: transparent;
  color: var(--color-text-heading);
  border: 1px solid var(--color-border-strong);
}

.emrekara-studio-btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.emrekara-studio-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

.emrekara-studio-hero-portrait {
  display: none;
}

/* Tablet: metin + portre yan yana */
@media (min-width: 768px) {
  .emrekara-studio-hero-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
    align-items: center;
  }

  .emrekara-studio-hero-portrait {
    display: block;
    justify-self: end;
    width: min(100%, 16rem);
    aspect-ratio: 4 / 5;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    animation: emrekara-studio-from-right 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
  }

  .emrekara-studio-hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 1024px) {
  .emrekara-studio-hero-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem;
    align-items: end;
  }

  .emrekara-studio-hero-portrait {
    width: min(100%, 22rem);
    border-radius: 1.25rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  }
}

/* Skills */
.emrekara-studio-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.75rem;
  list-style: none;
  padding: 0;
}

.emrekara-studio-skill-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(14, 116, 144, 0.22);
  background: rgba(14, 116, 144, 0.06);
  color: var(--color-text-heading);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Experience */
.emrekara-studio-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.emrekara-studio-job {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.85rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 640px) {
  .emrekara-studio-job {
    grid-template-columns: auto 1fr;
    gap: 1.15rem;
    padding: 1.25rem 0;
  }
}

.emrekara-studio-job:last-child {
  border-bottom: none;
}

.emrekara-studio-job-logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .emrekara-studio-job-logo {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
  }
}

.emrekara-studio-job-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emrekara-studio-job-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin: 0;
}

@media (min-width: 640px) {
  .emrekara-studio-job-title {
    font-size: 1.2rem;
  }
}

.emrekara-studio-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.emrekara-studio-job-meta .company {
  font-weight: 700;
  color: var(--color-primary);
}

.emrekara-studio-job-desc {
  margin-top: 0.75rem;
  white-space: pre-line;
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Projects — mobilde tek kolon daha okunaklı; dar tablette 2, genişte 3/4 */
.emrekara-studio-project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 420px) {
  .emrekara-studio-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 768px) {
  .emrekara-studio-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .emrekara-studio-project-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.emrekara-studio-project-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: 0.45rem 0.6rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border);
  border-radius: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.emrekara-studio-project-item:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 116, 144, 0.35);
  background: #fff;
}

.emrekara-studio-project-item img {
  width: 100%;
  height: 100%;
  max-height: 4.25rem;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .emrekara-studio-project-item {
    min-height: 6rem;
    padding: 0.5rem 0.7rem;
  }

  .emrekara-studio-project-item img {
    max-height: 4.75rem;
  }
}

/* Blog */
.emrekara-studio-blog-list {
  display: grid;
  gap: 0;
}

.emrekara-studio-blog-item {
  display: block;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

@media (min-width: 640px) {
  .emrekara-studio-blog-item {
    padding: 1.35rem 0;
  }
}

.emrekara-studio-blog-item:first-child {
  border-top: 1px solid var(--color-border);
}

.emrekara-studio-blog-item:hover .blog-title {
  color: var(--color-primary);
}

.emrekara-studio-blog-item .blog-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin: 0;
  transition: color 0.2s ease;
}

@media (min-width: 640px) {
  .emrekara-studio-blog-item .blog-title {
    font-size: 1.2rem;
  }
}

.emrekara-studio-blog-item .blog-date {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.emrekara-studio-blog-item .blog-excerpt {
  margin-top: 0.55rem;
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Contact form */
.emrekara-studio-form input,
.emrekara-studio-form textarea {
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid var(--color-border-strong);
  background: #fff;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  color: var(--color-text-heading);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.emrekara-studio-form input:focus,
.emrekara-studio-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.emrekara-studio-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.emrekara-studio-social a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* Prose */
.emrekara-studio-prose {
  line-height: 1.75;
  color: var(--color-text-base);
  font-size: 0.98rem;
  text-align: left;
}

@media (min-width: 768px) {
  .emrekara-studio-prose {
    font-size: 1.02rem;
    line-height: 1.8;
  }
}

.emrekara-studio-prose p {
  margin-bottom: 0.9rem;
}

.emrekara-studio-prose a {
  color: var(--color-primary);
  text-decoration: underline;
}

.emrekara-studio-prose strong {
  color: var(--color-text-heading);
  font-weight: 700;
}

.emrekara-studio-prose ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0.75rem 0;
}

.emrekara-studio-prose ol {
  list-style: decimal;
  padding-left: 1.35rem;
  margin: 0.75rem 0;
}

.emrekara-studio-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 0.9rem 0;
}

/* Reveal — varsayılan görünür; JS sınıfı eklenince soldan / sağdan kayarak gelir */
.emrekara-studio-reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.emrekara-studio-js .emrekara-studio-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateX(-1.25rem);
}

/* Ana sayfada bölümler sırayla sol / sağ */
.emrekara-studio-js main > section:nth-of-type(odd) .emrekara-studio-reveal:not(.is-visible) {
  transform: translateX(1.25rem);
}

.emrekara-studio-js main > section:nth-of-type(even) .emrekara-studio-reveal:not(.is-visible) {
  transform: translateX(-1.25rem);
}

@media (min-width: 768px) {
  .emrekara-studio-js .emrekara-studio-reveal:not(.is-visible) {
    transform: translateX(-2.75rem);
  }

  .emrekara-studio-js main > section:nth-of-type(odd) .emrekara-studio-reveal:not(.is-visible) {
    transform: translateX(2.75rem);
  }

  .emrekara-studio-js main > section:nth-of-type(even) .emrekara-studio-reveal:not(.is-visible) {
    transform: translateX(-2.75rem);
  }
}

.emrekara-studio-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Bölüm içi kartlar: görünür olunca dönüşümlü sol / sağ */
.emrekara-studio-js .emrekara-studio-reveal:not(.is-visible) .emrekara-studio-project-item,
.emrekara-studio-js .emrekara-studio-reveal:not(.is-visible) .emrekara-studio-job,
.emrekara-studio-js .emrekara-studio-reveal:not(.is-visible) .emrekara-studio-blog-item,
.emrekara-studio-js .emrekara-studio-reveal:not(.is-visible) .emrekara-studio-skill-chip {
  opacity: 0;
}

.emrekara-studio-reveal.is-visible .emrekara-studio-project-item,
.emrekara-studio-reveal.is-visible .emrekara-studio-job,
.emrekara-studio-reveal.is-visible .emrekara-studio-blog-item,
.emrekara-studio-reveal.is-visible .emrekara-studio-skill-chip {
  animation: emrekara-studio-from-left 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.emrekara-studio-reveal.is-visible .emrekara-studio-project-item:nth-child(even),
.emrekara-studio-reveal.is-visible .emrekara-studio-job:nth-child(even),
.emrekara-studio-reveal.is-visible .emrekara-studio-blog-item:nth-child(even),
.emrekara-studio-reveal.is-visible .emrekara-studio-skill-chip:nth-child(even) {
  animation-name: emrekara-studio-from-right;
}

.emrekara-studio-reveal.is-visible .emrekara-studio-project-item:nth-child(1),
.emrekara-studio-reveal.is-visible .emrekara-studio-job:nth-child(1),
.emrekara-studio-reveal.is-visible .emrekara-studio-blog-item:nth-child(1),
.emrekara-studio-reveal.is-visible .emrekara-studio-skill-chip:nth-child(1) { animation-delay: 0.04s; }

.emrekara-studio-reveal.is-visible .emrekara-studio-project-item:nth-child(2),
.emrekara-studio-reveal.is-visible .emrekara-studio-job:nth-child(2),
.emrekara-studio-reveal.is-visible .emrekara-studio-blog-item:nth-child(2),
.emrekara-studio-reveal.is-visible .emrekara-studio-skill-chip:nth-child(2) { animation-delay: 0.1s; }

.emrekara-studio-reveal.is-visible .emrekara-studio-project-item:nth-child(3),
.emrekara-studio-reveal.is-visible .emrekara-studio-job:nth-child(3),
.emrekara-studio-reveal.is-visible .emrekara-studio-blog-item:nth-child(3),
.emrekara-studio-reveal.is-visible .emrekara-studio-skill-chip:nth-child(3) { animation-delay: 0.16s; }

.emrekara-studio-reveal.is-visible .emrekara-studio-project-item:nth-child(4),
.emrekara-studio-reveal.is-visible .emrekara-studio-job:nth-child(4),
.emrekara-studio-reveal.is-visible .emrekara-studio-blog-item:nth-child(4),
.emrekara-studio-reveal.is-visible .emrekara-studio-skill-chip:nth-child(4) { animation-delay: 0.22s; }

.emrekara-studio-reveal.is-visible .emrekara-studio-project-item:nth-child(5),
.emrekara-studio-reveal.is-visible .emrekara-studio-job:nth-child(5),
.emrekara-studio-reveal.is-visible .emrekara-studio-blog-item:nth-child(5),
.emrekara-studio-reveal.is-visible .emrekara-studio-skill-chip:nth-child(5) { animation-delay: 0.28s; }

.emrekara-studio-reveal.is-visible .emrekara-studio-project-item:nth-child(n + 6),
.emrekara-studio-reveal.is-visible .emrekara-studio-job:nth-child(n + 6),
.emrekara-studio-reveal.is-visible .emrekara-studio-blog-item:nth-child(n + 6),
.emrekara-studio-reveal.is-visible .emrekara-studio-skill-chip:nth-child(n + 6) { animation-delay: 0.34s; }

/* Layout helpers (Tailwind’e bağımlı olmadan) */
.emrekara-studio-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border-strong);
  padding: 0.45rem 0.8rem;
  min-height: 2.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-heading);
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .emrekara-studio-menu-btn {
    display: none;
  }

  .emrekara-studio-mobile-panel {
    display: none !important;
  }
}

.emrekara-studio-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .emrekara-studio-footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

.emrekara-studio-social-list {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@keyframes emrekara-studio-from-left {
  from { opacity: 0; transform: translateX(-2.5rem); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes emrekara-studio-from-right {
  from { opacity: 0; transform: translateX(2.5rem); }
  to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .emrekara-studio-hero-brand,
  .emrekara-studio-hero-title,
  .emrekara-studio-hero-sub,
  .emrekara-studio-hero-actions,
  .emrekara-studio-hero-portrait,
  .emrekara-studio-reveal,
  .emrekara-studio-reveal.is-visible .emrekara-studio-project-item,
  .emrekara-studio-reveal.is-visible .emrekara-studio-job,
  .emrekara-studio-reveal.is-visible .emrekara-studio-blog-item,
  .emrekara-studio-reveal.is-visible .emrekara-studio-skill-chip {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .emrekara-studio-js .emrekara-studio-reveal:not(.is-visible),
  .emrekara-studio-js .emrekara-studio-reveal:not(.is-visible) .emrekara-studio-project-item,
  .emrekara-studio-js .emrekara-studio-reveal:not(.is-visible) .emrekara-studio-job,
  .emrekara-studio-js .emrekara-studio-reveal:not(.is-visible) .emrekara-studio-blog-item,
  .emrekara-studio-js .emrekara-studio-reveal:not(.is-visible) .emrekara-studio-skill-chip {
    opacity: 1 !important;
    transform: none !important;
  }
}

.emrekara-studio-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.75rem 0;
  margin-top: 2rem;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}
