@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root{
  --pd-ink:#14201a;
  --pd-muted:#5c6b63;
  --pd-brand:#0b3d2e;
  --pd-brand-2:#147a55;
  --pd-wa:#1fad55;
  --pd-bg:#f3f6f4;
  --pd-surface:#ffffff;
  --pd-line:rgba(11,61,46,.11);
  --pd-radius:18px;
  --pd-shadow:0 18px 42px rgba(11,61,46,.14);
  --pd-font:'Figtree',system-ui,sans-serif;
  --pd-display:'Manrope','Figtree',system-ui,sans-serif;
}

html{scroll-behavior:smooth}
body{
  font-family:var(--pd-font)!important;
  color:var(--pd-ink);
  background:var(--pd-bg)!important;
}
h1,h2,h3,h4,
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,
.pd-home h2,.pd-home h3{
  font-family:var(--pd-display)!important;
  letter-spacing:-.02em;
  color:var(--pd-ink)!important;
  line-height:1.2;
  font-weight:700!important;
}

/* ========== HEADER ========== */
#masthead,
.site-header,
.site-main-header-wrap,
.site-top-header-wrap,
.site-mobile-header-wrap,
.site-mobile-header-wrap .site-main-header-wrap{
  background:#fff!important;
  border-bottom:1px solid var(--pd-line)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.8);
  z-index:200!important;
}
.site-branding .custom-logo,
.site-header .custom-logo,
.mobile-site-branding .custom-logo,
.brand img.custom-logo,
.header-logo img{
  max-height:72px!important;
  width:auto!important;
  height:auto!important;
  max-width:210px!important;
  object-fit:contain!important;
  background:transparent!important;
  border-radius:10px;
}
.site-branding .site-title,
.site-branding .site-description{display:none!important}
.site-main-header-inner-wrap,
.site-header-row{
  align-items:center!important;
  min-height:72px!important;
}
#primary-menu{gap:.05rem}
#primary-menu>li>a{
  font-size:14px!important;
  font-weight:600!important;
  padding:.45rem .6rem!important;
  white-space:nowrap;
  color:var(--pd-ink)!important;
  letter-spacing:-.01em;
}
#primary-menu>li>a:hover{color:var(--pd-brand-2)!important}
.header-button-wrap .header-button,
a.header-button{
  background:linear-gradient(135deg,#0b3d2e,#168a5c)!important;
  color:#fff!important;
  border:0!important;
  border-radius:999px!important;
  font-weight:700!important;
  padding:.65rem 1.15rem!important;
  box-shadow:0 10px 24px rgba(11,61,46,.28)!important;
  text-decoration:none!important;
}
.entry-hero,
.entry-hero-container,
.wp-block-kadence-advancedheading.kb-adv-heading-hide{display:none!important}
body.home .entry-header,
body.home .page-title-wrap,
body.page-id-516 .entry-header{display:none!important}

/*
  Mobil menü düzeltmesi (Kadence):
  Eski kural .site-main-header-wrap'ı her yerde gizliyordu;
  mobil header da aynı sınıfı kullandığı için hamburger kayboluyordu.
*/
@media (max-width:1024px){
  .site-mobile-header-wrap{
    display:block!important;
    visibility:visible!important;
    height:auto!important;
    min-height:64px!important;
    overflow:visible!important;
  }
  .site-mobile-header-wrap .site-main-header-wrap,
  .site-mobile-header-wrap .site-header-row-container-inner,
  .site-mobile-header-wrap .site-header-row,
  .site-mobile-header-wrap .site-header-upper-wrap,
  .site-mobile-header-wrap .site-header-inner-wrap{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    min-height:64px!important;
    width:100%!important;
  }
  .site-mobile-header-wrap .site-header-row{
    display:grid!important;
    align-items:center;
    grid-template-columns:1fr auto;
  }
  .site-mobile-header-wrap .site-header-item,
  .site-mobile-header-wrap .mobile-toggle-open-container,
  .site-mobile-header-wrap .site-branding,
  .site-mobile-header-wrap .mobile-site-branding{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    height:auto!important;
    width:auto!important;
    align-items:center;
  }
  .site-mobile-header-wrap .custom-logo{
    max-height:56px!important;
    width:auto!important;
    height:auto!important;
    display:block!important;
  }
  #mobile-toggle,
  .menu-toggle-open,
  .mobile-toggle-open-container .menu-toggle-open,
  .site-mobile-header-wrap .menu-toggle-open{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:44px!important;
    min-height:44px!important;
    width:auto!important;
    height:auto!important;
    padding:.45rem .55rem!important;
    color:var(--pd-brand)!important;
    opacity:1!important;
    visibility:visible!important;
    background:transparent!important;
    border:0!important;
  }
  #mobile-toggle .menu-toggle-icon,
  #mobile-toggle .kadence-svg-iconset,
  #mobile-toggle svg,
  .menu-toggle-open .menu-toggle-icon,
  .menu-toggle-open svg{
    display:flex!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    min-height:28px!important;
    font-size:28px!important;
    opacity:1!important;
    visibility:visible!important;
  }
  #mobile-toggle svg,
  .menu-toggle-open svg{
    display:block!important;
  }
}
@media (min-width:1025px) and (max-width:1500px){
  #menu-item-801,#menu-item-804,#menu-item-841,#menu-item-843{display:none!important}
}

/* ========== HOME LAYOUT ========== */
.entry-content-wrap,
.content-area .content-container,
.entry-content-wrap .content-wrap,
.site .content-container{
  max-width:100%!important;
  padding-left:0!important;
  padding-right:0!important;
}
.entry-content>.pd-home{max-width:none!important;margin:0!important}
.pd-home{
  margin:0 calc(50% - 50vw);
  width:100vw;
  background:
    radial-gradient(1100px 480px at 8% -8%,rgba(20,122,85,.1),transparent 58%),
    radial-gradient(900px 420px at 92% 6%,rgba(11,61,46,.07),transparent 55%),
    var(--pd-bg);
  overflow:hidden;
}
.pd-home *{box-sizing:border-box}

/* Hero */
.pd-hero{
  position:relative;
  min-height:min(82vh,760px);
  display:grid;
  align-items:end;
  color:#fff;
  background-color:#071812!important;
  background-size:cover!important;
  background-position:center 35%!important;
  padding:clamp(5rem,9vw,7.2rem) clamp(1.1rem,4vw,3rem) clamp(2.2rem,4.5vw,3.8rem);
  isolation:isolate;
}
.pd-hero::before{
  content:"";
  position:absolute;inset:0;z-index:0;
  background:
    linear-gradient(105deg,rgba(3,14,10,.9) 0%,rgba(6,32,24,.7) 38%,rgba(6,32,24,.32) 64%,rgba(3,14,10,.5) 100%),
    linear-gradient(0deg,rgba(3,14,10,.55),transparent 52%);
  pointer-events:none;
}
.pd-hero::after{
  content:"";
  position:absolute;left:0;right:0;bottom:0;height:110px;z-index:1;
  background:linear-gradient(180deg,transparent,var(--pd-bg));
  pointer-events:none;
}
.pd-hero-inner{position:relative;z-index:2;width:min(1080px,100%);margin:0 auto;animation:pdIn .75s cubic-bezier(.2,.7,.2,1) both}
@keyframes pdIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes pdRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

.pd-brand-mark{
  font-family:var(--pd-display)!important;
  font-size:clamp(2.1rem,5.6vw,3.6rem)!important;
  font-weight:800!important;
  line-height:1.05!important;
  margin:0 0 .7rem!important;
  letter-spacing:-.03em!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff;
  text-shadow:0 10px 28px rgba(0,0,0,.35);
  max-width:18ch;
}
.pd-hero h1{
  margin:0 0 .85rem!important;
  color:rgba(255,255,255,.9)!important;
  font-family:var(--pd-font)!important;
  font-size:clamp(.92rem,1.7vw,1.05rem)!important;
  font-weight:700!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  -webkit-text-fill-color:rgba(255,255,255,.9);
}
.pd-hero-lead{
  max-width:38rem;
  margin:0 0 1.45rem!important;
  font-size:clamp(1.02rem,2vw,1.18rem)!important;
  line-height:1.6!important;
  color:rgba(255,255,255,.92)!important;
  font-weight:500;
}

.pd-cta-row{display:flex;flex-wrap:wrap;gap:.75rem}
.pd-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:.85rem 1.35rem;
  border-radius:999px;font-weight:700;font-size:.98rem;
  text-decoration:none!important;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.pd-btn:hover{transform:translateY(-2px);filter:brightness(1.03)}
.pd-btn-tel{
  background:#fff;color:var(--pd-brand)!important;
  box-shadow:0 14px 30px rgba(0,0,0,.24);
}
.pd-btn-wa{
  background:var(--pd-wa);color:#fff!important;
  box-shadow:0 12px 28px rgba(31,173,85,.34);
}

/* Sections */
.pd-section{
  width:min(1080px,calc(100% - 2rem));
  margin:0 auto;
  padding:clamp(2rem,4.5vw,3.3rem) 0;
  animation:pdRise .65s ease both;
}
.pd-section h2{
  font-size:clamp(1.45rem,3vw,2rem)!important;
  margin:0 0 .65rem!important;
}
.pd-section>p{
  color:var(--pd-muted)!important;
  font-size:1.05rem!important;
  line-height:1.7!important;
  margin:0 0 1rem!important;
  max-width:46rem;
}

.pd-pills{list-style:none;margin:1rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.55rem}
.pd-pills li{
  background:rgba(11,61,46,.07);
  color:var(--pd-brand);
  border:1px solid rgba(11,61,46,.08);
  border-radius:999px;
  padding:.55rem .95rem;
  font-weight:600;
  font-size:.92rem;
}

/* Cards */
.pd-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.3rem}
@media(max-width:900px){.pd-grid-3{grid-template-columns:1fr}}

