/* =============================================================
   SMARTPET+ SAĞLIK KATEGORİSİ HERO SECTION STİLLERİ
   ============================================================= */

/* Sayfa temel ayarları */
.health-category-page {
  background-color: #fbfbfc;
  color: var(--color-text-dark, #111111);
  min-height: 100vh;
  height: auto;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

/* -------------------------------------------------------------
   HERO BÖLÜMÜ (ANA KAPLAMA)
   ------------------------------------------------------------- */
.health-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}

/* Sabit Arka Plan Görseli (hero-bg.jpg) */
.health-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/hero-bg.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
}

/* Atmosferik Işık & Sis Vurgulayıcı Katman */
.health-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 25%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.25) 55%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.1) 40%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 2;
  pointer-events: none;
}

/* -------------------------------------------------------------
   ÜST KISIM: BAŞLIK, AÇIKLAMA VE ETİKETLER (YAZILAR EN ÜSTTE)
   ------------------------------------------------------------- */
.health-hero-content {
  position: relative;
  z-index: 10;
  margin-top: 125px;
  padding: 10px 24px 0;
  max-width: 960px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ana Başlık */
.health-hero-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.16;
  color: #111111;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}

.gradient-text {
  background: linear-gradient(135deg, #ff8c69 0%, #f15f36 50%, #d94720 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Açıklama Paragrafı */
.health-hero-description {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(0.92rem, 1.18vw, 1.05rem);
  line-height: 1.55;
  color: #444444;
  max-width: 740px;
  margin: 0 auto 16px;
  font-weight: 400;
}

/* Özellik Etiketleri / Pill Tags */
.health-feature-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 30px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  color: #222222;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.feature-tag i {
  color: var(--color-primary, #f15f36);
  font-size: 0.85rem;
}

.feature-tag:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(241, 95, 54, 0.35);
  box-shadow: 0 6px 16px rgba(241, 95, 54, 0.1);
}

/* -------------------------------------------------------------
   ALT KISIM: PLATFORM VE BÜYÜTÜLMÜŞ SAKİN SALINAN ÜRÜN VİTRİNİ (+%30)
   ------------------------------------------------------------- */
.health-platform-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

/* Platform Temas Gölgesi (Genişletilmiş ve podyuma tam oturan gölge) */
.platform-shadow {
  position: absolute;
  bottom: 12vh;
  left: 50%;
  transform: translateX(-50%);
  width: 338px;
  height: 35px;
  background: radial-gradient(ellipse at center, rgba(30, 20, 15, 0.52) 0%, rgba(30, 20, 15, 0.18) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(5px);
  z-index: 5;
  pointer-events: none;
  animation: shadowCalm 5.5s ease-in-out infinite alternate;
}

@keyframes shadowCalm {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 0.65;
    filter: blur(5px);
  }

  50% {
    transform: translateX(-50%) scale(0.85);
    opacity: 0.35;
    filter: blur(7px);
  }

  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.65;
    filter: blur(5px);
  }
}

/* Salınan Ürün Konteyneri (+%30 Büyütülmüş ve sakin salınım) */
.products-floating-container {
  position: absolute;
  bottom: 14vh;
  left: 50%;
  transform: translateX(-50%);
  width: 526px;
  height: 476px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 6;
  pointer-events: auto;
  animation: productCalmFloat 5.5s ease-in-out infinite alternate;
  transform-origin: center bottom;
  cursor: grab;
}

.products-floating-container:active {
  cursor: grabbing;
}

@keyframes productCalmFloat {
  0% {
    transform: translateX(-50%) translateY(0px);
  }

  50% {
    transform: translateX(-50%) translateY(-14px);
  }

  100% {
    transform: translateX(-50%) translateY(0px);
  }
}

/* Tekil Ürün Öğeleri */
.product-item {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Aktif Durum */
.product-item.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.16));
}

/* Çıkış Durumu (Opacity düşerek yok olur) */
.product-item.exiting {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translateX(-50%) translateY(-18px) scale(0.96);
}

/* Giriş Durumu (Yenisi gelir) */
.product-item.entering {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px) scale(0.96);
}

/* Ürün Görselleri (Standart Tek Tip Boyutlandırma & Netlik Optimizasyonu) */
.product-img {
  max-height: 440px;
  width: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.4s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
}

