:root {
    --bg: #0e0f12;
    --bg-soft: #16181d;
    --surface: #1c1f26;
    --text: #f2f3f5;
    --muted: #9aa0aa;
    --accent: #c8a96a;
    --accent-soft: rgba(200, 169, 106, 0.12);
    --line: rgba(255, 255, 255, 0.08);
    --radius: 16px;
    --max: 1180px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== TEMA: AÇIK (light) ===== */
[data-theme="light"] {
    --bg: #f6f6f3;
    --bg-soft: #ffffff;
    --surface: #ffffff;
    --text: #1a1c20;
    --muted: #5f6671;
    --accent: #a6842f;
    --accent-soft: rgba(166, 132, 47, 0.12);
    --line: rgba(0, 0, 0, 0.12);
}
.img-frame .about-logo { width: auto; max-width: 280px; max-height: 220px; margin: 0 auto; object-fit: contain; }

[data-theme="light"] .navbar.scrolled { background: rgba(255, 255, 255, 0.82); }
[data-theme="light"] .hero-bg { filter: saturate(1) brightness(1.05); }
[data-theme="light"] .hero-bg::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), var(--bg)); }

.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%; margin-left: 14px;
    background: var(--surface); border: 1px solid var(--line); color: var(--text);
    cursor: pointer; flex: none;
    transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .ic-moon { display: none; }
[data-theme="light"] .theme-toggle .ic-sun { display: none; }
[data-theme="light"] .theme-toggle .ic-moon { display: block; }
@media (max-width: 760px) {
    .theme-toggle { margin-left: 0; margin-right: 8px; width: 38px; height: 38px; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

/* NAVBAR */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(14, 15, 18, 0.75);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-container {
    max-width: var(--max); margin: 0 auto; padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { font-weight: 800; letter-spacing: 1px; font-size: 1.5rem; color: var(--text); text-decoration: none; }
.logo span { color: var(--accent); }
.logo img { height: 76px; width: auto; display: block; filter: drop-shadow(0 2px 10px rgba(200,169,106,0.35)); }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
    color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500;
    position: relative; transition: color .3s var(--ease);
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
    background: var(--accent); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); transition: .3s var(--ease); }

/* Mobil menü arka planı (scrim) — header içinde, nav-links'in altında */
.nav-backdrop {
    position: fixed; inset: 0; z-index: 102;
    background: rgba(0,0,0,0.55); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.nav-backdrop.active { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

/* HERO */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 120px 0 60px; overflow: hidden;
}
.hero .container { display: flex; align-items: center; }
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(900px 600px at 80% 20%, rgba(200,169,106,0.18), transparent 60%),
        radial-gradient(700px 500px at 10% 80%, rgba(80,120,160,0.12), transparent 60%),
        url('images/std6/std61.png') center/cover no-repeat;
    filter: saturate(0.9) brightness(0.62);
    z-index: -1;
}
.hero-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(14,15,18,0.25), var(--bg)); }
.hero-content { max-width: 820px; }
.hero-eyebrow { color: var(--accent); letter-spacing: 4px; font-size: .8rem; font-weight: 600; margin-bottom: 22px; }
.hero-title {
    font-family: 'Playfair Display', serif; font-weight: 600;
    font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.08; margin-bottom: 24px;
}
.hero-title em { color: var(--accent); font-style: italic; }
.hero-sub { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 560px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: .95rem;
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-primary { background: var(--accent); color: #1a1408; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(200,169,106,0.3); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.btn.full { width: 100%; }

.hero-scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: .75rem; letter-spacing: 2px; }
.scroll-line { width: 1px; height: 50px; background: linear-gradient(var(--accent), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.3; transform:scaleY(.6);} 50%{opacity:1; transform:scaleY(1);} }

/* SECTION COMMON */
.section { padding: 110px 0; }
.section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 56px; }
.section-index { color: var(--accent); font-weight: 700; font-size: .9rem; letter-spacing: 2px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 600; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-text .lead { font-size: 1.25rem; margin-bottom: 18px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-text em { color: var(--accent); font-style: italic; }
.about-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: .98rem; }
.about-list li span { color: var(--accent); font-weight: 600; min-width: 110px; text-transform: uppercase; font-size: .78rem; letter-spacing: 1px; padding-top: 3px; }
.img-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; }
.img-frame::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 0 1px rgba(200,169,106,0.15); border-radius: var(--radius); }
.img-frame img { width: 100%; height: auto; max-height: 480px; object-fit: contain; transition: transform .8s var(--ease); }
.img-frame:hover img { transform: scale(1.05); }

