/* ——— Desktop vars ——— */
@import url("variables.css");

:root {
  --circle-desktop: 720px;
  --icon-gap: 140px;
  --icon-size: 64px;
  --section-xpad: 40px;

  /* ring biraz küçültüldü */
  --ring-max-scale: 1.12;

  /* açık gri dalga renkleri */
  --ring-c1: #e7e7e7;
  --ring-c2: #e3e3e3;
  --ring-c3: #eeeeee;
}

/* Başlıklar */
.products-section {
  background: #fff;
  padding: 4rem 0 3rem;
}
.products-title {
  text-align: center;
  color: #064393;
  letter-spacing: 2px;
  font: 800 40px/1.2 "DM Sans", sans-serif;
  margin: 0 0 0.75rem;
}
.products-subtitle {
  text-align: center;
  color: #707070;
  max-width: 820px;
  margin: 0 auto 2.25rem;
  font: 400 16px/1.6 "DM Sans", sans-serif;
}

/* Alan */
.product-arc {
  padding-inline: clamp(16px, var(--section-xpad), 6vw);
  display: flex;
  justify-content: center;
}
.product-arc__wrap {
  position: relative;
  width: var(--circle-desktop);
  height: var(--circle-desktop);
  border-radius: 50%;
}

/* === RINGS – soft light grey wave === */
.arc-surface {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}

/* Hafif dönen highlight */
.arc-surface::after {
  content: "";
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0) 0deg,
    rgba(255, 255, 255, 0.25) 100deg,
    rgba(255, 255, 255, 0) 180deg
  );
  animation: spin 18s linear infinite;
  mix-blend-mode: soft-light;
  opacity: 0.35;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(231, 231, 231, 0.9);
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(231, 231, 231, 0.15) 70%,
    rgba(231, 231, 231, 0) 100%
  );
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.6),
    0 0 12px rgba(0, 0, 0, 0.02);
  animation: ringPulse 4.8s ease-in-out infinite,
    ringColor 9s ease-in-out infinite;
  filter: blur(0.3px);
}

/* Her halka biraz daha içeri ve farklı renkte */
.ring-1 {
  inset: 0%;
  border-color: #e8e787;
  animation-delay: 0s, 0s;
}
.ring-2 {
  inset: 12%;
  border-color: #e7e7e7;
  animation-delay: 0.5s, 0.7s;
}
.ring-3 {
  inset: 24%;
  border-color: #e3e3e3;
  animation-delay: 1s, 1.4s;
}
.ring-4 {
  inset: 36%;
  border-color: #eeeeee;
  animation-delay: 1.5s, 2.1s;
}

@keyframes ringPulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  40% {
    transform: scale(1.05);
    opacity: 1;
  }
  55% {
    transform: scale(1.12);
    opacity: 0.95;
  }
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

@keyframes ringColor {
  0% {
    border-color: #e7e7e7;
  }
  25% {
    border-color: #e3e3e3;
  }
  50% {
    border-color: #eeeeee;
  }
  75% {
    border-color: #f5f5f5;
  }
  100% {
    border-color: #e7e7e7;
  }
}

.ringGlow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

/* Şişe çerçevesi — konum sabit, zıplama yok */
.bottle-frame {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}
.arc-bottle {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.22));
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.arc-bottle.fade-out {
  opacity: 0;
  transform: scale(0.95);
}
.arc-bottle.fade-in {
  opacity: 1;
  transform: scale(1);
}

/* İkonlar (JS konumlandırır) */
.ps-icon {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.ps-icon img {
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 50%;
  padding: 10px;
  background: #064393;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, background 0.25s ease;
}
.ps-icon span {
  margin-top: 6px;
  font: 300 12px/1.2 "DM Sans", sans-serif;
  color: #064393;
  white-space: nowrap;
}
.ps-icon:hover img {
  transform: scale(1.08);
}
.ps-icon.active img {
  background: #a3de02;
}
.ps-icon.active span {
  color: #a3de02;
}

/* ——— Tablet ——— */
@media (max-width: 991.98px) {
  :root {
    --circle-tablet: 520px;
    --icon-gap: 100px;
    --icon-size: 56px;
  }
  .product-arc__wrap {
    width: var(--circle-tablet);
    height: var(--circle-tablet);
  }
  .bottle-frame {
    width: min(260px, 48%);
    height: min(390px, 70%);
  }

  .products-title {
    font: 800 32px/1.2 "DM Sans", sans-serif;
    margin: 0 0 0.75rem;
  }
  .sss-droplet__btn {
    font-size: 12px;
    padding: 8px 20px;
    width: 60%;
    margin: 0 auto;
  }
  .info-cta {
      margin: 0;
}
}
/* ——— Mobile ——— */
@media (max-width: 576px) {
  :root {
    --circle-mobile: 360px;
    --icon-gap: 74px;
    --icon-size: 48px;
  }
  .product-arc__wrap {
    width: min(var(--circle-mobile), calc(100vw - (2 * var(--section-xpad))));
    height: min(var(--circle-mobile), calc(100vw - (2 * var(--section-xpad))));
  }
  .bottle-frame {
    width: min(210px, 50%);
    height: min(320px, 72%);
  }
  .ps-icon span {
    font-weight: 500;
  }
}
