/*
Theme Name: Doha Architecture
Description: Doha Architecture için özel tema — projeler, hizmetler ve yapısal veri.
Version: 1.0.4
Author: Doha Architecture
Text Domain: doha
Requires PHP: 7.4
*/

:root {
  --gece: #06080d;
  --yuzey: #0c1017;
  --yuzey-2: #121722;
  --metin: #eceef1;
  --soluk: #a3abb6;
  --altin: #f0d78c;
  --altin-koyu: #c9b06a;
  --cizgi: rgba(120, 220, 255, .22);
  --cizgi-guclu: rgba(160, 245, 255, .55);
  --ayrac: rgba(255, 255, 255, .09);
  --baslik: 'Playfair Display', Georgia, serif;
  --govde: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sar: 1200px;
  --yatay: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--gece); color: var(--metin); font: 400 17px/1.7 var(--govde); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--altin); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--altin); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--baslik); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; color: #fff; letter-spacing: -.01em; }
h1 { font-size: clamp(38px, 5.6vw, 72px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 1.1em; }
.gizli, .atla:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.atla:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--altin); color: var(--gece); padding: 8px 14px; }
.sar { max-width: var(--sar); margin: 0 auto; padding: 0 var(--yatay); }
.soluk { color: var(--soluk); }

/* Üst çubuk */
.ust { position: sticky; top: 0; z-index: 50; background: rgba(6, 8, 13, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ayrac); }
.ust-saydam { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background .3s, border-color .3s; }
.ust-saydam.ust-dolu, body.menu-acik .ust-saydam { background: rgba(6, 8, 13, .92); border-bottom-color: var(--ayrac); backdrop-filter: blur(10px); }
.ust-ic { max-width: 1440px; margin: 0 auto; padding: 14px var(--yatay); display: flex; align-items: center; gap: 24px; }
.logo img { height: 44px; width: auto; }
.ana-menu { margin-left: auto; display: flex; align-items: center; gap: 32px; }
.ana-menu .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.ana-menu .menu a { color: var(--metin); text-decoration: none; font-size: 15px; letter-spacing: .02em; }
.ana-menu .menu a:hover, .ana-menu .current-menu-item > a, .ana-menu [aria-current] { color: var(--altin); }
.ust-tel { color: var(--altin); text-decoration: none; font-size: 15px; border: 1px solid rgba(240, 215, 140, .45); padding: 7px 14px; }
.ust-tel:hover { background: var(--altin); color: var(--gece); }
.menu-ac { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; color: #fff; }
.menu-ac span:first-child, .menu-ac span:first-child::before, .menu-ac span:first-child::after { position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor; content: ''; transition: transform .2s; }
.menu-ac span:first-child { top: 21px; }
.menu-ac span:first-child::before { left: 0; top: -7px; }
.menu-ac span:first-child::after { left: 0; top: 7px; }
.menu-ac[aria-expanded="true"] span:first-child { background: transparent; }
.menu-ac[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
.menu-ac[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }

/* Düğmeler ve bağlantılar */
.dugmeler { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dugme { display: inline-block; padding: 13px 24px; font-size: 15px; letter-spacing: .03em; text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s; }
.dugme-altin { background: var(--altin); color: var(--gece); }
.dugme-altin:hover { background: #fff; color: var(--gece); }
.dugme-hat { border-color: rgba(255, 255, 255, .5); color: #fff; }
.dugme-hat:hover { border-color: var(--altin); color: var(--altin); }
.bag-ok { color: var(--altin); text-decoration: none; font-size: 15px; border-bottom: 1px solid rgba(240, 215, 140, .4); padding-bottom: 2px; }
.bag-ok:hover { color: #fff; border-color: #fff; }

/* Mimari çerçeve: köşe işaretleri */
.cerceve, .cerceve-kucuk { position: relative; }
.cerceve::before, .cerceve::after, .cerceve-kucuk::before, .cerceve-kucuk::after { content: ''; position: absolute; width: 26px; height: 26px; border: 0 solid var(--cizgi-guclu); pointer-events: none; z-index: 2; }
.cerceve::before, .cerceve-kucuk::before { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.cerceve::after, .cerceve-kucuk::after { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.cerceve-kucuk::before, .cerceve-kucuk::after { width: 18px; height: 18px; border-color: rgba(240, 215, 140, .0); transition: border-color .25s, inset .25s; }

/* Kapak */
.kapak { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--yuzey); }
.kapak-gorsel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kapak::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6, 8, 13, .45) 0%, rgba(6, 8, 13, .15) 35%, rgba(6, 8, 13, .88) 100%); }
.kapak::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--cizgi) 1px, transparent 1px), linear-gradient(90deg, var(--cizgi) 1px, transparent 1px);
  background-size: 120px 120px; mask-image: linear-gradient(180deg, transparent 0%, #000 50%, transparent 100%); }
.kapak-ic { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: clamp(48px, 9vh, 96px); }
.kapak .cerceve { max-width: 760px; padding: clamp(24px, 3vw, 40px); }
.kapak-baslik { margin-bottom: .5em; font-family: 'Jost', var(--govde); font-weight: 200; text-transform: uppercase; line-height: 1; letter-spacing: 0; }
.kb-ust { display: block; font-size: clamp(64px, 11vw, 148px); letter-spacing: .14em; margin-right: -.14em; }
.kb-alt { display: block; font-size: clamp(14px, 1.7vw, 22px); font-weight: 300; letter-spacing: .62em; margin-top: .55em; padding-left: .2em; }
.kapak-alt { font-size: 15px; letter-spacing: .32em; text-transform: uppercase; color: var(--altin); margin-bottom: 22px; }
.kapak-tanim { font-size: clamp(17px, 1.6vw, 19px); max-width: 60ch; color: var(--metin); }

/* Bölümler */
.bolum { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--ayrac); }
.bolum-ince { padding-top: clamp(32px, 5vw, 64px); border-top: 0; }
.bolum-koyu { background: var(--yuzey); }
.bolum-bas { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 36px; }
.bolum-bas h2 { margin: 0; }
.iki-sutun { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.metin { max-width: 68ch; }
.metin h2 { font-size: 30px; margin-top: 1.6em; }
.metin h3 { margin-top: 1.4em; }
.metin ul, .metin ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.metin li { margin-bottom: .45em; }
.metin li::marker { color: var(--altin); }
.metin strong { color: #fff; font-weight: 600; }

/* Proje ızgarası */
.proje-izgara { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.proje-kart a { color: inherit; text-decoration: none; display: block; }
.proje-kart figure { margin: 0 0 16px; overflow: hidden; background: var(--yuzey-2); aspect-ratio: 9 / 6.4; }
.proje-kart img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1), opacity .3s; }
.proje-kart a:hover img { transform: scale(1.04); }
.proje-kart a:hover .cerceve-kucuk::before, .proje-kart a:hover .cerceve-kucuk::after { border-color: var(--altin); }
.proje-kart h3 { margin: 0 0 4px; font-size: 24px; }
.proje-kart a:hover h3 { color: var(--altin); }
.kart-alt { color: var(--soluk); font-size: 15px; margin: 0; }

/* Hizmet listesi */
.hizmet-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ayrac); }
.hizmet-liste li { border-bottom: 1px solid var(--ayrac); }
.hizmet-liste a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding: 24px 0; color: inherit; text-decoration: none; }
.hizmet-liste strong { font-family: var(--baslik); font-weight: 400; font-size: 22px; color: #fff; line-height: 1.3; }
.hizmet-liste span { color: var(--soluk); font-size: 16px; }
.hizmet-liste a:hover strong { color: var(--altin); }
.hizmet-liste-sayfa { margin-top: 40px; }

/* Süreç */
.surec { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: adim; border-top: 1px solid var(--cizgi); }
.surec li { counter-increment: adim; padding: 28px 28px 8px 0; position: relative; }
.surec li::before { content: counter(adim, decimal-leading-zero); display: block; font-family: var(--baslik); font-size: 15px; color: var(--altin); margin-bottom: 18px; }
.surec li::after { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--gece); border: 1px solid var(--cizgi-guclu); border-radius: 50%; }
.surec h3 { font-size: 21px; }
.surec p { color: var(--soluk); font-size: 16px; }