.pd-card{
  background:var(--pd-surface);
  border:1px solid var(--pd-line);
  border-radius:var(--pd-radius);
  overflow:hidden;
  box-shadow:0 10px 26px rgba(16,26,21,.06);
  transition:transform .25s ease,box-shadow .25s ease;
}
.pd-card:hover{transform:translateY(-4px);box-shadow:var(--pd-shadow)}
.pd-card img{
  width:100%;height:210px;object-fit:cover;display:block;
  transition:transform .45s ease;
}
.pd-card:hover img{transform:scale(1.04)}
.pd-card-body{padding:1.1rem 1.15rem 1.25rem}
.pd-card h3{font-size:1.15rem!important;margin:0 0 .35rem!important}
.pd-card p{margin:0 0 .85rem;color:var(--pd-muted);font-size:.97rem;line-height:1.55}
.pd-link{
  color:var(--pd-brand-2)!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.pd-link:hover{text-decoration:underline!important}

/* Split */
.pd-split{
  display:grid;grid-template-columns:1.05fr .95fr;
  background:var(--pd-surface);
  border:1px solid var(--pd-line);
  border-radius:24px;overflow:hidden;
  box-shadow:0 16px 40px rgba(16,26,21,.07);
}
.pd-split img{width:100%;height:100%;min-height:320px;object-fit:cover;display:block}
.pd-split-copy{padding:clamp(1.3rem,3vw,2.2rem);display:flex;flex-direction:column;justify-content:center}
.pd-split-copy h2{margin-top:0!important}
@media(max-width:860px){
  .pd-split{grid-template-columns:1fr}
  .pd-split img{min-height:230px}
}

/* Gallery */
.pd-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:.65rem;margin-top:.3rem}
.pd-gallery img{
  width:100%;height:170px;object-fit:cover;border-radius:14px;display:block;
  transition:transform .3s ease;
}
.pd-gallery img:hover{transform:scale(1.02)}
@media(max-width:800px){
  .pd-gallery{grid-template-columns:repeat(2,1fr)}
  .pd-gallery img{height:135px}
}

