/* ==========================================================================
   CONFY LADY - Catalog & Logos Widget Styles
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600;700&display=swap');

.cf-catalog-section {
  position: relative;
  padding: 120px 5% 70px;
  text-align: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-sizing: border-box;
}

/* Arka Plan Overlay (Yarı Saydam Katman) */
.cf-catalog-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 0;
  pointer-events: none;
}

.cf-catalog-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Başlık ve Açıklama */
.cf-catalog-header {
  max-width: 680px;
  margin: 0 auto 55px;
}

.cf-catalog-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: #1a1a3a;
  margin: 0 0 14px 0;
  font-weight: 700;
  line-height: 1.2;
}

.cf-catalog-desc {
  font-family: 'Inter', sans-serif;
  color: #555555;
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 0 auto;
}

/* Kartlar Grid / Wrapper */
.cf-catalog-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tekil İndirme Kartı */
.cf-catalog-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 10px 32px rgba(116, 87, 156, 0.08);
  padding: 44px 30px 36px;
  flex: 1 1 320px;
  min-width: 290px;
  max-width: 360px;
  position: relative;
  text-align: center;
  border: 1px solid #f3eef7;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0, 0.2, 1), border-color 0.35s ease;
}

.cf-catalog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(116, 87, 156, 0.16);
  border-color: #e5d7ee;
}

/* Üst Rozet (Badge) */
.cf-catalog-card-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a3a;
  color: #ffffff;
  padding: 6px 22px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  letter-spacing: 0.5px;
  z-index: 2;
}

.cf-catalog-card-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Kart Başlığı */
.cf-catalog-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.65rem;
  color: #1a1a3a;
  margin: 12px 0 10px 0;
  font-weight: 700;
  line-height: 1.3;
}

/* Kart Açıklaması */
.cf-catalog-card-desc {
  font-family: 'Inter', sans-serif;
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 28px 0;
  min-height: 44px;
}

/* Kart Görsel Alanı */
.cf-catalog-card-img-wrap {
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  padding: 10px;
  box-sizing: border-box;
}

.cf-catalog-card-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
  transition: transform 0.4s ease;
}

.cf-catalog-card:hover .cf-catalog-card-img {
  transform: scale(1.05);
}

/* İndirme Butonu */
.cf-catalog-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #1a1a3a;
  color: #ffffff !important;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(26, 26, 58, 0.15);
  box-sizing: border-box;
  margin-top: auto;
}

.cf-catalog-card-btn:hover {
  background: #d85c96;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(216, 92, 150, 0.35);
}

.cf-catalog-card-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.cf-catalog-card-btn:hover svg {
  transform: translateY(2px);
}

/* Responsive */
@media (max-width: 991px) {
  .cf-catalog-section {
    padding: 80px 4% 50px;
  }

  .cf-catalog-header {
    margin-bottom: 40px;
  }

  .cf-catalog-cards-grid {
    gap: 26px;
  }
}

@media (max-width: 600px) {
  .cf-catalog-section {
    padding: 60px 16px 40px;
  }

  .cf-catalog-title {
    font-size: 2.2rem;
  }

  .cf-catalog-desc {
    font-size: 1rem;
  }

  .cf-catalog-card {
    max-width: 100%;
    padding: 38px 20px 30px;
  }

  .cf-catalog-card-img-wrap {
    height: 130px;
    margin-bottom: 22px;
  }
}
