/* Full-bleed hero — edge to edge, brand-first */
.home .site-content > .ast-container,
.home #content > .ast-container,
.home .site-content .ast-container {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home .tosya-hero,
.home .entry-content > .tosya-hero {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.home #primary {
  margin: 0 !important;
  padding: 0 !important;
}

.home .entry-header {
  display: none;
}

.home .entry-content > .tosya-home-h1,
.home .entry-content > h1.tosya-home-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Transparent-header overlay only; normal header already clears content */
.home.ast-theme-transparent-header #content.site-content,
.home.ast-theme-transparent-header .site-content {
  padding-top: 68px !important;
}

.home:not(.ast-theme-transparent-header) #content.site-content,
.home:not(.ast-theme-transparent-header) .site-content {
  padding-top: 0 !important;
}

.tosya-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 1.5rem;
  height: min(62vh, 560px);
  min-height: 420px;
  overflow: hidden;
  background: #0b0d10;
  border-radius: 0;
  isolation: isolate;
  z-index: 1;
}

.tosya-hero__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.tosya-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: none;
  transform: none;
  transition: opacity .75s ease, visibility .75s ease;
  will-change: opacity;
}

.tosya-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

/* Zoom only the photo layer — text/CTAs stay still (no kayma) */
.tosya-hero__slide::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-image: var(--tosya-slide-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transition: transform 7s ease;
  will-change: transform;
}

.tosya-hero__slide.is-active::before {
  transform: scale(1);
}

.tosya-hero__img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.tosya-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(105deg, rgba(8, 10, 12, .94) 0%, rgba(8, 10, 12, .72) 38%, rgba(8, 10, 12, .28) 68%, rgba(8, 10, 12, .18) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, .35) 0%, rgba(8, 10, 12, .12) 35%, rgba(8, 10, 12, .82) 100%);
  /* Horizontal inset matches Astra header wrap (20px); vertical only here */
  padding: clamp(1.75rem, 4vw, 3.25rem) 0 clamp(2.75rem, 5vw, 4rem);
  box-sizing: border-box;
  transform: none !important;
}

/* Same content column as header: max 1168px + 20px side padding */
.tosya-hero__content {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--yavuz-max, 1120px) + 48px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  color: #fff;
  transform: none !important;
}

.tosya-hero__content > * {
  max-width: 780px;
}

.tosya-hero__slide.is-active .tosya-hero__content {
  animation: tosyaHeroIn .7s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes tosyaHeroIn {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.tosya-hero__brand {
  margin: 0 0 .7rem !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(2.55rem, 7.2vw, 5rem) !important;
  line-height: .92 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  color: #f5c400 !important;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .45);
}

.tosya-hero__eyebrow {
  display: none !important;
}

.tosya-hero__title {
  margin: 0 0 .55rem !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif !important;
  font-size: clamp(1.28rem, 2.5vw, 1.9rem) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: .015em !important;
  color: #fff !important;
  text-shadow: none;
}

.tosya-hero__text {
  margin: 0 0 1.35rem !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: Karla, "Helvetica Neue", sans-serif !important;
  font-size: clamp(.98rem, 1.4vw, 1.12rem) !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, .88) !important;
  max-width: 34rem;
}

.tosya-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.tosya-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: .85rem 1.45rem;
  border-radius: 4px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 0;
  box-shadow: none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.tosya-hero__btn i {
  font-size: 1rem;
  line-height: 1;
}

.tosya-hero__btn:hover {
  filter: none;
  transform: translateY(-2px);
}

.tosya-hero__btn--call {
  background: #f5c400;
  color: #0b0d10 !important;
}

.tosya-hero__btn--call:hover {
  background: #ffd84a;
}

.tosya-hero__btn--wa {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(8px);
}

.tosya-hero__btn--wa:hover {
  border-color: #f5c400;
  color: #f5c400 !important;
}

.tosya-hero__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 4px !important;
  background: rgba(11, 13, 16, .55);
  color: #fff;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  box-shadow: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  transform: translateY(-50%) !important;
  -webkit-appearance: none;
  appearance: none;
  backdrop-filter: blur(8px);
}

.tosya-hero__nav i {
  display: block;
  font-size: 16px;
  line-height: 1;
  width: 16px;
  text-align: center;
}

.tosya-hero__nav:hover,
.tosya-hero__nav:focus {
  background: #f5c400;
  color: #0b0d10;
  border-color: #f5c400;
  transform: translateY(-50%) !important;
  outline: none;
}

.tosya-hero__nav--prev { left: clamp(12px, 2vw, 28px); }
.tosya-hero__nav--next { right: clamp(12px, 2vw, 28px); }

.tosya-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.tosya-hero__dot {
  width: 28px;
  height: 3px;
  border: 0;
  border-radius: 1px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  padding: 0;
  margin: 0;
  pointer-events: auto;
  box-shadow: none;
  transition: background-color .2s ease, width .2s ease;
  transform: none !important;
}

.tosya-hero__dot.is-active {
  width: 42px;
  background: #f5c400;
  box-shadow: none;
  transform: none !important;
}

@media (max-width: 768px) {
  .home.ast-theme-transparent-header #content.site-content,
  .home.ast-theme-transparent-header .site-content {
    padding-top: 72px !important;
  }

  .tosya-hero {
    height: min(58vh, 480px);
    min-height: 360px;
    margin-bottom: 1rem;
  }

  .tosya-hero__overlay {
    align-items: flex-end;
    justify-content: center;
    padding-top: 1.25rem;
    padding-left: 0;
    padding-right: 0;
    background:
      linear-gradient(180deg, rgba(8, 10, 12, .2) 0%, rgba(8, 10, 12, .45) 35%, rgba(8, 10, 12, .9) 100%);
  }

  .tosya-hero__content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tosya-hero__brand {
    font-size: clamp(2.2rem, 11vw, 3.2rem) !important;
  }

  .tosya-hero__nav {
    display: none !important;
  }

  .tosya-hero__btn {
    flex: 1 1 auto;
    min-width: calc(50% - .4rem);
  }
}

.tosya-hero button.tosya-hero__nav {
  padding: 0 !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border-radius: 4px !important;
  line-height: 0 !important;
  text-transform: none !important;
  font-weight: 400 !important;
  transform: translateY(-50%) !important;
}

.tosya-hero button.tosya-hero__dot {
  padding: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 1px !important;
  transform: none !important;
  text-transform: none !important;
}

/* Content after hero breathes */
.home .entry-content > *:not(.tosya-hero):not(.tosya-reviews):not(.wp-block-shortcode) {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.home .entry-content > .tosya-hero {
  max-width: none;
  padding: 0;
}

.home .entry-content > .tosya-reviews,
.home .entry-content > .wp-block-shortcode:has(.tosya-reviews) {
  max-width: none !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
