/* ============================================================
   CITIPUMP INDONESIA - Pure CSS Design System
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --red:          #dc3737;
  --red-dark:     #b92d2d;
  --red-light:    rgba(220,55,55,0.1);
  --black:        #000000;
  --dark:         #1A1A1A;
  --gray-100:     #F7F7F8;
  --gray-200:     #EEEEEF;
  --gray-400:     #AAAAAA;
  --gray-600:     #666666;
  --white:        #FFFFFF;
  --glass-bg:     rgba(255,255,255,0.88);
  --glass-border: rgba(255,255,255,0.4);
  --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.12);
  --shadow-red:   0 8px 24px rgba(220,55,55,0.25);
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --radius-full:  9999px;
  --ease:         cubic-bezier(0.165, 0.84, 0.44, 1);
  --nav-h:        72px;
}

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

/* ── Typography ── */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 800; }
p { line-height: 1.7; }

/* ── Layout Utility ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: box-shadow 0.3s var(--ease), background 0.3s;
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.97);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header-logo img {
  height: 48px;
  width: auto;
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
  position: relative;
  transition: color 0.25s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.main-nav a:hover { color: var(--red); }
.main-nav a:hover::after { width: 100%; }

.btn-lang {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  border: 2px solid var(--red);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  transition: background 0.25s, color 0.25s;
}
.btn-lang:hover { background: var(--red); color: var(--white); }
.btn-lang::after { display: none !important; }

.btn-cta {
  background: var(--red);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-red);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-cta::after { display: none !important; }
.btn-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(227,30,36,0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  padding: 13px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: color 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--red); }
.mobile-nav .btn-cta {
  margin-top: 16px;
  display: inline-block;
  text-align: center;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--nav-h));
  min-height: 520px;
  margin-top: var(--nav-h);
  overflow: hidden;
  padding:0;
}
.slider-track {
  display: flex;
  height: 100%;
  /* width is auto — flex children (100vw each) determine the total width */
  transition: transform 0.7s var(--ease);
  will-change: transform;
}
.slide {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.35) 0%, transparent 60%);
  pointer-events: none;
}

/* Slider buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
  z-index: 10;
  font-size: 1.1rem;
  transition: background 0.25s, transform 0.25s;
}
.slider-btn:hover { background: var(--red-dark); transform: translateY(-50%) scale(1.08); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 2px solid var(--white);
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active {
  background: var(--red);
  width: 28px;
  border-radius: var(--radius-full);
  border-color: var(--red);
}

/* ============================================================
   SECTIONS — General
   ============================================================ */
section {
  padding: 96px 0;
}
.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-title span { color: var(--red); }
.section-desc {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 580px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--gray-100); }
.about-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.about-img {
  flex: 0 0 48%;
  position: relative;
}
.about-img img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease);
}
.about-img img:hover { transform: scale(1.02); }
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--red);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-red);
}
.about-badge .num {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}
.about-badge .lbl {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}
.about-content { flex: 1; }
.about-content p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.about-content p:last-of-type { margin-bottom: 36px; }

/* Inline CTA button (used in content areas) */
.btn-red {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-red);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(220,55,55,0.35);
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-section { background: var(--white); }
.products-header { text-align: center; margin-bottom: 64px; }
.products-header .section-desc { margin: 0 auto; }

.subsection-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  padding-bottom: 12px;
  border-bottom: 3px solid var(--red);
  display: inline-block;
  margin-bottom: 40px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.stationary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(227,30,36,0.12);
  border-color: rgba(227,30,36,0.2);
}
.card-img {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 16px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
  display: block;
  margin: 0 auto;
}
.card:hover .card-img img { transform: scale(1.08); }
.card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.card-rate {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--red);
}
.card-img-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-section { background: var(--gray-100); }
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.portfolio-desc { color: var(--gray-600); max-width: 320px; font-size: 0.95rem; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  height: 340px;
  box-shadow: var(--shadow-md);
}
.portfolio-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.portfolio-card:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 55%);
}
.portfolio-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
}
.portfolio-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.portfolio-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-section { background: var(--white); }
.testimonial-header { text-align: center; margin-bottom: 64px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.3s var(--ease);
}
.testi-card:hover { box-shadow: var(--shadow-md); }
.testi-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--gray-100);
  transition: border-color 0.3s;
}
.testi-card:hover .testi-avatar { border-color: var(--red); }
.testi-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}
.testi-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 6px 0 16px;
}
.testi-quote {
  font-size: 1rem;
  color: var(--gray-600);
  font-style: italic;
  line-height: 1.7;
}

/* ============================================================
   CONTACT/SALES
   ============================================================ */
.contact-section { background: var(--gray-100); }
.contact-header { text-align: center; margin-bottom: 56px; }
.sales-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.sales-card { text-align: center; }
.sales-avatar-wrap {
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.sales-avatar-wrap:hover {
  transform: scale(1.06);
  border-color: var(--red);
}
.sales-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; }
.sales-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.sales-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--red);
  transition: opacity 0.2s;
}
.sales-link:hover { opacity: 0.75; text-decoration: underline; }

/* ============================================================
   FLOATING WA BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  z-index: 999;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 32px rgba(37,211,102,0.55);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-logo img { height: 72px; margin-bottom: 20px; }
.footer-tagline {
  font-size: 0.9rem;
  color: var(--gray-400);
  font-style: italic;
  line-height: 1.6;
}
.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(220,55,55,0.3);
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: var(--gray-400);
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.5;
}
.footer-contact-list li a {
  color: var(--gray-400);
  transition: color 0.2s;
}
.footer-contact-list li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 22px 0;
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stationary-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  section { padding: 64px 0; }

  /* Header */
  .main-nav { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { height: 60vw; min-height: 260px; }

  /* About */
  .about-inner { flex-direction: column; gap: 40px; }
  .about-img { flex: none; width: 100%; }
  .about-badge { display: none; }

  /* Products */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stationary-grid { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .card-img { height: 120px; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }
  .portfolio-card { height: 260px; }

  /* Testimonials */
  .testimonial-grid { grid-template-columns: 1fr; }

  /* Sales */
  .sales-grid { gap: 36px; }
  .sales-avatar-wrap { width: 110px; height: 110px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  /* Slider buttons */
  .slider-btn { width: 38px; height: 38px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 12px; gap: 10px; }
  .card-img { height: 100px; padding: 10px; }
  .subsection-title { font-size: 1.1rem; }
}