/* PROJECTS */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.project-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), border-color .4s var(--ease); }
.project-card:hover { transform: translateY(-8px); border-color: rgba(200,169,106,0.4); }
.project-img { overflow: hidden; height: 280px; cursor: pointer; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover .project-img img { transform: scale(1.07); }
.project-info { padding: 26px 26px 30px; }
.project-tag { display: inline-block; font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 100px; margin-bottom: 14px; }
.project-info h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 10px; }
.project-info p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.project-link { background: none; border: 0; color: var(--text); font-weight: 600; cursor: pointer; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: gap .3s var(--ease), color .3s var(--ease); }
.project-link span { color: var(--accent); transition: transform .3s var(--ease); }
.project-link:hover { color: var(--accent); }
.project-link:hover span { transform: translateX(5px); }

/* SKILLS */
.skills { background: var(--bg-soft); }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.skill-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.skill-card h4 { font-size: 1.1rem; margin-bottom: 22px; color: var(--text); }
.skill-bar { position: relative; margin-bottom: 22px; }
.skill-bar span { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.skill-bar span::after { content: attr(data-val); color: var(--accent); font-weight: 600; }
.skill-bar::after { content: ""; display: block; height: 6px; width: 100%; background: rgba(255,255,255,0.06); border-radius: 100px; }
.skill-bar::before { content: ""; position: absolute; left: 0; bottom: 0; height: 6px; width: var(--val, 0%);     background: linear-gradient(90deg, var(--accent), #e3c98c); border-radius: 100px; }
.skill-card.in-view .skill-bar::before { animation: fillBar 1.2s var(--ease) forwards; }
@keyframes fillBar { from { width: 0; } to { width: var(--val); } }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info .lead { font-size: 1.2rem; margin-bottom: 26px; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.contact-list li span { color: var(--accent); font-size: .75rem; letter-spacing: 1.5px; text-transform: uppercase; }
.contact-list a { color: var(--text); text-decoration: none; font-size: 1.05rem; transition: color .3s var(--ease); }
.contact-list a:hover { color: var(--accent); }

.contact-form { display: grid; gap: 20px; }
.field { position: relative; }
.field input, .field textarea {
    width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
    padding: 18px 16px 14px; color: var(--text); font-family: inherit; font-size: .95rem; resize: vertical;
    transition: border-color .3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field label {
    position: absolute; left: 16px; top: 16px; color: var(--muted); font-size: .95rem; pointer-events: none;
    transition: .25s var(--ease);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
    top: 6px; font-size: .72rem; color: var(--accent); letter-spacing: 1px;
}
.form-status { font-size: .9rem; color: var(--accent); min-height: 20px; }

/* FOOTER */
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .88rem; }
.footer-top { color: var(--muted); text-decoration: none; transition: color .3s var(--ease); }
.footer-top:hover { color: var(--accent); }

/* PROJECT DETAIL PAGE */
.project-detail { padding: 140px 0 90px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500; margin-bottom: 30px; transition: color .3s var(--ease); }
.back-link:hover { color: var(--accent); }
.detail-head { border-bottom: 1px solid var(--line); padding-bottom: 30px; margin-bottom: 44px; }
.detail-tag { display: inline-block; font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 100px; margin-bottom: 16px; }
.detail-head h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; margin-bottom: 18px; }
.detail-intro { color: var(--muted); font-size: 1.05rem; line-height: 1.8; max-width: 760px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 26px; }
.detail-meta div { display: flex; flex-direction: column; gap: 3px; }
.detail-meta span { color: var(--accent); font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; }
.detail-meta strong { font-size: .98rem; font-weight: 500; }
.detail-nav { margin-top: 50px; }

.pd-section { margin-bottom: 46px; }
.pd-section:last-child { margin-bottom: 0; }
.pd-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.pd-num { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: 2px; }
.pd-head h4 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 600; }
.pd-desc { color: var(--muted); font-size: .92rem; margin: -8px 0 16px; }

/* Bölüm başlığı araçları (kaydırma okları) */
.pd-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.pd-num { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: 2px; }
.pd-head h4 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 600; flex: 1; }
.pd-tools { display: flex; gap: 8px; }
.pd-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.pd-arrow:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.pd-arrow:active { transform: scale(.94); }

/* YATAY KAYDIRILABİLİR GALERİ */
.carousel {
  display: flex; gap: 18px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  cursor: grab;
}
.carousel.dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }
.carousel::-webkit-scrollbar { height: 7px; }
.carousel::-webkit-scrollbar-track { background: var(--bg-soft); border-radius: 10px; }
.carousel::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }
.carousel:hover::-webkit-scrollbar-thumb { background: var(--accent); }