/* SSS */
.sss-sat { border-bottom: 1px solid var(--ayrac); }
.sss-sat:first-of-type { border-top: 1px solid var(--ayrac); }
.sss-sat summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--baslik); font-size: 20px; color: #fff; line-height: 1.35; }
.sss-sat summary::-webkit-details-marker { display: none; }
.sss-sat summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 300 26px/1 var(--govde); color: var(--altin); }
.sss-sat[open] summary::after { content: '−'; }
.sss-cevap { padding: 0 0 18px; color: var(--soluk); }
.sss-cevap p:last-child { margin-bottom: 0; }

/* İletişim */
.iletisim-bilgi { display: grid; grid-template-columns: 120px 1fr; gap: 14px 24px; margin: 0; }
.iletisim-bilgi dt { color: var(--soluk); font-size: 14px; letter-spacing: .04em; padding-top: 3px; }
.iletisim-bilgi dd { margin: 0; }
.iletisim-bilgi a { color: #fff; }
.iletisim-bilgi a:hover { color: var(--altin); }

/* Sayfa başı ve kırıntı */
.sayfa-bas { padding: clamp(56px, 8vw, 104px) 0 0; }
.giris-metni { font-size: clamp(18px, 1.7vw, 20px); color: var(--soluk); max-width: 62ch; }
.kirik { font-size: 14px; color: var(--soluk); margin-bottom: 28px; }
.kirik a { color: var(--soluk); text-decoration: none; }
.kirik a:hover { color: var(--altin); }
.kirik-ayrac { padding: 0 10px; opacity: .5; }
.filtre { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.filtre a { display: inline-block; padding: 7px 14px; border: 1px solid var(--ayrac); color: var(--metin); text-decoration: none; font-size: 14px; }
.filtre a:hover, .filtre a[aria-current] { border-color: var(--altin); color: var(--altin); }
.sayfa-gorsel { margin: 0; }

/* Proje sayfası */
.proje-bas { position: relative; }
.proje-kapak { margin: 0; height: min(78svh, 760px); background: var(--yuzey); }
.proje-kapak img { width: 100%; height: 100%; object-fit: cover; }
.proje-bas-ic { padding-top: 40px; }
.proje-ozet { font-size: clamp(18px, 1.7vw, 21px); color: var(--soluk); max-width: 60ch; }
.proje-govde { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: 24px; padding-bottom: 64px; }
.kunye dl { margin: 0; border-top: 1px solid var(--cizgi); }
.kunye dt { color: var(--soluk); font-size: 13px; letter-spacing: .06em; padding-top: 14px; }
.kunye dd { margin: 2px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--ayrac); color: #fff; }
.proje-metin { max-width: none; }
.proje-metin > p, .proje-metin > ul, .proje-metin > h2, .proje-metin > h3 { max-width: 68ch; }
.proje-metin .wp-block-gallery, .proje-metin .blocks-gallery-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; margin: 40px 0 0; padding: 0; list-style: none; }
.proje-metin .wp-block-gallery figure, .proje-metin .wp-block-gallery .wp-block-image { margin: 0 !important; width: auto !important; }
.proje-metin .wp-block-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proje-metin .wp-block-gallery figure:first-child { grid-column: 1 / -1; }
.proje-metin .wp-block-gallery figure:first-child img { aspect-ratio: 16 / 9; }
.proje-gecis { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 72px; }
.proje-gecis a { text-decoration: none; color: #fff; font-family: var(--baslik); font-size: 22px; }
.proje-gecis a span { display: block; font: 400 13px/1.6 var(--govde); color: var(--soluk); letter-spacing: .06em; }
.proje-gecis a:hover { color: var(--altin); }
.gecis-sonra { margin-left: auto; text-align: right; }

/* Büyüteç */
.buyutec { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(6, 8, 13, .96); color: #fff; }
.buyutec::backdrop { background: rgba(0, 0, 0, .7); }
.buyutec img { max-width: calc(100vw - 140px); max-height: calc(100vh - 100px); width: auto; height: auto; margin: 50px auto 0; object-fit: contain; }
.buyutec button { position: absolute; background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; width: 48px; height: 48px; font-size: 28px; line-height: 1; cursor: pointer; }
.buyutec button:hover { border-color: var(--altin); color: var(--altin); }
.b-kapat { top: 16px; right: 16px; }
.b-once { left: 16px; top: 50%; transform: translateY(-50%); }
.b-sonra { right: 16px; top: 50%; transform: translateY(-50%); }
.b-sayac { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-size: 14px; color: var(--soluk); margin: 0; }

/* Alt bilgi */
.alt { background: #04060a; border-top: 1px solid var(--ayrac); padding: 64px 0 28px; font-size: 15px; color: var(--soluk); }
.alt-ic { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 48px; }
.alt-kimlik img { height: 40px; width: auto; margin-bottom: 18px; }
.alt-kimlik p { max-width: 42ch; }
.alt-baslik { font: 600 13px/1.4 var(--govde); letter-spacing: .08em; color: #fff; margin-bottom: 14px; }
.alt-adres { font-style: normal; margin-bottom: 12px; }
.alt a { color: var(--metin); text-decoration: none; }
.alt a:hover { color: var(--altin); }
.alt-liste { list-style: none; margin: 0; padding: 0; }
.alt-liste li { margin-bottom: 6px; }
.alt-not { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ayrac); font-size: 13px; }

/* WhatsApp */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 8px; background: #1f2a22; color: #fff; text-decoration: none; padding: 11px 16px; border: 1px solid rgba(37, 211, 102, .55); font-size: 14px; }
.wa:hover { background: #25d366; color: #06080d; }

/* Duyarlı */
@media (max-width: 1100px) {
  .proje-izgara { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .surec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .menu-ac { display: block; }
  .ana-menu { position: fixed; inset: 72px 0 auto 0; background: rgba(6, 8, 13, .98); flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px var(--yatay) 36px; border-bottom: 1px solid var(--ayrac); transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; }
  body.menu-acik .ana-menu { transform: none; visibility: visible; }
  .ana-menu .menu { flex-direction: column; gap: 16px; }
  .ana-menu .menu a { font-size: 20px; }
  .iki-sutun, .proje-govde, .alt-ic { grid-template-columns: 1fr; }
  .hizmet-liste a { grid-template-columns: 1fr; gap: 6px; }
  .alt-ic { gap: 32px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .proje-izgara, .surec { grid-template-columns: 1fr; }
  .proje-metin .wp-block-gallery { grid-template-columns: 1fr; }
  .iletisim-bilgi { grid-template-columns: 1fr; gap: 2px; }
  .iletisim-bilgi dd { margin-bottom: 14px; }
  .kapak-alt { letter-spacing: .2em; font-size: 13px; }
  .buyutec img { max-width: calc(100vw - 24px); }
  .b-once, .b-sonra { top: auto; bottom: 10px; transform: none; }
  .wa span { display: none; }
}

/* Yönetici çubuğu açıkken üst çubuk */
.admin-bar .ust { top: 32px; }
@media (max-width: 782px) { .admin-bar .ust { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ust { top: 0; } .admin-bar .ust-saydam { top: 46px; } }
