/* Elementor hero: single static fullscreen frame */
.kurgu-hero-root,
.kurgu-hero-root.e-con,
#hero.e-con,
#hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 0 !important;
}

/* Emergency BG if Elementor post CSS fails to load (LiteSpeed quirks) */
#hero > .e-con.hero-slide.elementor-element-0de5618,
#hero > .elementor-element-0de5618 {
  background-color: #0a0a0a;
  background-image: url("https://www.kurgutasarim.com/wp-content/uploads/2026/09/1.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#hero > .e-con.hero-slide.elementor-element-0de5618::before,
#hero > .elementor-element-0de5618::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
#hero > .e-con.hero-slide.elementor-element-0de5618 > *,
#hero > .elementor-element-0de5618 > * {
  position: relative;
  z-index: 1;
}

.kurgu-hero-root > .e-con.hero-slide,
.kurgu-hero-root .hero-slide.e-con,
#hero > .e-con.hero-slide,
#hero > .e-con.e-parent {
  position: relative !important;
  inset: auto;
  min-height: 100svh;
  height: 100%;
  width: 100%;
  opacity: 1 !important;
  pointer-events: auto;
  z-index: 1;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: stretch !important;
}

.kurgu-hero-root > .e-con.hero-slide:not(.is-active),
.kurgu-hero-root .hero-slide.e-con:not(.is-active),
#hero > .e-con.hero-slide:not(.is-active),
#hero > .e-con.e-parent:not(.is-active),
.kurgu-hero-root > .e-con.hero-slide[hidden],
#hero > .e-con.hero-slide[hidden] {
  display: none !important;
}

.kurgu-hero-root > .e-con.hero-slide.is-active,
.kurgu-hero-root .hero-slide.e-con.is-active,
#hero > .e-con.hero-slide.is-active,
#hero > .e-con.e-parent.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

/* Push hero copy lower toward bottom of viewport */
#hero .hero-slide > .e-con,
#hero > .e-con.e-parent > .e-con.e-con-boxed,
.kurgu-hero-root .hero-slide > .e-con {
  width: 100%;
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: clamp(56px, 10vh, 120px) !important;
  justify-content: flex-end !important;
}

.kurgu-hero-root .hero-nav,
#hero .hero-nav,
.kurgu-hero-root .hero-progress,
#hero .hero-progress {
  display: none !important;
}

/* Prevent empty/black-looking sections without content */
body.kurgu-elementor-home .e-con,
body.kurgu-elementor-page .e-con {
  color: var(--fg, #f4f4f4);
}

body.kurgu-elementor-home .elementor-widget-text-editor,
body.kurgu-elementor-home .elementor-widget-heading {
  color: inherit;
}

body.kurgu-elementor-home .elementor-widget-heading .elementor-heading-title.eyebrow,
body.kurgu-elementor-page .elementor-widget-heading .elementor-heading-title.eyebrow {
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 12px;
  font-family: var(--sans);
  font-weight: 500;
}

body.kurgu-elementor-home .elementor-widget-heading h2,
body.kurgu-elementor-home .elementor-widget-heading h1 {
  font-family: var(--serif);
  letter-spacing: -.04em;
  line-height: 1.05;
}

.kurgu-sticky-header,
body.kurgu-elementor-home .elementor > .elementor-top-section:first-child,
body.kurgu-elementor-home .elementor > .e-parent:first-child {
  position: sticky;
  top: 0;
  z-index: 100;
}

.elementor-widget-kurgu-header > .elementor-widget-container,
.elementor-widget-kurgu-footer > .elementor-widget-container,
.elementor-widget-kurgu-projects > .elementor-widget-container,
.elementor-widget-kurgu-services > .elementor-widget-container,
.elementor-widget-kurgu-capabilities > .elementor-widget-container,
.elementor-widget-kurgu-testimonials > .elementor-widget-container,
.elementor-widget-kurgu-brands > .elementor-widget-container,
.elementor-widget-kurgu-blog > .elementor-widget-container {
  padding: 0 !important;
}

.elementor img.kurgu-logo,
.elementor .kurgu-logo,
.elementor .footer-logo,
.elementor .logo img {
  width: auto !important;
  max-width: var(--logo-header);
  height: auto !important;
  object-fit: contain !important;
  object-position: left center;
}

.elementor .kurgu-logo--footer,
.elementor .footer-logo {
  max-width: var(--logo-footer);
}

.elementor .brand-item {
  min-width: 300px;
  min-height: 156px;
  padding: 30px 36px;
}
.elementor .brand-item img {
  width: auto !important;
  height: auto !important;
  max-height: 110px !important;
  max-width: 280px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}
.elementor .brand-track {
  gap: 24px;
}
.elementor .blog-card img {
  filter: none !important;
}
.elementor .project-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 28px;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 8px;
}

