/* ============================================
   ROOT VARIABLES - Desain Natural & Profesional
   ============================================ */
:root {
  /* Primary - Lebih hangat dan natural */
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #eef2ff;
  --primary-glow: rgba(79, 70, 229, 0.15);

  /* Secondary - Lebih soft */
  --secondary: #0d9488;
  --secondary-light: #f0fdfa;

  /* Accent - Lebih subtle */
  --accent: #f59e0b;
  --accent-light: #fffbeb;

  /* Background - Lebih natural */
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-elevated: #f1f5f9;

  /* Text - Lebih readable */
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  /* Border - Lebih soft */
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Radius - Lebih natural */
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadow - Lebih subtle */
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.05), 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 0 1px var(--primary), 0 10px 25px rgba(79, 70, 229, 0.08);

  /* Font - Lebih readable */
  --font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transisi - Lebih smooth */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Ukuran */
  --max-width: 1200px;
  --nav-height: 64px;
}

/* Dark Mode - Lebih natural */
[data-theme="dark"] {
  --bg: #0c0e13;
  --bg-card: #181b24;
  --bg-card-hover: #1e222d;
  --bg-elevated: #1a1d26;

  --text: #f1f3f7;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --border: #2a2d3a;
  --border-light: #1f2230;

  --primary-light: #1e1b4b;
  --secondary-light: #0f2e2a;
  --accent-light: #2d2410;

  --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 0 1px var(--primary), 0 10px 25px rgba(79, 70, 229, 0.1);
}

/* ============================================
   RESET & BASE - Bersih & Natural
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition:
    background var(--transition-slow),
    color var(--transition-slow);
  font-size: 16px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Selection */
::selection {
  background: var(--primary);
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ============================================
   TYPOGRAPHY - Readable & Natural
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}
.text-muted {
  color: var(--text-muted);
}
.text-primary {
  color: var(--primary);
}
.text-sm {
  font-size: 0.875rem;
}
.text-xs {
  font-size: 0.75rem;
}

.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mt-5 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 1rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mb-5 {
  margin-bottom: 2rem;
}

.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.gap-4 {
  gap: 1.5rem;
}

/* ============================================
   SECTION HEADER - Simple & Clean
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.025em;
}

.section-title .highlight {
  color: var(--primary);
}

.section-desc {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 1vw, 1rem);
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================
   BUTTONS - Clean & Professional
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: #0f766e;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--border);
  border-top-color: var(--primary);
  animation: spin 0.7s linear infinite;
  margin-bottom: 14px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.loading-text p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================
   NAVIGATION - Clean & Minimal
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background: transparent;
  transition: all var(--transition-slow);
}

.navbar.scrolled {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  box-shadow: var(--shadow);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo .logo-text span {
  color: var(--primary);
}

.logo-img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-card-hover);
}

.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.theme-toggle-btn,
.menu-toggle {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-btn:hover,
.menu-toggle:hover {
  background: var(--bg-card-hover);
  color: var(--text);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  width: 36px;
  height: 36px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ============================================
   HERO - Clean & Professional
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--secondary);
  background: var(--secondary-light);
  padding: 3px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.hero-role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-bottom: 16px;
}

.role-tag {
  font-size: clamp(0.75rem, 0.85vw, 0.85rem);
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 12px;
  border-radius: 16px;
}

.role-separator {
  color: var(--text-dim);
}

.hero-desc {
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.hero-stats-mini {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-stat-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-stat-mini i {
  color: var(--primary);
  font-size: 0.85rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.hero-social a:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Profile Card */
.hero-profile {
  display: flex;
  justify-content: center;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  max-width: 360px;
  width: 100%;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.profile-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.profile-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-elevated);
}

.profile-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.profile-image-wrapper:hover img {
  transform: scale(1.02);
}

.profile-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-card);
}

.profile-fallback.show {
  display: flex;
}

.profile-badges {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.profile-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 2px 10px;
  border-radius: 14px;
  font-size: 0.65rem;
  font-weight: 500;
  color: #fff;
}

.profile-badge i {
  font-size: 0.6rem;
  color: var(--accent);
}

.profile-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

/* ============================================
   SKILLS - Simple Grid
   ============================================ */
.skills-section {
  padding: 20px 0 64px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}

.skill-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.skill-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.skill-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.skill-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ============================================
   GALLERY - Clean Grid
   ============================================ */
.gallery-section {
  padding: 80px 0 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.gallery-item-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-elevated);
}

.gallery-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item-image img {
  transform: scale(1.03);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  color: #fff;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 6px 18px;
  border: 1.5px solid #fff;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.gallery-item-overlay span:hover {
  background: #fff;
  color: var(--bg);
}

