/*
Theme Name:  PT. Pacific Jayamandiri
Theme URI:   https://pacificjayamandiri.com
Author:      Developer Jago Software
Author URI:  https://t.me/jagosoftware
Description: Theme resmi PT. Pacific Jayamandiri — Distributor Material Industri Terpercaya Sejak 1971. Aluminium, galvanis, stainless, kawat, paku, seng & selang.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jayamandiri
Tags:        business, industrial, dark, gold, responsive, custom-colors, custom-menu, featured-images
*/

/* ═══════════════════════════════════════════
   PT. PACIFIC JAYAMANDIRI — Global Stylesheet
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@400;600;700;800&display=swap');

/* ── Variables ── */
:root {
  --black:      #0a0a0a;
  --dark:       #141414;
  --card:       #1e1e1e;
  --charcoal:   #282828;
  --border:     rgba(201,168,76,0.15);
  --border-dim: rgba(255,255,255,0.07);
  --mid:        #555;
  --silver:     #888;
  --light:      #e2ddd8;
  --white:      #f8f5f0;
  --gold:       #c9a84c;
  --gold-light: #e4c97e;
  --gold-dim:   rgba(201,168,76,0.08);
  --green:      #27ae60;
  --radius:     3px;
  --nav-h:      70px;
  --max-w:      1240px;
  --pad:        clamp(20px, 5vw, 60px);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ══════════════════════════════
   NAVIGATION
══════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  padding: 0 var(--pad);
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav.scrolled { background: rgba(10,10,10,0.98); }

.nav-logo {
  display: flex; align-items: center; gap: 0;
  text-decoration: none; flex-shrink: 0;
  max-height: calc(var(--nav-h) - 20px);
}
.nav-logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.nav-logo .custom-logo-link { display: flex; align-items: center; }
.nav-logo .custom-logo {
  display: block !important;
  height: 40px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
}
.nav-logo-badge {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px; letter-spacing: 1px; color: var(--black);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); line-height: 1.25;
}
.nav-logo-text span { color: var(--gold); }

/* WordPress nav menu override */
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links ul {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links ul li a,
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--silver);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  position: relative;
  display: block;
}
.nav-links ul li a:hover,
.nav-links a:hover { color: var(--gold); background: var(--gold-dim); }
.nav-links ul li.current-menu-item > a,
.nav-links a.active { color: var(--gold); }
.nav-links ul li.current-menu-item > a::after,
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: 0; left: 14px; right: 14px;
  height: 2px; background: var(--gold);
  border-radius: 1px;
}
.nav-links ul li.nav-cta-item > a,
.nav-links > .nav-cta,
.nav-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 9px 22px !important;
  border-radius: var(--radius) !important;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 8px;
  display: inline-block !important;
  text-decoration: none !important;
  transition: background 0.2s !important;
}
.nav-links ul li.nav-cta-item > a:hover,
.nav-links > .nav-cta:hover,
.nav-cta:hover { background: var(--gold-light) !important; color: var(--black) !important; }
.nav-links ul li.nav-cta-item > a::after,
.nav-links > .nav-cta::after,
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 32px; cursor: pointer; padding: 4px;
  background: transparent; border: none;
}
.nav-hamburger span {
  display: block; height: 2px; background: var(--light);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 899;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px var(--pad) 28px;
  flex-direction: column; gap: 4px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.nav-drawer.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.nav-drawer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nav-drawer ul li a,
.nav-drawer a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 15px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--silver); padding: 14px 0;
  border-bottom: 1px solid var(--border-dim);
  transition: color 0.2s;
  display: block;
}
.nav-drawer ul li a:hover,
.nav-drawer ul li.current-menu-item > a,
.nav-drawer a:hover,
.nav-drawer a.active { color: var(--gold); }
.nav-drawer ul li.nav-cta-item > a,
.nav-drawer .nav-cta {
  margin-top: 10px;
  text-align: center; padding: 14px !important;
  border-radius: var(--radius) !important;
  background: var(--gold) !important;
  color: var(--black) !important;
}

