/* ==========================================================================
   METROPOL TASARIM — GÖREV 08I.1 TEK ORTAK KABUK STİLİ (shared-shell/shell.css)
   Tüm 12 sayfa ailesinde aynı header (78px / 60px), aynı 1260px eksen,
   aynı 4 sütunlu ferah footer ve erişilebilir mobil çekmece. Saf seçiciler.
   ========================================================================== */

:root {
  --sh-ink: #17181B;
  --sh-ink-2: #2C2F36;
  --sh-gray: #5A5F6B;
  --sh-line: #E6E4DD;
  --sh-paper: #F7F6F2;
  --sh-white: #FFFFFF;
  --sh-gold: #F6B400;
  --sh-gold-deep: #D99B00;
  --sh-gold-ink: #8E6200;
  --sh-gold-tint: #FFF7DF;
  --sh-container: 1260px;
  --sh-gutter: clamp(18px, 3vw, 40px);
  --sh-ease: cubic-bezier(.22, 1, .36, 1);
  --sh-ease-out: cubic-bezier(.16, 1, .3, 1);
}

html.sh-nav-open { overflow: hidden; }
html.sh-nav-open body { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }

.sh-skip-link {
  position: fixed; left: 14px; top: -64px; z-index: 220;
  background: var(--sh-ink); color: var(--sh-white);
  padding: 10px 16px; border-radius: 8px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: top .2s var(--sh-ease);
}
.sh-skip-link:focus { top: 14px; outline: 2.5px solid var(--sh-gold); outline-offset: 2px; }

.sh-container {
  box-sizing: border-box;
  width: min(var(--sh-container), calc(100% - 2 * var(--sh-gutter)));
  margin-inline: auto;
}

.sh-header, .sh-header *, .sh-footer, .sh-footer * { box-sizing: border-box; }
.sh-header, .sh-footer {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--sh-ink);
  -webkit-font-smoothing: antialiased;
}
.sh-header a, .sh-footer a { color: inherit; text-decoration: none; }
.sh-header ul, .sh-footer ul { margin: 0; padding: 0; list-style: none; }
.sh-header li, .sh-footer li { margin: 0; padding: 0; }
.sh-header p, .sh-footer p { margin: 0; }
.sh-header button.sh-toggle { font: inherit; color: inherit; border: 0; cursor: pointer; }
.sh-header :focus-visible, .sh-footer :focus-visible {
  outline: 2.5px solid var(--sh-gold); outline-offset: 3px; border-radius: 6px;
}

/* Ortak Kabuk Butonu */
.sh-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 20px; border-radius: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
  transition: transform .24s var(--sh-ease), box-shadow .24s var(--sh-ease), background-color .2s, color .2s;
}
.sh-btn--sm { height: 42px; padding: 0 18px; font-size: 11.8px; }
.sh-btn--gold {
  background: linear-gradient(180deg, #FFC31A 0%, var(--sh-gold) 100%);
  color: var(--sh-ink);
  box-shadow: 0 10px 22px -12px rgba(246, 180, 0, .75);
}
.sh-btn--gold:hover,
.sh-btn--gold.is-current {
  background: var(--sh-ink); color: var(--sh-gold);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -14px rgba(18, 19, 23, .45);
}
.sh-btn__arrow { display: inline-block; transition: transform .24s var(--sh-ease); }
.sh-btn:hover .sh-btn__arrow { transform: translateX(3px); }

/* ==========================================================================
   TEK ORTAK HEADER (78px masaüstü / 60px mobil · 1260px eksen)
   ========================================================================== */
.sh-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 90;
  height: 78px;
  display: flex; align-items: center;
  transition: background-color .28s var(--sh-ease), box-shadow .28s var(--sh-ease), height .28s var(--sh-ease);
}
.sh-header--solid {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #ECEAE3;
}
.sh-page-solid main#main-content { padding-top: 78px; }

