/* === YigiTech Theme === */

:root {
  --yt-brand: #fac10b;
  --yt-brand-strong: #e3ac00;
  --yt-ink: #17181b;
  --yt-ink-soft: #1f2024;
  --yt-ink-line: rgba(255, 255, 255, 0.08);
  --yt-paper: #f5f6f5;
  --yt-surface: #ffffff;
  --yt-line: #e6e7e5;
  --yt-text: #1d1e20;
  --yt-muted: #61635e;
  --yt-radius: 14px;
  --yt-radius-lg: 20px;
  --yt-shadow: 0 2px 16px rgba(23, 24, 27, 0.06);
  --yt-shadow-lift: 0 14px 34px rgba(23, 24, 27, 0.14);
  --yt-font-display: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --yt-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --yt-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.yt-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.yt-container--wide {
  max-width: 1720px;
}

/* === Butonlar === */

.yt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--yt-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.yt-btn:active {
  transform: scale(0.98);
}

.yt-btn--brand {
  background: var(--yt-brand);
  color: var(--yt-ink);
}

.yt-btn--brand:hover,
.yt-btn--brand:focus {
  background: var(--yt-brand-strong);
  color: var(--yt-ink);
  text-decoration: none;
}

.yt-btn--dark {
  background: var(--yt-ink);
  color: #fff;
  box-shadow: 0 4px 16px rgba(23, 24, 27, 0.18);
}

.yt-btn--dark:hover,
.yt-btn--dark:focus {
  background: var(--yt-brand);
  color: var(--yt-ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(250, 193, 11, 0.35);
  text-decoration: none;
}

/* === Header === */

.yt-header {
  position: sticky;
  top: 0;
  z-index: 960;
  background: var(--yt-ink);
  transition: box-shadow 0.3s;
}

.yt-header.is-stuck {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.yt-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.yt-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.yt-header__logo img {
  width: 132px;
  height: auto;
  display: block;
}

.yt-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.yt-header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--yt-ease), opacity 0.2s;
}

.yt-header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.yt-header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.yt-header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.yt-header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.yt-header__nav > a {
  font-family: var(--yt-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #c8c9c5;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.yt-header__nav > a:hover,
.yt-header__nav > a:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.yt-header__nav > a.is-active {
  color: var(--yt-brand);
}

/* === Kategori menüsü === */

.yt-catmenu {
  position: relative;
  margin-right: 8px;
}

.yt-catmenu__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--yt-ink-line);
  border-radius: 999px;
  color: #fff;
  font-family: var(--yt-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.yt-catmenu__btn i {
  font-size: 0.6875rem;
  color: var(--yt-brand);
  transition: transform 0.25s;
}

.yt-catmenu__btn:hover,
.yt-catmenu.is-open .yt-catmenu__btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.yt-catmenu.is-open .yt-catmenu__btn i {
  transform: rotate(180deg);
}

.yt-catmenu__list {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--yt-surface);
  border: 1px solid var(--yt-line);
  border-radius: var(--yt-radius);
  box-shadow: var(--yt-shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s var(--yt-ease), visibility 0.25s;
}

.yt-catmenu.is-open .yt-catmenu__list {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.yt-catmenu__list li {
  margin: 0;
}

.yt-catmenu__list a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--yt-text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.yt-catmenu__list a:hover {
  background: var(--yt-paper);
  color: var(--yt-ink);
  text-decoration: none;
}

/* === Arama === */

.yt-header__tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.yt-search {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
}

.yt-search .search-box {
  position: static;
}

.yt-search__input {
  width: 200px;
  height: 42px;
  padding: 0 44px 0 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--yt-ink-line);
  border-radius: 999px;
  color: #fff;
  font-family: var(--yt-font-body);
  font-size: 0.875rem;
  outline: none;
  transition: width 0.3s var(--yt-ease), background 0.2s, border-color 0.2s;
}

.yt-search__input::placeholder {
  color: #9a9b97;
}

.yt-search__input:focus {
  width: 260px;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--yt-brand);
}

.yt-search__btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yt-brand);
  border: 0;
  border-radius: 50%;
  color: var(--yt-ink);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background 0.2s;
}

.yt-search__btn:hover {
  background: var(--yt-brand-strong);
}

/* === Hesap === */

.yt-account {
  position: relative;
}

