:root {
  --color-ink: #151b24;
  --color-ink-soft: #1e2733;
  --color-ink-soft-2: #283445;
  --color-line: #3d4b5c;
  --color-steel: #9aa6b5;
  --color-paper: #f4f0e8;
  --color-paper-dim: #c9c3b6;
  --color-gold: #c6a15b;
  --color-gold-bright: #e6c383;
  --color-gold-deep: #8d6a30;
}

html,
body.bg-ink {
  background-color: #1a222d;
}

/* Light header so dark AYTARINOX logo is readable */
header.fixed {
  background: rgba(244, 240, 232, 0.96) !important;
  border-bottom: 1px solid rgba(198, 161, 91, 0.55) !important;
  box-shadow: 0 8px 24px rgba(21, 27, 36, 0.12);
  backdrop-filter: blur(14px);
}

header.fixed > div {
  min-height: 104px;
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
}

header.fixed > div a,
header.fixed > div button {
  color: #151b24 !important;
}

header.fixed > div nav a:hover {
  color: #8d6a30 !important;
}

header.fixed > div nav a.text-gold-bright,
header.fixed > div nav a.aytar-nav-active {
  color: #8d6a30 !important;
}

header.fixed > div .bg-gold,
header.fixed > div a.bg-gold {
  background: #c6a15b !important;
  color: #151b24 !important;
}

header.fixed > div svg {
  color: #151b24;
}

/* Mobile hamburger: dark panel (bg-ink). Must beat header > div dark-text rules. */
header.fixed > nav,
header.fixed nav.bg-ink,
header.fixed > div nav.flex-col {
  background: #151b24 !important;
}

header.fixed > nav a,
header.fixed nav.bg-ink a,
header.fixed > div nav.flex-col a {
  color: #f4f0e8 !important;
  opacity: 1 !important;
}

header.fixed > nav a:hover,
header.fixed > nav a.text-gold-bright,
header.fixed > nav a.aytar-nav-active,
header.fixed > nav a.bg-ink-soft,
header.fixed nav.bg-ink a:hover,
header.fixed nav.bg-ink a.text-gold-bright,
header.fixed nav.bg-ink a.aytar-nav-active,
header.fixed nav.bg-ink a.bg-ink-soft,
header.fixed > div nav.flex-col a:hover,
header.fixed > div nav.flex-col a.text-gold-bright,
header.fixed > div nav.flex-col a.aytar-nav-active,
header.fixed > div nav.flex-col a.bg-ink-soft {
  color: #e6c383 !important;
  background: #1e2733 !important;
}

header.fixed > nav a.bg-gold,
header.fixed nav.bg-ink a.bg-gold,
header.fixed > div nav.flex-col a.bg-gold {
  background: #c6a15b !important;
  color: #151b24 !important;
}

main.flex-1 {
  padding-top: 104px !important;
}

body.is-home,
body.has-contact-bar {
  padding-bottom: 72px;
}

.aytar-logo-link {
  display: flex !important;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none !important;
}

.aytar-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: calc(100vw - 96px);
  object-fit: contain;
}

.aytar-logo--foot {
  height: 56px;
  max-width: 300px;
  background: #f4f0e8;
  padding: 8px 12px;
  border-radius: 8px;
}

@media (min-width: 768px) {
  header.fixed > div {
    min-height: 108px;
  }

  main.flex-1 {
    padding-top: 108px !important;
  }

  .aytar-logo {
    height: 80px;
    max-width: 520px;
  }

  .aytar-logo--foot {
    height: 64px;
  }
}

.is-home main > section:first-of-type {
  min-height: 72vh;
}

.is-home main > section:first-of-type > img {
  filter: saturate(1.08) contrast(1.06) brightness(1.08);
  transform: scale(1.04);
  transition: opacity 0.35s ease;
}

.is-home main > section:first-of-type > img.is-swap {
  opacity: 0.15;
}

.is-home main > section.aytar-hero-has-slider {
  position: relative;
}

.is-home main > section:first-of-type > .absolute.inset-0.bg-gradient-to-t {
  background-image: linear-gradient(
    to top,
    rgba(16, 22, 30, 0.82) 0%,
    rgba(16, 22, 30, 0.38) 42%,
    rgba(16, 22, 30, 0.12) 100%
  ) !important;
}

.is-home main > section:first-of-type > .absolute.inset-0.bg-gradient-to-r {
  background-image: linear-gradient(
    to right,
    rgba(16, 22, 30, 0.55) 0%,
    rgba(16, 22, 30, 0.18) 48%,
    rgba(16, 22, 30, 0) 100%
  ) !important;
}

.is-home main > section.relative.overflow-hidden.border-t > img {
  filter: saturate(1.05) contrast(1.08) brightness(1.12);
}