.pd-card {
  position: relative; flex: 0 0 auto;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-soft); cursor: pointer;
  scroll-snap-align: start;
  transition: border-color .35s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pd-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0,0,0,.45); }
.pd-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); display: block; }
.pd-card:hover img { transform: scale(1.05); }
.pd-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  font-size: .8rem; color: var(--text);
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.pd-card:hover figcaption { opacity: 1; transform: translateY(0); }

/* 3D — büyük ve öne çıkan kartlar */
#pd3d .pd-card { width: min(580px, 82vw); aspect-ratio: 16 / 10; }
#pd3d .pd-card.wide { width: min(820px, 92vw); aspect-ratio: 16 / 9; }

/* Plan, kesit ve pafta — teknik çizimler olduğu gibi sığsın (kırpılmasın) */
#pdPlan .pd-card, #pdSection .pd-card, #pdSheet .pd-card { width: min(380px, 80vw); aspect-ratio: auto; }
#pdPlan .pd-card img, #pdSection .pd-card img, #pdSheet .pd-card img {
  object-fit: contain; height: auto; max-height: 68vh; width: 100%;
}
#pdPlan .pd-card, #pdSection .pd-card, #pdSheet .pd-card { padding: 14px; }
#pdPlan .pd-card figcaption, #pdSection .pd-card figcaption, #pdSheet .pd-card figcaption { left: 14px; right: 14px; bottom: 14px; width: auto; border-radius: 8px; }

/* İlerleme çubuğu */
.carousel-bar { height: 3px; background: var(--line); border-radius: 4px; overflow: hidden; margin-top: 10px; }
.carousel-bar span { display: block; height: 100%; width: 10%; background: var(--accent); border-radius: 4px; transition: width .15s ease; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.92); padding: 40px; }
.lightbox.open { display: flex; }
.lb-figure { margin: 0; max-width: 90%; max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-figure img { max-width: 100%; max-height: 78vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); transform: scale(var(--lb-scale, 1)); transform-origin: center; transition: transform .12s ease; cursor: zoom-in; }
.lb-figure img.zoomed { cursor: grab; }
.lb-figure img.grabbing { cursor: grabbing; }
.lb-figure figcaption { color: var(--muted); font-size: .88rem; letter-spacing: .5px; }
.lb-close { position: absolute; top: 22px; right: 26px; background: var(--surface); border: 1px solid var(--line); color: var(--text); width: 44px; height: 44px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; line-height: 1; transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.lb-close:hover { color: var(--accent); border-color: var(--accent); transform: rotate(90deg); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: var(--surface); border: 1px solid var(--line); color: var(--text); width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; cursor: pointer; line-height: 1; transition: color .3s var(--ease), border-color .3s var(--ease); }
.lb-nav:hover { color: var(--accent); border-color: var(--accent); }
.lb-prev { left: 26px; }
.lb-next { right: 26px; }

@media (max-width: 640px) {
    .project-detail { padding: 120px 0 70px; }
    #pd3d .pd-card { width: 86vw; }
    #pdPlan .pd-card, #pdSection .pd-card, #pdSheet .pd-card { width: 82vw; }
    .pd-arrow { width: 36px; height: 36px; font-size: 1.3rem; }
    .lightbox { padding: 12px; }
    .lb-figure { max-width: 100%; }
    .lb-nav { width: 42px; height: 42px; font-size: 1.6rem; }
    .lb-prev { left: 8px; }
    .lb-next { right: 8px; }
    .lb-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1.6rem; }
}

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .skills-grid { grid-template-columns: 1fr; }
    .project-grid { grid-template-columns: 1fr; }
    .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: 72%; max-width: 320px; z-index: 103; background: var(--bg-soft); flex-direction: column; padding: 100px 40px; gap: 26px; transform: translateX(100%); transition: transform .4s var(--ease); border-left: 1px solid var(--line); }
    .nav-links.active { transform: translateX(0); }
    .nav-toggle { display: flex; z-index: 110; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .section { padding: 80px 0; }
}

