/* Enes Fidan Medya Ajansı - Demo katalog alanı */
.ef-demo-section {
  --ef-blue: #075b91;
  --ef-yellow: #ffd400;
  --ef-ink: #15191f;
  --ef-muted: #6d7784;
  width: min(1240px, calc(100% - 32px));
  margin: 56px auto;
  color: var(--ef-ink);
  font-family: inherit;
}
.ef-demo-section * { box-sizing: border-box; }
.ef-demo-heading {
  text-align: center;
  padding: 48px 18px 42px;
  margin-bottom: 28px;
  border-radius: 20px;
  background-color: #f4f7fb;
  background-image: radial-gradient(#d9e2ed 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.ef-demo-eyebrow {
  display: inline-block; padding: 7px 13px; margin-bottom: 12px;
  border-radius: 30px; background: #e4eff8; color: var(--ef-blue);
  font-size: 11px; font-weight: 900; letter-spacing: 1.5px;
}
.ef-demo-heading h2 {
  margin: 0; font-size: clamp(30px, 5vw, 54px); line-height: 1.12;
  font-weight: 950; letter-spacing: -1.8px; color: #111;
  text-shadow: 3px 3px 0 rgba(0,0,0,.12);
}
.ef-demo-heading h2 strong {
  display: inline-block; margin-top: 8px; padding: 7px 16px;
  border: 3px solid #111; background: var(--ef-yellow);
  box-shadow: 5px 6px 0 #111; transform: rotate(-1deg);
}
.ef-demo-heading p {
  max-width: 690px; margin: 27px auto 0; color: #4f5965;
  font-size: 17px; line-height: 1.6; font-weight: 600;
}
.ef-demo-layout { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 24px; align-items: start; }
.ef-demo-sidebar {
  overflow: hidden; border: 1px solid #e6ebf0; border-radius: 12px;
  background: #fff; box-shadow: 0 8px 24px rgba(20,40,60,.06);
}
.ef-demo-sidebar-title {
  padding: 15px 17px; background: var(--ef-blue); color: #fff;
  font-size: 13px; font-weight: 900; letter-spacing: .7px;
}
.ef-category-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 13px 14px; border: 0; border-bottom: 1px solid #edf0f3;
  background: #fff; color: #273443; text-align: left; cursor: pointer;
  font: inherit; font-size: 13px; transition: .2s ease;
}
.ef-category-btn span { font-weight: 650; }
.ef-category-btn small {
  flex: 0 0 auto; min-width: 22px; padding: 3px 6px; border-radius: 20px;
  background: #f0f3f6; color: #637080; text-align: center; font-size: 10px;
}
.ef-category-btn:hover, .ef-category-btn.active { background: #edf6fc; color: var(--ef-blue); }
.ef-category-btn.active { box-shadow: inset 4px 0 0 var(--ef-blue); }
.ef-demo-sidebar-note { padding: 15px; color: #788493; font-size: 12px; line-height: 1.5; }
.ef-demo-content { min-width: 0; }
.ef-demo-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 13px 16px; margin-bottom: 17px; border: 1px solid #e9edf1;
  border-radius: 10px; background: #fff; color: #596575; font-size: 13px;
}
.ef-demo-toolbar strong { color: var(--ef-blue); font-size: 16px; }
.ef-demo-search {
  display: flex; align-items: center; gap: 8px; width: min(280px, 55%);
  padding: 8px 11px; border: 1px solid #e0e6ec; border-radius: 8px; color: #8190a0;
}
.ef-demo-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #202a35; font: inherit; font-size: 12px; }
.ef-demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.ef-demo-card {
  overflow: hidden; border: 1px solid #e8edf2; border-radius: 12px;
  background: #fff; box-shadow: 0 5px 18px rgba(25,45,65,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ef-demo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(25,45,65,.13); }
.ef-demo-card[hidden] { display: none !important; }
.ef-demo-image {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 178px; overflow: hidden; background: linear-gradient(145deg,#f2f5f8,#dfe5eb);
  text-decoration: none;
}
.ef-demo-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ef-demo-card:hover .ef-demo-image img { transform: scale(1.04); }
.ef-demo-preview-tag {
  position: absolute; right: 10px; top: 10px; padding: 6px 9px;
  border-radius: 5px; background: rgba(7,91,145,.94); color: #fff;
  font-size: 9px; font-weight: 900; letter-spacing: .4px;
}
.ef-demo-placeholder { display: flex; flex-direction: column; align-items: center; gap: 7px; color: #718093; }
.ef-demo-placeholder span { font-size: 38px; }
.ef-demo-placeholder b { font-size: 10px; letter-spacing: 1px; }
.ef-demo-card-body { padding: 15px; }
.ef-demo-category {
  display: inline-block; padding: 5px 8px; border-radius: 5px;
  background: #edf5fb; color: var(--ef-blue); font-size: 9px; font-weight: 850;
}
.ef-demo-card h3 { margin: 10px 0 6px; color: #202a35; font-size: 15px; line-height: 1.4; }
.ef-demo-card p { min-height: 34px; margin: 0 0 13px; color: var(--ef-muted); font-size: 11px; line-height: 1.55; }
.ef-demo-open {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 7px; background: var(--ef-blue);
  color: #fff !important; text-decoration: none !important; font-size: 12px; font-weight: 800;
  transition: background .2s ease;
}
.ef-demo-open:hover { background: #06466f; }
.ef-demo-open span { font-size: 16px; }
.ef-demo-empty {
  padding: 50px 20px; border: 1px dashed #cbd5df; border-radius: 12px;
  text-align: center; color: #637080;
}
.ef-demo-empty span { display: block; margin-bottom: 8px; font-size: 35px; }
.ef-demo-empty strong { color: #263442; }
.ef-demo-empty p { margin-bottom: 0; font-size: 13px; }
@media (max-width: 900px) {
  .ef-demo-layout { grid-template-columns: 210px minmax(0,1fr); gap: 15px; }
  .ef-demo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
}
@media (max-width: 620px) {
  .ef-demo-section { width: min(100% - 22px, 520px); margin: 32px auto; }
  .ef-demo-heading { padding: 35px 13px 30px; margin-bottom: 18px; }
  .ef-demo-heading h2 { letter-spacing: -1px; }
  .ef-demo-heading h2 strong { padding: 7px 9px; border-width: 2px; box-shadow: 3px 4px 0 #111; }
  .ef-demo-heading p { margin-top: 21px; font-size: 14px; }
  .ef-demo-layout { grid-template-columns: 1fr; }
  .ef-demo-sidebar { border-radius: 10px; }
  .ef-demo-sidebar-title { padding: 12px 14px; }
  .ef-demo-sidebar > button { display: inline-flex; width: auto; max-width: 100%; margin: 5px 3px; padding: 9px 10px; border: 1px solid #e8edf2; border-radius: 7px; font-size: 11px; }
  .ef-demo-sidebar-note { display: none; }
  .ef-demo-toolbar { align-items: stretch; flex-direction: column; }
  .ef-demo-search { width: 100%; }
  .ef-demo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .ef-demo-image { height: 125px; }
  .ef-demo-card-body { padding: 11px; }
  .ef-demo-card h3 { font-size: 13px; }
  .ef-demo-card p { font-size: 10px; }
  .ef-demo-open { padding: 9px; font-size: 10px; }
}
@media (max-width: 380px) { .ef-demo-grid { grid-template-columns: 1fr; } .ef-demo-image { height: 175px; } }