.product-item.active:hover .product-img {
  transform: translateZ(0) scale(1.03);
}

/* -------------------------------------------------------------
   SAKİN GEÇİŞ DURUM ÇUBUĞU (MİSTY ZEMİN ALANINDA ZARİFÇE YER ALIR)
   ------------------------------------------------------------- */
.cycle-progress-container {
  position: absolute;
  bottom: 24px;
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  max-width: 80%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  z-index: 20;
  pointer-events: auto;
}

.cycle-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff8c69, #f15f36);
  border-radius: 10px;
  transition: width 0.1s linear;
}

/* -------------------------------------------------------------
   RESPONSIVE UYUMLULUK
   ------------------------------------------------------------- */
@media (max-width: 992px) {
  .health-hero-title {
    font-size: 2.3rem;
  }

  .health-hero-content {
    margin-top: 125px;
  }

  .products-floating-container {
    bottom: 14vh;
    width: 450px;
    height: 400px;
  }

  .platform-shadow {
    bottom: 12vh;
    width: 300px;
    height: 35px;
  }

  .product-img {
    max-height: 380px;
  }

  .cycle-progress-container {
    bottom: 22px;
    width: 220px;
  }
}

@media (max-width: 768px) {
  .health-category-page {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .health-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    padding-bottom: 0;
  }

  .health-hero-content {
    margin-top: 125px;
    padding: 5px 16px 0;
  }

  .health-hero-title {
    font-size: 1.85rem;
    line-height: 1.15;
  }

  .health-hero-description {
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0 auto 12px;
  }

  .feature-tag {
    font-size: 0.74rem;
    padding: 5px 10px;
  }

  .health-platform-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
  }

  .platform-shadow {
    bottom: 12vh;
    width: 275px;
    height: 30px;
  }

  .products-floating-container {
    bottom: 14vh;
    height: 375px;
    width: 400px;
    max-width: 90vw;
  }

  .product-img {
    max-height: 350px;
  }

  /* Durum çubuğu daima ekranın ve hero bölümünün en altında */
  .cycle-progress-container {
    position: absolute;
    bottom: 20px;
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    max-width: 75%;
    height: 4px;
    z-index: 20;
  }
}

@media (max-width: 480px) {
  .health-category-page {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .health-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    padding-bottom: 0;
  }

  .health-hero-content {
    margin-top: 125px;
    padding: 5px 16px 0;
  }

  .health-hero-title {
    font-size: 1.85rem;
    line-height: 1.15;
  }

  .health-hero-description {
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0 auto 12px;
  }

  .feature-tag {
    font-size: 0.74rem;
    padding: 5px 10px;
  }

  .health-platform-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
  }

  .platform-shadow {
    bottom: 8vh;
    width: 275px;
    height: 30px;
  }

  .products-floating-container {
    bottom: 10vh;
    height: 375px;
    width: 400px;
    max-width: 90vw;
  }

  .product-img {
    max-height: 350px;
  }

  /* Durum çubuğu daima ekranın ve hero bölümünün en altında */
  .cycle-progress-container {
    position: absolute;
    bottom: 20px;
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    max-width: 75%;
    height: 4px;
    z-index: 20;
  }
}

/* ==========================================================================
   SMARTPET + BAKIM REHBERİ: YATAY ÇÖZÜM KARTLARI (SOLUTIONS SECTION)
   ========================================================================== */
:root {
  --sp-primary: #d94720;
  --sp-primary-hover: #bf3915;
  --sp-primary-light: #fff2ee;
  --sp-primary-glow: rgba(217, 71, 32, 0.12);

  --sp-bg-page: #fbfbfc;
  --sp-bg-card: #ffffff;
  --sp-border-card: #f0ebe7;
  --sp-border-hover: rgba(217, 71, 32, 0.35);

  --sp-text-title: #111827;
  --sp-text-body: #4b5563;
  --sp-text-muted: #6b7280;

  --sp-placeholder-bg: linear-gradient(145deg, #fdf6f3 0%, #faece7 100%);

  --container-gutter: 20px;
  --max-container-width: 1240px;
  --transition-curve: cubic-bezier(0.25, 1, 0.5, 1);
}

@media (min-width: 768px) {
  :root {
    --container-gutter: 36px;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-gutter: 48px;
  }
}

.solutions-section {
  width: 100%;
  background-color: var(--sp-bg-page);
  padding: 100px 0 120px;
  position: relative;
  z-index: 10;
}

.solutions-container {
  max-width: var(--max-container-width);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
}

.solutions-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 50px;
}

