/* Dil bayrakları */
.lang-switch-item {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}
.lang-switch-item a.lang-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: inherit;
  text-decoration: none;
  opacity: .72;
  transition: opacity .2s ease;
}
.lang-switch-item a.lang-flag img {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.lang-switch-item a.lang-flag.is-active,
.lang-switch-item a.lang-flag:hover {
  opacity: 1;
}

/* Index-10 Markalarım — beyaz kutu, renkli logo */
.tj-maquee-section.brands-marquee-10 .marquee-title .title {
  margin-bottom: 28px;
}
.tj-maquee-section.brands-marquee-10 .marquee-item.style-10 .marquee-logo {
  background: #ffffff !important;
  border-radius: 14px;
  padding: 18px 28px;
  min-width: 160px;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.tj-maquee-section.brands-marquee-10 .marquee-item.style-10 .marquee-logo img {
  max-height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
}
.tj-maquee-section.brands-marquee-10 .marquee-item.style-10 .marquee-logo .brand-fallback {
  color: #1a1a1a;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

/* Hero başlık sığdırma */
.hero-content-box.style-8 .hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem) !important;
  line-height: 1.12 !important;
  max-width: 14ch;
}
.hero-content-box.style-8 .hero-title span img {
  max-height: 0.85em;
  width: auto;
  vertical-align: middle;
}

/* Teknoloji marquee */
.stack-funfact .text {
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.marquee-logo.stack-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.marquee-logo.stack-logo img,
.marquee-logo.stack-logo svg {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}
.marquee-logo.stack-logo span {
  opacity: .92;
}

/* Teklif modal */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.quote-modal.is-open { display: flex; }
.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,8,12,.72);
  backdrop-filter: blur(8px);
}
.quote-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: #14131a;
  border: 1px solid rgba(135,80,247,.35);
  border-radius: 18px;
  padding: 28px 24px 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  color: #f5f5f7;
}
.quote-modal__dialog h3 {
  margin: 0 0 6px;
  font-size: 1.55rem;
  letter-spacing: -.02em;
}
.quote-modal__dialog > p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.65);
  font-size: .95rem;
}
.quote-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.quote-form {
  display: grid;
  gap: 12px;
}
.quote-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quote-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(0,0,0,.28);
  color: #fff;
  padding: 10px 12px;
  font: inherit;
}
.quote-form textarea { min-height: 110px; resize: vertical; }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: #8750f7;
  box-shadow: 0 0 0 3px rgba(135,80,247,.18);
}
.quote-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.quote-flash {
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: .92rem;
}
.quote-flash.ok { background: rgba(45,212,168,.12); color: #9af0d2; border: 1px solid rgba(45,212,168,.3); }
.quote-flash.err { background: rgba(248,113,113,.12); color: #fecaca; border: 1px solid rgba(248,113,113,.3); }
body.quote-open { overflow: hidden; }
@media (max-width: 640px) {
  .quote-form .row-2 { grid-template-columns: 1fr; }
  .lang-switch-item a.lang-flag span { display: none; }
}

/* Becerilerim (tema 1 skills) */
.skills-section .section-header p {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.skills-widget .skill-item {
  max-width: 160px;
}
.skills-widget .skill-item .icon-box {
  opacity: .75;
}
.skills-widget .skill-item .icon-box img {
  width: 100%;
  height: auto;
}

/* Tema 3 — Want to start a project? */
.text-section .section-header.project-cta-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  max-width: 100%;
  margin: 0 auto;
}
.text-section .section-header .heading-left {
  width: 100%;
  text-align: center;
}
.text-section .section-header .heading-left p {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--tj-white);
  opacity: .9;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}
.text-section .section-header .section-title {
  font-size: clamp(3.2rem, 10vw, 7.5rem) !important;
  line-height: 1.02 !important;
  white-space: nowrap;
  max-width: 100%;
  display: inline-block !important;
  margin: 0 auto;
}
.text-section .section-header .chat-mail {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: auto;
}
.text-section .section-header .chat-mail .link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 14px;
  font-size: clamp(1.1rem, 2.2vw, 1.75rem) !important;
  white-space: nowrap;
  word-break: normal;
}
.text-section .section-header .chat-mail .link .mail-text {
  white-space: nowrap;
}
.text-section .section-header .chat-mail .link i {
  flex-shrink: 0;
}
@media (max-width: 575px) {
  .text-section .section-header .section-title {
    white-space: normal;
    font-size: clamp(2.6rem, 12vw, 3.4rem) !important;
  }
  .text-section .section-header .chat-mail .link {
    font-size: 1rem !important;
  }
}

