/* Font fallbacks — Gotham Narrow yerine */
@font-face {
  font-family: 'GothamNarrow-Book';
  src: local('Arial Narrow'), local('Helvetica Neue');
  font-weight: 400;
}
@font-face {
  font-family: 'GothamNarrow-Light';
  src: local('Arial Narrow'), local('Helvetica Neue Light');
  font-weight: 300;
}
@font-face {
  font-family: 'GothamNarrow-Medium';
  src: local('Arial Narrow'), local('Helvetica Neue Medium');
  font-weight: 500;
}
@font-face {
  font-family: 'GothamNarrow-Bold';
  src: local('Arial Narrow Bold'), local('Helvetica Neue Bold');
  font-weight: 700;
}
@font-face {
  font-family: 'GothamNarrow-XLight';
  src: local('Arial Narrow'), local('Helvetica Neue Ultralight');
  font-weight: 200;
}
@font-face {
  font-family: 'GothamNarrow-ThinItalic';
  src: local('Arial Narrow'), local('Helvetica Neue');
  font-style: italic;
  font-weight: 100;
}
@font-face {
  font-family: 'GothamNarrow-Thin';
  src: local('Arial Narrow'), local('Helvetica Neue');
  font-weight: 100;
}

/* Scroll / UI icon fallbacks (icon font yok) */
#root {
  min-height: 100vh;
}

body {
  margin: 0;
}

/* React router active states */
.main-menu a.active {
  color: #008fd4;
}

.portfolio-menu a.is-checked {
  color: #008fd4;
}

/* Loader hide */
#loader-wrapper {
  display: none;
}

/* Project detail */
.l-portfolio-details .pdi-hero,
.l-portfolio-details .pdi-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

.l-portfolio-details .pd-light {
  display: block;
  border: 0;
  background: none;
  cursor: pointer;
}

.l-portfolio-details .portfolio-small .portfolio-item .video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.l-portfolio-details .portfolio-small .portfolio-item .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.l-portfolio-details .portfolio-small .portfolio-item .pdi-thumb img,
.l-portfolio-details .portfolio-big .pdi-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.l-portfolio-details .portfolio-details .presentation .name,
.l-portfolio-details .portfolio-details .presentation .type {
  font-family: GothamNarrow-Bold, sans-serif;
}

.icon-scroll-prev::before { content: '‹'; font-size: 3rem; font-style: normal; }
.icon-scroll-next::before { content: '›'; font-size: 3rem; font-style: normal; }
.icon-fullscreen-top::before { content: '⤢'; font-style: normal; position: absolute; top: 0; left: 0; }
.icon-fullscreen-bottom::before { content: '⤡'; font-style: normal; position: absolute; bottom: 0; right: 0; }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.l-portfolio-details .post-prev,
.l-portfolio-details .post-next {
  color: #000;
  text-decoration: none;
}

.l-portfolio-details .post-prev:hover,
.l-portfolio-details .post-next:hover {
  color: #000;
  text-decoration: none;
}

/* ── Proje detay alt bölüm ── */
.l-portfolio-details {
  margin-top: 3rem;
}

.l-portfolio-details .portfolio-details {
  font-size: 1.5rem;
  margin-top: 0;
}

.l-portfolio-details .portfolio-details .presentation {
  width: 100%;
  border-bottom: 1px solid #000;
}

.l-portfolio-details .portfolio-details .presentation .name,
.l-portfolio-details .portfolio-details .presentation .type {
  font-family: GothamNarrow-Bold, sans-serif;
  margin-bottom: 0;
}

.l-portfolio-details .portfolio-details .presentation .type {
  color: #4C4C4E;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 0.5rem 0;
  overflow: hidden;
}

.l-portfolio-details .portfolio-details .presentation .type::after {
  content: '';
  display: table;
  clear: both;
}

.l-portfolio-details .portfolio-details .presentation .type > span {
  float: left;
}

.l-portfolio-details .portfolio-details .presentation .type > span::after {
  content: ' / ';
}

.l-portfolio-details .portfolio-details .presentation .type .share {
  float: right;
  display: inline-block;
  font-family: GothamNarrow-Bold, sans-serif;
  font-size: 1.5rem;
}

.l-portfolio-details .portfolio-details .presentation .type .share > ul {
  padding: 0;
  list-style: none;
  display: inline-block;
  margin: 0 0 0 0.5rem;
  vertical-align: middle;
}

.l-portfolio-details .portfolio-details .presentation .type .share > ul > li {
  float: left;
  margin-right: 0.3rem;
}

.l-portfolio-details .portfolio-details .presentation .type .share > ul > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: #4C4C4E;
  text-decoration: none;
}

.l-portfolio-details .portfolio-details .presentation .type .share > ul > li > a .social-icon {
  width: 15px;
  height: 15px;
}

