:root {
  --bg-primary: #0a192f;
  --bg-secondary: #112240;

  --text-primary: #ffffff;
  --text-secondary: #8892b0;

  --accent-primary: #64ffda;
  --accent-secondary: #00bcd4;

  --border-primary: #233554;
  --border-secondary: #2a405d;

  --shadow-primary: rgba(100, 255, 218, 0.2);
  --shadow-secondary: rgba(0, 188, 212, 0.3);

  --section-bg: #00bcd4;
  --section-text: #000000;
}

/* Light mode */
body.light-mode {
  --bg-primary: #ffffff;
  --bg-secondary: #e0e0e0;

  --text-primary: #0a192f;
  --text-secondary: #333333;

  --accent-primary: #00bcd4;
  --accent-secondary: #64ffda;

  --border-primary: #cccccc;
  --border-secondary: #bbbbbb;

  --shadow-primary: rgba(0, 188, 212, 0.2);
  --shadow-secondary: rgba(100, 255, 218, 0.3);

  --section-bg: #e0e0e0;
  --section-text: #0a192f;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  text-align: center;
}

/* Navbar */
.wrapper-content {
  background-color: var(--bg-secondary);
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 4px 8px var(--shadow-primary);
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: bold;
  padding: 10px;
  transition: 0.3s;
  outline: none;
}

.nav-links li a:hover {
  color: var(--accent-primary);
}


.nav-links li a:focus,
.nav-links li a:active {
  background-color: transparent;
  outline: none;
  box-shadow: none;
}


a {
  -webkit-tap-highlight-color: transparent;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: bold;
  font-size: 18px;
}

.nav-center {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-right {
  display: flex;
  align-items: center;
}

/* Section Container */
.container {
  padding: 100px 20px;
  max-width: 800px;
  margin: auto;
}

/* Foto Profil */
.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 15px var(--shadow-secondary);
}

.profile-about {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  margin-top: -30px;
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 15px var(--shadow-secondary);
}

/* Highlight */
.highlight {
  color: var(--accent-primary);
}

.highlight-2 {
  color: var(--accent-secondary);
}

/* Skill List */
.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 20px;
}

.skill-list img {
  width: 50px;
  transform: rotate(-10deg);
  transition: transform 0.3s ease;
}

.skill-list img:hover {
  transform: rotate(0deg) scale(1.1);
}

/* Tombol */
button {
  display: block;
  margin: 10px auto;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
  background-color: var(--accent-secondary);
  color: var(--text-primary);
  border: 2px solid var(--border-primary);
  border-radius: 5px;
  box-shadow: 2px 2px 5px var(--shadow-secondary);
  transition: 0.3s;
  -webkit-tap-highlight-color: transparent;
}

button:hover {
  background-color: var(--accent-primary);
  box-shadow: 4px 4px 10px var(--shadow-primary);
}

/* Social Links */
.social-links a {
  display: inline-block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 20px;
  margin: 10px;
}

.social-links a:hover {
  color: var(--accent-primary);
}

/* Tentangku & Skills */
#about,
#skills {
  background-color: var(--section-bg);
  color: var(--section-text);
  padding: 15px;
  border-radius: 12px;
  max-width: 60%;
  margin: 15px auto;
  box-shadow: 0 0 10px var(--shadow-secondary);
  text-align: center;
  border: 2px solid var(--border-primary);
}

#about .container,
#skills .container {
  max-width: 400px;
  margin: auto;
}

/* Word animasi */
#word {
  text-align: center;
  padding-block: 20px;
  font-weight: bold;
  font-style: italic;
  font-size: 20px;
  opacity: 0;
  margin-top: 10px;
  font-family: sans-serif;
  transition: opacity 0.5s ease-in-out;
}

/* Tombol toggle mode */
.mode-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 5px 10px;
  transition: color 0.3s;
}

.mode-toggle:hover {
  color: #00ffff;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  background-color: var(--section-bg);
  border-radius: 12px;
  padding: 20px;
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 10px var(--shadow-secondary);
  border: 2px solid var(--border-primary);
}

.gallery .item {
  width: 220px;
  text-align: center;
  background-color: var(white);
  border-radius: 12px;
  padding: 15px;
  transition: transform 0.3s ease;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: translateY(-5px);
}

.gallery p {
  background-color: white;
  display: inline-block;
  padding: 6px 12px;
  font-weight: 500;
  color: var(--section-text);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 20px;
  border-radius: 50%;
  background-color: var(--section-bg);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px var(--shadow-secondary);
  cursor: pointer;
  border: none;
}


.quote-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 50px;
  margin-top: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

.quote-section h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
}

.quote-section span {
  color: var(--accent-secondary);
}