/* ==========================================================================
   Haskaya Tekstil — tema
   ========================================================================== */

:root {
  --ink: #0d1016;
  --ink-soft: #151a23;
  --ink-line: #232a36;
  --cream: #f7f4ef;
  --cream-2: #efeae1;
  --paper: #ffffff;
  --gold: #bf9256;
  --gold-soft: #e2c08a;
  --text: #1b2028;
  --muted: #6c7480;
  --muted-dark: #9aa3b0;

  --wrap: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -24px rgba(13, 16, 22, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(13, 16, 22, 0.3);

  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  overflow-wrap: break-word;
}

body.is-locked { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: var(--ink);
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection {
  background: var(--gold);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- yerleşim ---------- */

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

.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--cream { background: var(--cream); }
.section--ink {
  background: var(--ink);
  color: var(--cream-2);
}
.section--ink h2,
.section--ink h3 { color: var(--cream); }

.grid { display: grid; gap: clamp(20px, 3vw, 34px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

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

/* ---------- küçük parçalar ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow::before { display: none; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: var(--muted);
}

.section--ink .lead { color: var(--muted-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(191, 146, 86, 0.75);
}
.btn--gold:hover { background: #ab7f45; }

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { background: #000; }

.btn--outline {
  border-color: var(--ink-line);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold);
}
.link-arrow span { transition: transform 0.25s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- navbar ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

/* şeffaf (hero üzerinde) */
.site-header--over {
  background: linear-gradient(to bottom, rgba(8, 10, 14, 0.72), rgba(8, 10, 14, 0));
}
.site-header--over .nav__link,
.site-header--over .brand__name,
.site-header--over .brand__tag,
.site-header--over .nav-toggle { color: #fff; }
.site-header--over .brand__tag { color: rgba(255, 255, 255, 0.65); }

/* katı (scroll sonrası / alt sayfalar) */
.site-header--solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(13, 16, 22, 0.08);
  box-shadow: 0 10px 30px -26px rgba(13, 16, 22, 0.6);
}
.site-header--solid .nav__link,
.site-header--solid .brand__name,
.site-header--solid .nav-toggle { color: var(--ink); }
.site-header--solid .brand__tag { color: var(--muted); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  width: auto;
  height: 38px;
  flex: 0 0 auto;
}

/* logo beyaz baskıdır: açık zeminli navbarda ters çevrilir */
.site-header--solid .brand__mark { filter: invert(1); }

.brand__text { display: flex; flex-direction: column; }

.brand__name {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.brand__tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 10px;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--gold); }
.site-header--over .nav__link[aria-current="page"] { color: var(--gold-soft); }

.nav__cta { margin-left: 14px; padding: 12px 24px; }
.site-header--over .nav__cta { color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ""; top: -7px; left: 0; transform: none; }
.nav-toggle span::after { content: ""; top: 7px; left: 0; transform: none; }

.nav-toggle span::before,
.nav-toggle span::after { transition: top 0.25s var(--ease), transform 0.3s var(--ease), opacity 0.2s var(--ease); }

.nav-toggle[aria-expanded="true"] span { transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { opacity: 0; }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(90deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: block; position: relative; }

  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 18px 24px 30px;
    background: #fff;
    border-bottom: 1px solid rgba(13, 16, 22, 0.08);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link,
  .site-header--over .nav__link {
    color: var(--ink);
    padding: 14px 4px;
    font-size: 1.02rem;
    border-bottom: 1px solid rgba(13, 16, 22, 0.07);
    border-radius: 0;
  }

  .nav__link::after { display: none; }
  .nav__link[aria-current="page"],
  .site-header--over .nav__link[aria-current="page"] { color: var(--gold); }

  .nav__cta,
  .site-header--over .nav__cta {
    margin: 18px 0 0;
    color: #fff;
    border-bottom: 0;
    text-align: center;
  }
}

/* ---------- hero (arka plan videosu) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 clamp(50px, 8vh, 96px);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

/* video hero alanını en-boy oranını koruyarak kaplar */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
  /* ilk kare gelene kadar arkadaki kapak görseli görünür */
  background: transparent;
}

.hero__fallback {
  position: absolute;
  inset: 0;
  background: #0b0e13 center/cover no-repeat;
  background-image: url("../img/hero-poster.jpg");
  opacity: 0.65;
}

/* video açılamazsa <video poster> ve bu kapak görseli devreye girer */

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(8, 10, 14, 0.94) 0%, rgba(8, 10, 14, 0.5) 42%, rgba(8, 10, 14, 0.55) 100%),
    radial-gradient(90% 70% at 15% 85%, rgba(191, 146, 86, 0.22), transparent 70%);
}

.hero__inner {
  position: relative;
  max-width: 820px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero__text {
  max-width: 560px;
  margin-bottom: 32px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero .eyebrow { color: var(--gold-soft); }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 5vw, 56px);
  margin-top: clamp(40px, 7vw, 70px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__stats b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}

.hero__stats span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero__tools {
  position: absolute;
  right: 24px;
  bottom: 28px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(10, 12, 16, 0.45);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.icon-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

@media (max-width: 620px) {
  .hero__tools { right: 16px; bottom: 16px; }
}

/* ---------- alt sayfa başlığı ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(60px, 9vw, 110px)) 0 clamp(54px, 8vw, 96px);
  background: var(--ink) center/cover no-repeat;
  color: #fff;
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(8, 10, 14, 0.92) 10%, rgba(8, 10, 14, 0.6) 100%),
    radial-gradient(70% 90% at 85% 10%, rgba(191, 146, 86, 0.28), transparent 65%);
}

.page-hero h1 {
  color: #fff;
  max-width: 820px;
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.page-hero .eyebrow { color: var(--gold-soft); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.crumbs a:hover { color: #fff; }

/* ---------- kartlar ---------- */

.card {
  position: relative;
  padding: clamp(26px, 3vw, 36px);
  background: var(--paper);
  border: 1px solid rgba(13, 16, 22, 0.08);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(191, 146, 86, 0.5);
  box-shadow: var(--shadow);
}

.card h3 { margin-bottom: 10px; }

.card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 0;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(191, 146, 86, 0.18), rgba(191, 146, 86, 0.04));
  color: var(--gold);
  font-size: 1.4rem;
}

.card__num {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.section--ink .card {
  background: var(--ink-soft);
  border-color: var(--ink-line);
}
.section--ink .card p { color: var(--muted-dark); }

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.media-frame:hover img { transform: scale(1.04); }

.media-frame--tall img { aspect-ratio: 3 / 4; }

.badge-float {
  position: absolute;
  right: -12px;
  bottom: -12px;
  padding: 20px 26px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow);
}

.badge-float b {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
}

.badge-float span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* listeler */

.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--muted);
}

