/* ==========================================================================
   CAN KARDEŞLER YAPI VE İNŞAAT — Kurumsal Web Sitesi
   Premium / Minimalist tasarım — Krem, Antrasit, Bronz paleti
   ========================================================================== */

/* ---------- CSS Değişkenleri ---------- */
:root {
  /* Renk paleti */
  --cream:        #efe9dd;
  --cream-soft:   #e6dcc8;
  --white:        #f3ece2;
  --anthracite:   #23211d;
  --charcoal:     #3a372f;
  --gray:         #726c60;
  --gray-light:   #b3ada0;
  --line:         #d5cbb8;
  --gold:         #b08d57;
  --gold-dark:    #96744a;
  --gold-soft:    rgba(176, 141, 87, 0.12);

  /* Tipografi */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', 'Segoe UI', sans-serif;

  /* Ölçüler */
  --container: 1240px;
  --page-gutter: max(24px, calc((100vw - min(var(--container), 100vw - 48px)) / 2));
  --header-h: 92px;
  --radius: 2px;

  /* Geçişler */
  --ease: cubic-bezier(0.25, 0.6, 0.3, 1);
}

/* ---------- Reset & Temel ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

/* ---------- Başlıklar & Kicker ---------- */
.section-kicker {
  font-size: 12px;
  letter-spacing: 0.35em;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.12;
  color: var(--anthracite);
  margin-bottom: 28px;
}

.section-title em {
  font-style: italic;
  color: var(--gold-dark);
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 17px 38px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(150, 116, 74, 0.55);
}

.btn-outline {
  border-color: var(--anthracite);
  color: var(--anthracite);
  background: transparent;
}

.btn-outline:hover {
  background: var(--anthracite);
  color: var(--cream);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(239, 233, 221, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -20px rgba(35, 33, 29, 0.25);
}

.site-header .header-inner.container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(16px, 3vw, 48px);
}

.header-inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  justify-self: start;
  grid-column: 1;
  flex-shrink: 0;
  line-height: 0;
  min-width: 0;
  overflow: visible;
}

.logo-img {
  display: block;
  height: calc(var(--header-h) - 18px);
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  image-rendering: auto;
}

.logo-img--footer {
  height: 56px;
  max-width: none;
  min-height: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--anthracite);
  white-space: nowrap;
}

.logo-text em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.5em;
  color: var(--gold-dark);
  font-weight: 500;
}

/* Navigasyon */
.main-nav {
  justify-self: center;
  grid-column: 2;
}

.main-nav ul {
  display: flex;
  gap: 38px;
}

.nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--gold-dark);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Sosyal ikonlar */
.header-socials {
  display: flex;
  align-items: center;
  justify-self: end;
  grid-column: 3;
  gap: 4px;
}

.header-socials a,
.footer-socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--gray);
  transition: all 0.3s var(--ease);
}

.header-socials a svg,
.footer-socials a svg {
  width: 17px;
  height: 17px;
}

.header-socials a:hover {
  color: var(--white);
  background: var(--gold);
  transform: translateY(-2px);
}

/* Mobil menü butonu */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--anthracite);
  transition: all 0.3s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   HERO — bölünmüş layout: sol metin, sağ fotoğraf slider
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: var(--anthracite);
}

.hero-inner {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 100svh;
  height: 100svh;
}

.hero-copy {
  display: flex;
  align-items: center;
  padding:
    calc(var(--header-h) + 28px)
    clamp(20px, 3vw, 48px)
    56px
    clamp(16px, 3vw, 48px);
  background: var(--anthracite);
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #12100e;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #12100e;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.hero-visual-fade {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(120px, 12%);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, var(--anthracite) 0%, transparent 100%);
}

.hero-texts {
  max-width: 560px;
  animation: heroIn 1.2s var(--ease) both 0.2s;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: none; }
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.45em;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 4.2vw, 72px);
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 26px;
}

