:root {
  --color-primary: #4361ee;
  --color-primary-light: #eef0ff;
  --color-primary-dark: #2c44c9;
  --color-text: #2b3044;
  --color-text-light: #666;
  --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__tabs a{
  text-decoration: none;
}

.feature-v2__tab {
  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);
  text-decoration: none;
}

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

.feature-v2__tab.active {
  background: var(--ritterNavy);
  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.6rem;
  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;
  background-color: white;
}

.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: 2rem;
  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;
  }

  .feature-v2__tabs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .feature-v2__tabs li {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .feature-v2__panel {
    display: block !important;
    margin-top: 1rem;
  }

  .feature-v2__tab:hover {
    transform: none;
  }

  .feature-v2__col:last-child {
    display: none;
  }

  .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;
  }
}

/* Mobil panel varsayılan olarak gizli */
.feature-v2__panel-mobile {
    display: none;
}

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

    .feature-v2__tabs {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    /* Mobil görünümde tab container */
    .feature-v2__tabs li {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    /* Mobil panel göster */
    .feature-v2__panel-mobile {
        display: block;
        margin-top: 1rem;
    }

    /* Masaüstü panelleri gizle */
    .feature-v2__col--desktop {
        display: none;
    }

    .feature-v2__tab:hover {
        transform: none;
    }
}

/* Masaüstü görünümü */
@media (min-width: 1024px) {
    .feature-v2__grid {
        grid-template-columns: 350px 1fr;
        gap: 4rem;
    }

    /* Masaüstünde mobil panelleri gizle */
    .feature-v2__panel-mobile {
        display: none !important;
    }

    /* Panel container'ı için stil */
    .feature-v2__panel {
        height: 500px; /* Sabit yükseklik */
    }

    /* Panel aktif olduğunda */
    .feature-v2__panel.active {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Resim container'ı için stil */
    .feature-v2__img-wrapper {
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    /* Resim için stil */
    .feature-v2__img-wrapper img {
      padding: 20px 0px;
      max-height: 100%;
      width: auto;
      object-fit: contain;
      object-position: center;
      background-color: white;
    }
}
