.yyak-page,
.yyak-page * {
  box-sizing: border-box;
}

.yyak-page {
  --yyak-text: #071343;
  --yyak-muted: #596278;
  --yyak-line: #e5eaf3;
  --yyak-soft: #f4f7fc;
  color: var(--yyak-text);
  font-family: Inter, Arial, sans-serif;
  margin: 0 auto;
  max-width: none;
  overflow: visible;
  position: relative;
  width: 100%;
}

.elementor-widget-yyak_akademik_kutuphane,
.elementor-widget-yyak_akademik_kutuphane > .elementor-widget-container {
  max-width: 100vw !important;
  overflow: visible !important;
  width: 100vw !important;
}

.elementor-widget-yyak_akademik_kutuphane {
  left: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  position: relative !important;
  right: 50% !important;
}

.elementor-widget-yyak_akademik_kutuphane .yyak-gallery-wrap,
.elementor-widget-yyak_akademik_kutuphane .yyak-features,
.elementor-widget-yyak_akademik_kutuphane .yyak-experience,
.elementor-widget-yyak_akademik_kutuphane .yyak-bottom-cta {
  max-width: min(1160px, calc(100vw - 40px));
}

.yyak-hero {
  align-items: center;
  background: linear-gradient(135deg, #191b1f, #071343);
  background-position: center;
  background-size: cover;
  display: grid;
  min-height: 394px;
  overflow: hidden;
  padding: 42px 20px 48px;
  position: relative;
  left: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: 100vw !important;
  right: 50% !important;
  width: 100vw !important;
}

.yyak-hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, .58)),
    linear-gradient(90deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .18), rgba(0, 0, 0, .42));
  inset: 0;
  position: absolute;
}

.yyak-hero-content {
  color: #fff;
  justify-self: center;
  max-width: 620px;
  position: relative;
  text-align: center;
  z-index: 2;
}

