/*
Theme Name: ZiyaAkbas - Z Danışmanlık (Fixed)
Version: 1.0.0
Text Domain: zdanismanlik
*/

.about-logo-large img { height: 130px; width: auto; }





/* --- Hizmetlerimiz Accordion (WP) - v2 UI --- */
.svc-wrap{ margin: 10px 0 40px 0; }
.svc-intro{ max-width: 860px; margin: 0 0 18px 0; opacity: .9; }
.svc-accordion{ display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 992px){
  .svc-accordion{ grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
}
.svc-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}
.svc-head{ padding: 18px 18px 14px 18px; border-bottom: 1px solid rgba(0,0,0,.06); }
.svc-head h2{ margin: 0; font-size: 18px; font-weight: 800; }
.svc-head small{ display:block; margin-top: 6px; opacity: .75; }

.svc-item{ border-top: 1px solid rgba(0,0,0,.06); }
.svc-item:first-child{ border-top: 0; }

.svc-btn{
  width: 100%;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 18px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.svc-title{ font-weight: 700; font-size: 15px; line-height: 1.35; }
.svc-btn:hover{ background: rgba(0,0,0,.03); }

.svc-icon{
  width: 32px; height: 32px; border-radius: 10px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(0,0,0,.06);
  flex: 0 0 auto;
  margin-top: 2px;
}
.svc-icon svg{ width: 18px; height: 18px; transition: transform .18s ease; opacity: .85; }
.svc-item.is-open .svc-icon svg{ transform: rotate(180deg); }

.svc-panel{ overflow:hidden; max-height:0; transition:max-height .28s ease; }
.svc-item.is-open > .svc-panel{ max-height: 4000px; }
.svc-panel-inner{ padding: 0 18px 16px 18px; }
.svc-panel-inner p{ margin: 10px 0; }

.svc-meta{ display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
@media(min-width: 576px){ .svc-meta{ grid-template-columns: 1fr 1fr; } }

.svc-pill{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 13px;
  background: rgba(0,0,0,.02);
}
.svc-pill strong{ font-weight: 800; }

.svc-nested{ margin-top: 10px; border-left: 3px solid rgba(0,0,0,.08); padding-left: 12px; }
.svc-nested .svc-title{ font-size: 14px; }



/* --- Home Services links to Hizmetlerimiz anchors --- */
.services-home .services-title{
  display:flex; align-items:flex-end; justify-content:space-between; gap:12px;
  margin: 10px 0 18px 0;
}
.services-home .services-title h2{ margin:0; font-weight:800; }
.services-home .services-title span{ display:block; width:70px; height:3px; background: rgba(0,0,0,.2); margin-top:10px; border-radius:999px; }
.services-home .services-all{ text-decoration:none; font-weight:700; }
.services-home .services-card{
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  height: 100%;
}
.services-home .services-img img{ width:100%; height: 180px; object-fit: cover; display:block; }
.services-home .services-body{ padding: 14px 14px 12px 14px; }
.services-home .services-headlink{ display:inline-block; font-size:18px; font-weight:800; text-decoration:none; margin-bottom:10px; }
.services-home .services-links{ list-style:none; padding:0; margin:0; }
.services-home .services-links li{ margin: 8px 0; }
.services-home .services-links a{ text-decoration:none; font-weight:600; opacity:.9; }
.services-home .services-links a:hover{ text-decoration:underline; }


/* --- Hizmetlerimiz Layout Upgrade (Sidebar) --- */
.svc-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media(min-width: 992px){
  .svc-layout{
    grid-template-columns: 280px 1fr;
    gap: 20px;
    align-items: start;
  }
}
.svc-side{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  padding: 12px;
}
@media(min-width: 992px){
  .svc-side{ position: sticky; top: 90px; }
}
.svc-side-link{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 800;
  opacity: .9;
}
.svc-side-link:hover{ background: rgba(0,0,0,.04); }
.svc-main .svc-accordion{ grid-template-columns: 1fr; }

/* Make category headers feel premium */
.svc-card{ border-radius: 22px; }
.svc-head{
  background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,0));
}