.gallery-item-info {
  padding: 14px 18px 18px;
}

.gallery-item-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.gallery-item-info p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.gallery-tag {
  padding: 1px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  font-size: 0.6rem;
  font-weight: 500;
}

.gallery-tag.gold {
  background: var(--accent-light);
  color: #92400e;
}

.gallery-tag.green {
  background: var(--secondary-light);
  color: var(--secondary);
}

.gallery-tag.pink {
  background: #fdf2f8;
  color: #be185d;
}

/* ============================================
   CAROUSEL - Clean & Smooth
   ============================================ */
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-top: 28px;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 4px;
}

.carousel-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.carousel-item-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-elevated);
}

.carousel-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.carousel-item:hover .carousel-item-image img {
  transform: scale(1.04);
}

.carousel-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0;
  transition: all var(--transition);
}

.carousel-item:hover .carousel-item-overlay {
  opacity: 1;
}

.carousel-item-overlay-content h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1px;
}

.carousel-item-overlay-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
}

.carousel-item-info {
  padding: 12px 16px 16px;
}

.carousel-item-info h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.carousel-item-info p {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.carousel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.carousel-tag {
  padding: 1px 8px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  font-size: 0.55rem;
  font-weight: 500;
}

.carousel-tag.gold {
  background: var(--accent-light);
  color: #92400e;
}

.carousel-tag.green {
  background: var(--secondary-light);
  color: var(--secondary);
}

.carousel-tag.pink {
  background: #fdf2f8;
  color: #be185d;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.carousel-dots {
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 3px;
}

/* ============================================
   COPYWRITING PAGE
   ============================================ */
.copywriting-section {
  padding: 100px 0 60px;
}

.copywriting-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  transition: all var(--transition);
}

.copywriting-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.copywriting-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.copywriting-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.copywriting-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.copywriting-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
}

.feature-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-item i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.feature-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================
   CV PAGE
   ============================================ */
.cv-section {
  padding: 100px 0 60px;
}

.cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 640px;
  margin: 0 auto 40px;
}

.cv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.cv-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.cv-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.cv-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cv-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.cv-contact {
  text-align: center;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 520px;
  margin: 0 auto;
}

.cv-contact h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cv-contact p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.9rem;
}

/* ============================================
   SOCIAL MEDIA STATS
   ============================================ */
.social-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  max-width: 520px;
  margin: 40px auto 0;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
}

.stat-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-item i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.stat-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 900;
}

.float-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}

.float-btn.whatsapp {
  background: #25d366;
  color: #fff;
}

.float-btn.whatsapp:hover {
  transform: scale(1.05);
}

.float-btn.theme {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.float-btn.theme:hover {
  background: var(--bg-card-hover);
}

.float-btn.top {
  background: var(--primary);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.float-btn.top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-btn.top:hover {
  background: var(--primary-dark);
}

/* ============================================
   TOAST
   ============================================ */
.toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease-out;
  border-left: 3px solid var(--primary);
}

.toast.hide {
  animation: slideOut 0.3s ease-out forwards;
}

.toast-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 0.8rem;
}

.toast-message {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  font-size: 0.8rem;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ============================================
   FOOTER - Clean & Simple
   ============================================ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 32px 0 20px;
  margin-top: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.footer-brand h3 {
  font-size: 1rem;
  font-weight: 600;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.footer-social {
  display: flex;
  gap: 6px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: 1px solid var(--border);
  font-size: 0.8rem;
}

.footer-social a:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}

.modal-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  overflow-y: auto;
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
  padding: 4px;
  margin: -4px -4px 0 0;
}