.hero-sub {
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 300;
  color: rgba(239, 233, 221, 0.88);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.65;
}

/* Slider kontrolleri — sağ panel alt */
.hero-controls {
  position: absolute;
  right: clamp(20px, 3vw, 40px);
  bottom: 36px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  pointer-events: none;
}

.hero-controls > * {
  pointer-events: auto;
}

.hero-counter {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.2em;
}

.counter-current { color: var(--gold); font-weight: 500; }
.counter-total   { color: rgba(239, 233, 221, 0.6); }

.counter-sep {
  width: 42px;
  height: 1px;
  background: rgba(239, 233, 221, 0.4);
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(239, 233, 221, 0.7);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.hero-dots button.is-active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.25);
}

.hero-arrows {
  display: flex;
  gap: 10px;
}

.arrow-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(239, 233, 221, 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.arrow-btn svg {
  width: 20px;
  height: 20px;
}

.arrow-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.arrow-btn.dark {
  border-color: var(--line);
  color: var(--anthracite);
}

.arrow-btn.dark:hover {
  background: var(--anthracite);
  border-color: var(--anthracite);
  color: var(--cream);
}

/* Aşağı kaydırma ipucu */
.hero-scroll-hint {
  position: absolute;
  bottom: 0;
  left: 22%;
  z-index: 4;
  width: 1px;
  height: 72px;
  background: rgba(239, 233, 221, 0.25);
  overflow: hidden;
  transform: translateX(-50%);
}

.hero-scroll-hint span {
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--gold);
  animation: scrollHint 2.2s var(--ease) infinite;
}

@keyframes scrollHint {
  0%   { top: -40%; }
  100% { top: 110%; }
}

/* ==========================================================================
   HAKKIMIZDA / TECRÜBE
   ========================================================================== */
.about {
  background: var(--cream);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 110px);
  align-items: start;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 20px;
  max-width: 56ch;
}

.about-body {
  max-width: 56ch;
}

.about-body p {
  color: var(--gray);
  margin-bottom: 20px;
}

.about-lead {
  font-size: 1.02em;
}

.about-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--anthracite);
  margin: 32px 0 16px;
}

.about-subtitle:first-of-type {
  margin-top: 8px;
}

.about-quote {
  margin: 0 0 24px;
  padding: 22px 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}

.about-quote p {
  font-family: var(--font-serif);
  font-size: 1.05em;
  font-style: italic;
  line-height: 1.65;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.about-quote footer {
  font-family: var(--font-sans);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-dark);
}

.about-features {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0 0 8px;
  padding: 0;
}

.about-features li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray);
}

