/*
Theme Name: HİZMETGELSİN Modern Tema
Theme URI: https://hizmetgelsin.com
Author: Süleyman Yılmaz
Description: HİZMETGELSİN hizmet ilanları sitesi için modern, hızlı, mobil uyumlu WordPress teması.
Version: 1.0.0
Text Domain: hizmetgelsin
*/

:root{
  --hg-primary:#0ea5e9;
  --hg-primary-dark:#0284c7;
  --hg-accent:#22c55e;
  --hg-dark:#0f172a;
  --hg-muted:#64748b;
  --hg-soft:#f1f5f9;
  --hg-border:#e2e8f0;
  --hg-white:#ffffff;
  --hg-radius:22px;
  --hg-shadow:0 18px 45px rgba(15,23,42,.10);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,Arial,Helvetica,sans-serif;
  background:#f8fafc;
  color:#0f172a;
  line-height:1.6;
}
a{color:inherit}
img{max-width:100%;height:auto}
.hg-container{width:min(1180px,calc(100% - 32px));margin:0 auto}

.hg-topbar{
  background:linear-gradient(90deg,var(--hg-dark),#1e293b);
  color:#cbd5e1;
  font-size:14px;
}
.hg-topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:9px 0;
}
.hg-topbar a{color:#fff;text-decoration:none;font-weight:700}

.hg-header{
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--hg-border);
  position:sticky;
  top:0;
  z-index:50;
}
.admin-bar .hg-header{top:32px}
.hg-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:16px 0;
}
.hg-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.hg-logo-mark{
  width:46px;height:46px;border-radius:16px;
  background:linear-gradient(135deg,var(--hg-primary),var(--hg-accent));
  color:#fff;font-weight:950;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 24px rgba(14,165,233,.25);
}
.hg-brand-text strong{display:block;font-size:23px;letter-spacing:-.6px}
.hg-brand-text span{display:block;color:var(--hg-muted);font-size:12px;margin-top:-3px}

.hg-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center}
.hg-nav ul{display:flex;align-items:center;gap:6px;list-style:none;padding:0;margin:0;flex-wrap:wrap}
.hg-nav a{
  text-decoration:none;
  color:#1e293b;
  font-weight:800;
  padding:10px 13px;
  border-radius:999px;
}
.hg-nav a:hover{background:#e0f2fe;color:#0369a1}
.hg-header-actions{display:flex;align-items:center;gap:10px}
.hg-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
  white-space:nowrap;
}
.hg-btn-primary{
  color:#fff;
  background:linear-gradient(135deg,var(--hg-primary),var(--hg-primary-dark));
  box-shadow:0 12px 26px rgba(14,165,233,.25);
}
.hg-btn-dark{background:var(--hg-dark);color:#fff}
.hg-btn-soft{background:#e0f2fe;color:#075985}

.hg-mobile-toggle{display:none;border:0;background:#e2e8f0;border-radius:12px;padding:10px 12px;font-weight:900}

.hg-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(34,197,94,.16), transparent 26%),
    radial-gradient(circle at 85% 20%, rgba(14,165,233,.18), transparent 32%),
    linear-gradient(180deg,#ffffff,#f8fafc);
  padding:72px 0 38px;
}
.hg-hero-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:34px;
  align-items:center;
}
.hg-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#ecfeff;
  color:#0369a1;
  border:1px solid #bae6fd;
  border-radius:999px;
  padding:8px 13px;
  font-weight:900;
  margin-bottom:16px;
}
.hg-hero h1{
  font-size:clamp(34px,5vw,64px);
  line-height:1.02;
  letter-spacing:-2px;
  margin:0 0 16px;
}
.hg-hero p{
  font-size:18px;
  color:#475569;
  margin:0 0 24px;
  max-width:650px;
}
.hg-search-box{
  background:rgba(255,255,255,.92);
  border:1px solid var(--hg-border);
  border-radius:26px;
  padding:14px;
  box-shadow:var(--hg-shadow);
  display:grid;
  grid-template-columns:1.2fr .8fr auto;
  gap:10px;
  margin:22px 0;
}
.hg-search-box input,.hg-search-box select{
  border:1px solid var(--hg-border);
  border-radius:18px;
  padding:15px 14px;
  font-size:15px;
  outline:none;
  background:#fff;
}
.hg-stats{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:20px;
}
.hg-stat{
  background:#fff;
  border:1px solid var(--hg-border);
  border-radius:18px;
  padding:12px 16px;
  min-width:130px;
}
.hg-stat strong{font-size:22px;display:block}
.hg-stat span{font-size:13px;color:var(--hg-muted);font-weight:700}