/* Blog list (tema blog.html — etiket yok) */
.blog-list-page .tj-post__meta,
.blog-list-page .tj-post__thumb .category,
.blog-list-page .widget_tag_cloud,
.blog-list-page .tagcloud {
  display: none !important;
}
.blog-list-page .tj-post {
  margin-bottom: 50px;
}
.blog-list-page .tj-post__thumb {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
}
.blog-list-page .tj-post__thumb img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}
.blog-list-page .tj-post__excerpt {
  margin-bottom: 1.5rem;
  opacity: .9;
}
.blog-list-page .wp-block-quote {
  margin: 40px 0 50px;
}
.blog-list-page .tj_main_sidebar .recent-post_thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
.blog-list-page .tj_recent_posts .tj-post__meta {
  display: block !important;
}

/* Blog detay (tema blog-details.html) */
.blog-detail-page .tj-post__thumb .category,
.blog-detail-page article .tj-post__meta {
  display: none !important;
}
.blog-detail-page .tj-single__post .tj-post__thumb {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
}
.blog-detail-page .tj-single__post .tj-post__thumb img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}
.blog-detail-page .tj_main_sidebar .recent-post_thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
.breadcrumb_area {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.blog-detail-body {
  color: inherit;
  line-height: 1.8;
}
.blog-detail-body p {
  margin-bottom: 1.1rem;
}
.blog-detail-body h4,
.blog-detail-body h5,
.blog-detail-body h6 {
  margin: 1.5rem 0 .75rem;
}
.blog-detail-body blockquote.wp-block-quote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--tj-theme-primary);
  background: rgba(255,255,255,.03);
  border-radius: 0 12px 12px 0;
}
.blog-detail-body blockquote.wp-block-quote cite {
  display: block;
  margin-top: .75rem;
  opacity: .75;
  font-style: normal;
  font-size: .95rem;
}
.blog-detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Blog kart görselleri */
.tj-blog-7-thumb {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  background: rgba(255,255,255,.04);
}
.tj-blog-7-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.tj-blog-7-wrapper:hover .tj-blog-7-thumb img {
  transform: scale(1.04);
}

/* Tema 1 iletişim */
.contact-section .contact-info-list .text-box a {
  word-break: break-word;
}

/* Uzmanlık alanlarım — beceriler ile aynı kart boyutu */
.expertise-skills-section {
  padding-top: 80px;
  padding-bottom: 100px;
}
.expertise-skills-section .skills-widget {
  padding-top: 28px;
  gap: 22px;
  row-gap: 32px;
}
.expertise-skills-section .skills-widget .skill-item {
  max-width: 180px;
}
.expertise-skills-section .skills-widget .skill-item .icon-box {
  max-width: 72px;
  margin-bottom: 0;
  opacity: .85;
}
.expertise-skills-section .skills-widget .skill-item .icon-box img {
  width: 100%;
  height: auto;
  filter: none;
  -webkit-filter: none;
}
.expertise-skills-section .skills-widget .skill-item:hover .icon-box {
  opacity: 1;
}
.expertise-skills-section .skills-widget .skill-item .number {
  display: none;
}
.resume-section.style-9 .resume_menu_5 {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Portfolyo kart görselleri */
.portfolio-8-images {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3 / 2;
  background: #12081a;
}
.portfolio-8-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hizmetler (tema 9 project) thumb — sabit boy */
.tj-project-9-area .tj-project-9-thumb,
.tj-project-9-area .tj-project-7-thumb {
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 540 / 400;
  height: auto;
  background: #12081a;
}
.tj-project-9-area .tj-project-9-thumb img,
.tj-project-9-area .tj-project-7-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
}