@media (max-width: 520px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .section-head { flex-direction: column; gap: 6px; }
    .about-list li { flex-direction: column; gap: 4px; }
    .about-list li span { min-width: 0; }
    .detail-meta { gap: 20px; }
    .contact-info .lead, .about-text .lead { font-size: 1.1rem; }
    .footer-inner { justify-content: center; text-align: center; }
    .container { padding: 0 18px; }
    .nav-container { padding: 16px 18px; }
    .logo img { height: 62px; }
}

@media (max-width: 380px) {
    .logo { font-size: 1.25rem; }
    .hero-title { font-size: 2rem; }
    .intro-logo { height: 120px; }
}

/* ===== ETKİLEŞİM KATMANI ===== */

/* Üst scroll ilerleme çubuğu */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), #e6c98a);
  box-shadow: 0 0 12px rgba(200, 169, 106, 0.65);
  transition: width .08s linear;
}

/* Hero açılış animasyonu (kademeli) */
.hero-content > * {
  opacity: 0; transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.hero-content.is-in > * { opacity: 1; transform: none; }
.hero-content.is-in > *:nth-child(1) { transition-delay: .05s; }
.hero-content.is-in > *:nth-child(2) { transition-delay: .18s; }
.hero-content.is-in > *:nth-child(3) { transition-delay: .31s; }
.hero-content.is-in > *:nth-child(4) { transition-delay: .44s; }
.hero-content.is-in > *:nth-child(5) { transition-delay: .57s; }

/* Klavye odak görünümü */
.pd-card:focus-visible, .pd-arrow:focus-visible,
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Hareketi azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .reveal { opacity: 1 !important; transform: none !important; }
  .carousel { scroll-behavior: auto; }
}

/* ===== KARŞILAMA ANİMASYONU ===== */
.intro {
  position: fixed; inset: 0; z-index: 400; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 50% 25%, #16181d 0%, #0e0f12 65%);
}
.intro-logo {
  position: absolute; top: 40%; left: 50%; height: 165px; width: auto; z-index: 2;
  transform: translate(-50%, -50%) scale(.96); opacity: 0;
  filter: drop-shadow(0 8px 26px rgba(200, 169, 106, 0.35));
  animation: logoIn .7s var(--ease) 1.65s forwards;
}
.intro-skyline {
  position: absolute; bottom: 14vh; left: 50%; z-index: 1;
  width: min(640px, 92vw);
  transform: translateX(-50%);
  clip-path: inset(0 100% 0 0);
  animation: cityReveal 1.5s var(--ease) .15s forwards;
}
.intro-skyline img { width: 100%; height: auto; display: block; filter: brightness(0) invert(1); }
.intro-bar {
  position: absolute; bottom: 4vh; left: 50%; transform: translateX(-50%);
  width: min(320px, 64vw); height: 2px; background: var(--line);
  border-radius: 4px; overflow: hidden;
}
.intro-bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), #e6c98a);
  animation: barFill 2.1s var(--ease) forwards;
}
.intro.hide { animation: introOut .6s var(--ease) forwards; }

@keyframes cityReveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes logoIn { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes barFill { to { width: 100%; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
}
