:root {
  --bg-dark: #20242a;
  --bg-mid: #2b3038;
  --bg-light: #20242a;
  --text: #f3f2ee;
  --line: rgba(255, 255, 255, .12);
  --shadow: 0 22px 60px rgba(0, 0, 0, .28);
  --font-primary: "Neue Montreal", "PP Neue Montreal", "Inter", sans-serif;
}

body {
  background: #20242a;
  color: var(--text);
  font-family: var(--font-primary);
}

main {
  overflow: clip;
  background: #20242a;
}

.section,
.section-sm {
  position: relative;
  background: #20242a;
}

.expertise,
#hizmetler,
#sss {
  background: #2b3038;
}

#projeler {
  background: #2b3038;
}

.section > .container,
.section-sm > .container {
  position: relative;
  z-index: 1;
}

.site-header {
 /* background: transparent;*/
  backdrop-filter: none;
  background: rgba(32, 36, 42, .2);
}

.site-header.scrolled {
  background: rgba(32, 36, 42, .7);
   
}

.nav a::after {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, .55);
}

.nav a {
  text-transform: uppercase;
}

.nav a:hover::after {
  background: var(--gold);
}

.hero,
.hero-slider {
  background: #20242a;
}

.hero-slide {
  --hero-pan-x: -1.4%;
  --hero-pan-y: -.5%;
  --hero-zoom: 1.08;
}

.hero-slide:nth-of-type(2) {
  --hero-pan-x: 1.4%;
  --hero-pan-y: -.7%;
}

.hero-slide:nth-of-type(3) {
  --hero-pan-x: -.8%;
  --hero-pan-y: .8%;
}

.hero-slide:nth-of-type(4) {
  --hero-pan-x: 1.2%;
  --hero-pan-y: .5%;
}

.hero-bg img {
  transform: scale(1.015);
  transform-origin: center;
  will-change: transform;
}

.hero-slide.active .hero-bg img {
  animation: hero-ken-burns 5.8s cubic-bezier(.2, .65, .25, 1) both;
}

.hero-title {
  display: inline-block;
  font-family: "Noto Serif Display", serif;
  font-stretch: extra-condensed;
  font-weight: 200;
  font-variation-settings: "wdth" 62.5, "wght" 200;
  transform: scaleX(.84);
  transform-origin: left center;
}

@keyframes hero-ken-burns {
  from {
    transform: scale(1.015) translate3d(0, 0, 0);
  }

  to {
    transform: scale(var(--hero-zoom)) translate3d(var(--hero-pan-x), var(--hero-pan-y), 0);
  }
}

.eyebrow,
.center-title h3,
.materials-text h3 {
  color: #c2a57d;
}

.studio-text p,
.expertise-item p,
.service-card p,
.process-step p,
.materials-text p,
.accordion-content-inner {
  color: #b9bec6;
}

.expertise-icon,
.service-icon,
.process-number {
  border-color: rgba(255, 255, 255, .13);
  background: #2b3038;
  color: #c5a275;
}

.services-grid,
.expertise-grid,
.expertise-item:not(:last-child),
.service-card:not(:last-child) {
  border-color: rgba(255, 255, 255, .12);
}

.feature-strip,
.projects-wrap,
.footer-cta-box {
  background: linear-gradient(145deg, #2b3038, #20242a);
}

.parallax-mark-contact {
  top: 18%;
  right: calc(-4% + 50px);
  left: auto;
  width: clamp(360px, 42vw, 650px);
  opacity: .055;
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(-9deg);
}

.feature-box p {
  color: #c8cdd3;
}

.project-card,
.accordion-item {
  background: #20242a;
}

.accordion-item {
  border-color: rgba(255, 255, 255, .12);
}

.accordion-button {
  color: #f3f2ee;
}

.process-line::before {
  background: rgba(255, 255, 255, .12);
}

.rounded-media,
.material-item {
  box-shadow: 0 22px 60px rgba(0, 0, 0, .3);
}

.studio-grid .studio-media img {
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}

.materials-grid .material-item img {
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .studio-grid .studio-media:hover img {
    transform: scale(1.06);
  }

  .materials-grid .material-item:hover img {
    transform: scale(1.08);
  }
}

.footer-cta,
.bottom-footer {
  background: #20242a;
}

.bottom-footer {
  color: #929aa4;
}

.mobile-menu {
  gap: 0;
  padding: 88px 24px 26px;
  overflow-y: auto;
  background: rgba(32, 36, 42, .985);
}

.mobile-menu-nav {
  display: grid;
}

.mobile-menu .mobile-menu-nav > a {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--font-primary);
  font-size: 20px;
  line-height: 1.25;
  color: #f3f2ee;
}