/* Portfolyo — çerçeveye tam otur */
.portfolio-tem.style-8 .portfolio-8-images {
  padding: 0 !important;
  max-width: 645px;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  background: #12081a;
}
.portfolio-tem.style-8 .portfolio-8-images a {
  display: block;
  width: 100%;
  height: 100%;
}
.portfolio-tem.style-8 .portfolio-8-images img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  border-radius: 0 !important;
  display: block;
}
@media (max-width: 991px) {
  .portfolio-tem.style-8 {
    flex-direction: column;
    gap: 28px !important;
  }
  .portfolio-tem.style-8 .portfolio-8-images {
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }
}

/* Stack logoları — daha iri */
.marquee-logo.stack-logo {
  min-width: 200px;
  min-height: 72px;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 14px;
}
.marquee-logo.stack-logo img,
.marquee-logo.stack-logo svg {
  width: 44px !important;
  height: 44px !important;
}
.marquee-logo.stack-logo span {
  font-size: 15px;
}
.stack-funfact .number {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}
.stack-funfact .text {
  font-size: 12px;
  opacity: .85;
}

/* İstatistikler — ortalı, üstten nefes */
.tj-counter-7-area {
  padding: 70px 0 80px !important;
  z-index: 1 !important;
  display: flex;
  align-items: center;
}
.tj-counter-7-area .container {
  width: 100%;
}
.tj-counter-7-area .row {
  align-items: stretch;
  justify-content: center;
}
.tj-counter-7-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 24px !important;
  border-radius: 16px;
}
.tj-counter-7-wrapper .tj-counter-5-title,
.tj-counter-7-wrapper .funfact-item,
.tj-counter-7-wrapper .number {
  display: flex;
  justify-content: center;
  align-items: center;
}
.tj-counter-7-wrapper .tj-counter-5-paragraph {
  text-align: center;
  margin: 10px 0 0;
}

/* Classic Gerold hero — çerçeve düz, görsel ortalı */
.hero-section#intro .row.align-items-center > [class*="col-"] {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-section#intro .hero-image-box {
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  align-self: center;
}
.hero-section#intro .hero-image-box img {
  width: 100%;
  height: auto;
  max-height: 520px;
  aspect-ratio: 900 / 980;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0 auto;
  transform: none !important;
  -webkit-transform: none !important;
  -ms-transform: none !important;
  border-radius: 28px;
}
.hero-section#intro .hero-image-box img:hover {
  transform: none !important;
  -webkit-transform: none !important;
  -ms-transform: none !important;
}
.hero-section#intro .hero-content-box .hero-image-box {
  margin: 24px auto 18px;
  max-width: 320px;
}
.hero-section#intro .button-box .social-icons {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.hero-section#intro .funfact-item .text {
  line-height: 1.35;
}