/* ══════════════════════════════
   PAGE HERO (reusable)
══════════════════════════════ */
.page-hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 70px;
  padding-left: var(--pad);
  padding-right: var(--pad);
  position: relative; overflow: hidden;
  background: var(--dark);
}
.page-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(201,168,76,0.06), transparent);
  pointer-events: none;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 2; }
.page-hero-eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.page-hero-eyebrow-line { width: 36px; height: 1px; background: var(--gold); }
.page-hero-eyebrow-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--gold);
}
.page-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95; letter-spacing: 2px; color: var(--white);
  margin-bottom: 18px;
}
.page-hero-title span { color: var(--gold); }
.page-hero-desc {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 300; color: var(--silver);
  line-height: 1.75; max-width: 560px;
}

/* ══════════════════════════════
   SECTION UTILITY
══════════════════════════════ */
.section {
  padding: clamp(60px, 8vw, 110px) var(--pad);
}
.section-alt { background: var(--dark); }
.inner { max-width: var(--max-w); margin: 0 auto; }

.section-label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.section-label-line { width: 28px; height: 1px; background: var(--gold); }
.section-label-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--gold);
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: 2px; color: var(--white); line-height: 1;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 14px; font-weight: 300; color: var(--silver);
  line-height: 1.8; max-width: 500px;
}
.section-header { margin-bottom: clamp(36px, 5vw, 60px); }

/* ══════════════════════════════
   DIVIDER
══════════════════════════════ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
  opacity: 0.2;
  margin: 0 var(--pad);
}

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 13px 26px; border-radius: var(--radius);
  transition: all 0.25s; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.28); }
.btn-outline-gold { border: 1px solid rgba(201,168,76,0.45); color: var(--gold); background: transparent; }
.btn-outline-gold:hover { background: var(--gold-dim); border-color: var(--gold); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 11px; }

/* ══════════════════════════════
   CARDS (shared)
══════════════════════════════ */
.card {
  background: var(--card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.card:hover { border-color: var(--border); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vw, 72px) var(--pad) 28px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dim);
}
.footer-logo { display: flex; align-items: flex-start; margin-bottom: 20px; }
.footer-logo-img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.footer-logo .custom-logo-link { display: flex; }
.footer-logo .custom-logo-link { display: flex; align-items: center; }
.footer-logo .custom-logo { height: 38px !important; width: auto !important; max-width: 220px !important; object-fit: contain !important; display: block !important; }
.footer-logo-badge {
  width: 38px; height: 38px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue'; font-size: 15px; color: var(--black);
}
.footer-logo-name {
  font-family: 'Barlow Condensed'; font-weight: 700;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); line-height: 1.25;
}
.footer-logo-name span { color: var(--gold); }
.footer-tagline { font-size: 13px; font-weight: 300; color: var(--silver); line-height: 1.75; }
.footer-col-title {
  font-family: 'Barlow Condensed'; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; list-style: none; margin: 0; padding: 0; }
.footer-col a,
.footer-col ul li a {
  font-size: 13px; color: var(--silver);
  display: flex; align-items: center; gap: 7px;
  transition: color 0.2s;
}
.footer-col a:hover,
.footer-col ul li a:hover { color: var(--gold); }
.footer-col a svg,
.footer-col ul li a svg { flex-shrink: 0; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-copy { font-size: 12px; color: var(--mid); }
.footer-copy span { color: var(--gold); }
.footer-since {
  font-family: 'Bebas Neue'; font-size: 13px;
  letter-spacing: 4px; color: var(--mid);
}

/* ══════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 54px; height: 54px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,0.4);
  transition: all 0.3s; color: #fff;
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 10px 36px rgba(37,211,102,0.6); }
.wa-float svg { width: 26px; height: 26px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 6px 28px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* ══════════════════════════════
   FADE-UP ANIMATION
══════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .page-hero { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 48px; }
}