.mobile-menu-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: auto;
  padding-top: 32px;
}

.mobile-contact-item:last-child {
  grid-column: 1 / -1;
}

.mobile-contact-item span {
  display: block;
  margin-bottom: 6px;
  color: #c2a57d;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mobile-menu .mobile-contact-item a,
.mobile-contact-item p {
  font-family: var(--font-primary);
  font-size: 13px;
  line-height: 1.55;
  color: #c8cdd3;
}

.contact-section {
  background: #20242a;
}

.contact-heading {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.contact-heading h2 {
  font-size: clamp(42px, 5vw, 66px);
}

.contact-heading > p {
  max-width: 520px;
  margin-left: auto;
  color: #b9bec6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 20px;
  align-items: stretch;
}

.contact-form-card,
.contact-map-card {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 30px;
  background: #2b3038;
  box-shadow: var(--shadow);
}

.contact-form-card {
  padding: 34px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.form-field {
  display: grid;
  gap: 9px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field > span,
.contact-map-meta span {
  color: #c2a57d;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 14px;
  outline: none;
  background: #20242a;
  color: #f3f2ee;
  font: inherit;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.form-field input,
.form-field select {
  height: 52px;
  padding: 0 16px;
}

.form-field textarea {
  min-height: 150px;
  padding: 15px 16px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7f8791;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(194, 165, 125, .75);
  box-shadow: 0 0 0 3px rgba(194, 165, 125, .1);
}

.form-field select option {
  background: #20242a;
  color: #f3f2ee;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.contact-submit {
  flex: 0 0 auto;
}

.contact-form-footer p {
  max-width: 250px;
  color: #929aa4;
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.contact-map-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
}

.contact-map-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
}

.contact-map-meta strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-primary);
  font-size: 23px;
  font-weight: 500;
}

.contact-map-meta a {
  color: #c2a57d;
  font-size: 12px;
  white-space: nowrap;
}

.contact-map-frame {
  min-height: 455px;
  flex: 1;
  overflow: hidden;
  border-radius: 24px 24px 30px 30px;
  background: #20242a;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 455px;
  border: 0;
  filter: grayscale(1) invert(.9) hue-rotate(180deg) brightness(.82) contrast(.95);
}

.parallax-mark {
  position: absolute;
  z-index: 0;
  width: clamp(300px, 34vw, 540px);
  opacity: .045;
  pointer-events: none;
  user-select: none;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  transition: transform .08s linear;
  will-change: transform;
}

.parallax-mark img {
  width: 100%;
  height: auto;
}

.parallax-mark-right {
  top: 8%;
  right: -11%;
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(-8deg);
}

.parallax-mark-left {
  top: 12%;
  left: -10%;
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(9deg);
}

.parallax-mark-small {
  top: 18%;
  width: clamp(250px, 28vw, 430px);
  opacity: .035;
}

@media (max-width: 768px) {
  .hero-slide {
    --hero-pan-x: -.7%;
    --hero-pan-y: -.25%;
    --hero-zoom: 1.05;
  }

  .hero-slide:nth-of-type(2),
  .hero-slide:nth-of-type(4) {
    --hero-pan-x: .7%;
  }

  .hero-slide:nth-of-type(3) {
    --hero-pan-x: -.4%;
    --hero-pan-y: .4%;
  }

  .hero-arrow {
    display: grid;
    place-items: center;
    padding: 0;
    font-size: 0;
    line-height: 1;
  }

  .hero-arrow::before {
    display: block;
    font-size: 32px;
    line-height: 1;
    transform: translateY(-1px);
  }

  .hero-arrow.prev::before {
    content: "‹";
  }

  .hero-arrow.next::before {
    content: "›";
  }

  .contact-heading,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-heading {
    gap: 18px;
  }

  .contact-heading > p {
    margin-left: 0;
  }

  .contact-form-card {
    padding: 24px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }

  .contact-form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-form-footer p {
    max-width: none;
    text-align: left;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 360px;
  }

  .parallax-mark {
    width: 310px;
    opacity: .035;
  }

  .parallax-mark-right {
    right: -34%;
  }

  .parallax-mark-left {
    left: -35%;
  }

  .parallax-mark-contact {
    top: 42%;
    right: calc(-38% + 50px);
    left: auto;
    width: 430px;
    opacity: .045;
  }
}

@media (max-height: 620px) {
  .mobile-menu-contact {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.active .hero-bg img {
    animation: none;
    transform: none;
  }

  .studio-grid .studio-media img,
  .materials-grid .material-item img {
    transition: none;
  }

  .parallax-mark {
    transform: none !important;
    transition: none;
  }
}

/* ============================================================
   Referanslar - sonsuz kayan logo slider
   ============================================================ */

/* projeler + referanslar tek bir blok gibi okunsun diye ayni zemin */
#referanslar {
  background: #2b3038;
  padding-top: 0;
}

.refs-wrap {
  padding: 34px 0 36px;
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(145deg, #2b3038, #20242a);
  box-shadow: var(--shadow);
}

.refs-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding: 0 34px;
}

.refs-head h2 {
  color: #d7cfc5;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.refs-head p {
  color: #9aa2ab;
  font-size: 13px;
}

.refs-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.refs-track {
  display: flex;
  width: max-content;
  animation: refs-scroll 48s linear infinite;
  will-change: transform;
}

.refs-marquee:hover .refs-track,
.refs-marquee:focus-within .refs-track {
  animation-play-state: paused;
}

.refs-set {
  display: flex;
  gap: 20px;
  padding-right: 20px;
  margin: 0;
  list-style: none;
}

.ref-item {
  flex: 0 0 auto;
  width: 220px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  background: #fff;
  transition: transform .35s ease, box-shadow .35s ease;
}

.ref-item img {
  width: 100%;
  height: auto;
}

/* --- ileri / geri kontrolleri (JS devredeyken gorunur) --- */

.refs-slider {
  position: relative;
}

.refs-slider.is-js .refs-track {
  animation: none;
}

.refs-slider.is-js .refs-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.refs-slider.is-js .refs-marquee::-webkit-scrollbar {
  display: none;
}

.refs-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(32, 36, 42, .74);
  color: #e2d5c3;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: var(--tr);
}

.refs-slider.is-js .refs-arrow {
  display: grid;
}

.refs-arrow span {
  display: block;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-2px);
}

.refs-arrow.prev {
  left: 14px;
}

.refs-arrow.next {
  right: 14px;
}

.refs-arrow:hover {
  border-color: rgba(194, 165, 125, .65);
  background: rgba(32, 36, 42, .94);
  color: #d6b58c;
}

.refs-arrow:focus-visible {
  outline: 2px solid rgba(194, 165, 125, .9);
  outline-offset: 2px;
}

@keyframes refs-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .ref-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .34);
  }
}

@media (max-width: 992px) {
  .refs-track {
    animation-duration: 38s;
  }
}

@media (max-width: 768px) {
  .refs-wrap {
    padding: 24px 0 26px;
    border-radius: 28px;
  }

  .refs-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    padding: 0 24px;
  }

  .refs-set {
    gap: 14px;
    padding-right: 14px;
  }

  .ref-item {
    width: 168px;
    padding: 10px;
    border-radius: 16px;
  }

  .refs-track {
    animation-duration: 30s;
  }

  .refs-arrow {
    width: 38px;
    height: 38px;
  }

  .refs-arrow span {
    font-size: 26px;
  }

  .refs-arrow.prev {
    left: 8px;
  }

  .refs-arrow.next {
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .refs-track {
    animation: none;
  }

  .refs-marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