.about-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.about-features strong {
  color: var(--anthracite);
  font-weight: 500;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-more {
  max-width: 56ch;
}

.about-more p {
  color: var(--gray);
  margin-bottom: 20px;
}

.about-more .about-subtitle {
  margin-top: 24px;
}

.about-body + .about-read-more {
  margin-top: 8px;
}

.about-more--collapsed {
  display: none;
}

.about-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.about-read-more span {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.about-read-more:hover {
  color: var(--anthracite);
  border-color: var(--anthracite);
}

.about-read-more:hover span {
  transform: translateX(5px);
}

.about-read-more.is-open span {
  transform: rotate(90deg);
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin: 34px 0 42px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.about-values li {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-values li span {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--anthracite);
  letter-spacing: 0;
}

/* Görsel alanı = fotoğrafın kapladığı kutu (grid ile çerçeve aynı ölçüde) */
.about-visual {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-photo {
  --frame-gap: 26px;
  position: relative;
  display: grid;
  width: 100%;
  max-width: 100%;
  padding: var(--frame-gap) 0 0 var(--frame-gap);
  box-sizing: border-box;
}

.about-photo--secondary {
  --frame-gap: 22px;
}

.about-image,
.about-frame {
  grid-area: 1 / 1;
  width: 100%;
  min-height: 0;
}

.about-image {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 900 / 885;
  overflow: hidden;
  background: var(--cream-soft);
}

.about-frame {
  z-index: 2;
  align-self: stretch;
  justify-self: stretch;
  border: 1px solid var(--gold);
  pointer-events: none;
}

.about-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
  filter: grayscale(100%);
  transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}

.about-image--secondary {
  aspect-ratio: 763 / 1024;
  background: #1a1816;
}

.about-image--secondary img {
  object-fit: cover;
  object-position: center center;
}

.about-photo:hover .about-image img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.experience-card {
  position: absolute;
  z-index: 3;
  left: calc(var(--frame-gap) - 16px);
  bottom: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: clamp(168px, 38%, 210px);
  aspect-ratio: 1;
  padding: clamp(20px, 3.5vw, 28px);
  background: var(--anthracite);
  color: var(--cream);
  box-shadow: 0 30px 60px -25px rgba(35, 33, 29, 0.6);
}

.exp-number {
  font-family: var(--font-serif);
  font-size: 88px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}

.exp-label {
  font-size: 12px;
  letter-spacing: 0.35em;
  font-weight: 500;
  line-height: 1.7;
}

.experience-card--quote {
  align-items: center;
  text-align: center;
  gap: 10px;
  color: var(--gold);
}

.exp-quote-line {
  font-family: var(--font-sans);
  font-size: clamp(13px, 2.5vw, 15px);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.45;
  color: var(--gold);
  text-transform: uppercase;
}

/* ==========================================================================
   PROJELERİMİZ — kategori → proje → galeri
   ========================================================================== */
.projects {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.projects-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.projects-intro {
  margin-top: 18px;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.65;
}

.projects-view.is-hidden {
  display: none;
}

.projects-regions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.region-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(280px, 38vw, 420px);
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--anthracite);
  color: var(--cream);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.45s var(--ease);
}

.region-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 13, 11, 0.15) 0%, rgba(15, 13, 11, 0.88) 100%);
  z-index: 1;
  transition: opacity 0.45s var(--ease);
}

.region-card:hover,
.region-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.region-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.region-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.region-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%);
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.region-card:hover .region-card__media img,
.region-card:focus-visible .region-card__media img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.region-card__body {
  position: relative;
  z-index: 2;
}

.region-card__kicker {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 10px;
}

.region-card__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 8px;
}

.region-card__sub {
  font-size: 15px;
  color: rgba(239, 233, 221, 0.82);
  margin-bottom: 18px;
}

.region-card__cta {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.projects-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.projects-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color 0.3s var(--ease);
}

.projects-back svg {
  width: 18px;
  height: 18px;
}

.projects-back:hover {
  color: var(--gold-dark);
}

.projects-region-kicker {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 8px;
}

.projects-region-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500;
  color: var(--anthracite);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.project-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--cream);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.project-card:hover,
.project-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -28px rgba(35, 33, 29, 0.35);
}

.project-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.project-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream-soft);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.7s var(--ease), transform 0.9s var(--ease);
}

.project-card:hover .project-card__media img,
.project-card:focus-visible .project-card__media img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.project-card__body {
  padding: 22px 24px 26px;
}

.project-card__year {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.project-card__status {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 8px;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--anthracite);
  background: var(--gold-soft);
  border: 1px solid rgba(176, 141, 87, 0.35);
  vertical-align: middle;
}

.project-card__loc {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}

.project-card__title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--anthracite);
  margin-bottom: 6px;
}

.project-card__sub {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 14px;
}

.project-card__cta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* Galeri modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 11, 0.88);
  backdrop-filter: blur(4px);
}

.gallery-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: calc(100svh - 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--anthracite);
  border: 1px solid rgba(176, 141, 87, 0.35);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.gallery-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--cream);
  background: rgba(15, 13, 11, 0.55);
  cursor: pointer;
  border: 1px solid rgba(239, 233, 221, 0.25);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}