.solutions-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--sp-text-title);
  letter-spacing: -0.6px;
  line-height: 1.25;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .solutions-title {
    font-size: 40px;
  }
}

.solutions-desc {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--sp-text-body);
  max-width: 720px;
  margin: 0 auto;
}

/* YATAY KARTLAR LİSTESİ */
.solutions-horizontal-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Tekil Yatay Kart */
.solution-card-h {
  background-color: var(--sp-bg-card);
  border-radius: 28px;
  border: 1.5px solid var(--sp-border-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s var(--transition-curve),
    box-shadow 0.35s var(--transition-curve),
    border-color 0.35s ease;
  position: relative;
}

.solution-card-h:hover {
  transform: translateY(-4px);
  border-color: var(--sp-border-hover);
  box-shadow: 0 20px 48px var(--sp-primary-glow);
}

@media (min-width: 900px) {
  .solution-card-h {
    flex-direction: row;
    align-items: stretch;
  }
}

/* GÖRSEL ALANI (3:4 DİKEY PORTRE ORANI & ZARİF "+" FİLİGRANI) */
.solution-card-h__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--sp-placeholder-bg);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1.5px solid var(--sp-border-card);
}

@media (min-width: 900px) {
  .solution-card-h__media {
    width: 310px;
    height: auto;
    border-bottom: none;
    border-right: 1.5px solid var(--sp-border-card);
  }
}

@media (min-width: 1100px) {
  .solution-card-h__media {
    width: 330px;
  }
}

.solution-card-h__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--transition-curve);
}

.solution-card-h:hover .solution-card-h__img {
  transform: scale(1.04);
}

.media-watermark-plus {
  position: absolute;
  right: -20px;
  bottom: -25px;
  width: 140px;
  height: 140px;
  opacity: 0.11;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.solution-card-h:hover .media-watermark-plus {
  opacity: 0.20;
  transform: scale(1.06);
}

/* İÇERİK GÖVDESİ */
.solution-card-h__body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .solution-card-h__body {
    padding: 34px 38px 30px;
  }
}

.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-category-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-number-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 900;
  color: var(--sp-primary);
  background: var(--sp-primary-light);
  padding: 3px 8px;
  border-radius: 8px;
}

.card-number-badge svg {
  width: 9px;
  height: 9px;
  fill: var(--sp-primary);
}

.card-category-name {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--sp-primary);
}

.card-plus-seal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 800;
  color: #111827;
  background: #f4f5f7;
  padding: 4px 10px;
  border-radius: 20px;
}

.card-plus-seal svg {
  width: 12px;
  height: 12px;
  fill: var(--sp-primary);
}

.solution-card-h__title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 21px;
  font-weight: 800;
  color: var(--sp-text-title);
  line-height: 1.3;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .solution-card-h__title {
    font-size: 24px;
  }
}

.solution-card-h__text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--sp-text-body);
  margin-bottom: 22px;
}

.solution-card-h__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px dashed #e5e7eb;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #374151;
  background-color: #f3f4f6;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: background-color 0.2s, border-color 0.2s;
}

.tag-chip svg {
  width: 9px;
  height: 9px;
  fill: var(--sp-primary);
}

.tag-chip:hover {
  background-color: var(--sp-primary-light);
  border-color: rgba(217, 71, 32, 0.2);
}

.card-footer-action {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

@media (min-width: 600px) {
  .card-footer-action {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.product-meta-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sp-text-muted);
}

.product-meta-note svg {
  width: 14px;
  height: 14px;
  stroke: var(--sp-primary);
  stroke-width: 2.2;
  fill: none;
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff;
  color: var(--sp-primary);
  border: 1.5px solid var(--sp-primary);
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.card-action-btn:hover {
  background-color: var(--sp-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px var(--sp-primary-glow);
}

.card-action-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.2s ease;
}

.card-action-btn:hover svg {
  transform: translateX(4px);
}