/* Reset & Dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}

/* Header */
header {
  background-color: #003560;
  color: rgb(253, 251, 251);
  padding: 1.5rem 0;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 160px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

header h1 {
  font-size: 2.2rem;
  margin: 0;
}

header h1 span {
  color: #ffd700;
}

header p {
  margin-top: 0.3rem;
  font-style: italic;
  font-size: 0.95rem;
}

/* Navigasi */
nav {
  background-color: #004680;
  padding: 0.8rem 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffd700;
}

/* Main Sections */
main {
  margin: 2rem 0;
}

section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

section h2 {
  margin-bottom: 1rem;
  color: #0d47a1;
  font-size: 1.8rem;
}

/* Profil */
.profil-content {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.foto-profil {
  width: 150px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #1565c0;
}

.profil-teks {
  flex: 1;
}

/* Portofolio Grid */
.portofolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.porto-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.porto-item p {
  font-size: 0.95rem;
  color: #444;
}

/* Link */
a {
  color: #1565c0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #1175bc;
  color: white;
  text-align: center;
  padding: 1.2rem 0;
  margin-top: 2rem;
}

/* Responsif */
@media (max-width: 600px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .profil-content {
    flex-direction: column;
    text-align: center;
  }

  .foto-profil {
    margin: 0 auto;
  }

  nav ul {
    flex-direction: column;
    gap: 0.8rem;
  }

  header h1 {
    font-size: 1.8rem;
  }
}

/* Dokumen Grid */
.dokumen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.dokumen-item {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.dokumen-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dokumen-item h3 {
  color: #0d47a1;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.dokumen-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dokumen-item p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

/* Catatan Penting */
.dokumen-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background: #fff8e1;
  border-left: 4px solid #ffd700;
  border-radius: 6px;
  font-size: 0.95rem;
}

.dokumen-note p {
  margin: 0;
  color: #555;
}

/* Floating WhatsApp Button dengan Teks */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-icon svg {
  width: 24px;
  height: 24px;
}

.whatsapp-text {
  white-space: nowrap;
  font-family: 'Segoe UI', sans-serif;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Responsif: Sembunyikan teks di layar sangat kecil */
@media (max-width: 480px) {
  .whatsapp-text {
    display: none;
  }
  .whatsapp-float {
    padding: 14px;
    width: 60px;
    height: 60px;
    justify-content: center;
  }
}
/* Gaya Artikel */
.artikel {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.artikel h1 {
  color: #0d47a1;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.artikel-meta {
  color: #666;
  font-style: italic;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.artikel h2 {
  color: #1565c0;
  margin: 1.5rem 0 1rem 0;
  font-size: 1.4rem;
}

.artikel p {
  margin-bottom: 1rem;
}

.artikel ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.catatan-penutup {
  background: #e8f5e9;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  border-left: 4px solid #4caf50;
}

.btn-kembali {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #1565c0;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.btn-kembali:hover {
  background: #0d47a1;
}