.gallery-modal__close:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(15, 13, 11, 0.85);
}

.gallery-modal__close svg {
  width: 22px;
  height: 22px;
}

.gallery-modal__head {
  padding-right: 52px;
}

.gallery-modal__region {
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 6px;
}

.gallery-modal__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  color: var(--cream);
}

.gallery-modal__stage {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.gallery-modal__figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  max-height: min(56svh, 560px);
  overflow: hidden;
  background: #1a1816;
}

.gallery-modal__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1a1816;
}

.gallery-nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--cream);
  background: transparent;
  cursor: pointer;
  border: 1px solid rgba(239, 233, 221, 0.25);
  flex-shrink: 0;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.gallery-nav:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}

.gallery-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gallery-nav svg {
  width: 20px;
  height: 20px;
}

.gallery-modal__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.gallery-thumb {
  flex: 0 0 88px;
  height: 62px;
  padding: 0;
  border: 2px solid transparent;
  overflow: hidden;
  opacity: 0.65;
  transition: border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.gallery-thumb.is-active,
.gallery-thumb:hover {
  opacity: 1;
  border-color: var(--gold);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-modal__counter {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(239, 233, 221, 0.65);
  text-align: center;
}

body.is-gallery-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .projects-regions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-list-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-modal__stage {
    grid-template-columns: 1fr;
  }

  .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(15, 13, 11, 0.55);
  }

  .gallery-nav--prev { left: 8px; }
  .gallery-nav--next { right: 8px; }

  .gallery-modal__figure {
    grid-column: 1;
  }
}

/* ==========================================================================
   ZAMAN TÜNELİ / PROJELER
   ========================================================================== */
.timeline {
  background: var(--cream-soft);
  border-block: 1px solid var(--line);
}

.timeline-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.timeline-head .section-title {
  margin-bottom: 0;
}

.timeline-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.timeline-track-wrap {
  overflow: hidden;
}

.timeline-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px max(24px, calc((100vw - var(--container)) / 2)) 32px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.timeline-track::-webkit-scrollbar {
  height: 3px;
}

.timeline-track::-webkit-scrollbar-thumb {
  background: var(--gold);
}

.tl-card {
  flex: 0 0 clamp(280px, 26vw, 360px);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.tl-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -25px rgba(35, 33, 29, 0.35);
}

.tl-card figure {
  overflow: hidden;
}

.tl-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.7s var(--ease), transform 1s var(--ease);
}

.tl-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.06);
}

.tl-body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tl-year {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  margin-bottom: 10px;
  position: relative;
  padding-left: 34px;
}

.tl-year::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.tl-body h3 {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
  color: var(--anthracite);
  margin-bottom: 10px;
}

.tl-body p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 20px;
  flex: 1;
}

.tl-more {
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: all 0.3s var(--ease);
}

.tl-more span {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.tl-more:hover {
  color: var(--anthracite);
  border-color: var(--anthracite);
}

.tl-more:hover span {
  transform: translateX(5px);
}

/* ==========================================================================
   CTA ŞERİDİ
   ========================================================================== */
.cta-band {
  background:
    linear-gradient(rgba(28, 26, 22, 0.88), rgba(28, 26, 22, 0.88)),
    url('../img/timeline/cta-bg.jpg') center / cover fixed;
  padding: 96px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  color: var(--cream);
  max-width: 620px;
  line-height: 1.2;
}

.cta-inner em {
  font-style: italic;
  color: var(--gold);
}

/* ==========================================================================
   İLETİŞİM
   ========================================================================== */
.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}

.contact-info > p {
  color: var(--gray);
  max-width: 44ch;
}

.contact-list {
  margin-top: 40px;
  display: grid;
  gap: 26px;
}

.contact-list li {
  padding-left: 22px;
  border-left: 1px solid var(--gold);
  color: var(--charcoal);
}

.contact-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

