/* =====================================================================
   Ön yüz — üst bar, header (yapışkan, küçülen), açılır menüler, mobil menü, footer
   ===================================================================== */
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 300; border-radius: 4px; }
.skip-link:focus { left: 8px; }
.admin-bar { background: #fbf1dd; color: #8a6116; text-align: center; font-size: 13px; padding: 6px 12px; position: relative; z-index: 120; }
.admin-bar a { color: inherit; font-weight: 600; }

/* ---------- Üst bar ---------- */
.site-top { position: relative; z-index: 90; }
.topbar { background: var(--brand-dark); color: #b9c4cd; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.topbar__info { gap: 22px; }
.topbar__info li, .topbar__info a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar__info a:hover { color: var(--gold-soft); }
.topbar__info .icon { color: var(--gold); }
.topbar__social { gap: 4px; }
.topbar__social a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; color: #b9c4cd; border-radius: 50%; transition: color .2s, background .2s; }
.topbar__social a:hover { color: var(--navy); background: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 90; background: var(--navy); color: #fff; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); transition: min-height .35s var(--ease); }
body.is-scrolled .site-header { background: rgba(12, 28, 42, .9); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); }
body.is-scrolled .site-header__inner { min-height: 66px; }

/* Ana sayfada header, hero görselinin üzerinde şeffaf başlar */
.page-home .site-top { position: absolute; top: 0; left: 0; right: 0; }
.page-home .topbar { background: rgba(8, 20, 30, .35); }
.page-home .site-header { position: relative; background: transparent; }
.page-home.is-scrolled .site-header { position: fixed; top: 0; left: 0; right: 0; animation: headerIn .45s var(--ease); background: rgba(12, 28, 42, .92); }
@keyframes headerIn { from { transform: translateY(-100%); } to { transform: none; } }

.brand { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand img { height: 48px; width: auto; transition: height .35s var(--ease); }
body.is-scrolled .brand img { height: 40px; }
.brand__mark { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; color: var(--gold); font: 600 26px/1 var(--font-serif); }
.brand__mark::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--gold); transform: rotate(45deg); transition: transform .6s var(--ease); }
.brand:hover .brand__mark::before { transform: rotate(225deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 600 22px/1.1 var(--font-serif); letter-spacing: .02em; }
.brand__tag { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-soft); margin-top: 3px; }

.main-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.main-nav__list { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 2px; }
.main-nav__link { position: relative; display: block; white-space: nowrap; padding: 10px 14px; text-decoration: none; color: rgba(255, 255, 255, .86); font-weight: 500; font-size: 15px; transition: color .2s; }
.main-nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.main-nav__link:hover, .main-nav__link.is-active { color: #fff; }
.main-nav__link:hover::after, .main-nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.main-nav__tools { display: flex; align-items: center; gap: 6px; }
.main-nav__mobile-contact { display: none; }

.site-header__actions { position: relative; z-index: 3; display: flex; align-items: center; gap: 10px; }
.icon-link { position: relative; display: inline-flex; color: rgba(255, 255, 255, .86); padding: 8px; border-radius: 50%; transition: color .2s, background .2s; }
.icon-link:hover { color: var(--gold); background: rgba(255, 255, 255, .08); }
.count-badge { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; }

.nav-toggle { display: none; position: relative; z-index: 2; width: 42px; height: 42px; background: none; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: #fff; margin: 4px auto; transition: transform .35s var(--ease), opacity .2s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Açılır menü (dil / para birimi) ---------- */
.dropdown { position: relative; }
.dropdown__toggle { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; color: #fff; font: 600 13px/1 var(--font); letter-spacing: .04em; cursor: pointer; transition: border-color .2s, background .2s; }
.dropdown__toggle:hover, .dropdown.is-open .dropdown__toggle { border-color: var(--gold); background: rgba(201, 164, 92, .12); }
.dropdown__chevron { transition: transform .3s var(--ease); opacity: .8; }
.dropdown.is-open .dropdown__chevron { transform: rotate(180deg); }
.flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.dropdown__symbol { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 12px; }
.dropdown__menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .25s, transform .3s var(--ease), visibility .25s; z-index: 5; }
.dropdown__menu::before { content: ""; position: absolute; right: 22px; top: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.dropdown.is-open .dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.dropdown__item { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14.5px; transition: background .2s, padding-left .25s var(--ease); }
.dropdown__item:hover { background: var(--cream); color: var(--ink); padding-left: 14px; }
.dropdown__item.is-active { background: var(--cream); font-weight: 600; }
.dropdown__item.is-active::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.dropdown__label { flex: 1; }
.dropdown__code { font-size: 11.5px; color: var(--muted); letter-spacing: .06em; font-weight: 600; }

@media (max-width: 1180px) {
  .site-header .header-cta { display: none; }
  .main-nav__link { padding: 10px 10px; }
}
@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .topbar__hide-md { display: none !important; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 96px 28px 40px; overflow-y: auto; background: radial-gradient(120% 80% at 100% 0%, var(--navy-3) 0%, var(--navy) 55%, var(--brand-dark) 100%);
    clip-path: circle(0 at calc(100% - 44px) 44px); visibility: hidden; transition: clip-path .6s var(--ease), visibility .6s;
  }
  body.nav-open .main-nav { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
  body.nav-open { overflow: hidden; }
  .main-nav__list { flex-direction: column; margin: 0; gap: 0; }
  .main-nav__list li { opacity: 0; transform: translateX(24px); transition: opacity .4s, transform .5s var(--ease); transition-delay: calc(.15s + var(--i, 0) * .06s); }
  body.nav-open .main-nav__list li { opacity: 1; transform: none; }
  .main-nav__link { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 600 28px/1.2 var(--font-serif); color: #fff; }
  .main-nav__link::after { display: none; }
  .main-nav__link.is-active { color: var(--gold); }
  .main-nav__tools { justify-content: flex-start; }
  .dropdown__menu { left: 0; right: auto; transform-origin: top left; }
  .dropdown__menu::before { left: 22px; right: auto; }
  .main-nav__mobile-contact { display: grid; gap: 10px; margin-top: auto; }
  .main-nav__mobile-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-soft); text-decoration: none; }
}
@media (max-width: 640px) {
  .topbar__hide-sm { display: none !important; }
  .container { padding: 0 18px; }
  .brand__tag { display: none; }
}

.site-main { min-height: 50vh; }

/* ---------- Sayfa başlığı, breadcrumb ---------- */
.breadcrumb { padding: 22px 0 6px; font-size: 13.5px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 2px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: rotate(45deg); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-2); }

.page-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 10px 0 26px; }
.page-head__title { position: relative; font-size: clamp(32px, 4vw, 46px); margin: 0; padding-bottom: 14px; }
.page-head__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.page-head__count { margin: 0; color: var(--muted); }

.intro { background: var(--cream); padding: 96px 0; }
.intro__title { font-size: clamp(32px, 4vw, 48px); max-width: 760px; }
.intro__text { font-size: 18px; color: var(--ink-soft); max-width: 640px; }

.error-page { padding: 110px 0; text-align: center; }
.error-page__code { font: 600 110px/1 var(--font-serif); color: var(--gold); margin: 0; background: linear-gradient(135deg, var(--gold), var(--navy-3)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--brand-dark); color: #aab6c0; margin-top: 150px; font-size: 15px; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 0%, rgba(201, 164, 92, .08), transparent 70%); pointer-events: none; }
.site-footer a { color: #d9e0e6; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.footer-cta { position: relative; transform: translateY(-50%); margin-bottom: -40px; }
.footer-cta__box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 40px 48px; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--navy-2), var(--navy) 60%); box-shadow: var(--shadow-lg); border: 1px solid rgba(201, 164, 92, .35); }
.footer-cta__box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border: 1px solid rgba(201, 164, 92, .25); border-radius: 50%; box-shadow: 0 0 0 30px rgba(201, 164, 92, .05), 0 0 0 60px rgba(201, 164, 92, .03); }
.footer-cta__title { color: #fff; font-size: clamp(26px, 3vw, 36px); margin: 0 0 6px; }
.footer-cta__text p { margin: 0; color: #b9c4cd; }
.footer-cta__actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer__inner { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; padding-top: 24px; padding-bottom: 40px; }
.site-footer__name { display: block; color: #fff; font: 600 26px/1.2 var(--font-serif); margin-bottom: 12px; }
.site-footer__title { position: relative; font: 600 13px/1 var(--font); text-transform: uppercase; letter-spacing: .18em; color: #fff; margin-bottom: 22px; padding-bottom: 12px; }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 1px; background: var(--gold); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s, transform .3s var(--ease); }
.site-footer__links a .icon { color: var(--gold); opacity: .6; transition: opacity .2s; }
.site-footer__links a:hover { transform: translateX(4px); }
.site-footer__links a:hover .icon { opacity: 1; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--gold); margin-top: 3px; }
.social { list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 10px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: all .3s var(--ease); }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-3px); }
.site-footer__bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 20px; padding-bottom: 26px; font-size: 13px; color: #7f8c97; }
.site-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer__legal a { color: #7f8c97; }

@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta { transform: translateY(-40%); }
  .footer-cta__box { padding: 30px 24px; }
}
/* Mobil menü açıkken bulanıklık kapatılır (aksi halde fixed menü header kutusuna hapsolur) */
body.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--navy); }