.sh-header.is-sticky {
  position: fixed; height: 68px;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 10px 28px -18px rgba(0, 0, 0, .14);
}
.sh-header__inner {
  display: flex; align-items: center; gap: 28px;
}
.sh-brand { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.sh-brand img { display: block; width: 146px; max-width: none; height: auto; }

.sh-nav { margin-left: auto; margin-right: auto; }
.sh-nav__eyebrow, .sh-nav__mobile-foot { display: none; }
.sh-nav__list { display: flex; align-items: center; gap: 34px; }
.sh-nav__item { position: relative; }
.sh-nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  font-size: 14.2px; font-weight: 500; line-height: 1.3; color: var(--sh-ink);
  padding: 10px 0;
  transition: color .2s;
}
.sh-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--sh-gold); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--sh-ease);
}
.sh-nav__link:hover::after,
.sh-nav__item.is-active > .sh-nav__link::after,
.sh-has-dropdown:hover > .sh-nav__link::after { transform: scaleX(1); }
.sh-nav__item.is-active > .sh-nav__link { font-weight: 700; }

.sh-chev { width: 12px; height: 12px; flex: none; transition: transform .24s var(--sh-ease); }
.sh-has-dropdown:hover .sh-chev,
.sh-has-dropdown:focus-within .sh-chev { transform: rotate(180deg); }

.sh-dropdown {
  position: absolute; top: 100%; left: -16px; min-width: 248px; padding: 10px;
  background: var(--sh-white); border-radius: 12px; border: 1px solid var(--sh-line);
  box-shadow: 0 24px 48px -18px rgba(18, 19, 23, .22);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--sh-ease), transform .22s var(--sh-ease), visibility .22s;
}
.sh-has-dropdown:hover .sh-dropdown,
.sh-has-dropdown:focus-within .sh-dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.sh-dropdown a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: 13.4px; font-weight: 500; line-height: 1.35; color: var(--sh-ink-2);
  transition: background-color .16s, color .16s;
}
.sh-dropdown a:hover, .sh-dropdown a.is-current { background: var(--sh-paper); color: var(--sh-ink); font-weight: 600; }
.sh-dropdown__all { border-top: 1px solid var(--sh-line); margin-top: 6px; padding-top: 6px; }
.sh-dropdown__all a { color: var(--sh-gold-ink); font-weight: 600; }

.sh-toggle, .sh-backdrop { display: none; }

/* ==========================================================================
   TEK ORTAK 4 SÜTUNLU FERAH FOOTER (Açık, Premium, ~310px masaüstü)
   ========================================================================== */
.sh-footer {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF9F6 100%);
  border-top: 1px solid var(--sh-line);
}
.sh-footer::before {
  content: ""; display: block; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--sh-gold) 0%, #FFD45A 35%, rgba(246, 180, 0, .18) 100%);
}
.sh-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, .82fr) minmax(0, 1fr) minmax(0, 1.18fr);
  gap: 32px 40px;
  padding: 36px 0 28px;
}

.sh-brand--footer img { width: 148px; height: auto; }
.sh-footer p.sh-footer__desc {
  margin: 14px 0 0; max-width: 310px;
  font-size: 13.2px; line-height: 1.65; color: var(--sh-gray);
}
.sh-footer__social {
  margin-top: 18px; display: flex; align-items: center; gap: 9px;
}
.sh-footer__icon-btn {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--sh-white); border: 1px solid var(--sh-line); color: var(--sh-ink-2);
  transition: background-color .2s, border-color .2s, color .2s, transform .22s var(--sh-ease);
}
.sh-footer__icon-btn:hover {
  background: var(--sh-gold); border-color: var(--sh-gold); color: var(--sh-ink);
  transform: translateY(-2px);
}
.sh-footer__icon-btn svg { width: 16px; height: 16px; display: block; }

