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

/* Variabel Warna Utama */
:root {
  --primary: #1f7b6e;
  --primary-dark: #146454;
  --primary-soft: #e0f2ef;
}

/* Tema Terang (Default) */
[data-theme="light"] {
  --bg-body: #fefefe;
  --bg-card: white;
  --bg-nav: rgba(255, 255, 255, 0.96);
  --gray-light: #f8fafc;
  --gray-border: #e2e8f0;
  --text-dark: #1e2a2f;
  --text-muted: #4a5b63;
  --bg-badge: #f0f9f4;
  --input-bg: #f1f5f9;
  --input-text: #1e2a2f;
}

/* Tema Gelap */
[data-theme="dark"] {
  --bg-body: #12181b;
  --bg-card: #1e2528;
  --bg-nav: rgba(18, 24, 27, 0.96);
  --gray-light: #1a2023;
  --gray-border: #2d373c;
  --text-dark: #f1f5f9;
  --text-muted: #94a3b8;
  --bg-badge: #192c29;
  --input-bg: #2d373c;
  --input-text: #ffffff;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-body);  
  color: var(--text-dark);
  scroll-behavior: smooth;
  line-height: 1.5;
  transition: background-color 0.3s, color 0.3s;
}

/* --- BANNER PENANDA ATAS --- */
.top-notice-banner {
  background-color: #ff9800; /* Warna oranye peringatan kustom */
  color: #12181b;
  text-align: center;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  z-index: 101;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAVIGATION --- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(4px);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--gray-border);
  transition: background 0.3s, border-bottom 0.3s;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.3px;
  color: var(--primary);
}

.nav-right-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-dark);
  transition: 0.2s;
}

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

/* Kontrol Fitur Tambahan (Bahasa & Tema) */
.controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-toggle, .lang-select {
  background: var(--bg-card);
  border: 1px solid var(--gray-border);
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.btn-toggle:hover, .lang-select:hover {
  border-color: var(--primary);
}

/* --- SECTION GENERAL --- */
section {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-border);
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 48px;
  letter-spacing: -0.3px;
  position: relative;
  display: inline-block;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 4px;
}

/* --- HERO --- */
.hero {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1.2;
}

.hero-left h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-left .tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  border-left: 4px solid var(--primary);
  padding-left: 16px;
}

.hero-left p {
  margin: 24px 0;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.btn-outline:hover {
  background: var(--primary-soft);
}

.hero-right {
  flex: 0.9;
  display: flex;
  justify-content: center;
}

.profile-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15);
  border: 4px solid var(--bg-card);
  transition: transform 0.2s;
}

/* --- SKILLS --- */
.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
}

.skill-category {
  flex: 1;
  background: var(--bg-card);
  border-radius: 28px;
  padding: 28px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.02), 0 2px 6px rgba(0,0,0,0.05);
  border: 1px solid var(--gray-border);
  transition: background 0.3s, border 0.3s;
}

.skill-category h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary);
}

.tools-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.icon-card {
  background: var(--bg-card);
  color: var(--text-dark);
  padding: 12px 18px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  border: 1px solid var(--gray-border);
  font-weight: 500;
}

.icon-card i {
  font-size: 28px;
}

.fa-excel { color: #1F724C; }
.fa-figma { color: #a259ff; }
.fa-vuejs { color: #42b883; }
.fa-laravel { color: #ff2d20; }
.fa-js { color: #f7df1e; }
.fa-database { color: #00618a; }

/* --- PROJECTS --- */
.project-item {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 70px;
  align-items: center;
}

.project-img {
  flex: 1;
  background: var(--gray-light);
  border-radius: 24px;
  padding: 12px;
  border: 1px solid var(--gray-border);
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.project-img img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.project-desc {
  flex: 1;
}

.project-desc h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.project-method {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

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

/* --- EXPERIENCE --- */
.org-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.org-card {
  background: var(--bg-card);
  flex: 1;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--gray-border);
  transition: background 0.3s, border 0.3s;
}

.org-card h3 i {
  color: var(--primary);
  margin-right: 12px;
}

.cert-badge {
  display: inline-flex;
  background: var(--bg-badge);
  color: var(--text-dark);
  border-radius: 50px;
  padding: 6px 16px;
  margin: 8px 8px 0 0;
  font-size: 0.8rem;
  font-weight: 500;
}

/* --- CONTACT --- */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  background: var(--primary);
  border-radius: 32px;
  padding: 48px 40px;
  color: white;
}

.contact-left {
  flex: 1;
}

.contact-left h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-detail {
  margin: 20px 0;
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-links a {
  color: white;
  font-size: 1.8rem;
  margin-right: 20px;
  transition: 0.2s;
}

.social-links a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.contact-right {
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

input, textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 28px;
  border: none;
  font-family: 'Inter', sans-serif;
  outline: none;
  background-color: white;
  color: #1e2a2f;
}

textarea {
  border-radius: 24px;
  resize: vertical;
}

.btn-submit {
  background-color: white;
  color: var(--primary);
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.btn-submit:hover {
  background-color: #f0f0f0;
}

footer {
  background: #0f2c28;
  color: #bcd0cc;
  text-align: center;
  padding: 28px;
  font-size: 0.85rem;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 992px) {
  .nav-container {
    flex-direction: column;
    gap: 16px;
    padding: 14px;
  }
  
  .nav-right-wrapper {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .nav-links {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .controls {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero { 
    flex-direction: column-reverse; 
    text-align: center; 
  }
  
  .hero-left .tagline { 
    border-left: none; 
    padding-left: 0;
  }
  
  .btn-group { 
    justify-content: center; 
  }
  
  .project-item { 
    flex-direction: column; 
  }
  
  .project-item.reverse { 
    flex-direction: column; 
  }
  
  .reverse { 
    flex-direction: column; 
  }

  .contact-grid { 
    padding: 28px; 
  }
  
  h2 { 
    font-size: 1.8rem; 
  }
  
  .nav-links {
    gap: 12px 16px;
    font-size: 0.95rem;
  }
}