/* ---------- Mobil header: logo solda, seçiciler ortada, hamburger sağda sabit ---------- */
.header-switchers { display: none; }
@media (max-width: 980px) {
  .site-header__actions { flex: 1; justify-content: flex-end; gap: 8px; }
  .header-switchers { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
  .main-nav__tools { display: none; }
  .icon-link--fav { display: none; }
  .header-switchers .dropdown__toggle { height: 36px; padding: 0 10px; gap: 6px; }
  .header-switchers .dropdown__chevron { display: none; }
  /* Açılır menü header'ın sağ kenarına hizalanır; ekran dışına taşıp yatay kaydırma oluşturmaz */
  .site-header__inner { position: relative; }
  .header-switchers .dropdown { position: static; }
  .header-switchers .dropdown__menu { top: calc(100% - 6px); right: 16px; left: auto; min-width: 230px; max-width: calc(100vw - 32px); transform-origin: top right; }
  .header-switchers .dropdown__menu::before { display: none; }
}
@media (max-width: 480px) {
  .site-header__inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand__mark { width: 38px; height: 38px; font-size: 22px; }
  .brand__name { font-size: 18px; }
  .header-switchers .dropdown__current { display: none; }
  .header-switchers .dropdown__toggle { width: 36px; padding: 0; justify-content: center; }
}

.site-footer__credit { color: #7f8c97; }
.site-footer__credit a { color: var(--gold-soft); font-weight: 600; }
.site-footer__credit a:hover { color: var(--gold); }