.yyak-badge {
  align-items: center;
  border: 1.5px solid var(--yyak-accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0;
  margin-bottom: 22px;
  padding: 8px 18px;
  text-transform: uppercase;
}

.yyak-hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

.yyak-hero p {
  color: rgba(255, 255, 255, .94);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  margin: 20px auto 24px;
  max-width: 520px;
}

.yyak-audio-button,
.yyak-chat-form button,
.yyak-lead-form button,
.yyak-download,
.yyak-whatsapp,
.yyak-appointment {
  align-items: center;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.yyak-audio-button:hover,
.yyak-chat-form button:hover,
.yyak-lead-form button:hover,
.yyak-download:hover,
.yyak-whatsapp:hover,
.yyak-appointment:hover {
  transform: translateY(-1px);
}

.yyak-audio-button {
  background: var(--yyak-accent);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(255, 202, 50, .24);
  color: #071343;
  font-size: 18px;
  min-height: 58px;
  min-width: min(382px, 100%);
  padding: 15px 34px;
}

.yyak-audio-button.is-playing {
  background: #fff;
}

.yyak-tour-hint {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  gap: 8px;
  margin-top: 18px;
}

.yyak-chat-teaser {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 16px 999px 999px 16px;
  bottom: 22px;
  box-shadow: 0 14px 34px rgba(7, 19, 67, .26);
  color: var(--yyak-text);
  cursor: pointer;
  display: flex;
  gap: 14px;
  max-width: 300px;
  padding: 11px 10px 11px 18px;
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  text-align: left;
  z-index: 3;
}

.yyak-chat-teaser strong,
.yyak-chat-teaser em {
  display: block;
  font-style: normal;
}

.yyak-chat-teaser strong {
  font-size: 14px;
}

.yyak-chat-teaser em {
  color: var(--yyak-muted);
  font-size: 12px;
  margin-top: 2px;
}

.yyak-chat-orb {
  align-items: center;
  background: var(--yyak-navy);
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 62px;
  height: 62px;
  justify-content: center;
  width: 62px;
}

.yyak-gallery-wrap {
  background: #fff;
  padding: 26px 20px 20px;
  text-align: center;
}

.yyak-gallery-wrap h2 {
  color: var(--yyak-text);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.yyak-title-line {
  background: var(--yyak-accent);
  border-radius: 999px;
  height: 3px;
  margin: 18px auto 28px;
  width: 58px;
}

.yyak-gallery {
  display: grid;
  gap: 13px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 995px;
}

.yyak-gallery-item {
  aspect-ratio: 1.47 / 1;
  background: #eef2f7;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 9px 20px rgba(7, 19, 67, .11);
  cursor: zoom-in;
  overflow: hidden;
  padding: 0;
}

.yyak-gallery-item img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
  width: 100%;
}

.yyak-gallery-item:hover img {
  transform: scale(1.035);
}

.yyak-gallery-empty {
  background: #f7f9fd;
  border: 1px dashed #cbd4e5;
  border-radius: 12px;
  color: var(--yyak-muted);
  margin: 0 auto;
  max-width: 995px;
  padding: 34px;
}

.yyak-side-actions {
  inset: 50% 16px auto 16px;
  pointer-events: none;
  position: fixed;
  transform: translateY(-50%);
  z-index: 40;
}

.yyak-side-button {
  align-items: center;
  background: var(--yyak-navy);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(7, 19, 67, .25);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  height: 94px;
  justify-content: center;
  padding: 12px;
  pointer-events: auto;
  position: absolute;
  text-align: center;
  width: 94px;
}

.yyak-side-audio {
  left: 0;
}

.yyak-side-chat {
  right: 0;
}

.yyak-features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 36px auto 38px;
  max-width: 1160px;
  padding: 0 20px;
}

.yyak-feature-card {
  align-items: center;
  background: linear-gradient(135deg, #fff, #f4f7fc);
  border: 1px solid #eef2f8;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(7, 19, 67, .055);
  display: grid;
  gap: 22px;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 128px;
  padding: 25px 28px;
  text-align: left;
}

.yyak-feature-icon {
  align-items: center;
  background: color-mix(in srgb, var(--yyak-accent), #fff 70%);
  border-radius: 50%;
  color: #9d7719;
  display: inline-flex;
  height: 68px;
  justify-content: center;
  width: 68px;
}

.yyak-feature-card h3 {
  color: var(--yyak-text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 8px;
}

.yyak-feature-card p {
  color: var(--yyak-muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.yyak-experience {
  align-items: center;
  background-color: #eef4fb;
  background-image: linear-gradient(135deg, rgba(238, 244, 251, .95), rgba(255, 255, 255, .95));
  background-position: center;
  background-size: cover;
  border-radius: 16px;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(360px, 560px) 224px;
  margin: 0 auto 16px;
  max-width: 1160px;
  min-height: 330px;
  overflow: hidden;
  padding: clamp(30px, 5vw, 52px) clamp(24px, 6vw, 86px);
  position: relative;
}

.yyak-form-area h2 {
  color: var(--yyak-text);
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 10px;
}

.yyak-form-area p {
  color: var(--yyak-muted);
  margin: 0 0 24px;
}

.yyak-lead-form {
  display: grid;
  gap: 14px;
}

.yyak-lead-form label {
  align-items: center;
  background: #fff;
  border: 1px solid #d8dfeb;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
  display: grid;
  gap: 12px;
  grid-template-columns: 24px minmax(0, 1fr);
  min-height: 62px;
  padding: 0 18px;
}

.yyak-lead-form input {
  background: transparent;
  border: 0;
  color: var(--yyak-text);
  font: inherit;
  min-width: 0;
  outline: 0;
}

.yyak-lead-form input::placeholder {
  color: #8a93aa;
}

.yyak-lead-form button {
  background: var(--yyak-navy);
  border-radius: 8px;
  color: #fff;
  min-height: 64px;
}

.yyak-security {
  align-items: center;
  color: var(--yyak-muted);
  display: inline-flex;
  font-size: 13px;
  gap: 8px;
  margin-top: 18px;
}

.yyak-qr-card {
  background: #fff;
  border: 1px solid #edf1f7;
  border-radius: 12px;
  box-shadow: 0 15px 32px rgba(7, 19, 67, .08);
  padding: 20px 18px;
  text-align: center;
}

.yyak-qr-card h3 {
  color: var(--yyak-text);
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 14px;
}

.yyak-qr-placeholder {
  align-items: center;
  background:
    linear-gradient(90deg, #111 14px, transparent 14px) 0 0 / 32px 32px,
    linear-gradient(#111 14px, transparent 14px) 0 0 / 32px 32px,
    #fff;
  border: 10px solid #fff;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(7, 19, 67, .12);
  display: inline-flex;
  height: 150px;
  justify-content: center;
  left: auto;
  margin: 0 auto;
  position: relative;
  top: auto;
  width: 150px;
}

.yyak-qr-card img {
  border: 7px solid #fff;
  display: block;
  height: 168px;
  margin: 0 auto;
  width: 168px;
}

.yyak-qr-card p {
  color: var(--yyak-muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 13px 0;
}

.yyak-download {
  background: var(--yyak-navy);
  border-radius: 7px;
  color: #fff;
  font-size: 13px;
  min-height: 45px;
  padding: 10px 18px;
}

.yyak-result {
  bottom: 14px;
  color: var(--yyak-text);
  font-size: 13px;
  left: 45px;
  position: absolute;
}

.yyak-bottom-cta {
  align-items: center;
  background: var(--yyak-navy);
  border-radius: 16px;
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto 34px;
  max-width: 1160px;
  min-height: 108px;
  padding: 24px 50px;
}

.yyak-bottom-cta h2 {
  color: #fff;
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 800;
  margin: 0 0 8px;
}

.yyak-bottom-cta p {
  color: rgba(255, 255, 255, .9);
  margin: 0;
}

.yyak-cta-actions {
  display: flex;
  gap: 24px;
}

.yyak-whatsapp,
.yyak-appointment {
  border-radius: 8px;
  min-height: 60px;
}

.yyak-whatsapp {
  background: #22b845;
  color: #fff;
  min-width: 340px;
  padding: 14px 24px;
}

.yyak-appointment {
  background: var(--yyak-accent);
  color: #071343;
  min-width: 220px;
  padding: 14px 24px;
}

.yyak-chat-panel {
  background: #fff;
  border: 1px solid #e3e8f2;
  border-radius: 18px;
  bottom: 28px;
  box-shadow: 0 24px 70px rgba(7, 19, 67, .22);
  display: grid;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 16px;
  position: fixed;
  right: 28px;
  width: 380px;
  z-index: 70;
}

.yyak-chat-panel[hidden],
.yyak-lightbox[hidden] {
  display: none;
}

.yyak-chat-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.yyak-chat-head strong,
.yyak-chat-head span {
  display: block;
}

.yyak-chat-head span {
  color: var(--yyak-muted);
  font-size: 13px;
}

.yyak-chat-close,
.yyak-lightbox button {
  align-items: center;
  background: var(--yyak-navy);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  width: 38px;
}

.yyak-chat-log {
  background: var(--yyak-soft);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  max-height: 260px;
  min-height: 120px;
  overflow: auto;
  padding: 12px;
}

.yyak-message {
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 84%;
  padding: 10px 12px;
}

.yyak-message-bot {
  background: #fff;
  border: 1px solid var(--yyak-line);
  justify-self: start;
}

.yyak-message-user {
  background: var(--yyak-navy);
  color: #fff;
  justify-self: end;
}

.yyak-quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yyak-quick-questions button {
  background: #fff;
  border: 1px solid #dbe2ef;
  border-radius: 999px;
  color: var(--yyak-text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  padding: 8px 10px;
}

.yyak-chat-form {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 70px;
}

.yyak-chat-form input {
  border: 1px solid #dbe2ef;
  border-radius: 10px;
  font: inherit;
  min-height: 46px;
  padding: 0 12px;
}

.yyak-chat-form button {
  background: var(--yyak-accent);
  border-radius: 10px;
  color: var(--yyak-text);
  min-height: 46px;
}

.yyak-lightbox {
  align-items: center;
  background: rgba(0, 0, 0, .82);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 26px;
  position: fixed;
  z-index: 90;
}

.yyak-lightbox img {
  border-radius: 8px;
  max-height: 86vh;
  max-width: min(1040px, 92vw);
  object-fit: contain;
}

.yyak-lightbox button {
  position: absolute;
  right: 24px;
  top: 24px;
}

.yyak-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.yyak-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}

.yyak-feature-icon .yyak-icon {
  height: 34px;
  width: 34px;
}

.yyak-chat-orb .yyak-icon {
  height: 34px;
  width: 34px;
}

.yyak-side-button .yyak-icon {
  height: 31px;
  width: 31px;
}

.yyak-lead-form .yyak-icon,
.yyak-security .yyak-icon {
  color: var(--yyak-navy);
  height: 22px;
  width: 22px;
}

.yyak-qr-placeholder .yyak-icon {
  display: none;
}

.yyak-question-form {
  background: #f4f7fc;
  border: 1px solid #dfe6f2;
  border-radius: 12px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.yyak-question-form[hidden] {
  display: none;
}

.yyak-question-form strong {
  color: var(--yyak-text);
}

.yyak-question-form input,
.yyak-question-form textarea {
  border: 1px solid #dbe2ef;
  border-radius: 10px;
  font: inherit;
  padding: 10px 12px;
  width: 100%;
}

.yyak-question-form button {
  background: var(--yyak-navy);
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
}

.yyak-question-result {
  color: var(--yyak-text);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .yyak-experience,
  .yyak-bottom-cta,
  .yyak-features {
    max-width: calc(100% - 40px);
  }
}

@media (max-width: 1040px) {
  .yyak-experience {
    grid-template-columns: minmax(0, 1fr);
  }

  .yyak-bottom-cta {
    grid-template-columns: 1fr;
  }

  .yyak-cta-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .yyak-gallery,
  .yyak-features {
    grid-template-columns: 1fr;
  }

  .yyak-chat-teaser {
    bottom: 16px;
    left: 18px;
    max-width: calc(100% - 36px);
    right: 18px;
  }

  .yyak-side-actions {
    display: none;
  }

  .yyak-experience,
  .yyak-bottom-cta,
  .yyak-features {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
  }

  .yyak-whatsapp,
  .yyak-appointment {
    min-width: 100%;
  }
}

@media (max-width: 560px) {
  .yyak-hero {
    min-height: 520px;
    padding: 48px 18px 112px;
  }

  .yyak-badge {
    font-size: 12px;
  }

  .yyak-chat-form {
    grid-template-columns: 1fr;
  }
}
