/*
Theme Name: Topdag Clean
Theme URI: https://topdagkutu.com/
Author: Web Cozumleri
Description: Lightweight staging rebuild theme for Topdag Kutu, replacing the old Ocoee/KingComposer/Slider stack.
Version: 2026.07.13
Text Domain: topdag-clean
*/

:root {
  --td-ink: #182522;
  --td-muted: #697370;
  --td-accent: #4a91a0;
  --td-rust: #ad3d37;
  --td-soft: #f6f8f7;
  --td-line: #d9e2df;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--td-ink);
  font-family: "Avenir Next", "Trebuchet MS", Arial, sans-serif;
  background: #fff;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.td-container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.td-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(24, 37, 34, 0.08);
  backdrop-filter: blur(12px);
}

.td-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.td-logo img {
  width: 174px;
  max-height: 56px;
  object-fit: contain;
}

.td-main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.td-main-nav a {
  color: #1f2d2a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.td-main-nav a:hover {
  color: var(--td-accent);
}

.td-call-link {
  padding: 12px 18px;
  color: #fff;
  background: var(--td-rust);
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.td-hero {
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.88)),
    url("https://yeni.topdagkutu.com/wp-content/uploads/2021/03/interior-warehouse-logistic-center-have-agv-robot-arm.jpg");
  background-position: center;
  background-size: cover;
}

.td-service-strip {
  transform: translateY(46px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.td-service-card {
  min-height: 186px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 18px;
  text-align: center;
  background: #fff;
  border-bottom: 4px solid var(--td-accent);
  box-shadow: 0 22px 45px rgba(13, 37, 33, 0.16);
}

.td-service-icon {
  font-size: 52px;
  line-height: 1;
}

.td-service-card h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.td-section {
  padding: 118px 0 72px;
}

.td-eyebrow {
  margin: 0 0 14px;
  color: var(--td-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.td-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.td-split h1,
.td-split h2,
.td-feature h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.td-split h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.36;
}

.td-copy {
  color: var(--td-muted);
  font-size: 17px;
}

.td-tick {
  width: 18px;
  height: 44px;
  margin-top: 36px;
  border-left: 3px solid var(--td-rust);
  border-right: 3px solid var(--td-rust);
}

.td-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.td-stat strong {
  display: block;
  font-size: 46px;
  line-height: 1;
}

.td-stat span {
  color: var(--td-muted);
}

.td-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--td-soft);
}

.td-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: 70px min(6vw, 95px);
}

.td-feature-copy em {
  color: var(--td-rust);
  font-style: normal;
  font-weight: 800;
}

.td-feature-copy strong {
  color: var(--td-accent);
}

.td-feature-image {
  min-height: 520px;
  background: url("https://yeni.topdagkutu.com/wp-content/uploads/2021/03/team-urban-architects-working-new-project-1024x683.jpg") center/cover no-repeat;
}

.td-button {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 34px;
  padding: 16px 34px;
  color: #fff;
  background: var(--td-accent);
  border-radius: 4px;
  font-weight: 700;
}

.td-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding: 92px 0;
}

.td-work-card {
  text-align: center;
}

.td-work-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  margin-bottom: 36px;
}

.td-work-card h3 {
  margin: 0;
  font-size: 30px;
}

.td-red-line {
  width: 18px;
  height: 3px;
  margin: 20px auto;
  background: var(--td-rust);
}

.td-categories {
  padding: 86px 0;
  background: #fff;
}

.td-categories h2 {
  margin: 0 0 32px;
  font-size: clamp(32px, 4vw, 50px);
  text-align: center;
}

.td-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.td-category-card {
  min-height: 160px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(24, 37, 34, 0.18), rgba(24, 37, 34, 0.82)),
    var(--td-accent);
  border-radius: 18px;
  overflow: hidden;
}

.td-category-card h3 {
  margin: 0;
  font-size: 21px;
}

.td-site-footer {
  padding: 72px 0;
  color: #fff;
  background: #18211f;
}

.td-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 54px;
}

.td-site-footer h2,
.td-site-footer h3 {
  margin-top: 0;
}

.td-site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.td-site-footer li + li {
  margin-top: 10px;
}

.woocommerce .td-container {
  padding-top: 56px;
  padding-bottom: 72px;
}

@media (max-width: 900px) {
  .td-header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .td-main-nav ul {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .td-hero {
    min-height: 560px;
  }

  .td-service-strip,
  .td-category-grid,
  .td-stats,
  .td-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .td-split,
  .td-feature,
  .td-work-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 560px) {
  .td-container {
    width: min(100% - 28px, 1140px);
  }

  .td-service-strip,
  .td-category-grid,
  .td-stats,
  .td-footer-grid {
    grid-template-columns: 1fr;
  }

  .td-section {
    padding-top: 88px;
  }

  .td-feature-copy {
    min-height: auto;
    padding: 48px 24px;
  }

  .td-feature-image {
    min-height: 330px;
  }
}
