:root {
    --gold:        #C9984A;
    --gold-light:  #E8C87A;
    --gold-pale:   #FDF6E3;
    --gold-border: rgba(201,152,74,.25);
    --dark:        #111827;
    --mid:         #374151;
    --muted:       #6B7280;
    --bg:          #FAFAF8;
    --white:       #FFFFFF;
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   24px;
    --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
    --shadow-md:   0 4px 20px rgba(0,0,0,.08);
    --shadow-lg:   0 12px 40px rgba(0,0,0,.1);
    --transition:  .28s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ── UTILITIES ─────────────────────────────────── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-pale);
    border: 1px solid var(--gold-border);
    padding: 4px 14px;
    border-radius: 99px;
    margin-bottom: 14px;
}

.section-heading {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 520px;
}

.divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 99px;
    margin: 18px 0 0;
}

section { padding: 96px 0; }

/* ── NAVBAR ─────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(13,17,23,.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: none;
    transition: background var(--transition);
}

nav.scrolled {
    background: rgba(255,255,255,.92);
    border-bottom: none;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
    padding: 0 56px;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.01em;
    transition: color var(--transition);
}

nav.scrolled .logo-text { color: var(--dark); }

.logo-text span { color: var(--gold-light); }
nav.scrolled .logo-text span { color: var(--gold); }

nav ul {
    list-style: none;
    display: flex;
    gap: 6px;
}

nav ul li a {
    text-decoration: none;
    color: rgba(255,255,255,.75);
    font-size: 14px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

nav.scrolled ul li a {
    color: var(--mid);
}

nav ul li a:hover {
    background: rgba(201,152,74,.15);
    color: var(--gold-light);
}

nav.scrolled ul li a:hover {
    background: var(--gold-pale);
    color: var(--gold);
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--white) !important;
    padding: 8px 18px !important;
}

.nav-cta:hover {
    background: #b8873e !important;
    color: var(--white) !important;
}

/* ── HERO ───────────────────────────────────────── */
.hero {
    height: 100vh;
    background: #0D1117;
    border-bottom: none;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Vignette overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 50%,
        transparent 40%,
        rgba(13,17,23,.55) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(201,152,74,.35);
    backdrop-filter: blur(10px);
    border-radius: 99px;
    padding: 6px 16px 6px 10px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    margin-bottom: 28px;
    box-shadow: 0 0 20px rgba(201,152,74,.12);
}

.hero-badge span {
    width: 8px; height: 8px;
    background: var(--gold-light);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px var(--gold);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .6; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(34px, 5.5vw, 60px);
    font-weight: 800;
    line-height: 1.12;
    color: #FFFFFF;
    letter-spacing: -.025em;
    margin-bottom: 22px;
    text-shadow: 0 2px 40px rgba(0,0,0,.4);
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--gold), var(--gold-light), #fff8e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 24px rgba(201,152,74,.5));
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,.6);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(201,152,74,.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50%       { transform: scaleY(.6); opacity: .4; }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gold);
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
    box-shadow: 0 4px 14px rgba(201,152,74,.35);
}

.btn-primary:hover {
    background: #b8873e;
    box-shadow: 0 6px 22px rgba(201,152,74,.45);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255,255,255,.07);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(8px);
    transition: border-color var(--transition), background var(--transition);
}

.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(201,152,74,.15);
}

/* ── ABOUT ──────────────────────────────────────── */
#tentang { background: var(--white); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text p {
    color: var(--mid);
    margin-bottom: 16px;
    font-size: 15px;
}

.about-quote-card {
    background: var(--gold-pale);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
}

.about-quote-card::before {
    content: '\201C';
    position: absolute;
    top: 18px;
    left: 28px;
    font-size: 80px;
    line-height: 1;
    color: var(--gold-light);
    font-family: Georgia, serif;
}

.about-quote-card blockquote {
    font-size: 17px;
    font-style: italic;
    color: var(--mid);
    line-height: 1.75;
    padding-top: 12px;
}

.about-quote-card cite {
    display: block;
    margin-top: 20px;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
}

.about-quote-card cite span {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: 13px;
}

/* ── VISI MISI ──────────────────────────────────── */
#vimi { background: var(--bg); }

.vimi-header { text-align: center; margin-bottom: 56px; }
.vimi-header .divider { margin: 18px auto 0; }

.vimi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.vimi-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: var(--radius-md);
    padding: 40px;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.vimi-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-border);
}