.elementor-button {
  border-radius: var(--btn-radius) !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: var(--sans);
}

/* Primary CTAs: accent lime */
.elementor-button.elementor-size-sm,
.elementor-button.elementor-size-md,
.elementor-button.elementor-size-lg,
.elementor-widget-button .elementor-button {
  background-color: #BAF500 !important;
  color: #050505 !important;
  border: 1px solid #BAF500 !important;
  fill: #050505 !important;
}
.elementor-widget-button .elementor-button .elementor-button-text,
.elementor-widget-button .elementor-button span {
  color: #050505 !important;
}
.elementor-widget-button .elementor-button:hover,
.elementor-widget-button .elementor-button:focus {
  background-color: transparent !important;
  color: #BAF500 !important;
  border-color: #BAF500 !important;
}
.elementor-widget-button .elementor-button:hover .elementor-button-text,
.elementor-widget-button .elementor-button:focus .elementor-button-text,
.elementor-widget-button .elementor-button:hover span,
.elementor-widget-button .elementor-button:focus span {
  color: #BAF500 !important;
}

/* Outline / ghost hero secondary CTAs keep white text */
.elementor-widget-button .elementor-button[style*="rgba(0,0,0,0)"],
.hero-actions .elementor-widget-button:nth-child(2) .elementor-button {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
}
.hero-actions .elementor-widget-button:nth-child(2) .elementor-button .elementor-button-text {
  color: #ffffff !important;
}
.hero-actions .elementor-widget-button:nth-child(2) .elementor-button:hover {
  background-color: #BAF500 !important;
  color: #050505 !important;
  border-color: #BAF500 !important;
}
.hero-actions .elementor-widget-button:nth-child(2) .elementor-button:hover .elementor-button-text {
  color: #050505 !important;
}

/* Stats values accent */
.elementor .stat strong,
.stats .stat strong {
  color: #BAF500 !important;
}

.elementor-motion-effects-element {
  will-change: transform, opacity;
}

/* Empty CPT loops: show muted note, never invisible black void */
.kurgu-el.section:empty::after,
.kurgu-empty {
  display: block;
  color: var(--muted, #8d8d8d);
  padding: 16px 0;
}

/* Hero-altı kayan istatistik şeridi */
.kurgu-stats-ticker-wrap,
.kurgu-stats-ticker-wrap.e-con {
  background: #fff !important;
  padding: 0 !important;
  overflow: hidden;
}

.stats-ticker {
  --ticker-speed: 28s;
  background: #fff;
  color: #111;
  overflow: hidden;
  padding: 18px 0;
  border-block: 0;
  width: 100%;
}

.stats-ticker__track {
  display: flex;
  width: max-content;
  animation: kurgu-stats-ticker var(--ticker-speed) linear infinite;
  will-change: transform;
}

.stats-ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.stats-ticker__item {
  display: inline-flex;
  align-items: baseline;
  gap: .35em;
  white-space: nowrap;
  font-family: var(--sans, "Manrope", system-ui, sans-serif);
  font-size: clamp(.95rem, 1.4vw, 1.15rem);
  letter-spacing: .01em;
  padding-inline: .15em;
}

.stats-ticker__value {
  color: #9a9a9a;
  font-weight: 500;
}

.stats-ticker__sep {
  color: #111;
  font-weight: 600;
}

.stats-ticker__label {
  color: #111;
  font-weight: 700;
}

.stats-ticker__star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: .85em;
  padding-inline: 1.35rem;
  line-height: 1;
}

