/* Ana sayfa slaytları (Teslim v3). Sitenin .eyebrow/.button kuralları yerine kapsamlı temel stiller. */
.home-slides,.home-slides *{box-sizing:border-box}
.home-slides{font-family:Roboto,system-ui,Arial,sans-serif;line-height:1.65;font-size:16px}
.home-slides :is(h1,h2){margin:0;font-family:inherit;text-transform:none}
.home-slides p{margin:0 0 16px;font-size:inherit;line-height:1.65}
.home-slides .eyebrow{font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:14px}
.home-slides .button{display:inline-block;padding:12px 20px;border-radius:8px;text-decoration:none;font-weight:700}
.home-slides img{max-width:100%}
.home-slides {
  margin: 0 auto;
  max-width: 1900px;
  background: #153b45;
  color: #fff;
}

.home-slides.is-ready { display: grid; animation: slayt-acil .35s ease-out; }
@keyframes slayt-acil { from { opacity: 0; } to { opacity: 1; } }

/* Yüklenirken: yalnız ilk slayt yer tutar (alt alta düşme yok), içerik iskeletle gizlenir. */
.home-slides:not(.is-ready) .home-slide:not(:first-child) { display: none; }
.home-slides:not(.is-ready) { position: relative; }
.home-slides:not(.is-ready) .home-slide-intro > * { visibility: hidden; animation: slayt-icerik-gec 0s 6s forwards; }
@keyframes slayt-icerik-gec { to { visibility: visible; } }
.home-slides:not(.is-ready)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 20%, rgba(255,255,255,.10) 50%, transparent 80%) -150% 0 / 60% 100% no-repeat,
    linear-gradient(#ffffff1f, #ffffff1f) clamp(24px, 6vw, 112px) 28% / 120px 14px no-repeat,
    linear-gradient(#ffffff26, #ffffff26) clamp(24px, 6vw, 112px) 40% / min(46%, 560px) 40px no-repeat,
    linear-gradient(#ffffff26, #ffffff26) clamp(24px, 6vw, 112px) 54% / min(36%, 440px) 40px no-repeat,
    linear-gradient(#ffffff1a, #ffffff1a) clamp(24px, 6vw, 112px) 70% / min(40%, 480px) 16px no-repeat,
    linear-gradient(#ffffff1a, #ffffff1a) clamp(24px, 6vw, 112px) 78% / min(30%, 360px) 16px no-repeat,
    linear-gradient(#00b5c455, #00b5c455) clamp(24px, 6vw, 112px) 90% / 210px 44px no-repeat,
    linear-gradient(#ffffff14, #ffffff14) 100% 0 / 52% 100% no-repeat,
    #153b45;
  animation: slayt-iskelet 1.4s ease-in-out infinite, slayt-iskelet-gec 0s 6s forwards;
}
@keyframes slayt-iskelet { to { background-position: 250% 0, clamp(24px, 6vw, 112px) 28%, clamp(24px, 6vw, 112px) 40%, clamp(24px, 6vw, 112px) 54%, clamp(24px, 6vw, 112px) 70%, clamp(24px, 6vw, 112px) 78%, clamp(24px, 6vw, 112px) 90%, 100% 0; } }
/* JS hiç çalışmazsa 6 sn sonra iskelet kalkar, ilk slayt görünür kalır. */
@keyframes slayt-iskelet-gec { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .home-slides.is-ready { animation: none; } .home-slides:not(.is-ready)::after { animation: none; } }
.home-slides.is-ready .home-slide { grid-area: 1 / 1; }
.home-slides.is-ready .home-slide[hidden] {
  display: grid;
  visibility: hidden;
}
.home-slides.is-ready .home-slide-controls {
  grid-area: 1 / 1;
  align-self: end;
  z-index: 1;
}

.home-slides .home-slide {
  --slide-title: #fff;
  --slide-text: #e2efee;
  --slide-accent: #a6e6e4;
  --title-x: 0px;
  --title-y: 24px;
  --photo-x: 3%;
  --photo-edge: inset(0);
  --photo-fade: to right;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(20px, 3vw, 64px);
  padding: clamp(28px, 4vw, 72px) clamp(24px, 6vw, 112px) max(66px, 4vw);
  min-height: clamp(340px, 27vw, 530px);
  overflow: hidden;
  background: radial-gradient(ellipse at 90% 15%, #294fbb, transparent 64%),
    linear-gradient(120deg, #111e48, #233e8c);
}

.home-slide:nth-child(2) {
  --slide-accent: #c2d6ff;
  --title-x: -24px;
  --title-y: 0px;
}
.home-slide:nth-child(3) {
  --slide-title: #302415;
  --slide-text: #59462d;
  --slide-accent: #785321;
  background: radial-gradient(ellipse at 90% 0%, #f3dbae, transparent 58%),
    linear-gradient(115deg, #e9cfaa, #fff7e9);
}

.home-slide:nth-child(4) {
  background: #10262b;
}

.home-slide:nth-child(5) {
  --slide-accent: #ffd2bd;
  background: radial-gradient(ellipse at 95% 100%, #aa5238, transparent 66%),
    linear-gradient(115deg, #451e29, #79352d);
}

.home-slide:nth-child(6) {
  --slide-accent: #ead7ff;
  --title-y: 32px;
  background: radial-gradient(ellipse at 75% 40%, #6a4591, transparent 66%),
    radial-gradient(ellipse at 95% 100%, #754564, transparent 54%), #251638;
}

.home-slide:nth-child(7) {
  background: linear-gradient(115deg, #0d2137, #174b59);
}
.home-slide:nth-child(8) {
  --slide-title: #0d2137;
  --slide-text: #4c585e;
  --slide-accent: #087b86;
  background: linear-gradient(115deg, #edf8fc, #b5cbe8);
}
.home-slide:nth-child(9) {
  --slide-title: #12191c;
  --slide-text: #4c585e;
  --slide-accent: #087b86;
  background: linear-gradient(115deg, #e8f2ee, #c6dfd5);
}
.home-slide:nth-child(10) {
  background: linear-gradient(115deg, #153b45, #395c70);
}
.home-slide:nth-child(11) {
  --slide-accent: #bceee9;
  background: linear-gradient(115deg, #103b49, #357d85);
}

.home-slides [hidden] { display: none; }

.home-slide-copy {
  align-self: center;
  min-width: 0;
}

.home-slide-copy .eyebrow { color: var(--slide-accent); }
.home-slide-copy :is(h1, h2) {
  color: var(--slide-title);
  font-size: clamp(30px, 3.5vw, 64px);
  line-height: 1.13;
  letter-spacing: -.035em;
  text-wrap: balance;
  margin: 10px 0 16px;
}
.home-slide-copy p { color: var(--slide-text); max-width: 48ch; }
.home-slide-copy .button { background: #00b5c4; color: #0d2137; }
.home-slide-copy .button:hover { background: #0a9caa; }

.home-slide-visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: 72%;
  z-index: -2;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(var(--photo-fade), transparent, #0001 21%, #000 81%);
}
.home-slide-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.home-slide:nth-child(3) .home-slide-visual img {
  object-position: center 8%;
}
.home-slide:nth-child(11) .home-slide-visual img {
  scale: -1 1;
}

.home-slide-controls {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 48px 8px;
  pointer-events: none;
}
.home-slide-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
}
.home-slide-controls [data-slide]::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: #14233380;
  box-shadow: 0 0 0 1px #14233390;
}
.home-slide-controls [data-slide]:hover::before,
.home-slide-controls [aria-current="true"]::before { background: #fff; }
.home-slide-controls button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -5px;
  box-shadow: inset 0 0 0 6px #142333;
  border-radius: 50%;
}

@media (prefers-reduced-motion: no-preference) {
  .home-slides.is-ready .home-slide:not([hidden]) {
    animation: home-slide-enter 520ms ease-out both;
  }
  .home-slides.is-ready .home-slide:not([hidden])::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(112deg, transparent 32%, #abf5ee38 50%, transparent 68%);
    animation: home-slide-light 1250ms ease-out both;
  }
  .home-slides.is-ready .home-slide:not([hidden]) .eyebrow {
    display: inline-block;
    animation: home-slide-copy 520ms ease-out both;
  }
  .home-slides.is-ready .home-slide:not([hidden]) :is(h1, h2) {
    animation: home-slide-title 850ms cubic-bezier(.2,.75,.25,1) 90ms both;
  }
  .home-slides.is-ready .home-slide:not([hidden]) p {
    animation: home-slide-copy 640ms ease-out 250ms both;
  }
  .home-slides.is-ready .home-slide:not([hidden]) .button {
    animation: home-slide-copy 640ms ease-out 370ms both;
  }
  .home-slides.is-ready .home-slide:not([hidden]) .home-slide-visual {
    animation: home-slide-reveal 980ms cubic-bezier(.2,.75,.25,1) both;
  }
  .home-slides.is-ready .home-slide:not([hidden]) .home-slide-visual img {
    animation: home-slide-photo 1500ms cubic-bezier(.2,.75,.25,1) both;
  }
}

@keyframes home-slide-enter {
  from { opacity: .4; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-slide-light {
  from { opacity: .65; transform: translateX(-75%); }
  to { opacity: 0; transform: translateX(70%); }
}

@keyframes home-slide-title {
  from { opacity: 0; clip-path: inset(0 0 28% 0); transform: translate(var(--title-x), var(--title-y)); }
  to { opacity: 1; clip-path: inset(0 -4px -4px -4px); transform: translate(0, 0); }
}

@keyframes home-slide-copy {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes home-slide-reveal {
  from { opacity: .45; clip-path: var(--photo-edge); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes home-slide-photo {
  from { transform: translateX(var(--photo-x)); }
  to { transform: translateX(0); }
}

@media (width > 760px) {
  .home-slides .home-slide:nth-child(odd):not(.home-slide-intro) {
    --title-x: 24px;
    --title-y: 0px;
    --photo-x: -3%;
    --photo-fade: to left;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }
  .home-slide:nth-child(odd):not(.home-slide-intro) .home-slide-copy { grid-column: 2; }
  .home-slide:nth-child(odd):not(.home-slide-intro) .home-slide-visual { inset: 0 auto 0 0; }
}

@media (max-width: 760px) {
  .home-slides .home-slide { grid-template-columns: minmax(0, 1fr); }
  .home-slides .home-slide .home-slide-visual {
    position: relative;
    inset: auto;
    width: auto;
    aspect-ratio: 3 / 2;
    z-index: auto;
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 88%, transparent);
  }
}

@media (max-width: 640px) {
  /* Üst boşluk azaltıldı; noktalar + oynat/durdur tek sırada */
  .home-slides .home-slide { padding-top: 14px; padding-bottom: 64px; }
  #slayt-tam { margin-top: -16px; }
  .home-slide-controls {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0;
    padding-inline: 8px;
  }
  .home-slide-controls { min-width: 0; max-width: 100%; overflow: hidden; }
  .home-slide-controls button {
    flex: 0 1 26px;
    min-width: 0;
    width: 26px;
  }
}

.home-slides .home-slide-intro { background: linear-gradient(115deg, #112e35, #17444b); }
.home-slide-intro .home-slide-copy p { margin-block: 10px; }
.home-slide-intro figure { margin: 0; }
.home-slide-intro .home-slide-visual { width: 66%; }
.home-slide-intro .home-slide-visual img { object-position: center 12%; }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 20px; }
.intro-link { color: var(--slide-accent); font-weight: 700; text-underline-offset: 4px; }
.home-slide-intro .home-slide-copy .intro-slogan { margin: 16px 0 0; color: var(--slide-accent); font-weight: 700; }
@media (max-width: 760px) {
  .home-slide-intro .home-slide-visual { width: auto; }
}
@media (max-width: 640px) {
}

/* Sayfa kabuğunun (v2 .button) stillerini ezmek için */
.home-slides .home-slide-copy .button{border-radius:8px;box-shadow:none;min-height:0;padding:12px 20px;font-size:16px;line-height:1.65}

/* Tüm slaytlar aynı yükseklikte: gizli slaytlar da (görünmez) alanı paylaşır, en uzunu belirler.
   Sitenin [hidden]{display:none} kuralını ezmek için !important. */
.home-slides.is-ready .home-slide[hidden] { display: grid !important; visibility: hidden; }
.home-slides.is-ready .home-slide { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.home-slides.is-ready .home-slide-visual img { -webkit-user-drag: none; pointer-events: none; }

/* Giriş slaytı: sayfa kabuğunun genel paragraf rengi koyu zeminde okunmuyordu */
.home-slides .home-slide-intro .home-slide-copy p { color: var(--slide-text); }
.home-slides .home-slide-intro .home-slide-copy .intro-slogan { color: var(--slide-accent); }

/* Tüm slaytlarda alt yazı rengi: sayfa kabuğunun genel p rengi (gri) slayt rengini eziyordu */
.home-slides .home-slide .home-slide-copy p { color: var(--slide-text); }
