/*
Theme Name: DörtHat Teknik Sistemler
Description: DörtHat sitesinin bağımsız, Özelleştir panelinden düzenlenebilir WordPress teması.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Author: DörtHat
Text Domain: dorthat
License: GPL-2.0-or-later
*/
/* Minimal normalization retained from the original site's Tailwind preflight. */
h1,h2,h3,h4,p,figure{margin:0}h1,h2,h3,h4{font-size:inherit;font-weight:inherit}svg{display:block;flex-shrink:0}button,input,textarea,select{font:inherit}img{max-width:100%}ul{padding:0}
:root {
  --background: #f4f7f8;
  --foreground: #0a1823;
  --card: #ffffff;
  --primary: #0b7b6e;
  --secondary: #dff7f1;
  --muted: #e8eff1;
  --border: #d5e0e4;
  --ring: #0b7b6e;
  --radius: 1rem;
  --navy: #091f2f;
  --cyan: #42dbe7;
  --lime: #b8ff5b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: absolute; z-index: 20; top: 0; left: 50%; transform: translateX(-50%); width: min(1180px, calc(100% - 48px)); height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: white; border-bottom: 1px solid rgb(255 255 255 / 18%); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 40px; filter: drop-shadow(0 6px 14px rgb(0 0 0 / 18%)); }
.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-copy strong { font-size: 22px; font-weight: 780; letter-spacing: -.045em; }
.brand-copy small { color: rgb(255 255 255 / 58%); font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.site-header nav { display: flex; gap: 32px; font-size: 14px; font-weight: 650; color: rgb(255 255 255 / 78%); }
.site-header nav a:hover { color: white; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 750; }

.hero { position: relative; min-height: 820px; height: min(900px, 100svh); color: white; overflow: hidden; background: #0a2232; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgb(3 16 27 / 96%) 0%, rgb(3 16 27 / 82%) 42%, rgb(3 16 27 / 30%) 72%, rgb(3 16 27 / 50%) 100%), linear-gradient(0deg, rgb(3 16 27 / 78%) 0%, transparent 45%); }
.hero-orbit { position: absolute; border: 1px solid rgb(95 234 224 / 20%); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 650px; height: 650px; right: -210px; top: 65px; }
.orbit-two { width: 390px; height: 390px; right: -80px; top: 195px; border-color: rgb(184 255 91 / 18%); }
.hero-content { position: relative; z-index: 2; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding-top: clamp(190px, 25vh, 250px); }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #d4faf6; }
.signal-dot { width: 8px; height: 8px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 7px rgb(184 255 91 / 12%); }
.hero h1 { max-width: 820px; margin: 25px 0 24px; font-size: clamp(48px, 6.2vw, 88px); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
.hero h1 span { color: #78e8e0; }
.hero-content > p { max-width: 650px; margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: rgb(255 255 255 / 78%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { min-height: 54px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border-radius: 999px; font-size: 15px; font-weight: 800; transition: transform .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: #0a1823; }
.button-ghost { color: white; border: 1px solid rgb(255 255 255 / 35%); background: rgb(255 255 255 / 7%); backdrop-filter: blur(12px); }
.hero-proof { position: absolute; z-index: 3; left: 50%; bottom: 34px; transform: translateX(-50%); width: min(1180px, calc(100% - 48px)); display: flex; justify-content: flex-end; gap: 36px; color: #bdf3ef; }
.hero-proof > div { display: flex; align-items: center; gap: 11px; }
.hero-proof span { display: grid; font-size: 12px; color: rgb(255 255 255 / 58%); }
.hero-proof b { color: white; font-size: 14px; }

.intro { padding: 120px 0 72px; display: grid; grid-template-columns: 280px 1fr; gap: 70px; }
.section-kicker { color: #08766c; padding-top: 8px; }
.intro h2, .showcase h2, .smart h2, .process h2, .regions h2, .contact h2 { margin: 0; font-size: clamp(36px, 4.7vw, 64px); line-height: 1.08; letter-spacing: -.045em; }
.intro p, .showcase-copy > p, .smart-copy > p { max-width: 760px; font-size: 18px; color: #536570; margin: 28px 0 0; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: 120px; }
.service-card { min-height: 390px; padding: 28px; border: 1px solid #dce5e8; background: #fff; display: flex; flex-direction: column; border-radius: 22px; box-shadow: 0 16px 45px rgb(8 31 45 / 5%); }
.service-top { display: flex; justify-content: space-between; align-items: center; color: #78909c; font-size: 12px; font-weight: 800; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #0a5e56; background: #dcf7f1; }
.service-card.cyan .service-icon { background: #ddf8fa; color: #08747d; }
.service-card.blue .service-icon { background: #e1edff; color: #1d5fbb; }
.service-card.violet .service-icon { background: #eee6ff; color: #6c3db0; }
.service-card h3 { margin: 70px 0 14px; font-size: 27px; line-height: 1.15; letter-spacing: -.035em; }
.service-card p { margin: 0; color: #60727c; font-size: 15px; }
.service-card a { margin-top: auto; display: flex; align-items: center; gap: 7px; color: #08766c; font-size: 14px; font-weight: 800; }

.showcase, .smart { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 650px; margin-bottom: 120px; overflow: hidden; border-radius: 30px; background: white; box-shadow: 0 24px 80px rgb(8 31 45 / 8%); }
.showcase-media, .smart-media { position: relative; min-height: 540px; }
.media-badge { position: absolute; left: 28px; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 13px; padding: 16px 18px; border: 1px solid rgb(255 255 255 / 35%); border-radius: 16px; color: white; background: rgb(6 31 43 / 70%); backdrop-filter: blur(14px); }
.media-badge span { display: grid; font-size: 12px; color: rgb(255 255 255 / 68%); }
.media-badge b { color: white; font-size: 14px; }
.showcase-copy, .smart-copy { padding: clamp(42px, 7vw, 86px); align-self: center; }
.showcase-copy h2, .smart-copy h2 { font-size: clamp(36px, 4.2vw, 55px); margin-top: 20px; }
.showcase-copy ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.showcase-copy li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; }
.showcase-copy li svg { color: #08766c; }
.smart { grid-template-columns: .9fr 1.1fr; background: var(--navy); color: white; }
.smart .section-kicker { color: var(--lime); }
.smart-copy > p { color: rgb(255 255 255 / 68%); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 32px; }
.mini-grid span { min-height: 62px; display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 14px; color: #dcf7f4; background: rgb(255 255 255 / 5%); font-size: 13px; font-weight: 700; }
.mini-grid svg { color: var(--cyan); }

.process { padding: 10px 0 120px; }
.process-heading { margin-bottom: 50px; }
.process-heading h2 { margin-top: 16px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #cbd8dd; }
.process-grid article { position: relative; padding: 30px 28px 15px 0; }
.process-grid article::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #0b877b; }
.process-grid span { color: #0b877b; font-weight: 800; font-size: 12px; }
.process-grid h3 { margin: 40px 0 10px; font-size: 23px; }
.process-grid p { color: #60727c; font-size: 15px; margin: 0; }

.regions { background: #08766c; color: white; padding: 100px 0; }
.regions-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.section-kicker.light { color: #c6ff78; }
.regions h2 { margin-top: 18px; }
.regions p { color: rgb(255 255 255 / 73%); font-size: 17px; max-width: 520px; }
.districts { display: flex; flex-wrap: wrap; gap: 11px; }
.districts span { display: inline-flex; align-items: center; gap: 8px; padding: 13px 16px; border: 1px solid rgb(255 255 255 / 22%); border-radius: 999px; background: rgb(255 255 255 / 8%); font-weight: 700; font-size: 14px; }

.contact { padding: 120px 0; }
.contact-card { position: relative; overflow: hidden; padding: clamp(42px, 7vw, 82px); display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: end; color: white; border-radius: 30px; background: #081d2c; }
.contact-card > *:not(.contact-glow) { position: relative; z-index: 1; }
.contact-glow { position: absolute; width: 500px; height: 500px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgb(66 219 231 / 35%), transparent 68%); }
.contact h2 { margin-top: 20px; max-width: 760px; }
.contact p { max-width: 680px; color: rgb(255 255 255 / 64%); margin: 24px 0 0; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.contact-button { white-space: nowrap; }
.button-whatsapp { color: #fff; background: #25d366; box-shadow: 0 12px 30px rgb(37 211 102 / 20%); }
.button-whatsapp:hover { background: #20bd5a; transform: translateY(-2px); }
.site-footer { padding: 0 0 52px; display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; color: #6c7e87; font-size: 13px; }
.site-footer .brand { color: #0a1823; }
.site-footer .brand-copy small { color: #6c7e87; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: 760px; }
  .hero-proof { justify-content: flex-start; }
  .intro { grid-template-columns: 1fr; gap: 18px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .showcase, .smart { grid-template-columns: 1fr; }
  .smart-copy { order: 2; }
  .smart-media { order: 1; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .regions-inner { grid-template-columns: 1fr; gap: 50px; }
  .contact-card { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .contact-actions { align-items: flex-start; }
  .site-footer { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 620px) {
  .section-shell, .site-header, .hero-content, .hero-proof { width: min(100% - 30px, 1180px); }
  .site-header { height: 78px; }
  .header-cta { font-size: 0; }
  .header-cta svg { width: 22px; height: 22px; }
  .hero { min-height: 760px; height: 100svh; }
  .hero-media img { object-position: 66% center; }
  .hero-shade { background: linear-gradient(90deg, rgb(3 16 27 / 95%), rgb(3 16 27 / 58%)), linear-gradient(0deg, rgb(3 16 27 / 85%), transparent 55%); }
  .hero-content { padding-top: 145px; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-content > p { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-proof { gap: 14px; bottom: 20px; }
  .hero-proof > div:last-child { display: none; }
  .intro { padding-top: 84px; }
  .services { grid-template-columns: 1fr; padding-bottom: 84px; }
  .service-card { min-height: 330px; }
  .service-card h3 { margin-top: 48px; }
  .showcase, .smart { width: 100%; border-radius: 0; margin-bottom: 84px; }
  .showcase-copy, .smart-copy { padding: 42px 22px 52px; }
  .showcase-media, .smart-media { min-height: 400px; }
  .mini-grid { grid-template-columns: 1fr; }
  .process { padding-bottom: 84px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { padding-right: 0; }
  .regions { padding: 74px 0; }
  .contact { width: 100%; padding: 72px 0; }
  .contact-card { border-radius: 0; padding-inline: 22px; }
  .contact-actions, .contact-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* WordPress integration and editable crop controls */
.hero-media img{object-position:var(--dh-x,50%) var(--dh-y,50%);transform:scale(var(--dh-scale,1));transform-origin:center top}
.brand-mark{object-fit:contain}
.admin-bar .site-header{top:32px}
.dh-content{max-width:900px;margin:80px auto;padding:24px}.dh-content h1{font-size:2.5rem}.dh-content p{margin:1em 0}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
@media(max-width:620px){.hero-media img{object-position:var(--dh-mobile-x,66%) var(--dh-mobile-y,50%);transform:scale(var(--dh-mobile-scale,1))}}
