/* ==========================================================================
   COMPANY PROFILE - PT ROKET JAYA EMAS (PAKET EXPRESS)
   Premium Black & Metallic Gold Design System
   ========================================================================== */

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

:root {
  /* Color Palette - Black & Metallic Gold Container Theme */
  --bg-darkest: #09090D;
  --bg-main: #111117;
  --bg-card: #191923;
  --bg-card-hover: #222230;
  --bg-input: #15151E;
  
  --gold-primary: #D4AF37;
  --gold-light: #FCE082;
  --gold-dark: #A47E1B;
  --gold-gradient: linear-gradient(135deg, #FFE89C 0%, #DFAC38 50%, #A47E1B 100%);
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --amber-primary: #FF8C00;
  --green-whatsapp: #25D366;

  --text-main: #F4F4F7;
  --text-muted: #9E9EA9;
  --text-dark: #111116;
  
  --border-color: rgba(212, 175, 55, 0.18);
  --border-color-hover: rgba(212, 175, 55, 0.45);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 6px 25px rgba(212, 175, 55, 0.2);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-darkest);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-light);
}

/* Utility Classes */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-badge {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--text-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.38);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--gold-light);
  border: 1.5px solid var(--gold-primary);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.825rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-md);
}

/* Header & Top Bar */
.top-bar {
  background: rgba(9, 9, 13, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  padding: 0.5rem 2rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 1.75rem;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17, 17, 23, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 2rem;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.brand-logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Page Views Container */
.public-view {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.public-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 2rem 5.5rem 2rem;
  background: radial-gradient(circle at 75% 25%, rgba(212, 175, 55, 0.14) 0%, transparent 55%),
              linear-gradient(to bottom, var(--bg-main), var(--bg-darkest));
  border-bottom: 1px solid var(--border-color);
}

.hero-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin: 1.2rem 0;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Quick Calculator Card inside Hero */
.hero-calc-card {
  background: rgba(25, 25, 35, 0.95);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-gold), var(--shadow-md);
}

.calc-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}

.calc-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.calc-tab.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.form-control, .form-select {
  width: 100%;
  padding: 0.8rem 1.1rem;
  background: var(--bg-input);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
}

/* Truck Showcase Photo Card */
.truck-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold-primary);
  box-shadow: var(--shadow-gold), 0 20px 40px rgba(0, 0, 0, 0.7);
}

.truck-image-wrapper img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.truck-image-wrapper:hover img {
  transform: scale(1.03);
}

.truck-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: rgba(17, 17, 23, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.truck-badge i {
  font-size: 1.8rem;
  color: var(--gold-primary);
}

.truck-badge-text h4 {
  font-size: 0.95rem;
  color: var(--gold-light);
}

.truck-badge-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Stats Counter Section */
.stats-section {
  padding: 3.5rem 2rem;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
}

.stats-container {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 1.75rem 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services Section */
.section-padding {
  padding: 5rem 2rem;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin: 0.6rem 0 1rem 0;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

/* Fleet Advantage Section */
.fleet-section {
  background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
              var(--bg-main);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.fleet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.fleet-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--gold-primary);
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Profil Perusahaan Page */
.page-banner {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-darkest) 100%);
  padding: 4.5rem 2rem 3.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-banner h1 {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
}

.page-banner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.vm-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.vm-card h3 {
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vm-card ul {
  list-style: none;
}

.vm-card li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.vm-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-weight: bold;
}

/* Branch Locator Page */
.search-filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 3rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.search-input-group {
  flex-grow: 1;
  position: relative;
}

.search-input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-primary);
}

.search-input-group input {
  padding-left: 2.75rem;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.branch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.branch-header {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Rate Calculator Detailed Page */
.rate-calc-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.calc-result-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.result-placeholder {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.result-placeholder i {
  font-size: 3.5rem;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-item i {
  font-size: 1.25rem;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-dark);
}

/* Footer */
.site-footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 2rem 2rem 2rem;
  color: var(--text-muted);
}

.footer-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* Hamburger Menu Toggle Button */
.hamburger {
  display: none;
  background: rgba(212, 175, 55, 0.12);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-light);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  transition: var(--transition);
}

.hamburger:hover {
  background: var(--gold-primary);
  color: var(--text-dark);
  box-shadow: var(--shadow-gold);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-container, .fleet-grid, .about-intro-grid, .rate-calc-container, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .site-header {
    padding: 0.75rem 1.25rem;
    position: relative;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(17, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--gold-primary);
    padding: 1.5rem 1.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
    z-index: 999;
  }

  .nav-menu.mobile-active {
    display: flex;
    animation: slideDown 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    font-size: 1.1rem;
    padding: 0.65rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .hero-section {
    padding: 3rem 1.25rem 4rem 1.25rem;
  }
  
  .hero-content h1 {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .top-bar-info {
    display: none;
  }

  .search-filter-bar {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .nav-cta .btn {
    display: none;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

