/*
Theme Name: UCD Studio
Theme URI: https://www.3dcizim.com.tr/
Author: 3D Çizim
Description: 3D Çizim mimari görselleştirme stüdyosu teması.
Version: 1.1.2
Text Domain: ucd-studio
*/

:root {
  --ink: #151513;
  --ink-soft: #20201d;
  --paper: #f2eee6;
  --paper-2: #e6e0d5;
  --white: #fffdf8;
  --muted: #aaa394;
  --accent: #d8a858;
  --line-dark: rgba(255, 255, 255, .14);
  --line-light: rgba(21, 21, 19, .16);
  --radius: 2px;
  --wrap: min(1440px, calc(100% - 80px));
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
body, button, input, select, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.25em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.035em; line-height: .98; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: clamp(3.5rem, 8.2vw, 9.4rem); }
h2 { font-size: clamp(2.7rem, 5.7vw, 6.2rem); }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
::selection { color: var(--ink); background: var(--accent); }

.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.eyebrow {
  display: inline-block;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(21, 21, 19, .93);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { width: 35px; height: 35px; color: var(--accent); }
.brand-mark svg { width: 35px; height: 35px; }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 1.45; vector-effect: non-scaling-stroke; }
.brand-name { font-size: 1.55rem; font-weight: 760; letter-spacing: -.07em; line-height: 1; }
.brand-name i { color: var(--accent); font-style: normal; }
.site-nav ul { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); list-style: none; }
.site-nav a {
  position: relative;
  display: block;
  padding: 30px 0;
  color: rgba(255, 253, 248, .82);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--white); }
