/* Yaşam Boyu custom yb-* styles extracted from index4.html. */

#fp-slider-wrapper .uk-slideshow:not([data-slider]) .uk-slideshow-items > li.yb-lite-active {
  opacity: 1 !important;
  visibility: visible;
  z-index: 1;
}

#fp-slider-wrapper .uk-slideshow:not([data-slider]) .uk-dotnav .yb-lite-active a {
  background: var(--yb-blue-2);
}

#yb-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #1f3a5f; color: #fff; padding: 16px 20px;
  box-shadow: 0 -4px 12px rgba(0,0,0,.2);
  display: none;
  font-family: Arial, sans-serif; font-size: 14px;
}
#yb-cookie-banner.show { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: center; }
#yb-cookie-banner .yb-cookie-text { flex: 1; min-width: 280px; max-width: 800px; }
#yb-cookie-banner a { color: #ffd54f; text-decoration: underline; }
#yb-cookie-banner button {
  background: #fff; color: #1f3a5f; border: 0; padding: 8px 18px;
  border-radius: 4px; font-weight: 600; cursor: pointer;
  font-family: inherit; font-size: 14px;
}
#yb-cookie-banner button:hover { background: #ffd54f; }
@media (max-width: 600px) { #yb-cookie-banner .yb-cookie-text { font-size: 13px; } }


/* FILE CARD GRID — Kalite alt sayfaları PDF/XLSX listeleri için */
.yb-file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.yb-file-card {
  background: #fff;
  border: 1px solid rgba(31,58,95,.1);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
  transition: transform .2s, box-shadow .2s;
}
.yb-file-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31,58,95,.12);
  border-color: rgba(31,58,95,.2);
}
.yb-file-icon {
  font-size: 2.5rem;
  margin-bottom: .5rem;
  color: #dc3545;
}
.yb-file-icon.yb-file-xlsx { color: #198754; }
.yb-file-icon.yb-file-pptx { color: #d97706; }
.yb-file-icon.yb-file-doc { color: #2c5282; }
.yb-file-title {
  font-size: .9rem; font-weight: 600; color: #1f3a5f;
  margin: 0 0 .5rem; line-height: 1.35;
  flex: 1;
}
.yb-file-year {
  display: inline-block;
  background: rgba(31,58,95,.08);
  color: #1f3a5f;
  padding: .15rem .6rem;
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: .75rem;
  align-self: center;
}
.yb-file-btn {
  display: inline-block;
  background: #1f3a5f;
  color: #fff !important;
  padding: .4rem 1rem;
  border-radius: 6px;
  font-size: .85rem;
  text-decoration: none !important;
  transition: background .15s;
}
.yb-file-btn:hover { background: #15294a; color: #fff !important; }

/* PARTNER CARD — İç/Dış paydaş link kartları */
.yb-partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
  margin-bottom: 2rem;
}
.yb-partner-card {
  background: #fff;
  border: 1px solid rgba(31,58,95,.1);
  border-radius: 8px;
  padding: 1rem .75rem;
  text-align: center;
  text-decoration: none !important;
  color: #1f3a5f !important;
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.35;
  transition: all .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}
.yb-partner-card:hover {
  background: #1f3a5f;
  color: #fff !important;
  border-color: #1f3a5f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31,58,95,.2);
}
.yb-partner-card i { margin-left: .35rem; font-size: .75rem; opacity: .6; }

/* SECTION TAB — Kategori sekmeleri */
.yb-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(31,58,95,.1);
  padding-bottom: .5rem;
}


/* FEATURE CARD — anasayfa "Sunduklarımız" sağ kolon kutusu (eski koyu mavi) */
.yb-feature-card {
  position: relative;
  overflow: hidden;
  border-radius: .75rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background-color: #fbfcfe;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='60'><defs><pattern id='d' x='0' y='0' width='12' height='12' patternUnits='userSpaceOnUse'><circle cx='3' cy='3' r='1.5' fill='%231f3a5f' fill-opacity='.22'/></pattern></defs><rect width='96' height='60' fill='url(%23d)'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='200' viewBox='0 0 240 200'><polygon points='20,180 110,20 200,180' fill='%23fde68a' fill-opacity='.7'/><polygon points='80,190 170,40 240,200' fill='%23fcd34d' fill-opacity='.55'/></svg>"),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='200' viewBox='0 0 240 200'><g transform='rotate(45 100 80)'><rect x='40' y='30' width='110' height='110' fill='%23dbeafe' fill-opacity='.8'/></g></svg>"),
    linear-gradient(135deg, #fbfcfe 0%, #fdf9f0 100%);
  background-position: 8% 18%, -40px bottom, top right -30px, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  border: 1px solid rgba(31,58,95,.06);
  color: #1f3a5f;
}
.yb-feature-card > * { position: relative; z-index: 1; }
.yb-feature-card .yb-feature-icon { font-size: 5rem; color: #2c5282; opacity: .85; margin-bottom: 1rem; }
.yb-feature-card h3 { color: #1f3a5f; font-weight: 700; margin-bottom: .25rem; }
.yb-feature-card p { color: #4b5e75; margin: 0; }

/* CTA CARD — anasayfa altındaki "Sorunuz mu var?" / "Eğitime hazır mısınız?" kutuları */
.yb-cta-card {
  position: relative;
  overflow: hidden;
  border-radius: .75rem;
  min-height: 240px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(31,58,95,.08);
}
.yb-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='60'><defs><pattern id='d' x='0' y='0' width='12' height='12' patternUnits='userSpaceOnUse'><circle cx='3' cy='3' r='1.5' fill='%231f3a5f' fill-opacity='.18'/></pattern></defs><rect width='96' height='60' fill='url(%23d)'/></svg>");
  background-position: 8% 12%;
  background-repeat: no-repeat;
  opacity: .9;
  pointer-events: none;
}
.yb-cta-card > * { position: relative; z-index: 1; }
.yb-cta-card h3 { font-weight: 700; margin-bottom: .75rem; color: #1f3a5f; }
.yb-cta-card p { color: #4b5e75; margin-bottom: 1.25rem; }
.yb-cta-card .yb-cta-icon {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 3rem;
  opacity: .15;
  z-index: 0;
}
.yb-cta-card.yb-cta-mint {
  background-color: #ecfdf5;
  background-image: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}
.yb-cta-card.yb-cta-mint .yb-cta-icon { color: #047857; }
.yb-cta-card.yb-cta-peach {
  background-color: #fef3c7;
  background-image: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}
.yb-cta-card.yb-cta-peach .yb-cta-icon { color: #b45309; }


/* TIMELINE — yıllara göre tarihçe (Sınavlar gibi) */
.yb-timeline {
  position: relative;
  padding-left: 2.5rem;
  margin: 2rem 0;
}
.yb-timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: .5rem;
  bottom: .5rem;
  width: 3px;
  background: linear-gradient(to bottom, #1f3a5f 0%, #2c5282 50%, rgba(31,58,95,.2) 100%);
  border-radius: 2px;
}
.yb-tl-year {
  position: relative;
  margin-bottom: 2.5rem;
}
.yb-tl-year::before {
  content: "";
  position: absolute;
  left: -1.85rem;
  top: .3rem;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #1f3a5f;
  box-shadow: 0 2px 6px rgba(31,58,95,.25);
}
.yb-tl-year-label {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f3a5f;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.yb-tl-year-label .yb-tl-count {
  font-size: .75rem;
  font-weight: 600;
  background: rgba(31,58,95,.1);
  color: #1f3a5f;
  padding: .15rem .65rem;
  border-radius: 12px;
  letter-spacing: .5px;
}
.yb-tl-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: .75rem;
}
.yb-tl-item {
  background: #fff;
  border: 1px solid rgba(31,58,95,.1);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  transition: all .15s;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.yb-tl-item:hover {
  box-shadow: 0 4px 12px rgba(31,58,95,.12);
  border-color: rgba(31,58,95,.2);
  transform: translateX(3px);
}
.yb-tl-icon {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f3a5f, #2c5282);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.yb-tl-icon.yb-tl-icon-warm { background: linear-gradient(135deg, #b45309, #d97706); }
.yb-tl-icon.yb-tl-icon-mint { background: linear-gradient(135deg, #047857, #059669); }
.yb-tl-text {
  font-size: .9rem;
  color: #1f3a5f;
  line-height: 1.4;
  font-weight: 500;
  flex: 1;
}
@media (max-width: 600px) {
  .yb-timeline { padding-left: 1.75rem; }
  .yb-timeline::before { left: .5rem; }
  .yb-tl-year::before { left: -1.4rem; width: 1.1rem; height: 1.1rem; border-width: 3px; }
  .yb-tl-year-label { font-size: 1.25rem; }
}


/* EXAM CARD — kurum logosu öne çıkan kart (Sınavlar timeline içinde) */
.yb-exam-card {
  background: #fff;
  border: 1px solid rgba(31,58,95,.1);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.yb-exam-card:hover {
  box-shadow: 0 8px 22px rgba(31,58,95,.15);
  transform: translateY(-3px);
  border-color: rgba(31,58,95,.2);
}
.yb-exam-img {
  position: relative;
  height: 140px;
  background: linear-gradient(135deg, #f5f7fa 0%, #ebf0f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.yb-exam-img img {
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
}
.yb-exam-year {
  position: absolute;
  top: .55rem;
  right: .55rem;
  background: rgba(31,58,95,.92);
  color: #fff;
  padding: .15rem .6rem;
  border-radius: 12px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .5px;
}
.yb-exam-body { padding: .85rem 1rem 1rem; flex: 1; }
.yb-exam-title {
  font-size: .85rem;
  font-weight: 600;
  color: #1f3a5f;
  line-height: 1.35;
  margin: 0;
}

/* HERO — Lambda "Become an instructor" esinli pastel zemin + geometrik süslemeler */
.yb-hero {
  position: relative;
  overflow: hidden;
  border-radius: .75rem;
  padding: 5rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
  background-color: #fbfcfe;
  background-image:
    /* Sol-üst dot grid */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='60'><defs><pattern id='d' x='0' y='0' width='12' height='12' patternUnits='userSpaceOnUse'><circle cx='3' cy='3' r='1.5' fill='%231f3a5f' fill-opacity='.22'/></pattern></defs><rect width='96' height='60' fill='url(%23d)'/></svg>"),
    /* Sağ-alt dot grid */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='60'><defs><pattern id='d' x='0' y='0' width='12' height='12' patternUnits='userSpaceOnUse'><circle cx='3' cy='3' r='1.5' fill='%231f3a5f' fill-opacity='.22'/></pattern></defs><rect width='96' height='60' fill='url(%23d)'/></svg>"),
    /* Sol-alt sarı üçgenler */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='200' viewBox='0 0 240 200'><polygon points='20,180 110,20 200,180' fill='%23fde68a' fill-opacity='.7'/><polygon points='80,190 170,40 240,200' fill='%23fcd34d' fill-opacity='.55'/></svg>"),
    /* Sağ-üst mavi elmaslar */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='200' viewBox='0 0 240 200'><g transform='rotate(45 100 80)'><rect x='40' y='30' width='110' height='110' fill='%23dbeafe' fill-opacity='.8'/></g><g transform='rotate(45 160 110)'><rect x='110' y='70' width='80' height='80' fill='%23bfdbfe' fill-opacity='.7'/></g></svg>"),
    linear-gradient(135deg, #fbfcfe 0%, #fdf9f0 100%);
  background-position:
    6% 22%,
    94% 78%,
    -40px bottom,
    top right -30px,
    center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  border: 1px solid rgba(31,58,95,.06);
}
.yb-hero > * { position: relative; z-index: 1; }
.yb-hero .yb-hero-logo {
  display: block;
  max-width: 320px;
  width: 80%;
  height: auto;
  margin: 0 auto 1.5rem;
}
.yb-hero .yb-hero-slogan {
  font-style: italic;
  font-size: 1.4rem;
  color: #b45309;
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.yb-hero .yb-hero-lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2d3e50;
}
.yb-hero .yb-hero-lead strong { color: #1f3a5f; }
@media (max-width: 600px) {
  .yb-hero { padding: 3rem 1rem; }
  .yb-hero .yb-hero-logo { max-width: 240px; }
  .yb-hero .yb-hero-slogan { font-size: 1.2rem; }
}

/* CARD SCROLLER — yatay kaydırılabilir mini kart galerisi (Yönetim/Danışma Kurulu için) */
.yb-card-scroller {
  position: relative;
  margin-bottom: 3rem;
}
.yb-card-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: .5rem .25rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(31,58,95,.25) transparent;
}
.yb-card-track::-webkit-scrollbar { height: 8px; }
.yb-card-track::-webkit-scrollbar-track { background: transparent; }
.yb-card-track::-webkit-scrollbar-thumb { background: rgba(31,58,95,.2); border-radius: 4px; }
.yb-mini-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(31,58,95,.1);
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.yb-mini-card:hover {
  box-shadow: 0 6px 18px rgba(31,58,95,.12);
  transform: translateY(-3px);
  border-color: rgba(31,58,95,.2);
}
.yb-mini-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f3a5f, #2c5282);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.15rem;
  margin: 0 auto 1rem;
  letter-spacing: .5px;
}
.yb-mini-avatar.yb-avatar-warm { background: linear-gradient(135deg, #b45309, #d97706); }
.yb-mini-name {
  font-size: .95rem; font-weight: 600; color: #1f3a5f;
  margin: 0 0 .35rem; line-height: 1.3;
}
.yb-mini-dept {
  font-size: .8rem; color: #6b7280;
  margin: 0; line-height: 1.45;
}
.yb-card-nav {
  display: flex; gap: .5rem; justify-content: center; margin-top: .25rem;
}
.yb-card-nav .yb-card-prev,
.yb-card-nav .yb-card-next {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(31,58,95,.2);
  color: #1f3a5f;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 36px;
  text-align: center;
  text-decoration: none;
  transition: all .15s;
  user-select: none;
  display: inline-block;
}
.yb-card-nav .yb-card-prev:hover,
.yb-card-nav .yb-card-next:hover {
  background: #1f3a5f; color: #fff; border-color: #1f3a5f;
  box-shadow: 0 4px 10px rgba(31,58,95,.25);
  text-decoration: none;
}

.yb-offers h2,
.yb-about h3,
.yb-categories h2 {
  color: var(--yb-blue);
}

.yb-about {
  padding: 2rem 0 3.5rem;
}

.yb-about h6 {
  color: var(--yb-blue-2);
}

.yb-about ul {
  padding-left: 1.2rem;
}

.yb-footer-brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.yb-footer-brand strong {
  display: block;
  color: #fff !important;
  font-size: 1.22rem;
}

.yb-footer-brand span {
  color: #b9cce3 !important;
}

.yb-footer-brand a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .65rem 1rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 600px) {
  .yb-mini-card { flex: 0 0 220px; }
  .yb-footer-brand { grid-template-columns: 1fr; }
}