.contact-list a:hover {
  color: var(--gold-dark);
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gray);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--anthracite);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.contact-form .btn {
  justify-self: start;
}

.form-note {
  font-size: 13px;
  color: var(--gray-light);
}

.form-note a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--gray);
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold-dark);
  cursor: pointer;
}

.form-consent a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--anthracite);
  color: rgba(239, 233, 221, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  padding: 84px 0 64px;
}

.footer-logo .logo-img {
  filter: brightness(1.05);
}

.footer-logo .logo-text strong {
  color: var(--cream);
}

.footer-logo .logo-mark {
  color: var(--gold);
}

.footer-brand p {
  font-size: 15px;
  margin: 22px 0 26px;
  max-width: 34ch;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  border: 1px solid rgba(239, 233, 221, 0.2);
  color: rgba(239, 233, 221, 0.7);
}

.footer-socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 22px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
}

.footer-col a {
  font-size: 15px;
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-contact li {
  font-size: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(239, 233, 221, 0.12);
  padding: 26px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(239, 233, 221, 0.5);
}

.site-footer.slim {
  margin-top: 80px;
}

/* ==========================================================================
   K.V.K.K. / ALT SAYFALAR
   ========================================================================== */
.page-sub {
  background: var(--cream);
}

.page-main {
  padding-top: calc(var(--header-h) + 12px);
}

.page-main .section {
  padding-top: 80px;
}

.legal-page {
  padding-top: calc(var(--header-h) + 70px);
}

.legal-inner {
  max-width: 820px;
}

.legal-updated {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 44px;
}

.legal-content {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 60px);
  margin-bottom: 44px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--anthracite);
  margin: 34px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--gray);
  font-size: 16px;
}

.legal-content ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.legal-content li {
  padding-left: 22px;
  position: relative;
}

.legal-content li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.legal-content a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   SCROLL REVEAL ANİMASYONU
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: opacity 0.4s ease; }
}

/* ==========================================================================
   WHATSAPP FLOAT + SOSYAL (bekleyen link)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.55);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 32px -8px rgba(37, 211, 102, 0.65);
}

.social-pending {
  opacity: 0.45;
}

.header-socials .social-pending:hover,
.footer-socials .social-pending:hover {
  opacity: 0.7;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .header-socials {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

  .logo,
  .header-socials,
  .main-nav {
    grid-column: auto;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto min(52svh, 420px);
    height: auto;
    min-height: auto;
  }

  .hero-copy {
    padding: calc(var(--header-h) + 20px) 24px 36px;
  }

  .hero-title {
    font-size: clamp(32px, 9vw, 48px);
  }

  .hero-visual-fade {
    width: 100%;
    height: 48px;
    inset: 0 0 auto 0;
    background: linear-gradient(180deg, var(--anthracite) 0%, transparent 100%);
  }

  .hero-controls {
    right: 16px;
    bottom: 20px;
    gap: 12px;
  }

  .hero-scroll-hint {
    display: none;
  }

  .logo-img {
    height: calc(var(--header-h) - 14px);
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(35, 33, 29, 0.35);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease);
  }

  .main-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
  }

  .main-nav li + li {
    border-top: 1px solid var(--line);
  }

  .nav-link {
    display: block;
    padding: 16px 0;
  }

  .nav-link::after {
    display: none;
  }

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

  .about-visual {
    max-width: 100%;
    margin-inline: 0;
  }

  .about-photo {
    --frame-gap: 20px;
  }

  .experience-card {
    left: calc(var(--frame-gap) - 10px);
    bottom: 20px;
    width: 158px;
    padding: 18px;
  }

  .exp-number {
    font-size: 70px;
  }

  .timeline-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }

  .hero-controls {
    right: 12px;
    bottom: 16px;
    gap: 10px;
  }

  .hero-counter {
    display: flex;
  }

  .arrow-btn {
    width: 46px;
    height: 46px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0 48px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .tl-card {
    flex-basis: 82vw;
  }
}
