/* Detail Jurusan CSS - Matches main theme */

:root {
  --primary-color: #3f51ff;
  --accent-color: #00b7d8;
  --text-primary: #0b1220;
  --text-secondary: #556680;
  --muted: #6b7280;
  --card-bg: linear-gradient(180deg, #ffffff, #fbfdff);
  --surface: #f6f8ff;
  --shadow-strong: 0 18px 40px rgba(63, 81, 255, 0.08);
  --success: #10b981;
  --warning: #f59e0b;
  --info: #0ea5e9;
}

/* Hero Section */
.detail-hero {
  background: linear-gradient(135deg, rgba(63, 81, 255, 0.12), rgba(0, 183, 216, 0.08));
  background-color: #ffffff;
  background-attachment: fixed;
  padding: 40px 0;
  border-bottom: 3px solid rgba(63, 81, 255, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.detail-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(63, 81, 255, 0.05), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.detail-hero .container {
  position: relative;
  z-index: 1;
}

.detail-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-hero h1 i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Back Button */
.btn-kembali {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(63, 81, 255, 0.1);
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.btn-kembali:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(-4px);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(63, 81, 255, 0.2);
}

.btn-kembali i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-kembali:hover i {
  transform: translateX(-4px);
}

/* Content Sections */
.content-section {
  background: var(--card-bg);
  border: 1px solid rgba(11, 18, 32, 0.06);
  border-radius: 14px;
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: 0 8px 28px rgba(63, 81, 255, 0.06);
  transition: all 0.3s ease;
  animation: slideUp 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section:nth-child(1) {
  animation-delay: 0.1s;
}

.content-section:nth-child(2) {
  animation-delay: 0.2s;
}

.content-section:nth-child(3) {
  animation-delay: 0.3s;
}

.content-section:nth-child(4) {
  animation-delay: 0.4s;
}

.content-section:nth-child(5) {
  animation-delay: 0.5s;
}

.content-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(63, 81, 255, 0.1);
}

.content-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(63, 81, 255, 0.1);
}

.content-section h2 i {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

/* List Items */
.list-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  background: linear-gradient(135deg, rgba(63, 81, 255, 0.03), rgba(0, 183, 216, 0.02));
  border-radius: 10px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.list-item:hover {
  background: linear-gradient(135deg, rgba(63, 81, 255, 0.08), rgba(0, 183, 216, 0.05));
  border-left-color: var(--accent-color);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(63, 81, 255, 0.1);
}

.list-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(63, 81, 255, 0.08);
  border-radius: 8px;
}

.list-item:hover i {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  transform: scale(1.1);
}

.list-item strong {
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.list-item small {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  display: block;
}

/* Alert Styling */
.alert {
  border: 1px solid rgba(63, 81, 255, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(0, 183, 216, 0.05));
  transition: all 0.3s ease;
}

.alert-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(0, 183, 216, 0.05));
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--text-primary);
}

.alert i {
  color: var(--success);
  font-size: 1.2rem;
  margin-right: 12px;
}

.alert strong {
  color: var(--text-primary);
}

.alert a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.alert a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.alert:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.1);
}

/* Main Container Padding */
main.container {
  padding-top: 40px;
  padding-bottom: 60px;
  max-width: 900px;
  background-color: #ffffff;
  position: relative;
  z-index: 5;
}

/* Scroll Reveal Animation */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .detail-hero {
    padding: 30px 0;
  }

  .detail-hero h1 {
    font-size: 1.8rem;
  }

  .detail-hero p {
    font-size: 1rem;
  }

  .content-section {
    padding: 24px;
    margin-bottom: 24px;
  }

  .content-section h2 {
    font-size: 1.4rem;
    margin-bottom: 18px;
  }

  .list-item {
    gap: 12px;
    padding: 14px;
    margin-bottom: 12px;
  }

  .list-item i {
    font-size: 1.3rem;
  }

  main.container {
    padding-top: 30px;
    padding-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .detail-hero {
    padding: 20px 0;
  }

  .detail-hero h1 {
    font-size: 1.5rem;
    gap: 8px;
  }

  .detail-hero h1 i {
    font-size: 1.5rem;
  }

  .btn-kembali {
    padding: 8px 14px;
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .content-section {
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 10px;
  }

  .content-section h2 {
    font-size: 1.2rem;
    margin-bottom: 14px;
    gap: 8px;
  }

  .content-section h2 i {
    font-size: 1.2rem;
  }

  .list-item {
    gap: 10px;
    padding: 12px;
    margin-bottom: 10px;
  }

  .list-item i {
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
  }

  .list-item strong {
    font-size: 1rem;
  }

  .list-item small {
    font-size: 0.9rem;
  }

  .alert {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  main.container {
    padding-top: 20px;
    padding-bottom: 30px;
  }
}