.hg-hero-card{
  background:#fff;
  border:1px solid var(--hg-border);
  border-radius:34px;
  padding:18px;
  box-shadow:var(--hg-shadow);
}
.hg-phone-preview{
  border-radius:28px;
  background:linear-gradient(180deg,#0f172a,#1e293b);
  padding:16px;
  color:#fff;
  min-height:430px;
}
.hg-mini-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.hg-mini-logo{font-weight:950;font-size:18px}
.hg-mini-card{
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  padding:14px;
  margin-bottom:12px;
}
.hg-mini-card strong{display:block}
.hg-mini-card span{color:#cbd5e1;font-size:13px}
.hg-mini-actions{display:flex;gap:8px;margin-top:12px}
.hg-mini-actions b{flex:1;text-align:center;background:#22c55e;border-radius:12px;padding:8px;font-size:13px}
.hg-mini-actions b:first-child{background:#0ea5e9}

.hg-section{padding:46px 0}
.hg-section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
.hg-section-title h2{
  font-size:clamp(26px,3vw,38px);
  margin:0;
  letter-spacing:-1px;
}
.hg-section-title p{margin:6px 0 0;color:var(--hg-muted)}

.hg-category-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.hg-category{
  background:#fff;
  border:1px solid var(--hg-border);
  border-radius:22px;
  padding:20px;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
  transition:.2s ease;
}
.hg-category:hover{transform:translateY(-3px);box-shadow:var(--hg-shadow)}
.hg-cat-icon{
  width:46px;height:46px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  background:#e0f2fe;color:#0369a1;font-size:24px;margin-bottom:12px;
}
.hg-category strong{display:block;font-size:17px}
.hg-category span{font-size:13px;color:var(--hg-muted)}

.hg-listings{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(270px,1fr));
  gap:20px;
}
.hg-card{
  background:#fff;
  border:1px solid var(--hg-border);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 12px 25px rgba(15,23,42,.06);
  position:relative;
  transition:.2s ease;
}
.hg-card:hover{transform:translateY(-3px);box-shadow:var(--hg-shadow)}
.hg-thumb{
  display:block;
  height:205px;
  background:#e0f2fe;
  overflow:hidden;
  text-decoration:none;
}
.hg-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.hg-no-image{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  color:#0284c7;
  font-size:20px;
}
.hg-card-content{padding:17px}
.hg-card h3{font-size:18px;line-height:1.25;margin:0 0 8px}
.hg-card h3 a{text-decoration:none}
.hg-location{color:var(--hg-muted);font-size:14px;margin:0 0 8px}
.hg-price{font-weight:950;color:#0f172a;margin:0 0 12px;font-size:17px}
.hg-actions{display:flex;gap:9px}
.hg-actions a{
  flex:1;
  text-align:center;
  text-decoration:none;
  color:#fff;
  background:var(--hg-dark);
  border-radius:14px;
  padding:10px 8px;
  font-weight:900;
  font-size:14px;
}
.hg-actions a:last-child{background:#22c55e}
.hg-label{
  position:absolute;
  top:14px;
  left:14px;
  background:#f97316;
  color:#fff;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:950;
  z-index:2;
}

.hg-cta{
  background:linear-gradient(135deg,#0ea5e9,#0f172a);
  color:#fff;
  border-radius:34px;
  padding:34px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
  box-shadow:var(--hg-shadow);
}
.hg-cta h2{margin:0;font-size:32px}
.hg-cta p{margin:8px 0 0;color:#dbeafe}

.hg-form{
  background:#fff!important;
  border-radius:26px!important;
  border:1px solid var(--hg-border)!important;
}
.hg-form button{
  background:linear-gradient(135deg,var(--hg-primary),var(--hg-primary-dark))!important;
}

.hg-page{
  padding:46px 0;
}
.hg-content-card{
  background:#fff;
  border:1px solid var(--hg-border);
  border-radius:26px;
  padding:28px;
  box-shadow:0 10px 28px rgba(15,23,42,.05);
}
.hg-archive-header{
  background:linear-gradient(135deg,#e0f2fe,#f8fafc);
  padding:42px 0;
  border-bottom:1px solid var(--hg-border);
}
.hg-archive-header h1{margin:0;font-size:42px;letter-spacing:-1px}
.hg-archive-header p{margin:8px 0 0;color:var(--hg-muted)}

.hg-footer{
  background:#0f172a;
  color:#cbd5e1;
  margin-top:50px;
  padding:40px 0 20px;
}
.hg-footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:26px;
}
.hg-footer h3,.hg-footer h4{color:#fff;margin-top:0}
.hg-footer a{color:#cbd5e1;text-decoration:none}
.hg-copy{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:28px;
  padding-top:18px;
  font-size:13px;
  color:#94a3b8;
}

@media(max-width:900px){
  .hg-topbar-inner{flex-direction:column;align-items:flex-start}
  .hg-header-inner{align-items:flex-start}
  .hg-mobile-toggle{display:inline-flex}
  .hg-nav{display:none;width:100%}
  .hg-nav.hg-open{display:flex}
  .hg-nav ul{flex-direction:column;align-items:stretch;width:100%}
  .hg-nav a{display:block}
  .hg-header-inner{flex-wrap:wrap}
  .hg-header-actions{margin-left:auto}
  .hg-hero-grid{grid-template-columns:1fr}
  .hg-search-box{grid-template-columns:1fr}
  .hg-category-grid{grid-template-columns:repeat(2,1fr)}
  .hg-section-head{align-items:flex-start;flex-direction:column}
  .hg-cta{grid-template-columns:1fr}
  .hg-footer-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .hg-container{width:min(100% - 22px,1180px)}
  .hg-brand-text strong{font-size:20px}
  .hg-header-actions{width:100%}
  .hg-header-actions .hg-btn{width:100%}
  .hg-category-grid{grid-template-columns:1fr}
  .hg-hero{padding:44px 0 26px}
  .hg-cta{padding:24px}
}
