/* Palet Warna */
:root {
  --color-primary: #4b0b0b;
  /* merah tua */
  --color-secondary: #db5f5f;
  /* merah muda */
  --color-accent: #f41919;
  /* merah terang */
  --color-light: #ffffff;
  --color-gray: #888888;
  --color-dark: #000000;
}

/* Font Setting */
h1,
h2,
h3,
.navbar,
.title {
  font-family: 'Zen Dots', sans-serif;
}

p,
li {
  font-family: 'Poppins', sans-serif;
}

/* Umum */
html{
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-light);
  color: var(--color-dark);
  
}

.section {
  max-width: 800px;
  margin: 2rem auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.gradien {
  background: linear-gradient(to bottom right, #ffffff 1.1rem, #cb8787);
  min-height: 100vh;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Text Component */
h1 {
  font-family: 'Zen dots', sans-serif;
  /* jenis font */
  font-weight: 700;
  /* tebal */
  font-size: 40px;
  /* atur besar */
  color: #000000;
  /* warna teks */
  text-shadow: 5px 5px #ffcccc;
  /* bayangan mirip di gambar */
  /* text-shadow: offset-x offset-y blur color */
  line-height: 1.2;
}



/* ===== Header (bersih & final) ===== */
.navbar {
  display: flex;
  position: fixed;
  width: 100%;
  font-family: 'Zen Dots', sans-serif;
  /* jenis font */
  justify-content: space-between;
  align-items: center;
  background-color: #4b0b0b;
  padding: 12px 30px;
  /* jika mau border biru atas, aktifkan baris berikut */
  /* border-top: 3px solid #1E90FF; */
  z-index: 1000;
}

/* Logo + teks di pojok kiri atas */
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Aturan PENTING: hanya satu aturan .logo img — gunakan max-height */
.navbar .logo img {
  display: block;
  max-height: 32px;
  /* kecilkan ukuran logo di desktop (ubah sesuai selera) */
  height: auto;
  width: auto;
  margin-right: 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #fff;
  /* semua teks di dalam logo jadi putih */
}


/* Nav links */
.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #888;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-links a:hover{
  color: #fff;
}

/* menu icon (mobile) */
.menu-icon {
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  display: none;
  /* ditampilkan di mobile melalui media query */
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  .navbar .logo img {
    max-height: 40px;
  }

  /* lebih kecil di HP */
}


/* Profil Ketua Jurusan */
.profil-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    url("../asset/icon/bg-if1.png") right/350px auto no-repeat,
    url("../asset/icon/bg-redshdow.png") left/200px auto no-repeat;
  opacity: 0.2;
  z-index: 1;
}

.profil-container {
  display: flex;
  align-items: flex-start;
  position: relative;
  height: 100vh;
  gap: 30px;
  padding: 30px 20px;
  padding-top: 55px;
  z-index: 2;
}

.foto img {
  width: 350px;
  border-radius: 4px;
}

.jabatan {
  color: #8b0000;
  font-size: 1rem;
  margin-top: 10px;
  font-weight: bold;
}

.pendidikan {
  margin: 20px;
}

.pendidikan h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.pendidikan ul {
  list-style: none;
}

.pendidikan li {
  font-size: 1rem;
  margin-bottom: 5px;
  padding-left: 15px;
  position: relative;
}

.pendidikan li::before {
  content: "-";
  position: absolute;
  left: 0;
}

.pembina {
  font-size: 14px;
  margin-bottom: 15px;
}

.konten {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 30px;
  align-items: start;
}

.kolom p {
  font-size: 13px;
  margin: 4px 0;
}

.hashtags p {
  color: #fff;
}

.logo img {
  height: 120px;
  /* sesuaikan dengan tinggi logo */
  width: auto;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #000000;
  text-align: left;
}

.hero-content h1 {
  font-size: 70px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  text-shadow: 5px 5px --color-secondary;
}

.hero-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #000;
  text-shadow: 2px 2px #ffffff;
}

/* Tombol kanan bawah */
.hero .btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 8px 16px;
  background-color: white;
  color: #4e1111;
  font-family: 'Zen dots', sans-serif; /* jenis font */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  z-index: 2;
}

.btn:hover{
  background-color: var(--color-gray);
}

.materi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../asset/icon/bg-monitorruby.png") left/contain no-repeat;
  opacity: 1;
  z-index: 1;
}

.materi {
  position: relative;
  z-index: 2;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../asset/icon/bg-if2.png") left/contain no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}

.header h1 {
  text-align: center;
  font-family: 'Zen dots', sans-serif;
  font-size: 36px;
  color: #b4001a;
  text-shadow: 2px 2px 0px #fff;
  margin-bottom: 40px;
}

.content-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20vh ;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;

}

.character {
  max-height: 400px;
  z-index: 1;
  position: relative;
}

.box {
  background-color: #cc0000;
  font-family: 'Poppins', sans-serif;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  max-width: 280px;
  font-weight: bold;
  position: absolute;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.top-left {
  top: 0;
  left: 0px;
  margin-left: 10%;
}

.middle-left {
  top: 100px;
  left: 0px;
  margin-left: 10%;
}

.top-right {
  top: 0;
  right: 0px;
  margin-right: 10%;
  text-align: right;
}

.middle-right {
  top: 100px;
  right: 0px;
  margin-right: 10%;
  text-align: right;
}



.kelompok-ruby {
  font-family: 'Zen dots', sans-serif;
  background-color: #4b0b0b;
  /* merah tua seperti gambar */
  color: #ffffff;
  padding: 20px;
}

.kelompok-ruby h1 {
  font-size: 24px;
  margin-bottom: 5px;
  color: var(--color-light);
  text-shadow: none;
}

.kelompok-ruby .logo {
  display: flex;
  gap: 2px;
  align-items: center;
}

/* ===== Materi Informatika Section ===== */
.title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.outlined {
  color: #2b0000;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    2px 2px 1px #000;
}

.list {
  margin-top: 1rem;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.list li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

/* Optional decorative background logo mimicking the watermark image */
.logo-bg {
  position: absolute;
  top: 30%;
  right: 5%;
  width: 250px;
  height: 250px;
  background: url('https://upload.wikimedia.org/wikipedia/id/0/05/Logo_UIN_Sunan_Gunung_Djati.png') no-repeat center;
  background-size: contain;
  opacity: 0.1;
  z-index: 1;
  transform: rotate(-10deg);
}