/* Melati Sari Art — Dark Navy-Orange Artistic Portfolio */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a1a2e;
  --primary-mid: #16213e;
  --primary-light: #0f3460;
  --accent: #ff6e40;
  --accent-dark: #e64a19;
  --accent-glow: rgba(255,110,64,0.18);
  --text: #f0e6d3;
  --text-muted: #a89880;
  --text-dim: #7a6a58;
  --card-bg: #16213e;
  --border: rgba(255,110,64,0.2);
  --white: #fff;
  --radius: 4px;
  --radius-lg: 12px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* ===== DEMO BAR ===== */
.demo-bar {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.demo-bar a { color: #fff; text-decoration: underline; margin: 0 4px; }
.demo-bar a:hover { opacity: 0.85; }

/* ===== NAV ===== */
nav {
  background: rgba(22,33,62,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 40px;
  z-index: 900;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Checkbox-hack mobile menu */
#menu-toggle { display: none; }
.menu-label {
  display: none;
  cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
}
.menu-label span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}
@media (max-width: 700px) {
  .menu-label { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--primary-mid);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .nav-links a { display: block; padding: 12px 24px; }
  #menu-toggle:checked ~ .nav-inner .nav-links { display: flex; }
  #menu-toggle:checked ~ .nav-inner .menu-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #menu-toggle:checked ~ .nav-inner .menu-label span:nth-child(2) { opacity: 0; }
  #menu-toggle:checked ~ .nav-inner .menu-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===== LAYOUT ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 30px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ===== CARDS ===== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(255,110,64,0.12); }
.card-body { padding: 24px; }

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* ===== DECORATIVE LINES ===== */
.divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* ===== HERO (index) ===== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,110,64,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,52,96,0.6) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-title { margin-bottom: 20px; }
.hero-title em {
  font-style: normal;
  color: var(--accent);
  display: block;
}
.hero-desc { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 32px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-item .stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-item .stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* Avatar / Art SVG */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.avatar-wrap {
  position: relative;
  width: 340px;
  height: 340px;
}
.avatar-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.4;
  animation: rotate-ring 20s linear infinite;
}
.avatar-ring-dots {
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 1px dashed rgba(255,110,64,0.3);
  animation: rotate-ring 30s linear infinite reverse;
}
@keyframes rotate-ring { to { transform: rotate(360deg); } }
.avatar-bg {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f3460 0%, #16213e 60%, #1a1a2e 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.paint-splash {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.avatar-svg-figure {
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .avatar-wrap { width: 260px; height: 260px; }
  .avatar-bg { width: 260px; height: 260px; }
  .hero-visual { order: -1; }
  .hero-desc { margin: 0 auto 32px; }
  .section-label { justify-content: center; }
}

/* ===== FEATURED WORKS (index) ===== */
.work-thumb {
  height: 200px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  position: relative;
}
.work-badge {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
}
.work-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.work-desc { font-size: 0.88rem; color: var(--text-muted); }

/* ===== KARYA (gallery) ===== */
.gallery-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.artwork-thumb {
  height: 220px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  position: relative;
}
.artwork-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.card:hover .artwork-overlay { opacity: 1; }
.artwork-overlay .btn-sm { margin-top: 8px; }
.artwork-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.artwork-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 8px;
}

/* ===== PAMERAN ===== */
.event-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: start;
}
.event-date-box {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
  padding: 10px;
  flex-shrink: 0;
}
.event-date-box .day { font-size: 2rem; font-weight: 900; line-height: 1; }
.event-date-box .month { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.event-date-box .year { font-size: 0.72rem; opacity: 0.85; }
.event-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.status-upcoming .status-dot { background: #4caf50; box-shadow: 0 0 6px #4caf50; }
.status-upcoming { color: #4caf50; }
.status-past .status-dot { background: var(--text-dim); }
.status-past { color: var(--text-dim); }
.status-soon .status-dot { background: #ffb300; box-shadow: 0 0 6px #ffb300; }
.status-soon { color: #ffb300; }

.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 48px; top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline .card { margin-bottom: 20px; }

.award-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.award-item:last-child { border-bottom: none; }
.award-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== PESANAN (price/service) ===== */
.price-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(255,110,64,0.12); }
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 40px rgba(255,110,64,0.18);
}
.price-card .badge-featured {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-tag { font-size: 2.2rem; font-weight: 900; color: var(--accent); line-height: 1; margin: 16px 0 4px; }
.price-tag sub { font-size: 1rem; font-weight: 600; }
.price-unit { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,110,64,0.08);
  font-size: 0.92rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price-features li::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.step-body h4 { margin-bottom: 6px; }
.step-body p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-q { font-weight: 700; margin-bottom: 8px; color: var(--text); display: flex; gap: 12px; align-items: flex-start; }
.faq-q::before { content: '?'; color: var(--accent); font-weight: 900; }
.faq-a { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ===== KONTAK ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--accent-glow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.contact-value { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.contact-value a { color: var(--accent); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

.social-links { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

/* Form */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  appearance: none;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
footer {
  background: var(--primary-mid);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-mid) 0%, var(--primary) 100%);
  border-bottom: 1px solid var(--border);
  padding: 60px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -60px; right: 10%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,110,64,0.1) 0%, transparent 70%);
}
.page-header h1 { margin-bottom: 12px; }
.page-header .lead { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: var(--accent-glow);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight-box p { color: var(--text); margin: 0; font-size: 0.95rem; }

/* ===== BIO SECTION ===== */
.bio-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
@media (max-width: 700px) { .bio-grid { grid-template-columns: 1fr; } }

.bio-sidebar .avatar-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0f3460 0%, #16213e 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-list { list-style: none; margin-top: 20px; }
.info-list li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,110,64,0.08);
  color: var(--text-muted);
}
.info-list li strong { color: var(--text); min-width: 90px; flex-shrink: 0; }

/* ===== WA FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #25d366;
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  text-decoration: none;
  z-index: 800;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ===== UTILITY ===== */
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.tag {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.06em;
}
