/* Kampanyalar sayfası — pro5 · mobil öncelikli */
.kp-page {
  --kp-ink: #1c1a17;
  --kp-muted: #6e685f;
  --kp-line: rgba(28, 26, 23, 0.1);
  --kp-gold: #b48645;
  --kp-gold-soft: #e8d9c5;
  --kp-card: #ffffff;
  --kp-btn: #1c1a17;
  --kp-blue: #3b6ea5;
  color: var(--kp-ink);
  background:
    radial-gradient(1200px 420px at 12% -8%, rgba(180, 134, 69, 0.12), transparent 55%),
    radial-gradient(900px 360px at 92% 8%, rgba(59, 110, 165, 0.08), transparent 50%),
    linear-gradient(180deg, #f7f3ec 0%, #fbf9f6 38%, #f4efe6 100%);
  min-height: 50vh;
  padding-bottom: 3.5rem;
}

/* Header .page-container ile birebir aynı genişlik / padding */
.kp-shell,
.kp-page .page-container {
  width: 100%;
  max-width: var(--page-max, 1440px);
  margin-inline: auto;
  padding-inline: 1.25rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .kp-shell,
  .kp-page .page-container { padding-inline: 2.5rem; }
}

@media (min-width: 1024px) {
  .kp-shell,
  .kp-page .page-container { padding-inline: 4rem; }
}

.kp-hero {
  position: relative;
  padding: 1.6rem 0 1.1rem;
  overflow: hidden;
}

.kp-hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.55), transparent 48%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(28, 26, 23, 0.015) 11px,
      rgba(28, 26, 23, 0.015) 12px
    );
  pointer-events: none;
}

.kp-hero__inner {
  position: relative;
  animation: kpRise 0.55s ease both;
}

.kp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kp-gold);
}

.kp-kicker__icon {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #f2d7a4, #c9974a);
  color: #3a2a12;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(180, 134, 69, 0.28);
}

.kp-title {
  margin: 0;
  font-family: "Playfair Display", "Times New Roman", Georgia, serif;
  font-size: clamp(1.65rem, 4.2vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--kp-ink);
}

.kp-lead {
  margin: 0.65rem 0 0;
  max-width: none;
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--kp-muted);
}

.kp-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.kp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--kp-line);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  color: var(--kp-muted);
  animation: kpRise 0.65s ease both;
}

.kp-chip:nth-child(2) { animation-delay: 0.06s; }
.kp-chip:nth-child(3) { animation-delay: 0.12s; }

.kp-chip .material-symbols-outlined {
  font-size: 1rem;
  color: var(--kp-gold);
}

.kp-chip strong {
  color: var(--kp-ink);
  font-weight: 800;
}

.kp-chip--accent {
  background: linear-gradient(135deg, rgba(180, 134, 69, 0.14), rgba(255, 255, 255, 0.85));
  border-color: rgba(180, 134, 69, 0.28);
}

.kp-list-wrap {
  padding-top: 0.35rem;
}

.kp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

/* Mobil: kartlar daha net ayrılsın */
@media (max-width: 639px) {
  .kp-grid {
    gap: 1.5rem;
  }
  .kp-card {
    border: 1px solid rgba(28, 26, 23, 0.14);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 10px 28px rgba(28, 26, 23, 0.11);
  }
}

/* Her satırda 2 kampanya (tablet+) */
@media (min-width: 640px) {
  .kp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1.25rem;
  }
}

@media (min-width: 1024px) {
  .kp-grid {
    gap: 1.35rem 1.5rem;
  }
}

.kp-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--kp-card);
  border: 1px solid rgba(28, 26, 23, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 12px 32px rgba(28, 26, 23, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  animation: kpRise 0.55s ease both;
}

.kp-card:nth-child(2) { animation-delay: 0.05s; }
.kp-card:nth-child(3) { animation-delay: 0.1s; }
.kp-card:nth-child(4) { animation-delay: 0.15s; }

@media (hover: hover) and (pointer: fine) {
  .kp-card:hover {
    transform: translateY(-3px);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.85) inset,
      0 18px 40px rgba(28, 26, 23, 0.1);
  }
}

.kp-card--vitrin {
  border-color: rgba(180, 134, 69, 0.35);
}

/* Görsel yüksekliği %20 düşük (16/10 → 16/8), alanına tam oturur */
.kp-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  background: #ece8e2;
  overflow: hidden;
  flex: 0 0 auto;
}

.kp-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.kp-card__media--empty {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2a241c, #5c4a2e);
}

.kp-card__fallback {
  font-size: 2.4rem;
  color: rgba(255, 244, 214, 0.7);
}

.kp-photo-badge {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  background: rgba(250, 246, 238, 0.92);
  color: #3a2a12;
  font: 700 0.72rem/1.2 "Manrope", system-ui, sans-serif;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.kp-vitrin-tag {
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(28, 26, 23, 0.82);
  color: #f6e7c4;
  font: 700 0.68rem/1 "Manrope", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kp-vitrin-tag .material-symbols-outlined {
  font-size: 0.85rem;
  color: #d4a84b;
}

.kp-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.05rem 1.15rem;
  flex: 1 1 auto;
}

.kp-discount {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem 0.35rem 0.55rem;
  border-radius: 999px;
  background: #1c1a17;
  color: #faf8f5;
  font: 800 0.78rem/1 "Manrope", system-ui, sans-serif;
  letter-spacing: 0.04em;
}

.kp-discount small {
  font-weight: 700;
  font-size: 0.68rem;
  opacity: 0.9;
}

.kp-discount__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #7eb6ff;
  box-shadow: 0 0 0 2px rgba(126, 182, 255, 0.28);
}

.kp-discount--gold .kp-discount__dot {
  background: #ffd27a;
  box-shadow: 0 0 0 2px rgba(255, 210, 122, 0.3);
}

.kp-discount--gold {
  background: linear-gradient(135deg, #6b4e22 0%, #b48645 55%, #d4a84b 100%);
}

.kp-card__title {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.kp-card__desc {
  margin: 0;
  color: var(--kp-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.kp-card__meta {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  color: #7a746a;
  font-size: 0.78rem;
}

.kp-card__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.kp-card__meta .material-symbols-outlined {
  font-size: 0.95rem;
  color: var(--kp-gold);
}

.kp-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  align-self: stretch;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--kp-btn);
  color: #faf8f5;
  text-decoration: none;
  font: 700 0.88rem/1.2 "Manrope", system-ui, sans-serif;
  letter-spacing: 0.01em;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.kp-btn .material-symbols-outlined {
  font-size: 1.05rem;
}

.kp-btn:hover {
  filter: brightness(1.08);
}

.kp-btn:active {
  transform: scale(0.985);
}

.kp-btn--ghost {
  background: transparent;
  color: var(--kp-ink);
  border: 1px solid var(--kp-line);
  align-self: center;
}

.kp-empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed var(--kp-line);
}

.kp-empty .material-symbols-outlined {
  font-size: 2.4rem;
  color: var(--kp-gold);
}

.kp-empty h2 {
  margin: 0.6rem 0 0.35rem;
  font-size: 1.15rem;
}

.kp-empty p {
  margin: 0 auto 1rem;
  max-width: 28rem;
  color: var(--kp-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

@keyframes kpRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kp-hero__inner,
  .kp-chip,
  .kp-card,
  .kp-card__media img {
    animation: none !important;
    transition: none !important;
  }
}