.section--ink .ticks li { color: var(--muted-dark); }

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* istatistik şeridi */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-strip div {
  padding: 32px 26px;
  background: var(--ink);
  text-align: center;
}

.stat-strip b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--gold-soft);
  line-height: 1.1;
}

.stat-strip span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* zaman çizelgesi */

.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 34px;
  list-style: none;
  border-left: 1px solid rgba(191, 146, 86, 0.35);
}

.timeline li { position: relative; padding-bottom: 36px; }
.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(191, 146, 86, 0.16);
}

.timeline b {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold);
}

.timeline p {
  margin: 4px 0 0;
  color: var(--muted);
}

.section--ink .timeline p { color: var(--muted-dark); }

/* alıntı */

.quote {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px);
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  text-align: center;
}

.quote p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.45;
  color: var(--cream);
  font-style: italic;
}

.quote footer {
  margin-top: 22px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- galeri ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.filters button {
  padding: 11px 22px;
  border: 1px solid rgba(13, 16, 22, 0.14);
  border-radius: 999px;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filters button:hover { border-color: var(--gold); color: var(--gold); }

.filters button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.gallery__item {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-2);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}

.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { aspect-ratio: 3 / 4; }

@media (max-width: 620px) {
  .gallery__item--wide { grid-column: span 1; }
}

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

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 20px 18px;
  background: linear-gradient(to top, rgba(8, 10, 14, 0.88), transparent);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}