.site-nav a:hover::after, .site-nav .current-menu-item > a::after { transform: scaleX(1); }
.site-nav li:last-child a {
  padding: 11px 16px;
  color: var(--ink);
  background: var(--accent);
}
.site-nav li:last-child a::after { display: none; }
.menu-toggle {
  display: none;
  border: 0;
  padding: 10px 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.hero { padding-top: 54px; padding-bottom: 108px; }
.hero > .eyebrow { margin-bottom: 18px; }
.hero-media {
  position: relative;
  overflow: hidden;
  min-height: clamp(480px, 64vw, 810px);
  color: var(--white);
  background: var(--ink-soft);
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .9s var(--ease), transform 5.2s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(12,12,11,.7), rgba(12,12,11,.08) 70%), linear-gradient(0deg, rgba(12,12,11,.42), transparent 48%); pointer-events: none; }
.slider-overlay {
  position: absolute;
  z-index: 3;
  top: clamp(36px, 7vw, 92px);
  left: clamp(28px, 6vw, 88px);
  max-width: 760px;
}
.slider-overlay .eyebrow { margin-bottom: 22px; color: rgba(255,255,255,.72); }
.slider-overlay strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 6.6vw, 7.3rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .96;
}
.slider-label { display: inline-block; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.5); padding-top: 10px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.slider-controls { position: absolute; z-index: 4; right: 26px; bottom: 25px; display: flex; align-items: center; gap: 14px; }
.slider-arrow, .slider-dot { border: 0; color: var(--white); background: transparent; cursor: pointer; }
.slider-arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: 1.1rem; }
.slider-dots { display: flex; align-items: center; gap: 7px; }
.slider-dot { width: 7px; height: 7px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.48); }
.slider-dot.is-active { width: 23px; border-radius: 5px; background: var(--accent); }
.hero-caption { display: none; }
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-light);
  border-top: 0;
}
.strip span { padding: 15px 20px; border-right: 1px solid var(--line-light); font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.strip span:last-child { border-right: 0; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr); align-items: end; gap: 7vw; padding-top: 74px; }
.hero-top h1 { max-width: 950px; }
.hero-intro { padding-bottom: 10px; color: #5d5a53; font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 52px;
  border: 1px solid var(--ink);
  padding: 13px 19px;
  color: var(--paper);
  background: var(--ink);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.button:hover { color: var(--ink); background: var(--accent); transform: translateY(-2px); }
.button.outline { color: var(--ink); background: transparent; }
.button.outline:hover { color: var(--paper); background: var(--ink); }
.button.light { border-color: var(--paper); color: var(--ink); background: var(--paper); }
.arrow { font-size: 1rem; }
.text-link { border-bottom: 1px solid currentColor; padding-bottom: 3px; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.section { padding-top: 118px; padding-bottom: 118px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 54px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { max-width: 900px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 32px;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.service-card:hover { color: var(--paper); background: var(--ink); }
.service-card .number { display: flex; justify-content: space-between; margin-bottom: auto; color: #858075; font-size: .73rem; font-weight: 700; letter-spacing: .1em; }
.service-card h3 { margin: 40px 0 16px; }
.service-card p { margin: 0; color: #706c63; font-size: .93rem; }
.service-card:hover p, .service-card:hover .number { color: #c9c3b7; }
.service-card .text-link { margin-right: 5px; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 54px 28px; }
.project-card .image-wrap { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #d4cec3; }
.project-card .image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--ease); }
.project-card:hover .image-wrap img { transform: scale(1.035); }
.project-card h3 { display: flex; justify-content: space-between; gap: 15px; margin-top: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.25vw, 2.3rem); }
.project-card .meta { margin-top: 8px; color: #7d786f; font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.waiting-art { display: grid; place-items: center; width: 100%; height: 100%; color: var(--accent); background: var(--ink-soft); font-size: 2.2rem; font-weight: 800; letter-spacing: -.07em; }
.empty-state { grid-column: 1 / -1; border: 1px solid var(--line-light); padding: clamp(35px, 7vw, 90px); }
.empty-state h3 { margin: 16px 0; }
.empty-state p { max-width: 600px; color: #6c685f; }

.visual-feature { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: stretch; }
.feature-copy h2 { margin: 23px 0 28px; max-width: 800px; }
.feature-copy > p { max-width: 650px; color: #625f57; font-size: 1.05rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 58px; border-top: 1px solid var(--line-light); padding-top: 25px; }
.stat-row strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 4vw, 4.4rem); font-weight: 400; line-height: 1; }
.stat-row strong span { color: var(--accent); }
.stat-row small { display: block; margin-top: 8px; color: #777269; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.feature-quote { display: flex; flex-direction: column; justify-content: flex-end; min-height: 500px; padding: clamp(35px, 5vw, 75px); color: var(--paper); background: var(--ink); }
.feature-quote > span { color: var(--accent); font-family: Georgia, serif; font-size: 7rem; line-height: .5; }
.feature-quote p { margin: 40px 0 30px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 3.2rem); line-height: 1.08; }
.feature-quote small { color: var(--muted); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }

.statement { color: var(--paper); background: var(--ink); }
.statement .section { padding-top: 130px; padding-bottom: 130px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr); gap: 10vw; }
.statement h2 { margin-top: 22px; }
.statement .split > div:last-child { align-self: end; color: #c8c1b5; font-size: 1.08rem; }
.statement .button { margin-top: 18px; }
.steps { counter-reset: step; border-top: 1px solid var(--line-light); }
.step { counter-increment: step; display: grid; grid-template-columns: 70px 1fr; border-bottom: 1px solid var(--line-light); padding: 28px 0; }
.step::before { content: "0" counter(step); color: #888278; font-size: .75rem; letter-spacing: .1em; }
.step h3 { margin-bottom: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; }
.step p { margin: 0; color: #6f6a61; }

.page-hero { padding-top: 105px; padding-bottom: 90px; border-bottom: 1px solid var(--line-light); }
.breadcrumb { margin-bottom: 56px; color: #888278; font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumb a { border-bottom: 1px solid currentColor; }
.page-hero h1 { margin: 18px 0 28px; max-width: 1200px; }
.page-hero > p { max-width: 700px; margin: 0; color: #5d5951; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.prose { max-width: 900px; margin-inline: auto; font-size: 1.08rem; }
.prose > * + * { margin-top: 1.35em; }
.prose h2 { margin-top: 1.5em; font-size: clamp(2.25rem, 4.5vw, 4.7rem); }
.prose h3 { margin-top: 1.6em; font-family: Georgia, "Times New Roman", serif; }
.prose img { width: 100%; margin: 35px 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose a:not(.button) { border-bottom: 1px solid currentColor; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 45px; }
.filter { border: 1px solid var(--line-light); padding: 9px 14px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.filter:hover, .filter.active { color: var(--paper); background: var(--ink); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 55px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid var(--line-light); padding: 0 12px; }
.pagination .current, .pagination a:hover { color: var(--paper); background: var(--ink); }

.contact-item { border-top: 1px solid var(--line-light); padding: 24px 0; }
.contact-item > span { display: block; margin-bottom: 5px; color: #858075; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-item a { border-bottom: 1px solid currentColor; }
.notice { border: 1px solid var(--line-light); padding: 26px; background: rgba(255,255,255,.25); }
.notice h3 { margin-bottom: 12px; font-family: Georgia, "Times New Roman", serif; }
.notice p { margin: 0; }
.notice.error { border-color: #a44a3f; color: #7b2f27; }
.quote-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  border: 1px solid #bdb6aa;
  border-radius: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255,255,255,.48);
  outline: none;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form-note { color: #726d64; font-size: .78rem; }
.form-note a { border-bottom: 1px solid currentColor; }
.honeypot { position: absolute !important; left: -9999px !important; }

.cta { display: flex; align-items: end; justify-content: space-between; gap: 40px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); padding: 68px 0; }
.cta h2 { margin-top: 20px; }
.cta .button { flex: 0 0 auto; }

.site-footer { padding-top: 40px; padding-bottom: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 8vw; border-top: 1px solid var(--line-light); padding: 65px 0; }
.footer-grid .brand { margin-bottom: 24px; }
.footer-grid .brand-mark { color: var(--ink); }
.footer-grid > div:first-child p { max-width: 390px; color: #716c63; }
.footer-grid .eyebrow { margin-bottom: 19px; color: #767168; }
.footer-grid ul { list-style: none; }
.footer-grid li + li { margin-top: 9px; }
.footer-grid li a { border-bottom: 1px solid transparent; }
.footer-grid li a:hover { border-color: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line-light); padding-top: 22px; color: #817b71; font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }
.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 80; border: 1px solid rgba(255,255,255,.35); padding: 12px 16px; color: #fff; background: #1e7f53; font-size: .73rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; box-shadow: 0 10px 30px rgba(0,0,0,.2); }

@media (max-width: 1100px) {
  :root { --wrap: min(100% - 44px, 1200px); }
  .site-nav ul { gap: 15px; }
  .site-nav a { font-size: .68rem; }
  .hero-top { grid-template-columns: 1fr; gap: 35px; }
  .hero-intro { max-width: 620px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .visual-feature { grid-template-columns: 1fr; }
  .feature-quote { min-height: 360px; }
}

@media (max-width: 820px) {
  body.admin-bar .site-header { top: 46px; }
  .header-row { min-height: 70px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; border-top: 1px solid var(--line-dark); padding: 10px 22px 22px; background: var(--ink); }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: block; }
  .site-nav a { padding: 13px 0; font-size: .78rem; }
  .site-nav a::after { bottom: 8px; }
  .site-nav li:last-child a { margin-top: 8px; padding: 12px 14px; text-align: center; }
  .hero { padding-top: 30px; padding-bottom: 75px; }
  .hero-media { min-height: 68vh; }
  .slider-overlay { top: 42px; right: 24px; left: 24px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip span:nth-child(2) { border-right: 0; }
  .strip span:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .hero-top { padding-top: 52px; }
  .section { padding-top: 82px; padding-bottom: 82px; }
  .section-head { display: block; }
  .section-head .text-link { display: inline-block; margin-top: 25px; }
  .project-grid { gap: 38px 16px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .page-hero { padding-top: 75px; padding-bottom: 64px; }
  .cta { display: block; }
  .cta .button { margin-top: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 560px) {
  :root { --wrap: calc(100% - 30px); }
  h1 { font-size: clamp(3.1rem, 16vw, 5.4rem); }
  h2 { font-size: clamp(2.45rem, 13vw, 4.2rem); }
  .brand-mark, .brand-mark svg { width: 31px; height: 31px; }
  .brand-name { font-size: 1.35rem; }
  .hero-media { min-height: 560px; }
  .slider-overlay strong { font-size: clamp(2.5rem, 13vw, 4.4rem); }
  .slider-label { display: none; }
  .slider-controls { right: 17px; bottom: 17px; }
  .strip span { padding: 12px; font-size: .63rem; }
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; padding: 25px; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row > div { border-bottom: 1px solid var(--line-light); padding-bottom: 18px; }
  .feature-quote { padding: 34px 27px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .whatsapp { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Homepage hero title sizing and alignment */
.home .hero-top {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 20px;
  padding-top: 56px;
  text-align: center;
}
.home .hero-top h1 {
  max-width: 1050px;
  font-size: clamp(2.5rem, 4.2vw, 4.75rem);
  line-height: 1.04;
}
.home .hero-intro {
  max-width: 760px;
  margin-inline: auto;
  padding-bottom: 0;
}
.home .hero-intro .actions { justify-content: center; }
