/* 
    Stylesheet Portofolio Kreatif Husein Danuar
    Desain Modern dengan Fokus Visual
*/

/* Variabel Warna dengan Gradien */
:root {
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --text-primary: #e0e0e0;
  --text-secondary: #b0b0b0;
  --accent-primary: #bb86fc;
  --accent-secondary: #03dac6;
  --gradient-primary: linear-gradient(135deg, #bb86fc 0%, #03dac6 100%);
}

/* Reset dan Basis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Header  */
header {
  position: relative;
  text-align: center;
  padding: 50px 0;
  background-color: var(--bg-secondary);
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-photo-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.profile-photo-border {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.profile-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--bg-primary);
}

.profile-info {
  text-align: center;
}

h1 {
  color: var(--accent-primary);
  font-size: 2.5em;
  margin-top: 20px;
}

.tagline {
  color: var(--accent-secondary);
  font-size: 1.2em;
}

/* Navigasi */
.page-nav {
  background-color: var(--bg-secondary);
  border-radius: 10px;
  margin-bottom: 30px;
  overflow: hidden;
}

.page-nav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
}

.page-nav ul li {
  flex-grow: 1;
  text-align: center;
}

.page-nav ul li a {
  display: block;
  padding: 15px;
  color: var(--text-primary);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-nav ul li a:hover {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
}

/* Section Umum */
.section {
  background-color: var(--bg-secondary);
  border-radius: 15px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.section-header {
  background: var(--gradient-primary);
  padding: 15px 20px;
}

.section-header h2 {
  color: var(--bg-primary);
  margin: 0;
}

.section-content {
  padding: 20px;
}

/*  Pengalaman dan Pendidikan */
.experience-item,
.education-item,
.organization-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.experience-icon,
.education-icon,
.organization-icon {
  font-size: 2em;
  margin-right: 20px;
  opacity: 0.7;
}

.experience-details h3,
.education-details h3,
.organization-details h3 {
  color: var(--accent-secondary);
  margin-bottom: 5px;
}

/* Keterampilan */
.skills-list {
  display: flex;
  flex-direction: column;
}

.skill-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.skill-icon {
  margin-right: 15px;
  font-size: 1.5em;
  width: 40px;
  text-align: center;
}

.skill-name {
  flex-grow: 1;
}

.skill-level {
  width: 200px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.skill-meter {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 5px;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 0;
  background-color: var(--bg-secondary);
  border-radius: 15px;
}

.social-links {
  margin-bottom: 20px;
}

.social-icon {
  display: inline-block;
  padding: 10px 20px;
  background: var(--gradient-primary);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 25px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9em;
}

/* Responsivitas */
@media (max-width: 768px) {
  .profile-photo-border {
    width: 250px;
    height: 250px;
  }

  .profile-photo {
    width: 230px;
    height: 230px;
  }

  .page-nav ul {
    flex-direction: column;
  }

  .page-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .experience-item,
  .education-item,
  .organization-item {
    flex-direction: column;
    text-align: center;
  }

  .experience-icon,
  .education-icon,
  .organization-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
