@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap');

body.home {
  --ti-dark: #141414;
  --ti-gold: #d89a31;
  --ti-gold-deep: #b87d1d;
  --ti-soft: #f7f3ec;
  --ti-soft-2: #fbf8f2;
  --ti-line: #e8dfd3;
  --ti-muted: #5f5a54;
}

body.home .page_content_wrap {
  background: linear-gradient(180deg, #fff 0%, var(--ti-soft-2) 280px, #fff 680px) !important;
}

/* Header hizmetler dropdown */
.menu_main_nav > li.menu-item-has-children > ul.submenu,
.menu_main_nav > li.menu-item-has-children > ul.sub-menu {
  min-width: 280px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 18, 18, 0.96) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.menu_main_nav > li.menu-item-has-children > ul.submenu li,
.menu_main_nav > li.menu-item-has-children > ul.sub-menu li {
  margin: 0 !important;
}

.menu_main_nav > li.menu-item-has-children > ul.submenu a,
.menu_main_nav > li.menu-item-has-children > ul.sub-menu a {
  display: block;
  padding: 11px 14px !important;
  border-radius: 12px;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu_main_nav > li.menu-item-has-children > ul.submenu a:hover,
.menu_main_nav > li.menu-item-has-children > ul.sub-menu a:hover {
  background: rgba(216, 154, 49, 0.16) !important;
  color: #fff !important;
}

/* Works hero */
.ti-works-hero {
  position: relative;
  margin: 0 auto 18px;
  max-width: 1290px;
  padding: 34px 15px 10px;
  font-family: 'Manrope', 'Roboto', sans-serif;
}

.ti-works-hero__panel {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(216, 154, 49, 0.22), transparent 34%),
    linear-gradient(135deg, #121212 0%, #1f1812 52%, #171717 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.ti-works-hero__panel:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.24));
  pointer-events: none;
}

.ti-works-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: end;
}

.ti-works-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ti-gold);
  margin-bottom: 16px;
}

.ti-works-hero__title {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.elementor-widget-ti-works-hero .ti-works-hero__title {
  font-family: 'Manrope', 'Roboto', sans-serif !important;
  font-weight: 800 !important;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: -0.04em !important;
  color: #fff !important;
}

.ti-works-hero__desc {
  margin: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.75;
}

.ti-works-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ti-works-hero__btn,
.ti-works-hero__btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none !important;
}

.ti-works-hero__btn {
  background: var(--ti-gold);
  color: #111 !important;
}

.ti-works-hero__btn-alt {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.ti-works-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ti-works-hero__stat {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
  backdrop-filter: blur(8px);
}

.ti-works-hero__stat strong {
  display: block;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.ti-works-hero__stat span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

/* Homepage section rhythm */
body.home .ti-works-zone {
  padding: 8px 0 18px;
}

body.home .elementor-page-29495 .elementor-section-wrap > .elementor-section:nth-child(n+3):not(:last-child) {
  position: relative;
}

/* Blog + contact polish on home */
body.home .trx_sc_blogger,
body.home .trx_sc_contact_form_7 {
  font-family: 'Manrope', 'Roboto', sans-serif;
}

body.elementor-editor-active .ti-works-hero,
body.elementor-editor-active .ti-work-gallery,
.elementor-editor-active .ti-works-hero,
.elementor-editor-active .ti-work-gallery {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 991px) {
  .ti-works-hero__grid {
    grid-template-columns: 1fr;
  }

  .ti-works-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .ti-works-hero__stats {
    grid-template-columns: 1fr;
  }
}