.yt-account__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--yt-ink-line);
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.yt-account__btn:hover,
.yt-account__btn:focus {
  background: var(--yt-brand);
  color: var(--yt-ink);
  text-decoration: none;
}

.yt-account__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 180px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--yt-surface);
  border: 1px solid var(--yt-line);
  border-radius: var(--yt-radius);
  box-shadow: var(--yt-shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s var(--yt-ease), visibility 0.25s;
}

.yt-account:hover .yt-account__menu,
.yt-account:focus-within .yt-account__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.yt-account__menu li {
  margin: 0;
}

.yt-account__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--yt-text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.yt-account__menu a:hover {
  background: var(--yt-paper);
  text-decoration: none;
}

/* === Mobil arama satırı === */

.yt-msearch {
  display: none;
  padding: 0 16px 12px;
  background: var(--yt-ink);
}

.yt-msearch .yt-search {
  width: 100%;
}

.yt-msearch .yt-search__input {
  width: 100%;
}

.yt-msearch .yt-search__input:focus {
  width: 100%;
}

/* === Çekmece menü === */

.yt-drawer {
  position: fixed;
  inset: 0;
  z-index: 990;
  pointer-events: none;
}

.yt-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.55);
  opacity: 0;
  transition: opacity 0.3s;
}

.yt-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 86vw);
  padding: 24px 20px 32px;
  overflow-y: auto;
  background: var(--yt-ink);
  transform: translateX(-102%);
  transition: transform 0.35s var(--yt-ease);
}

.yt-drawer.is-open {
  pointer-events: auto;
}

.yt-drawer.is-open .yt-drawer__scrim {
  opacity: 1;
}

.yt-drawer.is-open .yt-drawer__panel {
  transform: none;
}

.yt-drawer__logo {
  display: block;
  margin-bottom: 24px;
}

.yt-drawer__logo img {
  width: 120px;
  height: auto;
}

.yt-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}

