/* ============================================================
   home.css — Anasayfa stilleri
   ============================================================ */

/* --- HERO --- */
.hp-hero {
  background: linear-gradient(135deg, var(--m-800) 0%, var(--m-600) 100%);
  color: #FFFFFF;
  padding: 56px 0 48px;
  text-align: center;
}
.hp-hero h1 {
  font-size: clamp(24px, 4.5vw, 38px);
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}
.hp-hero > .container > p {
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 28px;
  max-width: 640px;
  line-height: 1.6;
}
.hp-search {
  display: flex;
  max-width: 580px;
  margin: 0 auto 22px;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.hp-search input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  color: var(--m-800);
}
.hp-search button {
  padding: 14px 28px;
  background: var(--t-600);
  color: #FFFFFF;
  border: none;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.hp-search button:hover { background: var(--t-800); }

.hp-quick-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hp-quick-cta a {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  text-decoration: none;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.15s;
}
.hp-quick-cta a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  text-decoration: none;
}
.hp-quick-cta .hp-cta-primary {
  background: var(--t-600);
  border-color: var(--t-600);
  font-weight: 500;
}
.hp-quick-cta .hp-cta-primary:hover { background: var(--t-800); }

.hp-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.hp-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hp-stats b {
  font-size: 22px;
  font-weight: 500;
  color: #FFFFFF;
}
.hp-stats span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 600px) {
  .hp-stats { gap: 20px; }
  .hp-stats b { font-size: 18px; }
}

/* --- BÖLÜM ORTAK --- */
.hp-section {
  padding: 48px 0;
}
.hp-section.hp-light {
  background: var(--n-50);
}
.hp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.hp-head h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0;
  color: var(--m-800);
}
.hp-head p {
  font-size: 13px;
  color: var(--n-600);
  margin: 0;
}
.hp-head-link {
  font-size: 13px;
  color: var(--t-600);
  text-decoration: none;
}
.hp-head-link:hover { text-decoration: underline; }

/* --- TİP KARTLARI --- */
.hp-type-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) { .hp-type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hp-type-grid { grid-template-columns: repeat(4, 1fr); } }

.hp-type {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: #FFFFFF;
  border: 0.5px solid var(--n-200);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
}
.hp-type:hover {
  border-color: var(--t-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
}
.hp-type-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--t-50);
}
.type-employer .hp-type-icon { background: var(--t-50); }
.type-seeker   .hp-type-icon { background: var(--c-info-bg, #E0F2FE); }
.type-transfer .hp-type-icon { background: var(--m-50); }
.type-product  .hp-type-icon { background: #FFF7E0; }

.hp-type-body h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--m-800);
}
.hp-type-body p {
  font-size: 13px;
  color: var(--n-600);
  margin: 0 0 10px;
  line-height: 1.5;
}
.hp-type-count {
  font-size: 12px;
  font-weight: 500;
  color: var(--t-600);
}

/* --- POPÜLER KATEGORİLER (chip) --- */
.hp-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #FFFFFF;
  color: var(--m-800);
  border: 0.5px solid var(--n-200);
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.15s;
}
.hp-chip:hover {
  background: var(--t-600);
  color: #FFFFFF;
  border-color: var(--t-600);
  text-decoration: none;
}
.hp-chip-cnt {
  background: var(--n-100);
  color: var(--n-600);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 500;
}
.hp-chip:hover .hp-chip-cnt {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* --- POPÜLER ŞEHİRLER --- */
.hp-cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 600px) { .hp-cities-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .hp-cities-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .hp-cities-grid { grid-template-columns: repeat(6, 1fr); } }

.hp-city {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 12px;
  background: #FFFFFF;
  border: 0.5px solid var(--n-200);
  border-radius: 8px;
  text-decoration: none;
  color: var(--m-800);
  transition: all 0.15s;
}
.hp-city:hover {
  border-color: var(--t-600);
  color: var(--t-800);
  text-decoration: none;
  transform: translateY(-1px);
}
.hp-city-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}
.hp-city-cnt {
  font-size: 11px;
  color: var(--n-600);
}
.hp-city:hover .hp-city-cnt { color: var(--t-600); }

/* --- TABS (son ilanlar) --- */
.hp-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  border-bottom: 0.5px solid var(--n-200);
  overflow-x: auto;
  padding-bottom: 1px;
}
.hp-tab {
  background: none;
  border: none;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 13px;
  color: var(--n-600);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.15s;
}
.hp-tab:hover { color: var(--m-800); }
.hp-tab.active {
  color: var(--t-600);
  font-weight: 500;
  border-bottom-color: var(--t-600);
}
.hp-tab-panel { display: none; }
.hp-tab-panel.active { display: block; }

/* --- ÖNE ÇIKAN KLİNİKLER --- */
.hp-clinics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .hp-clinics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hp-clinics-grid { grid-template-columns: repeat(3, 1fr); } }

.hp-clinic {
  background: #FFFFFF;
  border: 0.5px solid var(--n-200);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
  display: block;
}
.hp-clinic:hover {
  border-color: var(--t-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
}
.hp-clinic-cover {
  width: 100%;
  height: 130px;
  background: var(--n-100);
  overflow: hidden;
}
.hp-clinic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-clinic-body {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.hp-clinic-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: -32px;
  background: #FFFFFF;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.hp-clinic-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-clinic-info { flex: 1; min-width: 0; }
.hp-clinic-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--m-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hp-clinic-loc {
  font-size: 12px;
  color: var(--n-600);
  margin-top: 2px;
}

/* --- NEDEN dentalduyuru? --- */
.hp-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) { .hp-features { grid-template-columns: repeat(3, 1fr); } }

.hp-feature {
  background: #FFFFFF;
  border: 0.5px solid var(--n-200);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
}
.hp-feature-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.hp-feature h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--m-800);
  margin: 0 0 8px;
}
.hp-feature p {
  font-size: 13px;
  color: var(--n-600);
  margin: 0;
  line-height: 1.6;
}

/* --- ÜYE OL CTA --- */
.hp-cta-section {
  background: linear-gradient(135deg, var(--t-600) 0%, var(--t-800) 100%);
  color: #FFFFFF;
  padding: 48px 0;
  text-align: center;
}
.hp-cta-section h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  margin: 0 0 10px;
}
.hp-cta-section p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 24px;
  max-width: 540px;
  line-height: 1.6;
}
.hp-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hp-cta-buttons .btn-primary {
  background: #FFFFFF;
  color: var(--t-800);
  border-color: #FFFFFF;
}
.hp-cta-buttons .btn-primary:hover {
  background: var(--n-50);
  color: var(--t-800);
}
.hp-cta-buttons .btn-outline {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}
.hp-cta-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}