.vimi-icon {
    width: 48px; height: 48px;
    background: var(--gold-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.vimi-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.vimi-card p {
    color: var(--muted);
    font-size: 15px;
}

/* ── SERVICES ───────────────────────────────────── */
#layanan { background: var(--white); }

.services-header { text-align: center; margin-bottom: 56px; }
.services-header .divider { margin: 18px auto 0; }
.services-header .section-sub { margin: 12px auto 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-border);
    transform: translateY(-4px);
}

.service-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    background: var(--gold-pale);
}

.service-img-placeholder {
    width: 100%; height: 190px;
    background: linear-gradient(135deg, var(--gold-pale), #FFF3CD);
    display: flex; align-items: center; justify-content: center;
    font-size: 40px;
}

.service-body {
    padding: 24px;
}

.service-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.service-body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

/* ── PORTFOLIO ──────────────────────────────────── */
#portfolio { background: var(--bg); }

.portfolio-header { text-align: center; margin-bottom: 56px; }
.portfolio-header .divider { margin: 18px auto 0; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.portfolio-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

.portfolio-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-border);
    transform: translateY(-4px);
}

.portfolio-thumb {
    position: relative;
    height: 148px;
    overflow: hidden;
    background: var(--gold-pale);
}

.portfolio-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    background: linear-gradient(135deg, var(--gold-pale), #FFF3CD);
}

.portfolio-info {
    padding: 16px 18px;
}

.portfolio-info strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.portfolio-info p {
    font-size: 12px;
    color: var(--muted);
}

.portfolio-tag {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    background: var(--gold-pale);
    color: var(--gold);
    border: 1px solid var(--gold-border);
    padding: 2px 10px;
    border-radius: 99px;
}

a.portfolio-card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

/* ── CONTACT ────────────────────────────────────── */
#kontak { background: var(--dark); }

.contact-inner { text-align: center; }

.contact-inner .section-label {
    background: rgba(201,152,74,.15);
    border-color: rgba(201,152,74,.3);
    color: var(--gold-light);
}

.contact-inner .section-heading { color: var(--white); }

.contact-inner .section-sub {
    color: rgba(255,255,255,.55);
    margin: 0 auto 52px;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    padding: 32px 36px;
    min-width: 220px;
    transition: background var(--transition), border-color var(--transition);
}

.contact-card:hover {
    background: rgba(201,152,74,.12);
    border-color: rgba(201,152,74,.35);
}

.contact-card-icon {
    font-size: 26px;
    margin-bottom: 12px;
}

.contact-card strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 15px;
    color: rgba(255,255,255,.75);
    line-height: 1.8;
}

/* ── FOOTER ─────────────────────────────────────── */
footer {
    background: #0B0F17;
    color: rgba(255,255,255,.4);
    text-align: center;
    padding: 24px;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,.06);
}

footer a { color: var(--gold-light); text-decoration: none; }

/* ── PARALLAX ───────────────────────────────────── */
#tentang, #vimi, #layanan, #portfolio {
    position: relative;
    overflow: hidden;
}

[data-px] { will-change: transform; }

.px-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

.px-blob-a {
    background: radial-gradient(circle, rgba(201,152,74,.10) 0%, transparent 68%);
}

.px-blob-b {
    background: radial-gradient(circle, rgba(232,200,122,.07) 0%, transparent 65%);
}

#tentang .container, #vimi .container,
#layanan .container, #portfolio .container {
    position: relative;
    z-index: 1;
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
    .about-grid, .vimi-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
    section { padding: 72px 0; }
    nav ul { display: none; }
    .hero h1 { font-size: 30px; }
    .hero p   { font-size: 16px; }
}

/* ── FADE-IN ANIMATION (hero) ────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp .6s ease both; }
.delay-1 { animation-delay: .1s; transition-delay: .10s; }
.delay-2 { animation-delay: .2s; transition-delay: .20s; }
.delay-3 { animation-delay: .3s; transition-delay: .30s; }
.delay-4 {                        transition-delay: .40s; }
.delay-5 {                        transition-delay: .50s; }

/* ── SCROLL REVEAL ──────────────────────────────── */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity .75s cubic-bezier(.16,1,.3,1),
                transform .75s cubic-bezier(.16,1,.3,1);
}
.reveal        { transform: translateY(48px); }
.reveal-left   { transform: translateX(-60px); }
.reveal-right  { transform: translateX(60px); }
.reveal-scale  { transform: scale(.88) translateY(28px); }

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
    opacity: 1;
    transform: none;
}
