/* ================================
   KIP Kuliah Page CSS
   ================================ */

/* Warna Tema */
:root {
  --primary: #800000; /* merah marun */
  --gold: #D4AF37; /* emas */
  --dark-bg: #121212;
  --dark-text: #f5f5f5;
}

/* ================================
   Struktur Dasar
   ================================ */
.kip-container {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.kip-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  animation: fadeSlide 1s ease;
  transition: all 0.4s ease;
}

.kip-section.reverse {
  flex-direction: row-reverse;
}

.kip-text {
  flex: 1;
}

.kip-text h2 {
  font-size: 1.8rem;
  color: var(--primary);
  border-left: 5px solid var(--gold);
  padding-left: 10px;
  margin-bottom: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kip-text p, .kip-text ul, .kip-text ol {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.kip-text ul, .kip-text ol {
  padding-left: 20px;
}

.kip-img {
  flex: 1;
  text-align: center;
}

.kip-img img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  transition: 0.4s ease;
}

.kip-img img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

/* ================================
   Efek & Animasi
   ================================ */
@keyframes fadeSlide {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.kip-section:hover {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  border: 1px solid var(--gold);
  transform: translateY(-4px);
}

/* Icon glow */
.fikom-icon {
  transition: 0.3s ease;
  color: var(--gold);
  font-size: 1.4em;
}

.fikom-icon:hover {
  text-shadow: 0 0 12px var(--gold);
  transform: scale(1.3);
}

/* Tombol efek (kalau ditambahkan nanti) */
.kip-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}
.kip-btn:hover {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 15px var(--gold);
  transform: translateY(-3px);
}

/* ================================
   Mode Mobile
   ================================ */
@media (max-width: 992px) {
  .kip-section {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 25px;
  }

  .kip-section.reverse {
    flex-direction: column;
  }

  .kip-text h2 {
    justify-content: center;
    border-left: none;
    border-bottom: 3px solid var(--gold);
    padding-bottom: 8px;
  }

  .kip-img img {
    width: 90%;
  }

  .kip-section {
    animation: fadeSlideMobile 0.9s ease;
  }

  @keyframes fadeSlideMobile {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
  }
}

/* ================================
   Dark Mode
   ================================ */
body.dark-mode {
  background: var(--dark-bg);
  color: var(--dark-text);
}

body.dark-mode .kip-section {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .kip-text h2 {
  color: var(--gold);
  border-color: var(--primary);
}

body.dark-mode .kip-img img {
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
}
/* ================================
   Judul Halaman Atas
   ================================ */
.page-title {
  background: linear-gradient(to right, var(--primary), var(--gold));
  color: #fff;
  text-align: center;
  padding: 80px 0 60px;
  margin-bottom: 50px;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  animation: fadeSlide 1s ease;
}

.page-title h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0,0,0,0.4);
  margin: 0;
}
/* ======= STYLE JUDUL HALAMAN ======= */
.page-title {
  background: linear-gradient(90deg, var(--primary), var(--gold));
  color: #fff;
  padding: 80px 0 50px; /* kasih ruang vertikal besar */
  margin-top: 70px; /* jarak dari navbar/header */
  text-align: center;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw); /* supaya full width */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-title h1 {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Responsif judul */
@media (max-width: 768px) {
  .page-title {
    padding: 60px 0 40px;
    margin-top: 60px;
  }
  .page-title h1 {
    font-size: 1.8rem;
  }
}

/* Responsif */
@media (max-width: 768px) {
  .page-title {
    padding: 60px 0 40px;
  }
  .page-title h1 {
    font-size: 1.9rem;
  }
}