.sh-footer p.sh-footer__heading {
  font-size: 12px; font-weight: 800; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sh-ink); margin: 0 0 14px;
}
.sh-footer__links { display: grid; gap: 6px; }
.sh-footer__links li { font-size: 13.2px; line-height: 1.4; }
.sh-footer__links a {
  display: inline-flex; align-items: center; font-size: 13.2px; font-weight: 500; line-height: 1.4;
  color: var(--sh-gray);
  transition: color .18s, transform .18s var(--sh-ease);
}
.sh-footer__links a:hover,
.sh-footer__links a[aria-current="page"] { color: var(--sh-ink); font-weight: 600; transform: translateX(2px); }

.sh-footer__contact { display: grid; gap: 10px; }
.sh-footer__citem {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 10px;
  font-size: 13.1px; font-weight: 600; line-height: 1.45; color: var(--sh-ink-2);
  overflow-wrap: anywhere;
  transition: color .18s;
}
.sh-footer__citem:hover { color: var(--sh-gold-ink); }
.sh-footer__citem--addr { align-items: start; font-size: 12.6px; font-weight: 500; color: var(--sh-gray); }
.sh-footer__cicon {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--sh-gold-tint); border: 1px solid rgba(217, 155, 0, .28);
  color: var(--sh-gold-ink);
}
.sh-footer__citem:hover .sh-footer__cicon { background: var(--sh-gold); color: var(--sh-ink); border-color: var(--sh-gold); }

/* Alt Satır: Telif + Netasus Marka Atfı + Yasal Bağlantılar */
.sh-footer__bottom {
  border-top: 1px solid #EAE7DF;
  background: var(--sh-paper);
}
.sh-footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 24px; flex-wrap: wrap;
  padding: 16px 0;
  font-size: 12.4px; line-height: 1.5; color: var(--sh-gray);
}
.sh-footer__copy, .sh-footer__legal {
  display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap;
}
.sh-footer__sep { color: #C2BEB4; }
.sh-footer__brand-note a {
  color: var(--sh-ink); font-weight: 700;
  border-bottom: 1.5px solid rgba(246, 180, 0, .7);
  transition: color .18s, border-color .18s;
}
.sh-footer__brand-note a:hover { color: var(--sh-gold-ink); border-color: var(--sh-gold-ink); }
.sh-footer__legal a { font-weight: 600; color: var(--sh-ink-2); transition: color .18s; }
.sh-footer__legal a:hover { color: var(--sh-gold-ink); }

/* ==========================================================================
   TABLET (761px – 1080px)
   ========================================================================== */
@media (max-width: 1080px) and (min-width: 761px) {
  .sh-nav__list { gap: 22px; }
  .sh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 36px; }
}

/* ==========================================================================
   MOBİL (≤ 760px) — 390px & 360px sıfır taşma + sabit mobil CTA boşluğu
   ========================================================================== */