.yt-drawer__nav a {
  padding: 12px 10px;
  border-radius: 10px;
  color: #e6e7e3;
  font-family: var(--yt-font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.yt-drawer__nav a:hover,
.yt-drawer__nav a:focus {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-decoration: none;
}

.yt-drawer__nav a.is-active {
  color: var(--yt-brand);
}

.yt-drawer__cats {
  margin-bottom: 24px;
  border: 1px solid var(--yt-ink-line);
  border-radius: 12px;
}

.yt-drawer__cats summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--yt-font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.yt-drawer__cats summary::-webkit-details-marker {
  display: none;
}

.yt-drawer__cats summary i {
  font-size: 0.75rem;
  color: var(--yt-brand);
  transition: transform 0.25s;
}

.yt-drawer__cats[open] summary i {
  transform: rotate(180deg);
}

.yt-drawer__cats ul {
  margin: 0;
  padding: 4px 8px 10px;
  list-style: none;
}

.yt-drawer__cats ul a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: #c8c9c5;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.yt-drawer__cats ul a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-decoration: none;
}

.yt-drawer__cta {
  width: 100%;
  margin-bottom: 16px;
}

.yt-drawer__tel {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c8c9c5;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.yt-drawer__tel i {
  color: var(--yt-brand);
}

.yt-drawer__tel:hover {
  color: #fff;
  text-decoration: none;
}

/* === Footer === */

.yt-footer {
  background: var(--yt-ink);
  color: #b9bab6;
  font-family: var(--yt-font-body);
}

.yt-footer a {
  color: #b9bab6;
  text-decoration: none;
  transition: color 0.2s;
}

.yt-footer a:hover,
.yt-footer a:focus {
  color: var(--yt-brand);
  text-decoration: none;
}

.yt-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.4fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 56px;
}

.yt-footer__brand img {
  width: 140px;
  height: auto;
  margin-bottom: 20px;
}

.yt-footer__contact {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yt-footer__contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.6;
}

.yt-footer__contact i {
  color: var(--yt-brand);
  font-size: 0.9375rem;
  margin-top: 3px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.yt-footer__social {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yt-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--yt-ink-line);
  color: #d6d7d3;
  font-size: 0.9375rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.yt-footer__social a:hover {
  background: var(--yt-brand);
  border-color: var(--yt-brand);
  color: var(--yt-ink);
}

.yt-footer__social img {
  width: 18px;
  height: 18px;
  display: block;
}

.yt-footer__title {
  margin: 0 0 18px;
  font-family: var(--yt-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.yt-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yt-footer__links a {
  font-size: 0.875rem;
  font-weight: 600;
}

.yt-footer__news p {
  margin: 0 0 18px;
  font-size: 0.875rem;
  line-height: 1.65;
}

.yt-footer__news .accent {
  color: var(--yt-brand);
  font-weight: 700;
}

.yt-newsform {
  display: flex;
  gap: 8px;
}

.yt-newsform input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
  font-family: var(--yt-font-body);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.yt-newsform input::placeholder {
  color: #9a9b97;
}

.yt-newsform input:focus {
  border-color: var(--yt-brand);
  background: rgba(255, 255, 255, 0.11);
}

.yt-newsform button {
  height: 48px;
  padding: 0 24px;
}

.yt-footer__bottom {
  border-top: 1px solid var(--yt-ink-line);
}

.yt-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
}

.yt-footer__bottom p {
  margin: 0;
  font-size: 0.8125rem;
}

.yt-footer__bottom img {
  height: 26px;
  width: auto;
  opacity: 0.85;
}

/* === Sabit iletişim butonları === */

.yt-float {
  position: fixed;
  bottom: 24px;
  z-index: 940;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yt-float--left {
  left: 20px;
}

.yt-float--right {
  right: 20px;
}

.yt-float__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s var(--yt-ease), box-shadow 0.25s;
}

.yt-float__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.yt-float__btn--wa {
  background: #25d366;
}

.yt-float__btn--wa:hover {
  background: #1da851;
  color: #fff;
}

.yt-float__btn--tel {
  background: var(--yt-ink);
  color: var(--yt-brand);
  border: 2px solid var(--yt-brand);
  font-size: 18px;
}

.yt-float__btn--tel:hover {
  background: var(--yt-brand);
  color: var(--yt-ink);
}

.yt-float__btn--map {
  background: var(--yt-brand);
  color: var(--yt-ink);
  font-size: 18px;
}

.yt-float__btn--map:hover {
  background: var(--yt-brand-strong);
  color: var(--yt-ink);
}

/* === Yukarı dön === */

.yt-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 940;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yt-surface);
  border: 1px solid var(--yt-line);
  border-radius: 50%;
  color: var(--yt-ink);
  font-size: 0.9375rem;
  cursor: pointer;
  box-shadow: var(--yt-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.yt-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.yt-top:hover {
  background: var(--yt-brand);
  border-color: var(--yt-brand);
}

/* === Görünürlük animasyonu === */

@media (prefers-reduced-motion: no-preference) {
  .yt-js .yt-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--yt-ease), transform 0.7s var(--yt-ease);
  }

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

  .yt-js .yt-cats__grid .yt-cat:nth-child(2) { transition-delay: 0.08s; }
  .yt-js .yt-cats__grid .yt-cat:nth-child(3) { transition-delay: 0.16s; }
}

/* === Responsive === */

@media (max-width: 1279px) {
  .yt-search__input {
    width: 150px;
  }

  .yt-search__input:focus {
    width: 190px;
  }

  .yt-header__nav > a {
    padding: 8px 9px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 1199px) {
  .yt-header__inner {
    height: 62px;
    gap: 12px;
  }

  .yt-header__burger {
    display: flex;
  }

  .yt-header__nav,
  .yt-header__service,
  .yt-header__tools .yt-search {
    display: none;
  }

  .yt-header__logo {
    margin-right: auto;
  }

  .yt-header__logo img {
    width: 116px;
  }

  .yt-msearch {
    display: block;
  }
}

@media (max-width: 1023px) {
  .yt-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 40px;
  }
}

@media (max-width: 639px) {
  .yt-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .yt-footer__bottom-inner {
    justify-content: center;
    text-align: center;
  }

  .yt-float--left {
    left: 14px;
    bottom: 16px;
  }

  .yt-float--right {
    right: 14px;
    bottom: 16px;
  }

  .yt-float__btn {
    width: 46px;
    height: 46px;
    font-size: 19px;
  }

  .yt-top {
    right: 14px;
    bottom: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yt-header,
  .yt-header *,
  .yt-drawer,
  .yt-drawer *,
  .yt-footer *,
  .yt-btn,
  .yt-float__btn,
  .yt-top {
    transition-duration: 0.01ms !important;
  }
}