/* FAQ */
.pd-faq details{
  background:var(--pd-surface);
  border:1px solid var(--pd-line);
  border-radius:14px;
  padding:.95rem 1.1rem;
  margin:.55rem 0;
}
.pd-faq details[open]{border-color:rgba(20,122,85,.32)}
.pd-faq summary{cursor:pointer;font-weight:700;color:var(--pd-brand);list-style:none}
.pd-faq summary::-webkit-details-marker{display:none}
.pd-faq summary::after{content:"+";float:right;font-weight:700;opacity:.5}
.pd-faq details[open] summary::after{content:"–"}
.pd-faq p{margin:.65rem 0 0;color:var(--pd-muted);line-height:1.6}

/* CTA band */
.pd-band{
  background:linear-gradient(135deg,#083226 0%,#0b3d2e 48%,#147a55 100%);
  color:#fff;border-radius:24px;
  padding:clamp(1.5rem,3.5vw,2.4rem);
  display:flex;flex-wrap:wrap;gap:1rem;
  align-items:center;justify-content:space-between;
  box-shadow:0 20px 44px rgba(11,61,46,.24);
}
.pd-band h2,.pd-band p{color:#fff!important;margin:0!important}
.pd-band p{opacity:.92;margin-top:.35rem!important;max-width:34rem}
.pd-band .pd-btn-tel{color:var(--pd-brand)!important}

/* Inner pages */
body.page:not(.home) .entry-content,
body.single .entry-content{
  font-size:1.05rem;line-height:1.75;color:var(--pd-ink);
}
body.page:not(.home) .entry-content h2,
body.single .entry-content h2{
  margin-top:1.7rem;margin-bottom:.65rem;
}
body.page .entry-content a:not(.pd-btn):not(.button):not(.header-button){
  color:var(--pd-brand-2);font-weight:600;
}
body.page:not(.home) .content-container,
body.single .content-container{
  max-width:860px!important;
  padding-left:1.1rem!important;
  padding-right:1.1rem!important;
}
body.page:not(.home) .entry-content img,
body.single .entry-content img{
  border-radius:14px;box-shadow:0 10px 26px rgba(16,26,21,.09);
}
body.page:not(.home) .entry-content ul{padding-left:1.1rem}
body.page:not(.home) .entry-content li{margin:.35rem 0}

/* Mobile sticky CTA */
#pd-mobile-cta{display:none}
@media(max-width:767px){
  #pd-mobile-cta{
    display:flex!important;
    position:fixed;left:0;right:0;bottom:0;z-index:99999;
    gap:.55rem;
    padding:.7rem .8rem calc(.7rem + env(safe-area-inset-bottom));
    background:rgba(8,40,30,.97);
    backdrop-filter:blur(10px);
    box-shadow:0 -10px 32px rgba(0,0,0,.28);
  }
  #pd-mobile-cta a{
    flex:1;text-align:center;text-decoration:none!important;
    font-weight:700;border-radius:14px;padding:.9rem .5rem;color:#fff!important;
  }
  #pd-mobile-cta .pd-m-tel{background:#fff;color:var(--pd-brand)!important}
  #pd-mobile-cta .pd-m-wa{background:var(--pd-wa)}
  body{padding-bottom:82px}
  .pd-hero{min-height:72vh;align-items:center}
  .pd-brand-mark{max-width:none}
}

/* Footer */
.site-footer{
  background:#071812!important;
  color:rgba(255,255,255,.86)!important;
  border-top:0!important;
}
.site-footer a{color:#fff!important}
.site-footer .footer-html,
.site-footer p{opacity:.9}
.site-footer .site-bottom-footer-wrap{border-top:1px solid rgba(255,255,255,.08)!important}

/* Service page polish */
body.page:not(.home) .entry-title,
body.page:not(.home) h1.entry-title{
  font-family:var(--pd-display)!important;
  font-size:clamp(1.7rem,3.8vw,2.4rem)!important;
  color:var(--pd-ink)!important;
  letter-spacing:-.025em;
}
.pd-band-inline{margin-top:2rem!important}
body.page:not(.home) .entry-content > p:first-of-type{
  font-size:1.1rem;
  color:var(--pd-muted);
}
.entry-content h2, .entry-content h3,
.wp-block-heading{
  color:var(--pd-ink)!important;
}
