.java-nav-button {
  background: linear-gradient(135deg, #243e6b 0%, #3a5998 100%);
  border: none;
  border-radius: 15px;
  padding: 20px 30px;
  color: white;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(36, 62, 107, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 80px;
}

.java-nav-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.java-nav-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(36, 62, 107, 0.3);
  color: white;
  text-decoration: none;
}

.java-nav-button:hover::before {
  left: 100%;
}

.java-nav-icon {
  font-size: 24px;
  padding: 12px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.java-nav-button:hover .java-nav-icon {
  /* background: rgba(255, 255, 255, 0.3); */
  transform: scale(1.1);
}

.java-nav-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.java-nav-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  margin-bottom: 5px;
}

.java-nav-subtitle {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
  font-weight: 400;
}

.java-nav-prev {
  text-align: left;
}

.java-nav-next {
  text-align: right;
  flex-direction: row-reverse;
}

.java-nav-next .java-nav-content {
  text-align: right;
}

/* Rehberi İncele butonları için özel stil */
.jre-guide-btn,
.jdk-guide-btn {
  transition: all 0.3s ease !important;
}

.java-card:hover .jre-guide-btn,
.java-card:hover .jdk-guide-btn {
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  color: #ffffff !important;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.jre-guide-btn:hover,
.jdk-guide-btn:hover {
  background-color: rgba(255, 255, 255, 0.3) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Navigasyon butonları için stiller */
.java-nav-button {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: #243e6b;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.java-nav-button:hover {
  background: #243e6b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(36, 62, 107, 0.2);
}

.java-nav-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.java-nav-subtitle {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .java-nav-button {
    padding: 15px 20px;
    gap: 10px;
    min-height: 70px;
  }

  .java-nav-icon {
    font-size: 20px;
    padding: 10px;
  }

  .java-nav-title {
    font-size: 14px;
  }

  .java-nav-subtitle {
    font-size: 12px;
  }
}