/* Hero tanıtım video butonu */
.hero-section#intro .button-box {
  gap: 18px;
}
.hero-video-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  overflow: visible;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.hero-video-btn:hover {
  border-color: var(--tj-theme-primary, #8750f7);
  background: rgba(135, 80, 247, 0.12);
  transform: translateY(-2px);
  color: #fff !important;
}
.hero-video-btn__play {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tj-theme-primary, #8750f7);
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(135, 80, 247, 0.45);
  animation: heroVideoPulse 2.2s ease-out infinite;
}
.hero-video-btn__play i {
  margin-left: 2px;
}
.hero-video-btn__label {
  position: relative;
  z-index: 2;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.hero-video-btn__rings {
  position: absolute;
  left: 8px;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero-video-btn__rings span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(135, 80, 247, 0.55);
  animation: heroVideoRing 2.4s ease-out infinite;
  opacity: 0;
}
.hero-video-btn__rings span:nth-child(2) { animation-delay: 0.55s; }
.hero-video-btn__rings span:nth-child(3) { animation-delay: 1.1s; }
@keyframes heroVideoPulse {
  0% { box-shadow: 0 0 0 0 rgba(135, 80, 247, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(135, 80, 247, 0); }
  100% { box-shadow: 0 0 0 0 rgba(135, 80, 247, 0); }
}
@keyframes heroVideoRing {
  0% { transform: scale(1); opacity: 0.65; }
  100% { transform: scale(2.15); opacity: 0; }
}
@media (max-width: 575px) {
  .hero-video-btn__label { font-size: 14px; }
  .hero-video-btn { padding-right: 14px; }
}

/* Hakkımda portre — çerçeveye tam otur, taşma yok */
.about-8-images {
  overflow: hidden !important;
  border-radius: 120px 14px 14px 14px !important;
  aspect-ratio: 515 / 640;
  max-height: 640px;
}
.about-8-images > img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center 16% !important;
  border-radius: 120px 14px 14px 14px !important;
  display: block;
}
.about-8-images::before,
.about-8-images::after {
  height: 42% !important;
}

/* Mobil toparlama */
@media (max-width: 767px) {
  .hero-section#intro {
    padding-top: 140px;
  }
  .hero-section#intro .hero-title {
    font-size: clamp(2rem, 9vw, 2.8rem) !important;
  }
  .hero-section#intro .funfact-area {
    margin-top: 48px;
  }
  .marquee-logo.stack-logo { min-width: 160px; min-height: 64px; }
  .marquee-logo.stack-logo img { width: 36px !important; height: 36px !important; }
  .about-8-images {
    max-height: 480px;
    aspect-ratio: 4 / 5;
  }
  .portfolio-tem.style-8 .portfolio-content .title { font-size: 28px !important; }
  .portfolio-tem.style-8 .portfolio-content .number { font-size: 64px !important; margin-bottom: 12px; }
  .section-header .title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .text-section .section-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
}

/* Hizmet / proje detay */
.service-detail-page,
.project-detail-page {
  padding: 80px 0 100px;
}
.detail-hero-media {
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 28px;
  background: #12081a;
  aspect-ratio: 16 / 10;
}
.detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--tj-theme-primary, #8750f7);
}
.detail-lead {
  font-size: 18px;
  line-height: 1.7;
  opacity: .88;
  margin: 0 0 22px;
}
.detail-body {
  font-size: 16px;
  line-height: 1.85;
}
.detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 16px 0;
}
.detail-sidebar .sidebar_widget {
  margin-bottom: 24px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
.detail-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.detail-meta-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.detail-meta-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.detail-meta-list span {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .65;
}
.detail-meta-list strong {
  font-size: 15px;
  font-weight: 650;
}
.detail-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.detail-side-list a {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.detail-side-list .thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1224;
}
.detail-side-list .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-side-list .meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.detail-side-list strong {
  font-size: 14px;
  line-height: 1.35;
}
.detail-side-list small {
  font-size: 12px;
  opacity: .65;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail-gallery {
  margin: 28px 0 10px;
}
.detail-gallery-title {
  font-size: 20px;
  margin-bottom: 16px;
}
.detail-gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  background: #12081a;
}
.detail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.detail-gallery-item:hover img {
  transform: scale(1.04);
}

/* Hizmet listesi kart görseli */
.service-card-rich {
  position: relative;
}
.service-card-rich .service-card-media {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  background: #12081a;
}
.service-card-rich .service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.service-card-rich:hover .service-card-media img {
  transform: scale(1.04);
}

@media (max-width: 991px) {
  .service-detail-page,
  .project-detail-page {
    padding: 48px 0 70px;
  }
  .detail-hero-media {
    aspect-ratio: 16 / 11;
    border-radius: 14px;
  }
  .detail-lead {
    font-size: 16px;
  }
}
