/* Ust bilgi (include/header.html, js/gorbit-header.js): ortada logo, iki yana bolunmus menu, motif seridi.
   Ana sayfada slider'in ustunde seffaf; kaydirinca koyu ve kompakt. Ic sayfalarda yapiskan koyu serit. */

:root {
  --gk-ink: #262425;
  --gk-ink-deep: #1b1a1a;
  --gk-paper: #f2ebe8;
  --gk-copper: #d99578;
  --gk-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='12' viewBox='0 0 32 12'%3E%3Cpath d='M0 6h9M23 6h9' stroke='%23d99578' stroke-opacity='.5'/%3E%3Cpath d='M16 1.5 20.5 6 16 10.5 11.5 6z' fill='none' stroke='%23d99578'/%3E%3Ccircle cx='16' cy='6' r='1.4' fill='%23d99578'/%3E%3C/svg%3E");
}

/* Tema .page-wrapper'a overflow:hidden veriyor; bu yapiskan ust bilgiyi bozar. clip tasmayi yine gizler. */
.page-wrapper {
  overflow: clip;
}

.gk-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.gk-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1200;
  padding: 10px 16px;
  background: var(--gk-copper);
  color: #fff;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.gk-skip:focus {
  transform: none;
  color: #fff;
}

#gk-main:focus {
  outline: none;
}

/* --- Serit --- */
.gk-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--gk-ink);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.gk-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 120px;
  transition: min-height 0.35s ease;
}

.gk-header__logo {
  grid-column: 2;
  display: block;
  padding: 0 44px;
  line-height: 0;
}

.gk-header__logo img {
  width: auto;
  height: 84px;
  transition: height 0.35s ease;
}

.gk-header__nav--left {
  grid-column: 1;
  justify-self: end;
}