.bg-brushed.bg-glow {
  background-color: #1e2733 !important;
  background-image:
    linear-gradient(180deg, rgba(21, 27, 36, 0.78), rgba(21, 27, 36, 0.88)),
    url("/images/aytar-celik-inox-imalat.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
}

.aytar-hero-ui {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.aytar-hero-ui .aytar-slider__btn,
.aytar-hero-ui .aytar-slider__dots {
  pointer-events: auto;
}

.aytar-home {
  background: #151b24;
  border-bottom: 1px solid var(--color-line);
}

.aytar-ticker {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  background: #f4f0e8;
  color: #151b24;
  border-bottom: 1px solid rgba(198, 161, 91, 0.45);
  overflow: hidden;
}

.aytar-ticker__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8d6a30;
  white-space: nowrap;
}

.aytar-ticker__mask {
  overflow: hidden;
}

.aytar-ticker__run {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: aytar-ticker 28s linear infinite;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.aytar-ticker__run i {
  color: #c6a15b;
  font-style: normal;
}

@keyframes aytar-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.aytar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 72rem;
  margin: 0 auto;
  padding: 22px 20px 8px;
}

.aytar-actions__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  color: var(--color-paper);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #1e2733;
}

.aytar-actions__btn.gold {
  background: #c6a15b;
  border-color: #c6a15b;
  color: #151b24;
}

.aytar-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 72rem;
  margin: 0 auto;
  padding: 10px 20px 6px;
  -webkit-overflow-scrolling: touch;
}

.aytar-chips a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  color: var(--color-paper-dim);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.aytar-chips a:hover,
.aytar-chips a:first-child {
  background: #c6a15b;
  border-color: #c6a15b;
  color: #151b24;
}

.aytar-block {
  max-width: 72rem;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.aytar-block__head span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.aytar-block__head h2 {
  margin: 0 0 20px;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--color-paper);
  line-height: 1.05;
}

.aytar-slider {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #1e2733;
  min-height: 240px;
}

.aytar-slide {
  display: none;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.aytar-slide.is-on {
  display: block;
}

.aytar-slider--photos .aytar-slide {
  position: relative;
  aspect-ratio: 16 / 10;
}

.aytar-slider--photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aytar-slider--photos span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px 16px;
  background: linear-gradient(transparent, rgba(10, 12, 16, 0.9));
  color: #f4f0e8;
  font-size: 13px;
  font-weight: 700;
}

.aytar-ref {
  display: none;
}

.aytar-ref.is-on {
  display: grid;
}

.aytar-ref img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.aytar-ref__copy {
  padding: 20px 18px 22px;
}

.aytar-ref__cat {
  display: inline-block;
  margin-bottom: 8px;
  color: #c6a15b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.aytar-ref__copy h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  color: #f4f0e8;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.aytar-ref__copy p {
  margin: 0 0 16px;
  color: #c9c3b6;
  font-size: 14px;
  line-height: 1.5;
}

.aytar-ref__btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  background: #1a3a3a;
  color: #f4f0e8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
}

.aytar-ref__btn:hover {
  background: #c6a15b;
  color: #151b24;
}

.aytar-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 4px;
  background: rgba(21, 27, 36, 0.88);
  color: #f4f0e8;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.aytar-slider__btn--prev { left: 10px; }
.aytar-slider__btn--next { right: 10px; }

.aytar-hero-ui .aytar-slider__btn {
  background: rgba(21, 27, 36, 0.72);
  color: #f4f0e8;
}

.aytar-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.aytar-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(244, 240, 232, 0.35);
  cursor: pointer;
}

.aytar-slider__dot.is-on {
  width: 22px;
  background: #c6a15b;
}

.aytar-more {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-gold-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.aytar-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 10, 14, 0.94);
  align-items: center;
  justify-content: center;
  padding: 48px 56px 72px;
}

.aytar-lightbox.is-open { display: flex; }

.aytar-lightbox img {
  max-width: min(1100px, 100%);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
}

.aytar-lightbox__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #f4f0e8;
  font-size: 36px;
  cursor: pointer;
}

.aytar-lightbox__cap {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  text-align: center;
  color: #f4f0e8;
  font-weight: 700;
}

@media (min-width: 768px) {
  .aytar-actions {
    grid-template-columns: repeat(4, 1fr);
    padding-top: 28px;
  }

  .aytar-ref.is-on {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 340px;
  }

  .aytar-ref img {
    height: 100%;
    min-height: 340px;
  }

  .aytar-ref__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 32px;
  }

  .aytar-slider--photos .aytar-slide {
    aspect-ratio: 21 / 9;
  }

  .aytar-slider__btn {
    width: 46px;
    height: 46px;
  }
}

.aytar-contact-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(21, 27, 36, 0.96);
  border-top: 1px solid rgba(198, 161, 91, 0.35);
  backdrop-filter: blur(12px);
}

.aytar-contact-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.aytar-contact-bar a.call {
  background: #c6a15b;
  color: #151b24;
}

.aytar-contact-bar a.wa {
  background: #1f6f4a;
  color: #f4f0e8;
}

.aytar-install {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 78px;
  z-index: 61;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #f4f0e8;
  color: #151b24;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-size: 13px;
}

.aytar-install button {
  border: 0;
  background: #151b24;
  color: #f4f0e8;
  border-radius: 4px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.aytar-install .x {
  background: transparent;
  color: #151b24;
  padding: 4px 8px;
}

.aytar-admin-fab {
  position: fixed;
  right: 0;
  top: 42%;
  z-index: 58;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: #c6a15b;
  color: #151b24;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 10px;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.aytar-admin-fab:hover {
  background: #e6c383;
}

@media (max-width: 767px) {
  .aytar-admin-fab {
    top: auto;
    bottom: 88px;
    font-size: 11px;
    padding: 12px 8px;
  }
}
