/* ==========================================================================
   Sayfa iskeleti: üst şerit, header, mobil çekmece, alt eylem çubuğu, footer
   ========================================================================== */

/* Üst şerit */
.topbar { font-size: 13px; color: rgb(255 255 255 / 0.75); background: var(--navy-900); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; height: 42px; }
.topbar__info { display: flex; gap: 28px; }
.topbar__info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info .icon { width: 15px; height: 15px; color: var(--gold-soft); }

.lang { display: flex; gap: 6px; }
.lang a { padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.lang a.is-active { background: rgb(255 255 255 / 0.12); color: var(--white); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
.header__brand img { width: auto; height: 62px; }
.header__nav { display: flex; gap: 34px; font-size: 14px; font-weight: 500; color: var(--ink); }
.header__nav a { position: relative; padding: 6px 0; }
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--navy-800); transition: width 0.3s var(--ease);
}
.header__nav a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__menu { display: none; padding: 6px; background: none; border: 0; color: var(--navy-800); cursor: pointer; }
.header__menu .icon { width: 28px; height: 28px; }

/* Mobil çekmece menü */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s 0.4s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgb(1 15 38 / 0.5); opacity: 0; transition: opacity 0.3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86%, 360px);
  display: flex; flex-direction: column; padding: 22px 26px 30px;
  color: var(--white); background: var(--navy-800);
  transform: translateX(100%); transition: transform 0.4s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.drawer__top img { width: auto; height: 44px; }
.drawer__close {
  width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%;
  color: var(--white); background: rgb(255 255 255 / 0.08); cursor: pointer;
}
.drawer__close .icon { transform: rotate(45deg); }
.drawer__nav { display: grid; }
.drawer__nav a {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 0;
  font-family: var(--font-serif); font-size: 26px; border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.drawer__nav .icon { width: 18px; height: 18px; color: var(--gold-soft); }
.drawer__foot { margin-top: auto; display: grid; gap: 10px; font-size: 13px; color: rgb(255 255 255 / 0.65); }
.drawer__foot .lang { margin-top: 8px; }
body.has-drawer-open { overflow: hidden; }

/* Mobil alt eylem çubuğu (js/modules/action-bar.js) */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line); border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 30px -12px rgb(2 25 61 / 0.25);
  visibility: hidden; transform: translateY(110%);
  transition: transform 0.4s var(--ease), visibility 0s 0.4s;
}
.action-bar.is-visible { visibility: visible; transform: none; transition: transform 0.4s var(--ease); }
.action-bar__item {
  flex: 1 1 0; min-width: 0; white-space: nowrap;
  height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 11px; font-weight: 600; color: var(--navy-800); background: var(--navy-50); border-radius: 14px;
}
.action-bar__item .icon { flex-shrink: 0; width: 20px; height: 20px; }
.action-bar__item--whatsapp { color: #128c4a; background: #e8f7ee; }
.action-bar__item--primary { flex-grow: 1.6; flex-direction: row; gap: 8px; font-size: 14px; color: var(--white); background: var(--navy-800); }

/* Masaüstü WhatsApp butonu */
.whatsapp-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%;
  color: var(--white); background: var(--whatsapp); box-shadow: 0 14px 30px -8px rgb(37 211 102 / 0.6);
}
.whatsapp-fab .icon { width: 30px; height: 30px; stroke-width: 1.6; }

/* Footer */
.footer { padding: 80px 0 30px; font-size: 14px; color: rgb(255 255 255 / 0.6); background: var(--navy-900); }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px;
  padding-bottom: 50px; border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.footer__brand img { width: auto; height: 64px; margin-bottom: 20px; }
.footer__title { margin: 8px 0 18px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: var(--white); }
.footer__socials { display: flex; gap: 10px; margin-top: 22px; }
.footer__socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgb(255 255 255 / 0.15); border-radius: 50%; transition: background 0.25s;
}
.footer__socials a:hover { background: rgb(255 255 255 / 0.1); }
.footer__socials .icon { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 26px; font-size: 12px; }
.footer__disclaimer { max-width: 760px; }

@media (max-width: 1080px) {
  .header__nav { display: none; }
  .header__menu { display: block; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  .header__brand img { height: 44px; }
  .header__cta { display: none; }
  .action-bar { display: flex; }
  .whatsapp-fab { display: none; }
  .footer { padding: 50px 0 100px; } /* alt çubuğun altında kalmasın */
  .footer__grid { gap: 30px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand img { height: 54px; }
  .footer__contact { display: none; }
}
