/* Mebay Grup — original four-panel layout, refined and animated. */
:root {
  --ink: #333;
  --yellow: #f9dc42;
  --paper: #fff;
  --line: #ebebeb;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
img { height: auto; }
html, body { width: 100%; height: 100%; margin: 0; }
body { background: var(--ink); color: var(--ink); font-family: Raleway, Arial, sans-serif; overflow: hidden; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 5px; left: 10px; padding: 12px 16px; background: var(--yellow); color: #222; transform: translateY(-150%); text-decoration: none; font-size: 14px; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #c89d00; outline-offset: 4px; }

/* Home: the same four quadrants, illustrations, central logo and frame. */
.workspace { position: fixed; inset: 10px; overflow: hidden; background: var(--paper); }
.panel { position: absolute; width: 50%; height: 50%; overflow: hidden; background: #fff; transition: width .72s var(--ease), height .72s var(--ease), opacity .38s ease; }
.panel-about { top: 0; left: 0; }
.panel-references { top: 0; right: 0; }
.panel-work { left: 0; bottom: 0; }
.panel-blog { right: 0; bottom: 0; }
.panel-head { width: 100%; height: 100%; position: relative; background: #f9f9f9; }
.panel-trigger { position: relative; width: 100%; height: 100%; display: block; padding: 0; border: 0; overflow: hidden; text-align: left; transition: background-color .4s ease; }
.panel-about .panel-trigger { background-color: #f9f9f9; }
.panel-references .panel-trigger, .panel-work .panel-trigger { background-color: #ebebeb; }
.panel-blog .panel-trigger { background-color: #ddd; }
.panel-trigger:hover, .panel-trigger:focus-visible { background-color: var(--yellow); }
.panel-trigger:focus-visible { outline: 3px solid #333; outline-offset: -7px; z-index: 1; }
.artwork { position: absolute; left: 0; display: block; width: min(100%, 800px); pointer-events: none; }
.panel-about .artwork, .panel-references .artwork { bottom: 0; }
.panel-work .artwork, .panel-blog .artwork { top: 0; }
.artwork img { display: block; width: 100%; height: auto; transition: transform .65s var(--ease); animation: artwork-in .8s ease both; }
.panel-references .artwork img { animation-delay: .1s; }
.panel-work .artwork img { animation-delay: .18s; }
.panel-blog .artwork img { animation-delay: .26s; }
.panel-trigger:hover .artwork img, .panel-trigger:focus-visible .artwork img { transform: scale(1.025); }
.tile-hint { position: absolute; right: 28px; bottom: 25px; color: #333; font-size: 10px; font-weight: 700; letter-spacing: .2em; opacity: 0; transform: translateY(7px); transition: opacity .3s ease, transform .3s var(--ease); }
.tile-hint span { font-size: 16px; letter-spacing: 0; margin-left: 5px; display: inline-block; transition: transform .3s; }
.panel-trigger:hover .tile-hint, .panel-trigger:focus-visible .tile-hint { opacity: .8; transform: translateY(0); }
.panel-trigger:hover .tile-hint span { transform: translate(3px,-3px); }
.center-brand { position: absolute; z-index: 6; top: 50%; left: 50%; width: 180px; height: 180px; background: #fff; display: grid; place-items: center; transform: translate(-50%,-50%); pointer-events: none; transition: opacity .32s ease, transform .55s var(--ease); }
.center-brand img { position: relative; top: -5px; display: block; width: 100%; height: auto; animation: logo-breathe 8s ease-in-out infinite; }
.workspace.has-active .center-brand { opacity: 0; transform: translate(-50%,-50%) scale(.88); }

/* Expanding a quadrant keeps the original split header. */
.panel-intro, .panel-content { display: none; }
.workspace.has-active .panel:not(.is-active) { width: 0; height: 0; opacity: 0; pointer-events: none; }
.panel.is-active { z-index: 4; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #c6c6c6 #f5f5f5; scrollbar-width: thin; }
.panel.is-active .panel-head { display: grid; grid-template-columns: 1fr 1fr; height: 500px; background: #f9f9f9; }
.panel.is-active .panel-trigger { height: 500px; pointer-events: none; cursor: default; background: #f9f9f9; }
.panel-about.is-active .artwork, .panel-references.is-active .artwork, .panel-work.is-active .artwork, .panel-services.is-active .artwork { width: 800px; max-width: 200%; }
.panel.is-active .artwork img { animation: none; transform: none; }
.panel.is-active .tile-hint { display: none; }
.panel.is-active .panel-intro { display: block; position: relative; background: var(--yellow); padding: 160px 10% 40px 80px; animation: intro-in .65s .2s both; }
.panel-intro h2 { margin: 0; max-width: 480px; color: #fff; text-shadow: 0 1px 2px rgba(76, 62, 0, .25); font-size: 30px; line-height: 1.32; font-weight: 700; letter-spacing: 2px; }
.panel-intro h2:focus { outline: none; }
.panel.is-active .panel-content { display: block; animation: content-in .65s .25s both; }
.back-button { position: fixed; z-index: 15; top: 0; right: 0; width: 60px; height: 60px; border: 0; background: #333; color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: color .25s, opacity .3s, transform .3s, visibility .3s; }
.back-button.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-button:hover { color: var(--yellow); }
.back-button svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: square; }

/* Interior content retains the site's clean, centered section style. */
.content-wrap { width: min(100%, 1040px); margin: 0 auto; padding: 84px 20px 110px; }
.section-rule { display: flex; align-items: center; gap: 16px; width: 100%; margin-bottom: 54px; }
.section-rule::before, .section-rule::after { content: ''; flex: 1; height: 1px; background: #ededed; }
.section-rule h2 { margin: 0; text-align: center; font-size: 18px; font-weight: 400; letter-spacing: 2px; line-height: 1.5; }
.section-rule.spaced { margin-top: 112px; }
.section-lead { max-width: 620px; margin: -30px auto 45px; text-align: center; color: #777; font-size: 15px; line-height: 1.8; }
.content-note { margin: 18px 0 0; text-align: center; color: #999; font-size: 11px; line-height: 1.7; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* About and services. */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); justify-content: center; gap: 34px; }
.member { text-align: center; }
.member-photo { aspect-ratio: 1; position: relative; overflow: hidden; background: #e7e7e7; box-shadow: 0 2px 14px rgba(0,0,0,.08); transition: box-shadow .4s ease; }
.member:hover .member-photo { box-shadow: 0 8px 28px rgba(0,0,0,.15); }
.member-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; display: block; transition: transform .65s var(--ease), opacity .5s ease, filter .5s ease; }
.member-photo > img:first-child { object-position: center 20%; }
.member-photo .member-color { object-position: center 20%; }
.member-photo .member-color { opacity: 0; }
.member-photo span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-family: Arial, sans-serif; font-weight: 800; font-size: 120px; line-height: 1; transition: opacity .4s ease, transform .5s var(--ease); }
.member:hover .member-color { opacity: 1; transform: scale(1.035); }
.member:hover .member-photo span { opacity: 0; transform: scale(.9); }
.member h3 { margin: 25px 0 8px; color: #292929; font-size: 18px; font-weight: 700; letter-spacing: 1.5px; }
.member p { margin: 0; color: #999; font-size: 13px; letter-spacing: .04em; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #eee; border-left: 1px solid #eee; }
.service-item { min-height: 260px; padding: 52px 44px; text-align: center; border-right: 1px solid #eee; border-bottom: 1px solid #eee; transition: background .35s; }
.service-item:hover { background: #fafafa; }
.service-item svg { width: 35px; height: 35px; fill: none; stroke: #333; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.service-item:hover svg { transform: translateY(-5px) rotate(-5deg); }
.service-item h3 { margin: 23px 0 16px; font-size: 20px; letter-spacing: 1px; }
.service-item p { max-width: 380px; margin: 0 auto; color: #888; font-size: 15px; line-height: 1.8; }
.service-item.service-wide { grid-column: span 2; }
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; overflow: hidden; }
.studio-grid img { width: 100%; aspect-ratio: 1.48; object-fit: cover; display: block; filter: grayscale(100%); transition: filter .5s ease, transform .6s var(--ease); }
.studio-grid img:hover { filter: grayscale(0); transform: scale(1.04); }

/* Reference logos supplied by the user. */
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid #eee; border-left: 1px solid #eee; }
.client-logo { min-width: 0; min-height: 182px; margin: 0; padding: 24px 18px 17px; border-right: 1px solid #eee; border-bottom: 1px solid #eee; display: flex; flex-direction: column; align-items: center; justify-content: space-between; background: #fff; transition: background .3s ease, opacity .65s ease, transform .65s var(--ease); }
.client-logo:hover { background: #fafafa; }
.client-logo div { display: flex; align-items: center; justify-content: center; width: 100%; height: 115px; }
.client-logo img { width: auto; max-width: 85%; max-height: 90px; object-fit: contain; display: block; transition: transform .5s var(--ease); }
.client-logo:hover img { transform: scale(1.055); }
.client-logo figcaption { width: 100%; text-align: center; color: #777; font-size: 10px; letter-spacing: .07em; line-height: 1.4; }

/* Gallery: project categories and showcase portfolio. */
.work-content { width: min(100%, 1120px); }
.work-lead { margin: 0 0 36px; color: #929292; text-align: center; font-size: 12px; line-height: 1.6; }

/* Blog keeps the original image-and-copy rows. */
.post { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; background: #f9f9f9; overflow: hidden; }
.post-image { min-height: 260px; overflow: hidden; }
.post-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post:hover .post-image img { transform: scale(1.04); }
.post-copy { align-self: center; padding: 42px 48px; }
.post-meta { margin: 0 0 16px; color: #999; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.post h3 { margin: 0 0 17px; font-size: 22px; line-height: 1.4; letter-spacing: .035em; }
.post-copy > p:not(.post-meta), .post details p { color: #888; font-size: 14px; line-height: 1.8; }
.post details { margin-top: 17px; }
.post summary { width: fit-content; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .08em; list-style: none; border-bottom: 1px solid #333; padding-bottom: 4px; }
.post summary::-webkit-details-marker { display: none; }
.post summary::after { content: ' ↗'; }
.post details[open] summary::after { content: ' −'; }
.post details p { margin-bottom: 0; }

.closing-cta { background: #eee; text-align: center; padding: 100px 20px 110px; }
.closing-cta h2 { margin: 0 0 28px; font-size: clamp(25px,3vw,36px); font-weight: 700; letter-spacing: 2px; }
.closing-cta button { padding: 14px 23px; border: 1px solid #333; background: transparent; color: #333; font-size: 12px; font-weight: 700; letter-spacing: .12em; transition: background .3s, color .3s; }
.closing-cta button:hover { background: #333; color: #fff; }
.closing-cta button span { display: inline-block; margin-left: 8px; transition: transform .3s; }
.closing-cta button:hover span { transform: translate(3px,-3px); }

/* Original bottom contact tab, now keyboard-friendly and responsive. */
.contact-drawer { position: fixed; z-index: 20; left: 0; bottom: 0; width: 100%; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.contact-handle { pointer-events: auto; flex: none; width: 110px; height: 40px; padding: 0; border: 0; border-radius: 5px 5px 0 0; background: #333; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 4px; transition: color .25s, transform .3s var(--ease); }
.contact-handle:hover { color: var(--yellow); transform: translateY(-3px); }
.contact-body { pointer-events: auto; width: 100%; max-height: 0; overflow: hidden; background: #333; color: #fff; transition: max-height .65s var(--ease); }
.contact-drawer.is-open .contact-body { max-height: min(76vh, 680px); overflow-y: auto; }
.contact-layout { width: min(100%, 1010px); margin: 0 auto; padding: 70px 20px 62px; display: grid; grid-template-columns: 7fr 4fr; gap: min(8vw, 110px); }
.contact-form input, .contact-form textarea { display: block; width: 100%; height: 48px; margin: 0 0 20px; padding: 13px 15px; border: 1px solid #555; border-radius: 0; background: transparent; color: #fff; font-size: 14px; outline: none; transition: border-color .25s, background .25s; }
.contact-form textarea { height: 135px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #aaa; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--yellow); background: rgba(255,255,255,.025); }
.form-submit { display: inline-flex; align-items: center; gap: 15px; min-height: 46px; padding: 0 20px; border: 1px solid var(--yellow); background: var(--yellow); color: #292929; font-size: 12px; font-weight: 700; letter-spacing: .06em; transition: background .25s, color .25s; }
.form-submit:hover { background: transparent; color: var(--yellow); }
.form-note, .form-status { color: #aaa; font-size: 11px; line-height: 1.6; }
.form-note { margin: 12px 0 0; }
.form-status { color: #f9dc42; }
.contact-details > div { margin-bottom: 28px; }
.contact-details h3 { margin: 0 0 8px; color: var(--yellow); font-size: 14px; font-weight: 400; letter-spacing: 4px; }
.contact-details p { margin: 0; color: #aaa; font-size: 15px; line-height: 1.65; }
.contact-details a { text-decoration: none; transition: color .25s; }
.contact-details a:hover { color: #fff; }
.socials { display: flex; gap: 17px; }
.socials svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }


@keyframes artwork-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes content-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes logo-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.015); } }

@media (max-width: 1000px) {
  .panel.is-active .panel-intro { padding: 125px 8% 40px 55px; }
  .panel-intro h2 { font-size: 26px; }
}
@media (max-width: 800px) {
  .panel.is-active .panel-head { display: block; height: auto; }
  .panel.is-active .panel-trigger { height: 320px; }
  .panel-about.is-active .artwork, .panel-references.is-active .artwork, .panel-work.is-active .artwork, .panel-services.is-active .artwork { width: min(100%,800px); }
  .panel.is-active .panel-intro { min-height: 210px; padding: 52px 9%; }
  .panel-intro h2 { max-width: 600px; font-size: 25px; }
  .content-wrap { padding-top: 68px; }
  .contact-layout { gap: 50px; }
}
@media (max-width: 640px) {
  .center-brand { width: 114px; height: 114px; }
  .panel-about .artwork, .panel-references .artwork, .panel-work .artwork, .panel-blog .artwork, .panel-about.is-active .artwork, .panel-references.is-active .artwork { top: 50%; bottom: auto; left: 50%; width: 80%; max-width: none; height: 62%; transform: translate(-50%,-50%); }
  .artwork img { width: 100%; height: 100%; object-fit: contain; }
  .panel-about .artwork { width: 90%; }
  .panel-references .artwork { width: 85%; }
  .panel-work .artwork { width: 68%; height: 65%; }
  .panel-blog .artwork { width: 80%; }
  .tile-hint { right: 13px; bottom: 15px; font-size: 9px; }
  .panel.is-active .panel-trigger { height: 280px; }
  .panel.is-active .panel-intro { min-height: 190px; padding: 40px 28px; }
  .panel-intro h2 { font-size: 22px; letter-spacing: 1px; }
  .back-button { width: 52px; height: 52px; }
  .back-button svg { width: 24px; height: 24px; }
  .content-wrap { padding: 60px 20px 75px; }
  .section-rule { margin-bottom: 40px; gap: 10px; }
  .section-rule h2 { font-size: 16px; letter-spacing: 1.5px; }
  .section-rule.spaced { margin-top: 75px; }
  .section-lead { margin-top: -18px; margin-bottom: 35px; font-size: 14px; }
  .team-grid { gap: 16px; }
  .member-photo span { font-size: clamp(55px,18vw,90px); }
  .member h3 { font-size: 16px; margin-top: 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item { min-height: 0; padding: 40px 28px; }
  .service-item.service-wide { grid-column: auto; }
  .service-item h3 { font-size: 18px; }
  .studio-grid { grid-template-columns: 1fr; gap: 4px; }
  .studio-grid img { aspect-ratio: 1.8; }
  .logo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .client-logo { min-height: 154px; padding: 18px 10px 14px; }
  .client-logo div { height: 98px; }
  .client-logo img { max-height: 76px; max-width: 90%; }
  .post { grid-template-columns: 1fr; }
  .post-image { height: 220px; min-height: 0; }
  .post-copy { padding: 28px; }
  .post h3 { font-size: 20px; }
  .closing-cta { padding: 70px 22px 90px; }
  .contact-drawer.is-open .contact-body { max-height: min(78vh, 700px); }
  .contact-layout { display: flex; flex-direction: column-reverse; gap: 25px; padding: 34px 25px 45px; }
  .contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .contact-details > div { margin: 0; }
  .contact-details h3 { font-size: 11px; letter-spacing: 2px; }
  .contact-details p { font-size: 12px; }
  .contact-form input, .contact-form textarea { margin-bottom: 12px; }
  .contact-form textarea { height: 100px; }
}
@media (max-width: 380px) {
  .center-brand { width: 100px; height: 100px; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-layout { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Corporate team feature + portraits. */
.team-feature { position: relative; max-width: 780px; margin: 0 auto 60px; overflow: hidden; background: #0f1b2e; box-shadow: 0 10px 40px rgba(15,27,46,.18); }
.team-feature-img { aspect-ratio: 1.6; overflow: hidden; }
.team-feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.team-feature.is-visible .team-feature-img img { transform: scale(1); }
.team-feature:hover .team-feature-img img { transform: scale(1.03); }
.team-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.team-feature.is-visible::after { animation: teamSheen 1.6s .5s var(--ease) both; }
.team-feature figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 30px 24px; display: flex; flex-direction: column; gap: 6px; text-align: left; color: #fff; background: linear-gradient(transparent, rgba(8,15,28,.82)); }
.team-feature figcaption strong { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: #f9dc42; opacity: 0; transform: translateY(12px); transition: opacity .6s .6s ease, transform .6s .6s var(--ease); }
.team-feature figcaption span { font-size: 20px; font-weight: 600; letter-spacing: 1px; opacity: 0; transform: translateY(12px); transition: opacity .6s .75s ease, transform .6s .75s var(--ease); }
.team-feature.is-visible figcaption strong, .team-feature.is-visible figcaption span { opacity: 1; transform: none; }
@keyframes teamSheen { to { transform: translateX(120%); } }
.member-photo { background: #0f1b2e; }
.member-photo span { font-size: 0; }
.member-photo::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #f9dc42; transition: width .55s var(--ease); z-index: 2; }
.member:hover .member-photo::after { width: 100%; }
@media (max-width: 640px) {
  .team-feature { margin-bottom: 40px; }
  .team-feature figcaption { padding: 40px 18px 16px; }
  .team-feature figcaption span { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .team-feature-img img, .team-feature figcaption * { transition: none !important; transform: none !important; opacity: 1 !important; }
  .team-feature::after { animation: none !important; }
}

/* Çalışma alanımız: stats, studio strip and client project cards. */
.work-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; margin: 0 auto 44px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.work-stats div { padding: 26px 10px; text-align: center; position: relative; }
.work-stats div + div::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: #eee; }
.work-stats strong { display: block; color: #292929; font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.work-stats span { display: block; margin-top: 10px; color: #999; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.work-stats strong::after { content: ""; display: block; width: 0; height: 3px; margin: 12px auto 0; background: #f9dc42; transition: width .8s .3s var(--ease); }
.work-stats.is-visible strong::after { width: 28px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 56px; }
.js .project-card.reveal { transition: border-color .35s ease, box-shadow .45s ease, transform .45s var(--ease); }
.js .project-card.reveal.is-visible { animation: projectIn .75s var(--ease) calc(var(--i, 0) * 100ms) backwards; }
@keyframes projectIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.project-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #eee; transition: border-color .35s ease, box-shadow .45s ease, transform .45s var(--ease), opacity .65s ease; }
.project-card::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 3px; background: #f9dc42; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.js .project-card.reveal.is-visible:hover, .project-card:hover { transform: translateY(-6px); border-color: #e6e6e6; box-shadow: 0 16px 34px rgba(0,0,0,.08); }
.project-card:hover::after { transform: scaleX(1); }
.project-logo { height: 150px; display: flex; align-items: center; justify-content: center; padding: 26px 30px; background: #fafafa; border-bottom: 1px solid #f0f0f0; overflow: hidden; }
.project-logo img { max-width: 78%; max-height: 92px; width: auto; height: auto; object-fit: contain; display: block; filter: grayscale(100%); opacity: .75; transition: filter .45s ease, opacity .45s ease, transform .6s var(--ease); }
.project-card:hover .project-logo img { filter: grayscale(0); opacity: 1; transform: scale(1.06); }
.project-body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 22px; text-align: left; }
.project-sector { margin: 0 0 8px; color: #b39400; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.project-body h3 { margin: 0 0 10px; color: #292929; font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.project-desc { margin: 0 0 16px; color: #777; font-size: 13px; line-height: 1.75; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.project-tags li { padding: 4px 9px; border: 1px solid #e5e5e5; color: #666; font-size: 10.5px; letter-spacing: .04em; background: #fff; transition: border-color .3s, background .3s, color .3s; }
.project-card:hover .project-tags li { border-color: #efd65a; background: #fffdf2; color: #6d5700; }
.project-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding-bottom: 3px; color: #333; font-size: 12.5px; font-weight: 600; letter-spacing: .03em; text-decoration: none; background: linear-gradient(#f9dc42, #f9dc42) left bottom / 0 2px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.project-link span[aria-hidden] { display: inline-block; transition: transform .35s var(--ease); }
.project-link:hover, .project-link:focus-visible { background-size: 100% 2px; color: #000; }
.project-link:hover span[aria-hidden] { transform: translate(3px, -3px); }
.project-link.is-muted { color: #bbb; font-weight: 500; background: none; }
@media (max-width: 980px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 640px) {
  .work-stats strong { font-size: 30px; }
  .work-stats span { font-size: 9.5px; letter-spacing: .1em; }
  .project-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .project-logo { height: 120px; }
  .project-logo img { max-height: 72px; filter: none; opacity: 1; }
}
@media (hover: none) { .project-logo img { filter: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .project-card, .project-card::after, .project-logo img, .work-stats strong::after { transition: none !important; animation: none !important; }
}

/* ===================================================
   HİZMETLERİMİZ (OUR SERVICES) - RICH & ANIMATED
   =================================================== */

.services-content { width: min(100%, 1160px); margin: 0 auto; }

/* 1. Capability Stats Bar */
.services-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 55px; }
.stat-box { background: #fff; border: 1px solid #ebebeb; border-radius: 6px; padding: 26px 20px; text-align: center; position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s; }
.stat-box::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #f9dc42; transform: scaleX(0); transform-origin: center; transition: transform .4s var(--ease); }
.stat-box:hover { transform: translateY(-5px); border-color: #dedede; box-shadow: 0 14px 30px rgba(0,0,0,.07); }
.stat-box:hover::after { transform: scaleX(1); }
.stat-box strong { display: block; color: #222; font-size: 38px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-box .stat-special { color: #222; font-size: 34px; letter-spacing: -1px; }
.stat-box span { display: block; margin: 10px 0 6px; color: #292929; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stat-box p { margin: 0; color: #888; font-size: 11.5px; line-height: 1.5; }

/* 2. 6 Detailed Service Cards (2-column layout) */
.services-detailed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-bottom: 70px; }
.js .service-detail-card.reveal { transition: border-color .35s ease, box-shadow .45s ease, transform .45s var(--ease); }
.js .service-detail-card.reveal.is-visible { animation: serviceCardIn .75s var(--ease) calc(var(--i, 0) * 120ms) backwards; }
@keyframes serviceCardIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

.service-detail-card { position: relative; background: #fff; border: 1px solid #e7e7e7; border-radius: 8px; padding: 36px 34px 32px; overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s ease, border-color .35s; }
.service-detail-card::before { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(249,220,66,.22), transparent); transform: skewX(-22deg); pointer-events: none; transition: none; }
.service-detail-card:hover::before { left: 160%; transition: left 1s var(--ease); }
.service-detail-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #f9dc42; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-detail-card:hover { transform: translateY(-7px); border-color: #dcdcdc; box-shadow: 0 20px 44px rgba(0,0,0,.09); }
.service-detail-card:hover::after { transform: scaleX(1); }

.service-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.service-num { font-size: 34px; font-weight: 800; color: #e2e2e2; letter-spacing: -1px; transition: color .35s, transform .35s var(--ease); font-variant-numeric: tabular-nums; }
.service-detail-card:hover .service-num { color: #f9dc42; transform: scale(1.08); }
.service-badge-icon { width: 50px; height: 50px; border-radius: 50%; background: #fbfbfb; border: 1px solid #e9e9e9; display: flex; align-items: center; justify-content: center; color: #333; transition: background .35s, color .35s, transform .45s var(--ease), border-color .35s; }
.service-badge-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.service-detail-card:hover .service-badge-icon { background: #f9dc42; color: #222; border-color: #f9dc42; transform: rotate(8deg) scale(1.08); }

.service-category { display: inline-block; margin-bottom: 8px; color: #b39400; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.service-card-body h3 { margin: 0 0 12px; color: #222; font-size: 21px; font-weight: 700; letter-spacing: .3px; line-height: 1.35; }
.service-summary { margin: 0 0 12px; color: #444; font-size: 13.5px; font-weight: 600; line-height: 1.65; }
.service-desc { margin: 0 0 22px; color: #777; font-size: 13px; line-height: 1.75; }

.service-scope { margin-top: auto; padding-top: 18px; border-top: 1px solid #f0f0f0; }
.service-scope h4 { margin: 0 0 12px; color: #333; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.service-scope ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.service-scope li { display: flex; align-items: flex-start; gap: 9px; color: #666; font-size: 12.5px; line-height: 1.6; }
.service-scope li span { color: #cca300; font-weight: bold; flex-shrink: 0; margin-top: -1px; }
.service-scope li strong { color: #333; font-weight: 600; }

.service-tech-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.service-tech-tags span { display: inline-block; padding: 5px 10px; background: #f7f7f7; border: 1px solid #ebebeb; border-radius: 4px; color: #666; font-size: 11px; font-weight: 500; letter-spacing: .02em; transition: background .25s, color .25s, border-color .25s; }
.service-detail-card:hover .service-tech-tags span { border-color: #eedd82; background: #fffdf5; color: #5a4b00; }

/* 3. Workflow Timeline */
.process-section { margin-bottom: 75px; padding: 48px 36px; background: #fafafa; border: 1px solid #eee; border-radius: 8px; }
.sub-section-title { text-align: center; max-width: 650px; margin: 0 auto 40px; }
.sub-tag { display: inline-block; margin-bottom: 8px; color: #b39400; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.sub-section-title h3 { margin: 0 0 10px; font-size: 26px; font-weight: 700; color: #222; letter-spacing: .5px; }
.sub-section-title p { margin: 0; color: #777; font-size: 13.5px; line-height: 1.7; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process-card { background: #fff; border: 1px solid #e7e7e7; border-radius: 6px; padding: 26px 20px; position: relative; transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s; }
.process-card:hover { transform: translateY(-5px); border-color: #dcdcdc; box-shadow: 0 14px 28px rgba(0,0,0,.08); }
.step-badge { width: 38px; height: 38px; border-radius: 50%; background: #222; color: #f9dc42; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; margin-bottom: 16px; position: relative; }
.step-badge::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(249,220,66,.5); animation: pulseRing 2.4s infinite ease-out; }
@keyframes pulseRing { 0% { transform: scale(.95); opacity: 1; } 70% { transform: scale(1.35); opacity: 0; } 100% { transform: scale(.95); opacity: 0; } }

.process-card h4 { margin: 0 0 10px; color: #222; font-size: 16px; font-weight: 700; }
.process-card p { margin: 0 0 14px; color: #777; font-size: 12.5px; line-height: 1.65; }
.step-feature { font-size: 11.5px; font-weight: 600; color: #b39400; display: flex; align-items: center; gap: 5px; }

/* 4. Tech Park / Capabilities Grid */
.tech-park-section { margin-bottom: 75px; }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tech-item { display: flex; gap: 20px; background: #fff; border: 1px solid #e8e8e8; border-radius: 6px; padding: 24px; transition: transform .35s var(--ease), box-shadow .35s ease, border-color .3s; }
.tech-item:hover { transform: translateY(-4px); border-color: #dedede; box-shadow: 0 12px 26px rgba(0,0,0,.07); }
.tech-icon { font-size: 32px; flex-shrink: 0; line-height: 1; margin-top: 4px; filter: grayscale(20%); }
.tech-info h4 { margin: 0 0 8px; color: #222; font-size: 16px; font-weight: 700; }
.tech-info p { margin: 0; color: #777; font-size: 12.5px; line-height: 1.7; }

/* 5. FAQ Accordion with Animations */
.faq-section { margin-bottom: 70px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 880px; margin: 0 auto; }
.faq-card { background: #fff; border: 1px solid #e7e7e7; border-radius: 6px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-card[open] { border-color: #e2c836; box-shadow: 0 10px 24px rgba(0,0,0,.06); }
.faq-card summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 15px; font-weight: 700; color: #292929; cursor: pointer; list-style: none; user-select: none; transition: background .25s, color .25s; }
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary:hover { background: #fcfcfc; color: #000; }
.faq-card summary b { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #f4f4f4; color: #333; font-size: 19px; font-weight: 400; line-height: 1; transition: transform .35s var(--ease), background .25s, color .25s; }
.faq-card[open] summary b { transform: rotate(45deg); background: #f9dc42; color: #222; }
.faq-answer { padding: 0 24px 22px; color: #666; font-size: 13.5px; line-height: 1.75; border-top: 1px solid #f6f6f6; padding-top: 14px; animation: faqSlideDown .35s var(--ease); }
@keyframes faqSlideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.faq-answer p { margin: 0; }

/* Responsive adjustments for Hizmetlerimiz */
@media (max-width: 980px) {
  .services-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .services-detailed-grid { grid-template-columns: 1fr; gap: 22px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tech-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .services-stats { grid-template-columns: 1fr; }
  .service-detail-card { padding: 26px 20px; }
  .process-section { padding: 32px 18px; }
  .process-grid { grid-template-columns: 1fr; }
  .faq-card summary { font-size: 13.5px; padding: 16px 18px; }
  .faq-answer { font-size: 12.5px; padding: 0 18px 16px; }
}

/* Çalışma alanımız: dark studio band, process steps and logo marquee. */
.studio-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; margin: 10px 0 0; background: #1c1c1c; color: #fff; text-align: left; position: relative; overflow: hidden; }
.studio-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 0% 0%, rgba(249,220,66,.14), transparent 45%); pointer-events: none; }
.studio-intro { position: relative; padding: 54px 48px 46px; border-right: 1px solid rgba(255,255,255,.08); }
.studio-kicker { margin: 0 0 16px; color: #f9dc42; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.studio-intro h3 { margin: 0 0 16px; font-size: 26px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.studio-intro > p:not(.studio-kicker) { margin: 0 0 30px; color: rgba(255,255,255,.62); font-size: 13.5px; line-height: 1.8; }
.studio-band .work-stats { max-width: none; margin: 0; border-color: rgba(255,255,255,.12); }
.studio-band .work-stats div { padding: 20px 6px; }
.studio-band .work-stats div + div::before { background: rgba(255,255,255,.12); }
.studio-band .work-stats strong { color: #fff; font-size: 36px; }
.studio-band .work-stats span { color: rgba(255,255,255,.5); }
.process-steps { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.process-step { position: relative; padding: 40px 36px 36px; border-bottom: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateY(18px); transition: opacity .7s ease calc(.25s + var(--i) * .14s), transform .7s var(--ease) calc(.25s + var(--i) * .14s), background .4s ease; }
.process-step:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
.process-step:nth-last-child(-n+2) { border-bottom: 0; }
.studio-band.is-visible .process-step { opacity: 1; transform: none; }
.process-step:hover { background: rgba(255,255,255,.035); }
.process-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 20px; border: 1px solid rgba(249,220,66,.45); color: #f9dc42; transition: background .35s ease, color .35s ease, transform .5s var(--ease); }
.process-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.process-step:hover .process-icon { background: #f9dc42; color: #1c1c1c; transform: rotate(-6deg); }
.process-no { position: absolute; top: 30px; right: 30px; font-size: 44px; font-weight: 800; line-height: 1; color: rgba(255,255,255,.06); transition: color .4s ease; }
.process-step:hover .process-no { color: rgba(249,220,66,.22); }
.process-step h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; letter-spacing: .03em; color: #fff; }
.process-step p { margin: 0; font-size: 12.5px; line-height: 1.75; color: rgba(255,255,255,.55); }
.logo-marquee { position: relative; margin: 0 0 10px; padding: 22px 0; border-bottom: 1px solid #eee; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 60s linear infinite; }
.logo-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: 0 0 auto; }
.marquee-track img { display: block; height: 54px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(100%); opacity: .55; transition: filter .4s ease, opacity .4s ease; }
.marquee-track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 980px) { .studio-band { grid-template-columns: 1fr; } .studio-intro { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); } }
@media (max-width: 640px) {
  .studio-intro { padding: 38px 24px 32px; } .studio-intro h3 { font-size: 21px; }
  .process-steps { grid-template-columns: 1fr; } .process-step { padding: 28px 24px; border-right: 0 !important; }
  .process-step:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .marquee-track { gap: 40px; } .marquee-track img { height: 40px; max-width: 110px; }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .process-step { opacity: 1; transform: none; transition: none; } }

/* ===== Floating WhatsApp + phone buttons — copied 1:1 from muvextr.com (style.css: FLOATING + MOBILE FAB) ===== */
.wa,.fab{--surface-2:#171717;--text:#fff;--f-head:"Space Grotesk",system-ui,sans-serif;--f-body:Inter,system-ui,sans-serif;font:400 1rem/1.7 var(--f-body);-webkit-font-smoothing:antialiased}
.wa,.fab-btn{text-decoration:none}
.wa{position:fixed;right:20px;bottom:20px;z-index:70;width:56px;height:56px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;box-shadow:0 8px 30px rgba(37,211,102,.35);transition:transform .3s}
.wa:hover{transform:scale(1.08)}
.tip{position:absolute;right:68px;white-space:nowrap;background:var(--surface-2);color:var(--text);padding:8px 12px;border-radius:6px;font-size:.75rem;opacity:0;transform:translateX(8px);transition:.3s;pointer-events:none}
.wa:hover .tip,.wa:focus-visible .tip{opacity:1;transform:none}
@media(max-width:767px){
 .wa{bottom:78px;width:48px;height:48px}.tip{display:none}
}
.fab{display:none}
.fab-btn{position:relative;display:flex;align-items:center;justify-content:center;color:#fff;border-radius:999px}
.fab-btn svg{position:relative;z-index:2;width:26px;height:26px;flex:none}
.fab-tel{background:linear-gradient(135deg,#25d366,#128c7e);color:#fff;--ring:37,211,102}
.fab-wa{background:linear-gradient(135deg,#2ee66b,#0a9a42);--ring:46,230,107}
.fab-btn::before{content:"";position:absolute;inset:0;border-radius:inherit;animation:ring 2.2s ease-out infinite}
.fab-wa::before{animation-delay:1.1s}
@keyframes ring{0%{box-shadow:0 0 0 0 rgba(var(--ring),.6)}80%,100%{box-shadow:0 0 0 24px rgba(var(--ring),0)}}
@keyframes fabIn{from{opacity:0;transform:translateY(50px) scale(.4)}to{opacity:1;transform:none}}
@keyframes fabLabel{0%{max-width:0;margin-left:0}12%,72%{max-width:120px;margin-left:10px}100%{max-width:0;margin-left:0}}
@keyframes shake{0%,22%,100%{transform:none}3%{transform:rotate(-20deg)}6%{transform:rotate(20deg)}9%{transform:rotate(-16deg)}12%{transform:rotate(16deg)}15%{transform:rotate(-9deg)}18%{transform:rotate(9deg)}}
@keyframes pop{0%,18%,100%{transform:scale(1)}6%{transform:scale(1.28) rotate(-8deg)}12%{transform:scale(.94) rotate(6deg)}}
@media(max-width:900px){
 .wa{display:none}
 .fab{display:flex;flex-direction:column;gap:14px;align-items:flex-end;position:fixed;right:16px;bottom:calc(18px + env(safe-area-inset-bottom));z-index:70}
 .fab-btn{height:58px;padding:0 16px;box-shadow:0 12px 32px rgba(0,0,0,.45);animation:fabIn .8s cubic-bezier(.2,.8,.2,1) both;transition:transform .2s}
 .fab-wa{animation-delay:1s}.fab-tel{animation-delay:1.25s}
 .fab-btn:active{transform:scale(.9)}
 .fab-btn span{max-width:0;overflow:hidden;white-space:nowrap;font:700 .78rem var(--f-head);letter-spacing:.1em;animation:fabLabel 5s 2.4s both}
 .fab-tel span{animation-delay:2.4s}.fab-wa span{animation-delay:3.2s}
 .fab-tel svg{animation:shake 3.6s 3.5s infinite;transform-origin:50% 60%}
 .fab-wa svg{animation:pop 3.6s 5s infinite}
 /* muvextr hides the buttons while its menu is open (body.lock); here the equivalent is the open contact drawer */
 body:has(.contact-drawer.is-open) .fab{opacity:0;pointer-events:none;transition:opacity .3s}
}

/* SEO: logo is now the page <h1>; keep its original look. */
h1.center-brand { margin: 0; font-size: inherit; font-weight: inherit; line-height: 1; }

/* KVKK consent + legal links in the contact drawer. */
.contact-form .form-consent { display: flex; align-items: flex-start; gap: 10px; margin: -4px 0 18px; color: #aaa; font-size: 12px; line-height: 1.6; cursor: pointer; }
.contact-form .form-consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; padding: 0; accent-color: var(--yellow); cursor: pointer; }
.contact-form .form-consent a, .legal-links a { color: #ddd; text-decoration: underline; text-decoration-color: rgba(249,220,66,.6); text-underline-offset: 3px; transition: color .25s; }
.contact-form .form-consent a:hover, .legal-links a:hover { color: var(--yellow); }
.legal-links { font-size: 13px !important; }
