:root {
  --color-primary: #4361ee;
  --color-primary-light: #eef0ff;
  --color-primary-dark: #2c44c9;
  --color-text: #0f223b;
  --color-text-light: #006db6;
  --color-bg: #f5f6ff;
  --color-bg-light: #fff;
}

.feature-v2 {
  padding: 6rem 0;
  background-color: var(--color-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.feature-v2__wrapper {
  position: relative;
}

.feature-v2__tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-v2__tab {
  text-decoration: none;
  color: var(--color-text);
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--color-bg-light);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-v2__tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-v2__tab.active {
  background: var(--color-primary);
  color: white;
}

.feature-v2__icon {
  width: 48px;
  height: 48px;
  margin: 0;
  background: var(--color-primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}

.feature-v2__tab.active .feature-v2__icon {
  background: rgba(255, 255, 255, 0.2);
}

.feature-v2__icon-svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary);
}

.feature-v2__tab.active .feature-v2__icon-svg {
  fill: white;
}

.feature-v2__tab-content {
  flex-grow: 1;
}

.feature-v2__tab-content h3 {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.feature-v2__tab-content p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.feature-v2__tab.active .feature-v2__tab-content p {
  color: rgba(255, 255, 255, 0.8);
}

.feature-v2__panel {
  display: none;
  animation: fadeIn 0.6s both;
}

.feature-v2__panel.active {
  display: block;
}

.feature-v2__grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  align-items: start;
}

.feature-v2__col h2 {
  font-size: 2.5rem;
  margin: 0 0 1rem;
  color: var(--color-text, #2b3044);
}

.feature-v2__col p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-light, #666);
  margin-bottom: 2rem;
}

.feature-v2__img-wrapper {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-v2__img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

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

@media (max-width: 992px) {
  .feature-v2__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-v2__tabs {
    max-width: 600px;
    margin: 0 auto;
  }

  .feature-v2__col h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .feature-v2__tab {
    padding: 1rem;
  }

  .feature-v2__icon {
    width: 40px;
    height: 40px;
  }

  .feature-v2__icon-svg {
    width: 20px;
    height: 20px;
  }
}

.sticky-feature-wrapper {
  position: relative;
  /* height değeri JavaScript ile ayarlanacak */
}

.sticky-feature {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: var(--color-bg);
  z-index: 1;
}

.sticky-feature__grid {
  position: relative;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sticky-feature__content {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
}

.sticky-feature__item {
  position: relative;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  opacity: 0.2;
  transition: all 0.4s ease;
  cursor: pointer;
  pointer-events: all;
  will-change: opacity;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
}

.sticky-feature__item:hover {
  opacity: 0.4;
}

.sticky-feature__item.is-active {
  opacity: 1;
}

.sticky-feature__item.is-active:hover {
  opacity: 1;
}

.sticky-feature__media {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
}

.sticky-feature__media-wrapper {
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sticky-feature__figure {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: none;
}

.sticky-feature__figure.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  display: block;
  animation: fadeInScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.sticky-feature__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.sticky-feature__item h2 {
  font-weight: 700;
  font-size: 3rem;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.sticky-feature__item p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-text);
  max-width: 540px;
}

@media (max-width: 1024px) {
  .sticky-feature__grid {
    grid-template-columns: 45% 55%;
    gap: 2rem;
  }

  .sticky-feature__media-wrapper {
    height: 70vh;
  }
}

@media (max-width: 768px) {
  .sticky-feature-wrapper {
    height: auto !important;
  }

  .sticky-feature {
    position: relative;
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .sticky-feature__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    height: auto;
    padding: 2rem 1rem;
  }

  .sticky-feature__content {
    order: 1;
    height: auto;
    min-height: auto;
    display: block;
    align-items: flex-start;
  }

  .sticky-feature__item {
    position: relative;
    opacity: 1;
    padding: 2rem 1rem;
    margin-bottom: 1rem;
  }

  .sticky-feature__media {
    order: 2;
    height: auto;
  }

  .sticky-feature__media-wrapper {
    position: relative;
    top: 0;
    transform: none;
    height: auto;
    overflow: visible;
  }

  .sticky-feature__figure {
    position: relative;
    height: 300px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: block;
    animation: none;
  }

  .sticky-feature__figure.is-active {
    transform: none;
    animation: none;
  }

  .sticky-feature__figure img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .sticky-feature__grid {
    padding: 1rem;
  }

  .sticky-feature__item h2 {
    font-size: 1.5rem;
  }

  .sticky-feature__media-wrapper {
    height: 30vh;
  }

  .sticky-feature__item {
    padding: 1.5rem 1rem;
  }
}
