/*
Theme Name: Vue Vite Custom Pages
Theme URI: https://example.test/vue-vite-custom-pages
Author: Demo Theme
Author URI: https://example.test
Description: Contoh WordPress classic theme dengan Vue 3 + Vite, custom page template, menu locations, dan build dist siap upload.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vue-vite-custom-pages
Tags: custom-menu, custom-logo, featured-images, one-column, two-columns
*/

/* CSS utama theme. CSS Vue/Vite ada di dist/assets/main-vueprofile.css */
:root {
  --vv-bg: #f6f7fb;
  --vv-surface: #ffffff;
  --vv-text: #111827;
  --vv-muted: #6b7280;
  --vv-primary: #7057ff;
  --vv-primary-dark: #4936cb;
  --vv-border: #e5e7eb;
  --vv-radius: 24px;
  --vv-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--vv-bg);
  color: var(--vv-text);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 251, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
}
.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.site-logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--vv-primary), #18c2ff);
  box-shadow: 0 12px 30px rgba(112, 87, 255, 0.32);
}
.site-title { font-size: 1.05rem; }
.site-description { display: block; color: var(--vv-muted); font-size: .78rem; font-weight: 500; letter-spacing: 0; }

.primary-navigation ul,
.footer-navigation ul,
.profile-navigation ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}
.primary-navigation a,
.footer-navigation a,
.profile-navigation a {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  color: #374151;
  font-weight: 650;
  font-size: .92rem;
}
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.footer-navigation a:hover,
.profile-navigation a:hover {
  background: #fff;
  color: var(--vv-primary-dark);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}
.menu-fallback { color: var(--vv-muted); font-size: .92rem; }

main.site-main { min-height: 62vh; }
.section,
.content-area {
  padding: 72px 0;
}
.hero {
  padding: 88px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 32px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--vv-primary-dark);
  background: rgba(112, 87, 255, .10);
  border: 1px solid rgba(112, 87, 255, .18);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 750;
  font-size: .86rem;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.045em; }
h1 { font-size: clamp(2.4rem, 7vw, 5.3rem); margin: 0 0 20px; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 16px; }
h3 { font-size: 1.25rem; margin: 0 0 10px; }
.lead { color: var(--vv-muted); font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 64ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button,
.wp-block-button__link,
input[type="submit"],
button {
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 800;
  cursor: pointer;
}
.button-primary,
.wp-block-button__link,
input[type="submit"] {
  color: #fff;
  background: var(--vv-primary);
  box-shadow: 0 18px 30px rgba(112, 87, 255, .24);
}
.button-secondary {
  color: #111827;
  background: #fff;
  border: 1px solid var(--vv-border);
}
.card {
  background: var(--vv-surface);
  border: 1px solid rgba(229, 231, 235, .9);
  border-radius: var(--vv-radius);
  box-shadow: var(--vv-shadow);
}
.card-pad { padding: clamp(20px, 4vw, 34px); }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.entry-content {
  background: #fff;
  border-radius: var(--vv-radius);
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--vv-border);
  box-shadow: var(--vv-shadow);
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.page-title { margin-top: 0; }

.site-footer {
  background: #101827;
  color: #fff;
  padding: 48px 0;
  margin-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.site-footer p { color: rgba(255,255,255,.72); margin: 6px 0 0; }
.footer-navigation a { color: rgba(255,255,255,.86); }
.footer-navigation a:hover { color: #fff; background: rgba(255,255,255,.10); }

.form-grid { display: grid; gap: 14px; }
.form-grid label { display: grid; gap: 6px; font-weight: 750; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--vv-border);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 132px; resize: vertical; }

.post-list { display: grid; gap: 18px; }
.post-card h2 { font-size: 1.5rem; }
.post-meta { color: var(--vv-muted); font-size: .92rem; }

@media (max-width: 820px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .primary-navigation ul { flex-wrap: wrap; }
  .hero-grid, .grid-2, .grid-3, .footer-inner { grid-template-columns: 1fr; }
  .section, .content-area { padding: 44px 0; }
  .hero { padding: 56px 0 36px; }
}