@media (max-width: 760px) {
  :root { --sh-gutter: 16px; }

  .sh-header { height: 60px; position: absolute; z-index: 92; }
  .sh-header.is-sticky { position: fixed; height: 60px; }
  .sh-page-solid main#main-content { padding-top: 60px; }
  html.sh-nav-open .sh-header {
    position: fixed; background: var(--sh-white);
    box-shadow: none; border-bottom: 1px solid #EEECE7;
  }
  .sh-brand img { width: 122px; }
  .sh-header__cta { display: none; }

  .sh-header .sh-toggle {
    display: grid; align-content: center; gap: 5px; margin-left: auto;
    width: 42px; height: 42px; border-radius: 9px;
    background: var(--sh-gold); padding: 0 11px;
    transition: background-color .24s, transform .24s var(--sh-ease);
  }
  .sh-header .sh-toggle[aria-expanded="true"] { background: var(--sh-ink); }
  .sh-header .sh-toggle span {
    display: block; height: 2px; background: var(--sh-ink); border-radius: 2px;
    transition: transform .28s var(--sh-ease), opacity .2s, background-color .24s;
  }
  .sh-header .sh-toggle[aria-expanded="true"] span { background: var(--sh-gold); }
  .sh-header .sh-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .sh-header .sh-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .sh-header .sh-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .sh-backdrop {
    display: block; position: fixed; inset: 0; z-index: 86;
    background: rgba(14, 15, 19, .62);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .28s var(--sh-ease), visibility .28s;
  }
  .sh-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

  .sh-nav {
    position: fixed; top: 60px; left: 0; right: 0; z-index: 88;
    width: 100%; max-width: 100vw; margin: 0; padding: 16px 18px 22px;
    display: flex; flex-direction: column;
    min-height: calc(100dvh - 130px); max-height: calc(100dvh - 60px);
    overflow-y: auto; overscroll-behavior: contain;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF9F6 100%);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 28px 60px -18px rgba(0, 0, 0, .45);
    transform: translateY(-16px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .34s var(--sh-ease-out), opacity .26s, visibility .26s;
  }
  .sh-nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .sh-nav:focus { outline: none; }
  .sh-header p.sh-nav__eyebrow {
    display: flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--sh-gray);
    margin: 0 0 6px;
  }
  .sh-nav__eyebrow-line { width: 22px; height: 2px; background: var(--sh-gold); border-radius: 2px; }
  .sh-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .sh-nav__link {
    font-size: 17px; font-weight: 600; padding: 13px 0; width: 100%;
    border-bottom: 1px solid #ECEAE3; justify-content: space-between;
  }
  .sh-nav__link::after { display: none; }
  .sh-chev { width: 16px; height: 16px; color: var(--sh-gray); }
  .sh-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: #F5F3EE; border-radius: 12px;
    margin: 8px 0 12px; padding: 6px 8px; display: none; min-width: 0;
  }
  .sh-has-dropdown.is-open .sh-dropdown { display: block; }
  .sh-has-dropdown:hover .sh-chev,
  .sh-has-dropdown:focus-within .sh-chev { transform: none; }
  .sh-has-dropdown.is-open .sh-chev,
  .sh-has-dropdown.is-open:focus-within .sh-chev { transform: rotate(180deg); color: var(--sh-gold-ink); }
  .sh-dropdown a { font-size: 14px; padding: 9px 12px; }

  .sh-nav__mobile-foot { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 20px; }
  .sh-nav__mobile-cta { width: 100%; height: 48px; font-size: 13.2px; }
  .sh-nav__contact {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 12px 10px 14px; border-radius: 12px;
    background: #F4F2EC; border: 1px solid #E7E4DC;
  }
  .sh-nav__phone { display: inline-flex; align-items: center; gap: 9px; font-size: 14.8px; font-weight: 700; color: var(--sh-ink); }
  .sh-nav__phone svg { width: 18px; height: 18px; color: var(--sh-gold-deep); }
  .sh-nav__quick-row { display: flex; gap: 8px; }
  .sh-nav__quick {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--sh-white); color: var(--sh-ink); border: 1px solid #E5E2DA;
    display: grid; place-items: center;
  }
  .sh-nav__quick svg { width: 18px; height: 18px; }

  /* Footer Mobil — 2 sütunlu hızlı erişim + hizmetler, sabit alt çubuk için güvenli boşluk */
  .sh-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
    padding: 34px 0 28px;
  }
  .sh-footer__brand, .sh-footer__col:last-child { grid-column: 1 / -1; }
  .sh-brand--footer img { width: 134px; }
  .sh-footer p.sh-footer__desc { max-width: none; font-size: 12.8px; margin: 12px 0 0; }
  .sh-footer__links a { font-size: 12.8px; }
  .sh-footer__bottom-inner {
    flex-direction: column; align-items: flex-start; gap: 10px;
    padding: 16px 0 92px;
  }
  .sh-footer__copy { gap: 4px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .sh-header, .sh-nav, .sh-backdrop, .sh-dropdown, .sh-btn,
  .sh-footer__icon-btn, .sh-footer__links a, .sh-toggle, .sh-toggle span {
    transition: none; animation: none;
  }
}