.l-portfolio-details .portfolio-details .presentation .type .share > ul > li > a:hover {
  color: #008fd4;
}

.l-portfolio-details .portfolio-details .presentation .info {
  font-family: GothamNarrow-Light, sans-serif;
  font-size: 1.2rem;
  color: #000;
  padding: 0.5rem 0;
  margin-bottom: 0;
}

.l-portfolio-details .portfolio-details .presentation .info > strong {
  font-family: GothamNarrow-Book, sans-serif;
}

.l-portfolio-details .portfolio-details .presentation .info p {
  margin: 0.5rem 0;
}

.l-portfolio-details .portfolio-details .client-info {
  margin-top: 2.1rem;
  border-top: 1px solid #000;
  font-size: 1.2rem;
}

.l-portfolio-details .portfolio-details .client-info::after {
  content: '';
  display: table;
  clear: both;
}

.l-portfolio-details .portfolio-details .client-info > ul {
  list-style: none;
  padding: 0;
  width: 49%;
  margin-bottom: 0;
}

.l-portfolio-details .portfolio-details .client-info > ul.client {
  float: left;
}

.l-portfolio-details .portfolio-details .client-info > ul.similar-link {
  float: right;
}

.l-portfolio-details .portfolio-details .client-info > ul > li {
  border-bottom: 1px solid #000;
  padding: 0.3rem 0;
  font-family: GothamNarrow-Light, sans-serif;
}

.l-portfolio-details .portfolio-details .client-info > ul > li > strong {
  font-family: GothamNarrow-Book, sans-serif;
  color: #000;
}

.l-portfolio-details .portfolio-details .client-info a {
  color: #000;
  text-decoration: none;
}

.l-portfolio-details .portfolio-details .client-info a:hover {
  color: #008fd4;
}

/* ── Footer ── */
footer.l-footer {
  background: #000 url(/images/footer_bg.jpg) !important;
  padding: 1.5rem 0 3rem;
  font-size: 1.4rem;
  margin-top: 3rem;
  color: #fff;
}

footer.l-footer::after {
  content: '';
  display: table;
  clear: both;
}

footer.l-footer a {
  color: #fff;
  text-decoration: none;
}

footer.l-footer a:hover {
  color: #008fd4;
  text-decoration: none;
}

footer.l-footer .social {
  padding: 0;
  list-style: none;
  margin: 0 0 1rem;
}

footer.l-footer .social::after {
  content: '';
  display: table;
  clear: both;
}

footer.l-footer .social > li {
  float: left;
  height: 20px;
  margin-right: 0.5rem;
}

.social a::before,
.share a::before {
  content: none !important;
  display: none !important;
}

footer.l-footer .social > li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  text-decoration: none;
}

footer.l-footer .social > li a:hover {
  color: #008fd4;
}

.social-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.l-contact .social > li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: inherit;
  text-decoration: none;
}

footer.l-footer .search-box {
  width: 245px;
  border: 1px solid #fff;
  position: relative;
  height: 28px;
}

footer.l-footer .search-box input[type='text'] {
  width: 100%;
  height: 100%;
  padding: 0 1rem 0 3rem;
  font-family: GothamNarrow-ThinItalic, sans-serif;
  border: 0;
  background: transparent;
  outline: 0;
  text-align: right;
  color: #fff;
  line-height: 20px;
}

footer.l-footer .search-box input::placeholder {
  color: #fff;
  opacity: 0.8;
}

footer.l-footer .search-box button[type='submit'] {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 0;
  background: transparent;
  outline: 0;
  padding: 0 0.55rem;
  cursor: pointer;
}

footer.l-footer .search-box button[type='submit'] .social-icon {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

footer.l-footer .fr {
  text-align: right;
  font-family: GothamNarrow-Medium, sans-serif;
}

footer.l-footer .footer-mail a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

footer.l-footer .footer-mail .social-icon {
  width: 16px;
  height: 16px;
}

footer.l-footer .fr > div {
  margin-bottom: 0.5rem;
}

footer.l-footer .fr > div:last-child {
  margin-bottom: 0;
}

footer.l-footer .copyright {
  color: #fff;
}

/* ── Answers ── */
.l-answers .answers-item {
  min-width: 0;
  margin-bottom: 2rem;
}

.l-answers .answers-content {
  overflow: hidden;
  overflow-wrap: break-word;
}

.l-answers .answers-content img,
.l-answers .answers-content video,
.l-answers .answers-content embed {
  max-width: 100%;
  height: auto;
}

.l-answers .answers-content iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0.5rem 0;
  border: 0;
}

/* ── Category pages (Talks, Press) ── */
.l-category .category-menu::after {
  content: '';
  display: table;
  clear: both;
}