.modal-close:hover {
  color: var(--text);
  transform: rotate(90deg);
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-image-wrapper {
  width: 100%;
  max-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.modal-image {
  width: 100%;
  height: 100%;
  max-height: 50vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 2px;
}

.modal-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-meta-item i {
  color: var(--primary);
  width: 14px;
}

/* ============================================
   RESPONSIVE - Mobile First Approach
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-social {
    justify-content: center;
  }

  .hero-stats-mini {
    justify-content: center;
  }

  .hero-profile {
    order: -1;
  }

  .profile-card {
    max-width: 320px;
    margin: 0 auto;
  }

  .carousel-slide {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 72px 20px 24px;
    border-left: 1px solid var(--border);
    transition: right var(--transition-slow);
    gap: 2px;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 0.9rem;
    text-align: left;
    border-radius: var(--radius-sm);
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero {
    padding: calc(var(--nav-height) + 20px) 0 32px;
    min-height: auto;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .carousel-slide {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .copywriting-card {
    padding: 24px 16px;
  }

  .copywriting-features {
    grid-template-columns: 1fr;
  }

  .cv-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .floating-buttons {
    bottom: 16px;
    right: 16px;
  }

  .float-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  .toast-container {
    top: 68px;
    right: 12px;
    left: 12px;
    max-width: 100%;
  }

  .modal-content {
    padding: 16px;
    margin: 8px;
    max-width: 98vw;
    max-height: 95vh;
  }

  .modal-image-wrapper {
    max-height: 35vh;
  }

  .modal-image {
    max-height: 35vh;
  }

  .modal-title {
    font-size: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-role {
    justify-content: center;
  }

  .role-tag {
    font-size: 0.65rem;
    padding: 1px 10px;
  }

  .profile-card {
    padding: 14px;
    max-width: 280px;
  }

  .profile-stats {
    flex-wrap: wrap;
    gap: 4px;
  }

  .stat-divider {
    display: none;
  }

  .btn {
    padding: 8px 18px;
    font-size: 0.8rem;
    width: 100%;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .social-stats {
    grid-template-columns: 1fr;
  }

  .copywriting-features {
    grid-template-columns: 1fr;
  }

  .carousel-controls {
    gap: 8px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
  }
}

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #eef2ff;
  --primary-glow: rgba(79, 70, 229, 0.15);

  --secondary: #0d9488;
  --secondary-light: #f0fdfa;

  --accent: #f59e0b;
  --accent-light: #fffbeb;

  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-elevated: #f1f5f9;

  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 0 1px var(--primary), 0 10px 25px rgba(79, 70, 229, 0.08);

  --font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1200px;
  --nav-height: 64px;
}

[data-theme="dark"] {
  --bg: #0c0e13;
  --bg-card: #181b24;
  --bg-card-hover: #1e222d;
  --bg-elevated: #1a1d26;

  --text: #f1f3f7;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --border: #2a2d3a;
  --border-light: #1f2230;

  --primary-light: #1e1b4b;
  --secondary-light: #0f2e2a;
  --accent-light: #2d2410;

  --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 0 1px var(--primary), 0 10px 25px rgba(79, 70, 229, 0.1);
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition:
    background var(--transition-slow),
    color var(--transition-slow);
  font-size: 16px;
  padding-top: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background: transparent;
  transition: all var(--transition-slow);
}

.navbar.scrolled {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  box-shadow: var(--shadow);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo .logo-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-card-hover);
}

.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.theme-toggle-btn,
.menu-toggle {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-btn:hover,
.menu-toggle:hover {
  background: var(--bg-card-hover);
  color: var(--text);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  width: 36px;
  height: 36px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 16px;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-title .highlight {
  color: var(--primary);
}

.section-desc {
  color: var(--text-muted);
  font-size: clamp(0.85rem, 1vw, 1rem);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   GALLERY SECTION - PENTING: PADDING ATAS UNTUK MOBILE
   ============================================ */
.gallery-section {
  padding: 100px 0 60px;
}

/* ============================================
   GALLERY GRID
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 4px;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.gallery-item-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-elevated);
  flex-shrink: 0;
}

.gallery-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item-image img {
  transform: scale(1.04);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 24px;
  border: 1.5px solid #fff;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  background: rgba(0, 0, 0, 0.2);
}

.gallery-item-overlay span:hover {
  background: #fff;
  color: var(--bg);
}

.gallery-item-info {
  padding: 16px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-item-info h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
}

.gallery-item-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 8px;
  flex: 1;
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
}

.gallery-tag {
  padding: 2px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  font-size: 0.65rem;
  font-weight: 500;
}

.gallery-tag.gold {
  background: var(--accent-light);
  color: #92400e;
}

.gallery-tag.green {
  background: var(--secondary-light);
  color: var(--secondary);
}

.gallery-tag.pink {
  background: #fdf2f8;
  color: #be185d;
}

/* ============================================
   COPYWRITING SECTION
   ============================================ */
.copywriting-section {
  padding: 100px 0 60px;
}

.copywriting-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  transition: all var(--transition);
}

.copywriting-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.copywriting-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.copywriting-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.copywriting-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.copywriting-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
}

.feature-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-item i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.feature-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================
   CV SECTION
   ============================================ */
.cv-section {
  padding: 100px 0 60px;
}

.cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 640px;
  margin: 0 auto 40px;
}

.cv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.cv-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.cv-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.cv-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cv-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.cv-contact {
  text-align: center;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 520px;
  margin: 0 auto;
}

.cv-contact h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cv-contact p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.9rem;
}