.gallery__item figcaption small {
  display: block;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover figcaption,
.gallery__item:focus-visible figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery__item.is-hidden { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 8, 11, 0.93);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

.lightbox__cap {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }

/* ---------- iletişim ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

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

.map-frame--tall iframe { height: clamp(360px, 60vh, 560px); }

.info-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid rgba(13, 16, 22, 0.08);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.info-list li:hover {
  border-color: rgba(191, 146, 86, 0.5);
  transform: translateY(-3px);
}

.info-list .card__icon {
  width: 44px;
  height: 44px;
  margin: 0;
  font-size: 1.15rem;
  border-radius: 12px;
  flex: 0 0 auto;
}

.info-list strong {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.info-list a,
.info-list span { color: var(--ink); font-weight: 600; }
.info-list a:hover { color: var(--gold); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(13, 16, 22, 0.1);
  box-shadow: var(--shadow-soft);
  line-height: 0;
}

.map-frame iframe {
  width: 100%;
  height: clamp(300px, 46vw, 440px);
  border: 0;
  filter: grayscale(0.25) contrast(1.03);
}

/* ---------- CTA bandı ---------- */

.cta-band {
  position: relative;
  padding: clamp(44px, 6vw, 72px) clamp(28px, 5vw, 64px);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(13, 16, 22, 0.95), rgba(13, 16, 22, 0.78)),
    url("../img/ust-kurumsal.jpg") center/cover no-repeat;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
}

.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.76); margin: 0; max-width: 520px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--muted-dark);
  padding-top: clamp(56px, 7vw, 84px);
  font-size: 0.94rem;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.3fr;
  gap: clamp(26px, 3.5vw, 48px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand__name { color: var(--cream); }
.footer-brand .brand__tag { color: var(--gold); }

.footer-brand p {
  max-width: 320px;
  color: var(--muted-dark);
}

.footer-col h4 {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.footer-contact {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact i {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(191, 146, 86, 0.14);
  color: var(--gold-soft);
  font-size: 0.85rem;
  font-style: normal;
}

.footer-contact strong {
  display: block;
  color: var(--cream);
  font-weight: 600;
}

.footer-map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--ink-line);
  line-height: 0;
}

.footer-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.85);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  color: var(--muted-dark);
  font-size: 0.85rem;
  transition: all 0.25s var(--ease);
}

.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--ink-line);
  font-size: 0.86rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), visibility 0.3s, transform 0.3s var(--ease), background 0.25s;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- mobil uyumluluk ---------- */

@media (max-width: 1000px) {
  :root { --nav-h: 70px; }

  .brand__mark { height: 34px; }
  .brand__name { font-size: 1.12rem; }

  .footer-map iframe { height: 200px; }
}

@media (max-width: 760px) {
  .wrap { padding-inline: 20px; }

  .section { padding: 58px 0; }
  .section--tight { padding: 44px 0; }

  .hero { padding-top: calc(var(--nav-h) + 28px); }
  .hero__stats {
    gap: 22px 30px;
    margin-top: 34px;
    padding-top: 22px;
  }
  .hero__stats div { min-width: 118px; }

  .btn { padding: 14px 24px; }
  .btn-row .btn { flex: 1 1 auto; }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .cta-band .btn-row { width: 100%; }

  .quote { padding: 28px 22px; }

  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip div { padding: 24px 16px; }

  .timeline { padding-left: 26px; }
  .timeline li::before { left: -33px; }

  .badge-float {
    right: 12px;
    bottom: 12px;
    padding: 14px 18px;
  }
  .badge-float b { font-size: 1.5rem; }

  .media-frame--tall img { aspect-ratio: 4 / 3; }

  .gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .gallery__item figcaption { padding: 30px 14px 12px; font-size: 0.84rem; }

  .lightbox { padding: 16px; }
  .lightbox img { max-height: 70vh; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
  .lightbox__close { top: 14px; right: 14px; }

  .filters { justify-content: flex-start; gap: 8px; }
  .filters button { padding: 9px 16px; font-size: 0.82rem; }

  .footer-bottom { justify-content: flex-start; }
  .footer-bottom nav { gap: 14px; }

  .to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 420px) {
  .hero__stats { gap: 18px 24px; }
  .hero__stats b { font-size: 1.5rem; }
  .hero__stats span { font-size: 0.68rem; letter-spacing: 0.08em; }

  .info-list li { padding: 16px 16px; gap: 12px; }
  .stat-strip { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--tall { aspect-ratio: 4 / 3; }
  .socials a { width: 36px; height: 36px; }
}

/* ---------- animasyon ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