/* --- Hizmetlerimiz Master-Detail --- */
.svc-md{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 10px;
}
@media(min-width: 992px){
  .svc-md{ grid-template-columns: 400px 1fr; gap: 26px; align-items:start; }
}
.svc-md-left{
  position: relative;
}
@media(min-width: 992px){
  .svc-md-left{ position: sticky; top: 90px; }
}
.svc-md-group{
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  overflow:hidden;
  margin-bottom: 14px;
}
.svc-md-ghead{
  padding: 14px 16px;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.svc-md-ghead strong{ display:block; font-weight:900; }
.svc-md-ghead small{ display:block; opacity:.75; margin-top:4px; }
.svc-md-item{
  width:100%;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border:0;
  background:transparent;
  cursor:pointer;
  text-align:left;
  border-top:1px solid rgba(0,0,0,.06);
}
.svc-md-item:hover{ background: rgba(0,0,0,.03); }
.svc-md-item.is-active{ background: rgba(0,0,0,.05); }
.svc-md-bullet{
  width: 10px; height: 10px; border-radius:999px;
  background: rgba(0,0,0,.25);
  flex: 0 0 auto;
}
.svc-md-item.is-active .svc-md-bullet{ background: rgba(0,0,0,.75); }

.svc-md-right{
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  overflow:hidden;
}
.svc-md-hero{
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 22px;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.svc-md-hero img{
  width: 170px; height: 120px; object-fit: cover;
  border-radius: 16px;
  flex: 0 0 auto;
}
.svc-md-hero h2{ margin:0; font-size: 26px; font-weight: 900; letter-spacing: -0.2px; }
.svc-md-hero p{ margin:8px 0 0 0; opacity:.82; font-size: 15px; line-height: 1.45; }

.svc-md-content{ padding: 2px 22px 22px 22px; }
.svc-md-content p{ margin: 12px 0; line-height: 1.65; }
.svc-md-content strong{ font-weight: 900; }



/* --- Home Stats --- */
.home-stats{
  background: #043b67;
  color: #fff;
  padding: 46px 0;
  margin-top: 18px;
}
.home-stats-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  text-align:center;
}
@media(min-width: 992px){
  .home-stats-grid{ grid-template-columns: repeat(4, 1fr); gap: 10px; }
}
.home-stat-num{font-size:56px;line-height:1;font-weight:500;letter-spacing:-0.5px}
.home-stat-label{margin-top:10px;font-size:18px;font-weight:500;opacity:.95}


/* --- About Page Layout --- */
.page-hero{ padding: 70px 0; color: #fff; }
.page-hero-inner .breadcrumb-mini{ opacity: .9; font-weight: 600; font-size: 12px; }
.page-hero-inner h1{ margin: 6px 0 0 0; font-size: 34px; font-weight: 900; }

.about-block{ padding: 44px 0; background: #fff; }
.about-card{
  background: #eaf5ff;
  border-radius: 18px;
  padding: 26px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items:center;
}
@media(min-width: 992px){
  .about-card{ grid-template-columns: 240px 1fr; gap: 26px; padding: 34px; }
}
.about-logo{ display:flex; justify-content:center; }
.about-logo .about-logo-card{ background:#fff; border-radius:18px; padding:16px; box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.about-logo img{ max-width: 170px; height:auto; display:block; }
.about-text h2{ margin:0; font-weight: 900; }
.about-underline{ display:block; width: 64px; height: 3px; background: rgba(0,0,0,.15); border-radius: 999px; margin: 10px 0 14px 0; }
.btn-about{
  display:inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #2f80ed;
  color: #fff;
  text-decoration:none;
  font-weight: 800;
  margin-top: 10px;
}

.mv-block{ padding: 54px 0; background: #fff; }
.mv-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items:center;
}
@media(min-width: 992px){
  .mv-grid{ grid-template-columns: 1fr 1fr; }
}
.mv-img img{
  width:100%;
  height:auto;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}


/* --- İlkem site button placement + clickability --- */
.ilkem-site{
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 9999;
  pointer-events: auto;
}
.ilkem-site > span{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(0, 65, 120, .85);
  backdrop-filter: blur(6px);
}
.ilkem-site img{
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.ilkem-site a{
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  pointer-events: auto;
}
.ilkem-site a:hover{ text-decoration: underline; }


/* --- Services Detail Sticky --- */
.services-detail{
  position: sticky;
  top: 120px;
  align-self: flex-start;
}


/* --- Hizmetlerimiz Master-Detail Sticky Right --- */
@media(min-width: 992px){
  .svc-md-right{
    position: sticky;
    top: 120px;
    align-self: flex-start;
  }
}


/* --- Contact Page Enhancements --- */
.contact-extra{ margin-top: 16px; }
.contact-emails h4{ margin: 14px 0 8px 0; font-weight: 900; }
.contact-emails ul{ margin:0; padding-left: 18px; }
.contact-emails li{ margin: 6px 0; }
.btn-whatsapp{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #25D366;
  color:#fff;
  text-decoration:none;
  font-weight: 900;
  margin-top: 12px;
}
.btn-whatsapp:hover{ opacity:.92; }
.whatsapp-note{ margin-top: 10px; opacity:.85; }

.form-intro{ margin: 0 0 14px 0; opacity: .85; }
.form-success{
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(46, 204, 113, .12);
  border: 1px solid rgba(46, 204, 113, .25);
  color: #1b5e20;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-map{ padding: 42px 0; background:#fff; }
.contact-map-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}
.contact-map-card h3{ margin: 0 0 8px 0; font-weight: 900; }
.map-embed{ border-radius: 16px; overflow:hidden; margin-top: 12px; }
.map-embed iframe{ width:100%; height: 360px; border:0; display:block; }


/* --- Footer contact color --- */
.site-footer, .footer, footer{
  color:#fff;
}
.site-footer a, .footer a, footer a{
  color:#fff;
}
.site-footer .footer-contact, .site-footer .footer-contact *{
  color:#fff;
}


/* --- Footer contact force white --- */
footer, footer * { color: #fff; }
footer a { color:#fff !important; }
footer .footer-content, footer .footer-content * { color:#fff !important; }
footer i { color:#4da3ff !important; }
footer .footer-bottom p, footer .footer-bottom font { color:#fff !important; }


/* --- Clickable elements enforce --- */
a, button { cursor: pointer; }
a[href], button { pointer-events: auto; }
.btn, .btn-whatsapp, .btn-about, .ilkem-site a { cursor: pointer !important; pointer-events: auto !important; }


/* --- Header overlay pointer events fix --- */
/* Prevent invisible overlay from blocking clicks when menu is closed */
.header-overlay{ pointer-events: none !important; }
.header-overlay.active{ pointer-events: auto !important; }


/* --- Overlay hard disable when inactive --- */
.header-overlay{ display:none !important; }
.header-overlay.active{ display:block !important; pointer-events:auto !important; }

.tesvik-supports{margin-top:24px;}

