/*
 * Upnext görsel katman — light.css sonrasında yüklenir.
 * 1) Açık tema kontrast düzeltmeleri  2) Görselli bootcamp kartları
 * 3) Mezunlarımız  4) Kayan konu şeridi  5) Görsel zenginleştirme & animasyon
 * 6) WhatsApp butonu
 */

/* =========================================================
   1) AÇIK TEMA KONTRAST DÜZELTMELERİ
   ========================================================= */

/* Breadcrumb */
.up-breadcrumb{color:#667085}
.up-breadcrumb a{color:#0F766E}
.up-breadcrumb a:hover,.up-breadcrumb a:focus-visible{color:#4338CA}
.up-breadcrumb span[aria-hidden]{color:#98A2B3}
.up-breadcrumb span[aria-current]{color:#475467}

/* Küçük turkuaz etiketler beyaz zeminde okunabilir koyu tonda */
.up-ai-forge-hero__eyebrow,.up-ai-forge-day__subtitle,.up-ai-forge-output strong,.up-ai-forge-summary__label,
.up-category-hero__eyebrow,.up-category-summary__count strong,.up-apply-hero__eyebrow,.up-apply-form-card__head>span,
.up-contact-form-card__head span,.up-about-card__tag,.up-text-link,.up-bc-card__badge,.up-fit-result__eyebrow,
.up-employer-kicker,.up-employer-section-head>span,.up-employer-cta span,.up-community-kicker{color:#0F766E!important}
.up-ai-forge-spec span{color:#4F46E5}
.up-ai-forge-day__number{background:#EEF2FF;color:#4338CA}

/* Eski koyu temadan kalan satır içi açık renkler */
[style*="color:#C7CDE8"]{color:#344054!important}
:not(.up-ai-panel *):not(.up-footer *)[style*="color:#8A93C0"]{color:#667085!important}
.up-page-hero span[style*="letter-spacing:1.4px"],
.up-bc-card__cat,.up-mentor__role,.up-post__cat:not(.up-blog-grid .up-post__cat){filter:brightness(.62) saturate(1.35)}

/* Bootcamp detay: SSS bölümünün içteki ekstra boşlukları */
main.up-container section>.up-section{padding:8px 0 0;max-width:none}
main.up-container section>.up-section .up-faq{max-width:none;margin:0}

/* Kategori sayfası özet kartı */
.up-category-summary{border-color:#E4E7EC;background:#fff;box-shadow:0 28px 70px rgba(16,24,40,.12)}
.up-category-summary__head{border-color:#EEF1F5}
.up-category-summary__head span{color:#667085}
.up-category-summary__head strong{color:#101828}
.up-category-summary__count span{color:#475467}
.up-category-summary li{color:#344054}
.up-category-nav a{border-color:#E4E7EC;background:#fff;color:#475467}
.up-category-nav a:hover,.up-category-nav a.is-active{border-color:#4F46E5;background:#EEF2FF;color:#3730A3}

/* İletişim sayfası */
.up-contact-card,.up-contact-form-card{border-color:#E4E7EC;background:#fff;box-shadow:0 24px 60px rgba(16,24,40,.1)}
.up-contact-card:before{background:linear-gradient(135deg,rgba(37,211,102,.08),transparent 45%,rgba(79,70,229,.06))}
.up-contact-card__tag,.up-contact-steps span{color:#15803D}
.up-contact-option{border-color:#E4E7EC;background:#F8FAFC;color:#101828}
.up-contact-option:hover{border-color:#C7D2FE;background:#fff;color:#101828}
.up-contact-option>span{border-color:#E4E7EC;background:#fff}
.up-contact-option em{color:#475467}
.up-contact-option--whatsapp{border-color:#BBF7D0;background:#F0FDF4}
.up-contact-signal{background:#fff;border-color:#E4E7EC}
.up-contact-map{background:#fff;border-color:#E4E7EC}

/* Ön kayıt güvence kartları (beyaz zemin üzerinde beyaz başlık sorunu) */
.up-apply-assurances strong{color:#101828}
.up-apply-assurances span{color:#475467}
.up-apply-assurances>a strong{color:#0F766E}

/* Hakkımızda ikon kutuları ve diğer küçük hover hataları */
.up-about-value>span{border-color:#E4E7EC;background:#F8FAFC}
.up-related__all:hover{color:#3730A3}
.up-prose .up-toc .up-toc__link:hover,.up-prose .up-toc .up-toc__sublink:hover{color:#101828}
.up-breadcrumb a:hover{color:#4338CA}

/* =========================================================
   2) GÖRSELLİ BOOTCAMP KARTLARI
   ========================================================= */
.up-bc-card{position:relative;padding:0;overflow:hidden;border-radius:20px;border:1px solid #E4E7EC;background:#fff;box-shadow:0 10px 28px rgba(16,24,40,.05);min-height:0;height:100%;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.up-bc-card:hover{transform:translateY(-4px);border-color:#C7D2FE;box-shadow:0 22px 48px rgba(16,24,40,.12)}
.up-bc-card[data-flip-card]{height:100%;min-height:0}
.up-bc-card__front{height:100%}
.up-bc-card__back{padding:26px}
.up-bc-card__media{position:relative;display:block;flex:none;aspect-ratio:16/9;overflow:hidden;background:#EEF2FF;isolation:isolate}
.up-bc-card__media>img,.up-bc-card__media>svg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.up-bc-card:hover .up-bc-card__media>img,.up-bc-card:hover .up-bc-card__media>svg{transform:scale(1.05)}
.up-bc-card__media:after{content:"";position:absolute;inset:auto 0 0;height:45%;background:linear-gradient(180deg,transparent,rgba(16,24,40,.28));pointer-events:none}
.up-bc-card__chip{position:absolute;z-index:2;left:14px;bottom:14px;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.95);color:#101828;font:800 11px/1 var(--up-sans);letter-spacing:.2px;box-shadow:0 6px 16px rgba(16,24,40,.16)}
.up-bc-card__date{position:absolute;z-index:2;top:12px;right:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:50px;padding:7px 8px 6px;border-radius:12px;background:#fff;box-shadow:0 8px 20px rgba(16,24,40,.18);line-height:1}
.up-bc-card__date b{font-family:var(--up-head);font-size:20px;color:#101828}
.up-bc-card__date small{margin-top:3px;font:800 10px/1 var(--up-mono);letter-spacing:1px;color:#4F46E5}
.up-bc-card__inner{display:flex;flex-direction:column;flex:1;padding:20px 24px 24px;min-width:0}
.up-bc-card__top{min-height:0;margin-bottom:10px}
.up-bc-card h3{font-size:20px;line-height:1.25;letter-spacing:-.4px}
.up-bc-card__front h3{min-height:0}
.up-bc-card__desc{min-height:0;-webkit-line-clamp:3;margin-bottom:18px}
.up-bc-card__meta{min-height:0;margin-bottom:18px;color:#475467}
.up-category-grid .up-bc-card{padding:0}

/* Kategori kartları: üstte çizim bandı */
.up-cat-card{position:relative;overflow:hidden;padding:0;border-radius:18px;background:#fff;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.up-cat-card:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(16,24,40,.1)}
.up-cat-card__art{position:relative;height:118px;overflow:hidden}
.up-cat-card__art svg{position:absolute;inset:0;width:100%;height:100%}
.up-cat-card__icon{position:relative;z-index:2;margin:-24px 0 16px 24px;width:48px;height:48px;border-radius:14px;border:3px solid #fff;background:#fff;box-shadow:0 8px 20px rgba(16,24,40,.14)}
.up-cat-card h3,.up-cat-card__desc,.up-cat-card__count{margin-left:24px;margin-right:24px}
.up-cat-card__count{margin-bottom:22px;color:#4F46E5;font-weight:800}

/* =========================================================
   3) MEZUNLARIMIZ
   ========================================================= */
.up-grads{position:relative;padding:100px 0;overflow:hidden;background:radial-gradient(760px 380px at 90% 0%,rgba(79,70,229,.09),transparent 65%),radial-gradient(620px 340px at 0% 100%,rgba(20,184,166,.08),transparent 65%),#fff;border-block:1px solid #E4E7EC}
.up-grads__head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:38px}
.up-grads__head h2{max-width:760px;margin:0 0 14px;font-size:clamp(2.1rem,4.4vw,3.6rem);line-height:1.04;letter-spacing:-.04em;color:#101828}
.up-grads__head h2 span{background:linear-gradient(90deg,#4F46E5,#3B82F6,#14B8A6);-webkit-background-clip:text;background-clip:text;color:transparent}
.up-grads__head p{max-width:620px;margin:0;color:#475467;font-size:1.02rem;line-height:1.7}
.up-grads__controls{display:flex;gap:10px;flex:none}
.up-grads__nav{width:48px;height:48px;border-radius:14px;border:1px solid #D0D5DD;background:#fff;color:#101828;font-size:18px;font-weight:800;cursor:pointer;transition:all .18s ease}
.up-grads__nav:hover,.up-grads__nav:focus-visible{border-color:#4F46E5;background:#4F46E5;color:#fff}
.up-grads__nav:disabled{opacity:.4;cursor:default;background:#fff;color:#101828;border-color:#D0D5DD}
.up-grads__track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:6px 4px 24px;margin:0 -4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.up-grads__track::-webkit-scrollbar{display:none}
.up-grads__track>.up-grad{flex:0 0 clamp(260px,26%,320px);scroll-snap-align:start}
.up-grads__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}
.up-grad{display:flex;flex-direction:column;overflow:hidden;border:1px solid #E4E7EC;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(16,24,40,.06);transition:transform .25s ease,box-shadow .25s ease}
.up-grad:hover{transform:translateY(-4px);box-shadow:0 22px 46px rgba(16,24,40,.12)}
.up-grad__media{position:relative;aspect-ratio:4/3;overflow:hidden;background:#EEF2FF}
.up-grad__media>img,.up-grad__media>svg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.up-grad__company{position:absolute;left:12px;bottom:12px;padding:7px 11px;border-radius:10px;background:#fff;color:#101828;font-size:12px;font-weight:800;box-shadow:0 6px 18px rgba(16,24,40,.16)}
.up-grad__body{display:flex;flex-direction:column;flex:1;padding:20px 20px 22px}
.up-grad__body h3{margin:0 0 4px;font-size:1.15rem;color:#101828}
.up-grad__body h4{margin:0 0 12px;font-family:var(--up-sans);font-size:.88rem;font-weight:700;letter-spacing:0;color:#4F46E5}
.up-grad__program{align-self:flex-start;margin-bottom:14px;padding:5px 10px;border-radius:999px;background:#F2F4F7;color:#344054;font-size:.74rem;font-weight:800}
.up-grad__body p{margin:0 0 14px;color:#475467;font-size:.9rem;line-height:1.65}
.up-grad__link{margin-top:auto;font-size:.82rem;font-weight:800;color:#0F766E}
.up-grads__foot{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:18px}
.up-grads__share{font-weight:800;color:#4F46E5}
.up-grads__empty{color:#475467}
.up-grads-page-hero{padding:56px 0 70px;background:radial-gradient(800px 420px at 85% 10%,rgba(79,70,229,.12),transparent 62%),radial-gradient(600px 360px at 0% 100%,rgba(20,184,166,.1),transparent 62%),#F4F6FB;border-bottom:1px solid #E4E7EC}
.up-grads-page-hero h1{max-width:820px;margin:18px 0;font-size:clamp(2.4rem,5.4vw,4.6rem);line-height:1;letter-spacing:-.045em;color:#101828}
.up-grads-page-hero p{max-width:640px;color:#475467;font-size:1.08rem;line-height:1.75}
.up-grads-page{padding:72px 0 96px}

/* =========================================================
   4) KAYAN KONU ŞERİDİ
   ========================================================= */
.up-marquee{position:relative;overflow:hidden;padding:18px 0;background:#fff;border-block:1px solid #E4E7EC;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.up-marquee__track{display:flex;width:max-content;animation:upMarquee 42s linear infinite}
.up-marquee:hover .up-marquee__track{animation-play-state:paused}
.up-marquee__dup{display:flex}
.up-marquee__item{display:inline-flex;align-items:center;gap:10px;margin-right:14px;padding:10px 18px;border:1px solid #E4E7EC;border-radius:999px;background:#F8FAFC;color:#344054;font-size:.9rem;font-weight:700;white-space:nowrap}
.up-marquee__item i{width:9px;height:9px;border-radius:50%;flex:none}
@keyframes upMarquee{to{transform:translateX(-50%)}}

/* =========================================================
   5) GÖRSEL ZENGİNLEŞTİRME & ANİMASYON
   ========================================================= */
/* SVG çizim animasyonları */
.up-art-float{animation:upArtFloat 5s ease-in-out infinite}
.up-art-pulse{animation:upArtPulse 2.6s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.up-art-drift{animation:upArtDrift 12s ease-in-out infinite alternate}
.up-art-drift--slow{animation-duration:18s}
.up-art-dash{animation:upArtDash 1.6s linear infinite}
.up-art-spin{animation:upArtSpin 16s linear infinite}
.up-art-spin--rev{animation-direction:reverse;animation-duration:22s}
.up-art-blink{animation:upArtBlink 1.4s steps(2,start) infinite}
.up-art-grow{animation:upArtGrow 1.2s cubic-bezier(.2,.7,.2,1) both}
.up-art-draw{stroke-dasharray:320;stroke-dashoffset:320;animation:upArtDraw 1.6s .3s ease forwards}
@keyframes upArtFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes upArtPulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.18);opacity:.82}}
@keyframes upArtDrift{to{transform:translate(-18px,14px)}}
@keyframes upArtDash{to{stroke-dashoffset:-26}}
@keyframes upArtSpin{to{transform:rotate(360deg)}}
@keyframes upArtBlink{to{opacity:.25}}
@keyframes upArtGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes upArtDraw{to{stroke-dashoffset:0}}

/* Hero: hareketli ışık küreleri ve yüzen yetenek etiketleri */
.up-hero{isolation:isolate}
.up-hero:before,.up-hero:after{content:"";position:absolute;z-index:-1;border-radius:50%;filter:blur(60px);opacity:.55;pointer-events:none;animation:upOrb 14s ease-in-out infinite alternate}
.up-hero:before{width:420px;height:420px;right:4%;top:6%;background:radial-gradient(circle,rgba(99,102,241,.45),transparent 65%)}
.up-hero:after{width:360px;height:360px;left:-80px;bottom:-60px;background:radial-gradient(circle,rgba(20,184,166,.35),transparent 65%);animation-duration:18s}
@keyframes upOrb{to{transform:translate(-40px,30px) scale(1.08)}}
.up-hero-chip{position:absolute;z-index:3;display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #E4E7EC;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 14px 34px rgba(16,24,40,.14);color:#101828;font-size:.82rem;font-weight:800;white-space:nowrap;animation:upArtFloat 6s ease-in-out infinite;pointer-events:none}
.up-hero-chip i{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;color:#fff;font-style:normal;font-size:.8rem}
.up-hero-chip--1{top:-22px;left:-34px}
.up-hero-chip--2{top:42%;right:-38px;animation-delay:1.2s}
.up-hero-chip--3{bottom:-20px;left:12%;animation-delay:2.1s}
@media(max-width:1100px){.up-hero-chip{display:none}}

/* Neden Upnext hücrelerine ikon */
.up-section--tight .up-cell{position:relative;transition:background .2s ease}
.up-section--tight .up-cell:hover{background:#fff}
.up-section--tight .up-cell:before{content:"";display:block;width:46px;height:46px;margin-bottom:18px;border-radius:14px;background:#EEF2FF center/24px no-repeat;box-shadow:inset 0 0 0 1px rgba(79,70,229,.12)}
.up-section--tight .up-cell:nth-child(1):before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F46E5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18v3h3l6.3-6.3a4 4 0 0 0 5.4-5.4l-2.5 2.5-2.4-.6-.6-2.4z'/%3E%3C/svg%3E")}
.up-section--tight .up-cell:nth-child(2):before{background-color:#F5F3FF;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3Cpath d='M9 2v3M15 2v3M9 19v3M15 19v3M2 9h3M2 15h3M19 9h3M19 15h3'/%3E%3C/svg%3E")}
.up-section--tight .up-cell:nth-child(3):before{background-color:#ECFDF9;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0M17 4.5a3.5 3.5 0 0 1 0 7M21.5 20a6.5 6.5 0 0 0-4-6'/%3E%3C/svg%3E")}
.up-section--tight .up-cell:nth-child(4):before{background-color:#FFF7ED;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EA580C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h18v13H3zM8 7V4h8v3M3 12h18'/%3E%3C/svg%3E")}
.up-section--tight .up-cell:nth-child(5):before{background-color:#FDF2F8;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DB2777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='m8.5 14-1.5 8 5-3 5 3-1.5-8'/%3E%3C/svg%3E")}
.up-section--tight .up-cell:nth-child(6):before{background-color:#EFF6FF;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D4ED8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.5'/%3E%3Ccircle cx='5' cy='18' r='2.5'/%3E%3Ccircle cx='19' cy='18' r='2.5'/%3E%3Cpath d='M12 7.5v4M7 16.5l4-4.5M17 16.5l-4-4.5'/%3E%3C/svg%3E")}

/* 6 adım: numaralar dairesel rozet */
.up-band--light .up-cells--6 .up-cell__no{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#4F46E5,#14B8A6);color:#fff;font-weight:800;box-shadow:0 8px 18px rgba(79,70,229,.25)}

/* Kaydırınca beliren öğeler */
.up-reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.up-reveal.is-in{opacity:1;transform:none}

/* =========================================================
   6) WHATSAPP BUTONU
   ========================================================= */
.up-wa-float{position:fixed;z-index:70;right:22px;bottom:24px;display:inline-flex;align-items:center;gap:10px;height:58px;padding:0 20px 0 15px;border-radius:999px;background:#25D366;color:#fff;font-weight:800;font-size:15px;box-shadow:0 14px 32px rgba(37,211,102,.38),0 4px 10px rgba(16,24,40,.12);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.up-wa-float:hover,.up-wa-float:focus-visible{background:#1EBE5A;color:#fff;transform:translateY(-2px);box-shadow:0 18px 40px rgba(37,211,102,.45)}
.up-wa-float svg{flex:none;position:relative;z-index:1}
.up-wa-float__label{position:relative;z-index:1}
.up-wa-float__ring{position:absolute;inset:0;border-radius:inherit;background:#25D366;animation:upWaRing 2.4s ease-out infinite;z-index:0}
@keyframes upWaRing{0%{transform:scale(1);opacity:.5}80%,100%{transform:scale(1.35);opacity:0}}
@media(max-width:1100px){
  .up-wa-float{width:58px;padding:0;justify-content:center}
  .up-wa-float__label{display:none}
}
@media(max-width:768px){
  .up-wa-float{right:14px;bottom:96px;width:54px;height:54px}
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media(max-width:960px){
  .up-grads{padding:72px 0}
  .up-grads__head{flex-direction:column;align-items:flex-start;gap:18px}
  .up-grads__track>.up-grad{flex-basis:min(78vw,300px)}
}
@media(max-width:760px){
  .up-bc-card__inner{padding:18px 18px 20px}
  .up-cat-card__art{height:96px}
}

/* Hareket azaltma tercihi */
@media(prefers-reduced-motion:reduce){
  .up-art-float,.up-art-pulse,.up-art-drift,.up-art-dash,.up-art-spin,.up-art-blink,.up-art-grow,.up-art-draw,
  .up-marquee__track,.up-hero:before,.up-hero:after,.up-hero-chip,.up-wa-float__ring{animation:none!important}
  .up-art-draw{stroke-dashoffset:0}
  .up-reveal{opacity:1;transform:none;transition:none}
  .up-grads__track{scroll-behavior:auto}
}