@keyframes kurgu-stats-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

@media (prefers-reduced-motion: reduce) {
  .stats-ticker__track {
    animation: none;
    transform: none;
  }
}

/* Kayan yazı şeritleri (yetkinlik / yorum üstü) */
.kurgu-text-ticker-wrap,
.kurgu-text-ticker-wrap.e-con {
  padding: 0 !important;
  overflow: hidden;
}

.text-ticker {
  --ticker-speed: 32s;
  overflow: hidden;
  width: 100%;
  padding: 16px 0;
}

.text-ticker--dark {
  background: #050505;
  color: #fff;
}

.text-ticker--light {
  background: #fff;
  color: #111;
}

.text-ticker__track {
  display: flex;
  width: max-content;
  animation: kurgu-stats-ticker var(--ticker-speed) linear infinite;
  will-change: transform;
}

.text-ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.text-ticker__item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--sans, "Manrope", system-ui, sans-serif);
  font-size: clamp(.95rem, 1.35vw, 1.2rem);
  font-weight: 700;
  letter-spacing: .02em;
  padding-inline: .2em;
}

.text-ticker__star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e8c84a;
  font-size: .9em;
  padding-inline: 1.4rem;
  line-height: 1;
}

.text-ticker__mark {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif, "Syne", sans-serif);
  font-size: .72em;
  font-weight: 800;
  letter-spacing: .18em;
  opacity: .55;
  padding-inline: 1.4rem;
}

.text-ticker--light .text-ticker__star {
  color: #111;
}

@media (prefers-reduced-motion: reduce) {
  .text-ticker__track {
    animation: none;
    transform: none;
  }
}