.gk-header__nav--right {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

/* Motif seridi: ince cini esinli sira. */
.gk-header__motif,
.gk-drawer__motif {
  height: 12px;
  background-image: var(--gk-motif);
  background-repeat: repeat-x;
  background-position: center;
}

.gk-header__motif {
  border-top: 1px solid rgba(217, 149, 120, 0.25);
  background-color: var(--gk-ink-deep);
  opacity: 0.9;
  transition: opacity 0.35s ease, height 0.35s ease;
}

.gk-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.gk-header.is-scrolled .gk-header__inner {
  min-height: 84px;
}

.gk-header.is-scrolled .gk-header__logo img {
  height: 58px;
}

/* Ana sayfa: slider'in ustunde seffaf. */
.is-home .gk-header {
  position: fixed;
  left: 0;
  right: 0;
  background-color: transparent;
}

/* Koyu gecis header'in altina dogru uzar; slider gorselinin ust kismi da yumusakca kararir. */
.is-home .gk-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 260px;
  background-image: linear-gradient(
    to bottom,
    rgba(15, 14, 14, 0.88) 0%,
    rgba(15, 14, 14, 0.7) 35%,
    rgba(15, 14, 14, 0.38) 65%,
    rgba(15, 14, 14, 0.12) 85%,
    rgba(15, 14, 14, 0) 100%
  );
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.is-home .gk-header.is-scrolled::before {
  opacity: 0;
}

.is-home .gk-header .gk-header__motif {
  background-color: transparent;
  border-top-color: rgba(242, 235, 232, 0.18);
  opacity: 0.75;
}

.is-home .gk-header.is-scrolled {
  background-color: rgba(38, 36, 37, 0.97);
  background-image: none;
}

.is-home .gk-header.is-scrolled .gk-header__motif {
  background-color: var(--gk-ink-deep);
  opacity: 0.9;
}

/* --- Menu --- */
.gk-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gk-menu__item {
  position: relative;
}

.gk-menu__link,
.gk-menu__link:hover,
.gk-menu__link:focus {
  position: relative;
  display: inline-block;
  padding: 12px 0;
  color: var(--gk-paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

/* Alt cizgi ortadan acilir; ustte kucuk baklava. */
.gk-menu__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background-color: var(--gk-copper);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.gk-menu__link::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  background-color: var(--gk-copper);
  transform: rotate(45deg) scale(0);
  transition: transform 0.35s ease;
}

.gk-menu__link:hover,
.gk-menu__link:focus-visible,
.gk-menu__link.is-active {
  color: #fff;
}

.gk-menu__link:hover::after,
.gk-menu__link:focus-visible::after,
.gk-menu__item:focus-within > .gk-menu__link::after,
.gk-menu__link.is-active::after {
  transform: scaleX(1);
}

.gk-menu__link.is-active::before {
  transform: rotate(45deg) scale(1);
}

.has-sub > .gk-menu__link {
  padding-right: 14px;
}

.has-sub > .gk-menu__link .gk-caret,
.has-sub > .gk-menu__link {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M.5.5 4 4 7.5.5' fill='none' stroke='%23d99578'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}

.gk-menu__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10;
  min-width: 230px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  background-color: var(--gk-ink);
  border-top: 2px solid var(--gk-copper);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.gk-menu__item:hover > .gk-menu__sub,
.gk-menu__item:focus-within > .gk-menu__sub,
.gk-menu__item.is-open > .gk-menu__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.gk-menu__sub a {
  display: block;
  padding: 9px 24px;
  color: rgba(242, 235, 232, 0.82);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.gk-menu__sub a:hover,
.gk-menu__sub a:focus-visible,
.gk-menu__sub a.is-active {
  color: var(--gk-copper);
  padding-left: 30px;
  text-decoration: none;
}

/* --- Dil --- */
.gk-lang {
  display: flex;
  align-items: center;
  margin: 0 0 0 28px;
  padding: 0;
  list-style: none;
}

.gk-lang li + li::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 10px;
  vertical-align: middle;
  background-color: rgba(217, 149, 120, 0.7);
  transform: rotate(45deg);
}

.gk-lang a {
  color: rgba(242, 235, 232, 0.6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gk-lang a:hover,
.gk-lang a:focus-visible {
  color: #fff;
  text-decoration: none;
}

.gk-lang a.is-active {
  color: var(--gk-copper);
}

.gk-header a:focus,
.gk-header button:focus {
  outline: none;
}

.gk-header a:focus-visible,
.gk-header button:focus-visible {
  outline: 2px solid var(--gk-copper);
  outline-offset: 4px;
  box-shadow: none;
}

/* Alt bilgideki dil secimi: ayni stil, sola bosluk temanin ayiricisindan gelir. */
.site-footer-two__language .gk-lang {
  margin-left: 0;
}

.site-footer-two__language .gk-lang a {
  font-size: 13px;
}

/* --- Mobil dugme --- */
.gk-header__toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(217, 149, 120, 0.45);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.gk-header__toggle-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.gk-header__toggle-lines span {
  display: block;
  width: 20px;
  height: 1.5px;
  background-color: var(--gk-paper);
}

.gk-header__toggle-lines span:nth-child(2) {
  width: 12px;
  background-color: var(--gk-copper);
}

/* --- Mobil menu --- */
.gk-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  overflow-y: auto;
  background-color: var(--gk-ink-deep);
  background-image: radial-gradient(circle at 50% 0%, rgba(217, 149, 120, 0.16), rgba(217, 149, 120, 0) 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gk-drawer[hidden] {
  display: none;
}

.gk-drawer.is-open {
  opacity: 1;
}

.gk-drawer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 80px 24px 48px;
  text-align: center;
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.gk-drawer.is-open .gk-drawer__inner {
  transform: none;
}

.gk-drawer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(217, 149, 120, 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--gk-paper);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.gk-drawer__menu,
.gk-drawer__sub {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gk-drawer__menu > li + li {
  margin-top: 18px;
}

.gk-drawer__menu > li > a {
  color: var(--gk-paper);
  font-family: "Prata", serif;
  font-size: 28px;
  line-height: 1.3;
  text-decoration: none;
}

.gk-drawer__menu a.is-active,
.gk-drawer__menu a:hover,
.gk-drawer__menu a:focus-visible {
  color: var(--gk-copper);
  text-decoration: none;
}

.gk-drawer__sub {
  margin-top: 8px;
}

.gk-drawer__sub a {
  display: inline-block;
  padding: 4px 0;
  color: rgba(242, 235, 232, 0.6);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.gk-drawer__motif {
  width: 160px;
  margin: 36px auto 26px;
}

.gk-lang--drawer {
  margin: 0;
  justify-content: center;
}

.gk-lang--drawer a {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.gk-menu-open,
.gk-menu-open body {
  overflow: hidden;
}

/* Orta genislik: menu sigmazsa araliklari daralt. */
@media (max-width: 1199px) {
  .gk-menu {
    gap: 22px;
  }

  .gk-header__logo {
    padding: 0 28px;
  }

  .gk-menu__link {
    letter-spacing: 0.1em;
  }

  .gk-lang {
    margin-left: 18px;
  }
}

@media (max-width: 991px) {
  .gk-header__nav {
    display: none;
  }

  .gk-header__toggle {
    display: block;
  }

  .gk-header__inner,
  .gk-header.is-scrolled .gk-header__inner {
    min-height: 80px;
  }

  .gk-header__logo {
    padding: 0;
  }

  .gk-header__logo img,
  .gk-header.is-scrolled .gk-header__logo img {
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gk-header,
  .gk-header *,
  .gk-drawer,
  .gk-drawer__inner {
    transition: none !important;
  }
}