/* ============================================
   SOCIAL MEDIA STATS
   ============================================ */
.social-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  max-width: 520px;
  margin: 40px auto 0;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
}

.stat-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-item i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.stat-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 28px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: #0f766e;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  color: var(--primary);
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 32px;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 900;
}

.float-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}

.float-btn.whatsapp {
  background: #25d366;
  color: #fff;
}

.float-btn.whatsapp:hover {
  transform: scale(1.05);
}

.float-btn.theme {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.float-btn.theme:hover {
  background: var(--bg-card-hover);
}

.float-btn.top {
  background: var(--primary);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.float-btn.top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-btn.top:hover {
  background: var(--primary-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 32px 0 20px;
  margin-top: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.footer-brand h3 {
  font-size: 1rem;
  font-weight: 600;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.footer-social {
  display: flex;
  gap: 6px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: 1px solid var(--border);
  font-size: 0.8rem;
}

.footer-social a:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   TOAST
   ============================================ */
.toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease-out;
  border-left: 3px solid var(--primary);
}

.toast.hide {
  animation: slideOut 0.3s ease-out forwards;
}

.toast-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 0.8rem;
}

.toast-message {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  font-size: 0.8rem;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ============================================
   RESPONSIVE - PRIORITAS MOBILE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }

  .gallery-section,
  .copywriting-section,
  .cv-section {
    padding: 90px 0 40px;
  }
}

/* Mobile - PENTING: PERBAIKAN PADDING ATAS */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* ===== PERBAIKAN UTAMA: PADDING ATAS UNTUK SEMUA SECTION ===== */
  .gallery-section,
  .copywriting-section,
  .cv-section {
    padding: 80px 0 30px;
  }

  /* ===== NAVIGASI MOBILE ===== */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 72px 20px 24px;
    border-left: 1px solid var(--border);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2px;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 0.9rem;
    text-align: left;
    border-radius: var(--radius-sm);
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* ===== GRID ===== */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }

  /* ===== SECTION HEADER ===== */
  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .section-desc {
    font-size: 0.85rem;
    padding: 0 8px;
  }

  /* ===== CARD ===== */
  .gallery-item {
    min-height: 280px;
  }

  .gallery-item-info {
    padding: 14px 16px 16px;
  }

  .gallery-item-info h3 {
    font-size: 0.9rem;
  }

  .gallery-item-info p {
    font-size: 0.8rem;
  }

  /* ===== COPYWRITING ===== */
  .copywriting-card {
    padding: 24px 16px;
    margin-bottom: 28px;
  }

  .copywriting-card h3 {
    font-size: 1.1rem;
  }

  .copywriting-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-item {
    padding: 16px;
  }

  /* ===== CV ===== */
  .cv-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
  }

  .cv-card {
    padding: 24px 16px;
  }

  .cv-contact {
    padding: 20px 16px;
  }

  /* ===== SOCIAL MEDIA ===== */
  .social-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 14px 10px;
  }

  .stat-item h3 {
    font-size: 1.2rem;
  }

  /* ===== FOOTER ===== */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  /* ===== FLOATING BUTTONS ===== */
  .floating-buttons {
    bottom: 16px;
    right: 16px;
    gap: 6px;
  }

  .float-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  /* ===== TOAST ===== */
  .toast-container {
    top: 68px;
    right: 12px;
    left: 12px;
    max-width: 100%;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  /* ===== PERBAIKAN UTAMA: PADDING ATAS UNTUK MOBILE KECIL ===== */
  .gallery-section,
  .copywriting-section,
  .cv-section {
    padding: 72px 0 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .section-desc {
    font-size: 0.8rem;
  }

  .gallery-item {
    min-height: auto;
  }

  .gallery-item-info {
    padding: 12px 14px 14px;
  }

  .gallery-item-info h3 {
    font-size: 0.85rem;
  }

  .gallery-item-info p {
    font-size: 0.78rem;
  }

  .gallery-tag {
    font-size: 0.6rem;
    padding: 1px 10px;
  }

  .social-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .btn {
    padding: 8px 18px;
    font-size: 0.8rem;
    width: 100%;
    justify-content: center;
  }

  .copywriting-card {
    padding: 20px 14px;
  }

  .copywriting-card h3 {
    font-size: 1rem;
  }

  .cv-card h3 {
    font-size: 0.95rem;
  }
}

/* Extra Small */
@media (max-width: 360px) {
  .gallery-section,
  .copywriting-section,
  .cv-section {
    padding: 64px 0 16px;
  }

  .gallery-grid {
    gap: 10px;
  }

  .social-stats {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.1rem;
  }
}