/* Tighter homepage rhythm: sections + heading→content */
body.kurgu-elementor-home .elementor > .e-con.e-parent:not(#hero):not(.kurgu-hero-root):not(.kurgu-stats-ticker-wrap):not(.kurgu-text-ticker-wrap):not(#header):not(#footer):not(#yorumlar):not(#projeler),
body.kurgu-elementor-page .elementor > .e-con.e-parent:not(#hero):not(.kurgu-hero-root):not(.kurgu-stats-ticker-wrap):not(.kurgu-text-ticker-wrap):not(#yorumlar):not(#projeler) {
  --padding-top: 44px !important;
  --padding-bottom: 44px !important;
  padding-block: 44px !important;
  min-height: 0 !important;
}

body.kurgu-elementor-home .elementor > .e-con.e-parent .e-con-boxed,
body.kurgu-elementor-home .elementor > .e-con.e-parent > .e-con {
  --gap: 12px !important;
}

body.kurgu-elementor-home .section-head,
body.kurgu-elementor-page .section-head {
  margin-bottom: 14px !important;
  --margin-bottom: 14px !important;
}

body.kurgu-elementor-home .elementor-widget-heading .elementor-heading-title,
body.kurgu-elementor-page .elementor-widget-heading .elementor-heading-title {
  margin: 0 !important;
}

body.kurgu-elementor-home .elementor-widget:not(:last-child),
body.kurgu-elementor-page .elementor-widget:not(:last-child) {
  margin-bottom: 8px !important;
}

body.kurgu-elementor-home .elementor-widget-kurgu-capabilities,
body.kurgu-elementor-home .elementor-widget-kurgu-projects,
body.kurgu-elementor-home .elementor-widget-kurgu-services,
body.kurgu-elementor-home .elementor-widget-kurgu-testimonials,
body.kurgu-elementor-home .elementor-widget-kurgu-brands,
body.kurgu-elementor-home .elementor-widget-kurgu-blog {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Brands / blog / selected projects: less dead air under heads */
body.kurgu-elementor-home .elementor-widget-kurgu-brands .section-head,
body.kurgu-elementor-home .elementor-widget-kurgu-blog .section-head,
body.kurgu-elementor-home .elementor-widget-kurgu-testimonials .section-head {
  margin-bottom: 12px !important;
}

body.kurgu-elementor-home .brand-marquee {
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px 0 16px !important;
}

body.kurgu-elementor-home .blog-grid {
  gap: 18px;
  margin-top: 4px;
}

/* Self-padded HTML blocks: don't stack Elementor parent pad on top */
#yorumlar.e-con.e-parent,
#projeler.e-con.e-parent,
body.kurgu-elementor-home #yorumlar.e-con.e-parent,
body.kurgu-elementor-home #projeler.e-con.e-parent,
body.kurgu-elementor-home .elementor > .e-con.e-parent:has(.kurgu-reviews),
body.kurgu-elementor-home .elementor > .e-con.e-parent:has(.kurgu-selected-projects) {
  --padding-top: 0 !important;
  --padding-bottom: 0 !important;
  --padding-block-start: 0 !important;
  --padding-block-end: 0 !important;
  padding-block: 0 !important;
  padding-block-start: 0 !important;
  padding-block-end: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Referanslar HTML block: kill excess black padding + 100vw overflow */
.kurgu-reviews {
  width: 100% !important;
  max-width: 100% !important;
  left: auto !important;
  transform: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 44px 0 40px !important;
}

.kurgu-reviews .kr-header {
  margin: 0 0 22px !important;
}

.kurgu-reviews .kr-label {
  margin-bottom: 12px !important;
}

.kurgu-reviews .kr-header p {
  margin-top: 12px !important;
}

.kurgu-reviews .kr-bottom {
  margin-top: 22px !important;
}

.kurgu-selected-projects {
  padding: 40px 0 44px !important;
}

.kurgu-selected-projects .ksp-head {
  margin-bottom: 20px !important;
}

.kurgu-selected-projects .ksp-head p {
  margin-top: 12px !important;
}

.kurgu-selected-projects .ksp-image {
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  max-height: none !important;
  background: #0a0a0a !important;
  display: grid !important;
  place-items: center !important;
  padding: 18px 20px !important;
}

.kurgu-selected-projects .ksp-image img {
  object-fit: contain !important;
  object-position: center center !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

@media (max-width: 767px) {
  body.kurgu-elementor-home .elementor > .e-con.e-parent:not(#hero):not(.kurgu-hero-root):not(.kurgu-stats-ticker-wrap):not(.kurgu-text-ticker-wrap):not(#header):not(#footer):not(#yorumlar):not(#projeler),
  body.kurgu-elementor-page .elementor > .e-con.e-parent:not(#hero):not(.kurgu-hero-root):not(.kurgu-stats-ticker-wrap):not(.kurgu-text-ticker-wrap):not(#yorumlar):not(#projeler) {
    --padding-top: 28px !important;
    --padding-bottom: 28px !important;
    padding-block: 28px !important;
  }

  body.kurgu-elementor-home .section-head,
  body.kurgu-elementor-page .section-head {
    margin-bottom: 12px !important;
  }

  body.kurgu-elementor-home .elementor > .e-con.e-parent .e-con-boxed,
  body.kurgu-elementor-home .elementor > .e-con.e-parent > .e-con {
    --gap: 10px !important;
  }

  /* Hide hero eyebrow (Kurgu Dijital / Kurgu Tasarım) on mobile only */
  #hero .elementor-widget-heading.eyebrow,
  .kurgu-hero-root .elementor-widget-heading.eyebrow {
    display: none !important;
  }

  /* Hero / slider mobile: no mid-word breaks, no horizontal overflow */
  #hero,
  .kurgu-hero-root,
  #hero.e-con,
  .kurgu-hero-root.e-con {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    min-height: 100svh;
  }

  #hero > .e-con.hero-slide,
  #hero > .e-con.e-parent,
  .kurgu-hero-root > .e-con.hero-slide,
  .kurgu-hero-root .hero-slide.e-con {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100svh;
    overflow: hidden !important;
  }

  #hero .elementor-heading-title,
  #hero .elementor-widget-heading .elementor-heading-title,
  .kurgu-hero-root .elementor-heading-title,
  #hero h1,
  #hero h2,
  .kurgu-hero-root h1,
  .kurgu-hero-root h2 {
    max-width: 100% !important;
    width: 100% !important;
    font-size: clamp(1.55rem, 7.4vw, 2.35rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -.035em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    white-space: normal !important;
  }

  #hero .elementor-widget-heading,
  #hero .elementor-widget__width-initial,
  #hero .elementor-widget__width-in,
  #hero .elementor-element[class*="width"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }

  #hero .elementor-widget-text-editor,
  #hero .elementor-widget-text-editor p,
  .kurgu-hero-root .elementor-widget-text-editor,
  .kurgu-hero-root .elementor-widget-text-editor p {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    hyphens: none !important;
    font-size: clamp(0.95rem, 3.8vw, 1.05rem) !important;
    line-height: 1.55 !important;
  }

  #hero .hero-slide > .e-con,
  #hero > .e-con.e-parent > .e-con.e-con-boxed,
  .kurgu-hero-root .hero-slide > .e-con {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-bottom: max(56px, 10vh) !important;
    box-sizing: border-box !important;
  }

  #hero .elementor-button,
  .kurgu-hero-root .elementor-button,
  #hero .hero-actions,
  .kurgu-hero-root .hero-actions {
    max-width: 100% !important;
  }

  #hero .hero-actions,
  .kurgu-hero-root .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  #hero .elementor-widget-button .elementor-button,
  .kurgu-hero-root .elementor-widget-button .elementor-button {
    white-space: normal !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Prefer mobile-safe background framing (slides only) */
  #hero > .e-con.hero-slide,
  #hero > .e-con.e-parent,
  .kurgu-hero-root > .e-con.hero-slide,
  .kurgu-hero-root .hero-slide.e-con {
    background-position: center 28% !important;
    background-size: cover !important;
  }

  body.kurgu-elementor-home,
  body.kurgu-elementor-page,
  .elementor {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  .elementor-widget-heading .elementor-heading-title {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .blog-grid,
  .project-grid,
  .brand-logo-grid,
  .cap-grid,
  .quotes {
    width: 100%;
    max-width: 100%;
    gap: 14px;
  }

  .blog-card,
  .project-card,
  .brand-logo-card,
  .cap-card,
  .quote-card {
    max-width: 100%;
    min-width: 0;
  }

  .kurgu-selected-projects {
    padding: 28px 0 32px !important;
  }

  .kurgu-selected-projects,
  .kurgu-selected-projects .ksp-grid,
  .kurgu-selected-projects .ksp-head {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .kurgu-selected-projects .ksp-head {
    margin-bottom: 16px !important;
  }

  .kurgu-selected-projects .ksp-head p {
    margin-top: 10px !important;
  }

  .kurgu-selected-projects .ksp-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 0 12px !important;
    gap: 18px !important;
  }

  .kurgu-selected-projects .ksp-image {
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 14px 12px !important;
  }

  .kurgu-selected-projects .ksp-image img {
    object-fit: contain !important;
    object-position: center center !important;
  }

  .kurgu-selected-projects .ksp-head h2 {
    font-size: clamp(2.2rem, 11vw, 3.6rem) !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  body.kurgu-elementor-home .brand-marquee {
    padding: 6px 0 10px !important;
  }

  body.kurgu-elementor-home .brand-item {
    min-width: min(220px, 70vw) !important;
    min-height: 88px !important;
    padding: 14px 16px !important;
  }

  body.kurgu-elementor-home .brand-item img {
    max-height: 56px !important;
  }

  .kurgu-reviews {
    padding: 24px 0 16px !important;
  }

  .kurgu-reviews .kr-header {
    margin-bottom: 16px !important;
  }

  .kurgu-reviews .kr-container {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
  }

  .kurgu-reviews .kr-bottom {
    margin-top: 16px !important;
  }

  body.kurgu-elementor-home .blog-grid {
    gap: 14px;
    margin-top: 0;
  }

  body.kurgu-elementor-home .elementor-widget-kurgu-blog .section-head,
  body.kurgu-elementor-home .elementor-element.section-head {
    margin-bottom: 10px !important;
  }

  #yorumlar.e-con.e-parent,
  #projeler.e-con.e-parent {
    --padding-top: 0 !important;
    --padding-bottom: 0 !important;
    --padding-block-start: 0 !important;
    --padding-block-end: 0 !important;
    padding-block: 0 !important;
    padding-block-start: 0 !important;
    padding-block-end: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}