.l-category .category-intro h4 {
  font-family: GothamNarrow-Bold, sans-serif;
  margin-top: 0;
}

.l-category .category-intro p {
  font-size: 1.2rem;
  color: #4C4C4E;
}

.l-category .category-intro p > em {
  display: block;
  font-style: normal;
  column-count: 3;
  column-gap: 15px;
}

.l-category .category-intro p strong {
  font-family: GothamNarrow-Medium, sans-serif;
}

.l-category .category-intro a {
  color: #000;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.l-category .category-intro a:hover {
  color: #008fd4;
}

.l-category .category-list {
  list-style: none;
  padding: 0;
  margin-top: 3rem;
  width: 100%;
}

@media (max-width: 767px) {
  .l-category .category-intro p > em {
    column-count: 1;
  }

  .l-category .category-menu .col-sm-3,
  .l-category .category-menu .col-sm-9 {
    float: none !important;
    width: 100%;
  }
}

/* Mobile menu open state */
body.menu-open .menu-wrap {
  transform: translateX(0);
}

.menu-wrap {
  transition: transform 0.4s ease;
}

/* Fix PHP warnings area - not needed */
header nav br,
header nav b {
  display: none !important;
}

/* Masonry grid — Isotope (orijinal cagricankaya.com davranışı) */
.grid-stage {
  position: relative;
  min-height: 160px;
}

.grid-stage:not(.is-ready) .masonry-iso {
  position: absolute;
  left: 0;
  right: 0;
  visibility: hidden;
  pointer-events: none;
}

.grid-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.grid-loader-bar {
  display: block;
  width: 42px;
  height: 2px;
  background: #008fd4;
  transform-origin: center;
  animation: grid-loader-pulse 0.9s ease-in-out infinite;
}

@keyframes grid-loader-pulse {
  0%, 100% { transform: scaleX(0.35); opacity: 0.35; }
  50% { transform: scaleX(1); opacity: 1; }
}

.masonry-iso {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.masonry-iso::after {
  content: '';
  display: table;
  clear: both;
}

.masonry-iso > .grid-card-item {
  position: relative;
  margin-bottom: 15px;
  float: left;
  box-sizing: border-box;
  will-change: left, top, opacity;
}

.masonry-iso > .masonry-sizer {
  visibility: hidden;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  overflow: hidden;
  pointer-events: none;
}

.masonry-iso > .grid-card-item figure {
  width: 100%;
  height: auto;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.l-portfolio .portfolio-list > .grid-card-item figure,
.l-category .category-list > .grid-card-item figure {
  height: auto;
}

.masonry-iso > .grid-card-item img {
  width: 100%;
  height: auto;
  display: block;
}

.l-portfolio .portfolio-list::after,
.l-category .category-list::after {
  content: none;
  display: none;
}

/* Grid card hover — portfolio, press, talks ortak */
.grid-card-item figure a > img {
  width: 100%;
  transition: transform 0.4s ease;
}

.grid-card-item figure > figcaption {
  padding: 1.5rem;
  margin-bottom: 0;
  width: 100%;
  background-color: #008fd4;
  opacity: 0;
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  transform: translateY(100%);
  transition: transform 0.4s ease, opacity 0.1s ease 0.3s;
  box-sizing: border-box;
}

.grid-card-item figure > figcaption::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 13px;
  border-color: transparent transparent #008fd4;
  position: absolute;
  bottom: 70%;
  left: 2rem;
  opacity: 0;
  transition: bottom 0.3s ease, opacity 0.3s ease;
  transition-delay: 0.15s;
}

.grid-card-item figure > figcaption a {
  display: block;
  width: 100%;
  color: #fff;
  text-decoration: none;
}

.grid-card-item figure > figcaption a:hover {
  color: #fff;
  text-decoration: none;
}

.grid-card-item figure > figcaption a > span {
  display: block;
  font-size: 1.5rem;
}

.grid-card-item figure > figcaption a > span::after {
  content: '';
  display: table;
  clear: both;
}

.grid-card-item figure > figcaption a > span .name {
  display: block;
}

.grid-card-item figure > figcaption a > span strong {
  font-weight: 400;
  font-family: GothamNarrow-XLight, sans-serif;
}

.grid-card-item figure > figcaption a > span strong.type {
  float: left;
}

.grid-card-item figure > figcaption a > span strong.type > span::after {
  content: ' / ';
}

.grid-card-item figure > figcaption a > span strong.type > span:last-child::after {
  content: '';
}

.grid-card-item figure > figcaption a > span strong.year {
  float: right;
}

.no-touch .grid-card-item figure:hover img {
  transform: translateY(-50px);
}

.no-touch .grid-card-item figure:hover figcaption {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.1s ease;
}

.no-touch .grid-card-item figure:hover figcaption::before {
  bottom: 100%;
  opacity: 1;
}
