/* ============================================
   PT DIRJA SASAK UTAMA - PREMIUM STYLE
   Single Color Theme: Deep Navy Blue
   ============================================ */

/* ----- ROOT VARIABLES ----- */
:root {
  --primary: #0A1628;
  --primary-dark: #060F1E;
  --primary-light: #1A2D4A;
  --accent: #4c97c9;
  --accent-light: #4c97c9;
  --accent-dark: #4c97c9;
  --white: #FFFFFF;
  --bg-light: #F5F6F8;
  --text-dark: #0A1628;
  --text-muted: #6B7A8F;
  --border-light: #E8EAED;
  --shadow-sm: 0 4px 24px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 12px 48px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 24px 64px rgba(10, 22, 40, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ----- RESET ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  padding-top: 80px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: var(--accent);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

/* ----- UTILITY ----- */
.section-padding {
  padding: 100px 0;
}

.bg-light {
  background: var(--bg-light);
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  background: rgba(201, 168, 76, 0.08);
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--accent);
}

.section-title .brand-highlight {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  color: var(--primary);
}

.section-title .brand-sub {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  margin-top: 8px;
}

.section-title.text-center:after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 4px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ----- BUTTONS ----- */
.btn-primary-custom {
  background: var(--primary);
  border: none;
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-custom:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10, 22, 40, 0.3);
  color: var(--white);
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--primary);
  border: none;
}

.btn-primary:hover {
  background: var(--primary-light);
}

/* ----- PRELOADER ----- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border-light);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar-custom.scrolled {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.navbar-custom .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: -0.3px;
}

.navbar-custom .navbar-brand .brand-icon {
  color: var(--accent);
  font-size: 1.2rem;
}

.navbar-custom .navbar-brand .brand-name {
  font-weight: 800;
  font-size: 1.15rem;
}

.navbar-custom .nav-link {
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 18px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  font-size: 0.9rem;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--accent);
  background: rgba(201, 168, 76, 0.06);
}

.navbar-custom .nav-link.active:after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 4px;
}

.btn-wa {
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  border: none;
}

.btn-wa:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: scale(1.04);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: rgba(201, 168, 76, 0.03);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: rgba(201, 168, 76, 0.02);
  border-radius: 50%;
}

.hero .hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  background: rgba(201, 168, 76, 0.12);
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero h1 {
  font-weight: 900;
  font-size: 3.8rem;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -2px;
}

.hero h1 .hero-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 3.2rem;
  display: block;
  color: var(--accent);
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  opacity: 0.3;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  line-height: 1.8;
  margin: 24px 0 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-buttons .btn-primary-custom {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.3);
}

.hero-buttons .btn-primary-custom:hover {
  background: var(--accent-light);
  box-shadow: 0 16px 48px rgba(201, 168, 76, 0.4);
  transform: translateY(-3px);
  color: var(--primary);
}

.hero-buttons .btn-outline-custom {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.hero-buttons .btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stats .stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stats .stat-number {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--white);
}

.hero-stats .stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero-circle {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.hero-icon-wrapper {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-icon {
  font-size: 3rem;
  color: var(--accent);
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.85rem;
}

.floating-card i {
  color: var(--accent);
}

.floating-card.card-1 {
  top: 8%;
  right: -10%;
  animation: float 4s ease-in-out infinite;
}

.floating-card.card-2 {
  bottom: 8%;
  left: -10%;
  animation: float 4s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================================
   TENTANG / ABOUT
   ============================================ */
.about-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}

.about-point i {
  color: var(--accent);
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.about-card-header i {
  color: var(--accent);
  font-size: 1.4rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.timeline-item:hover {
  background: rgba(201, 168, 76, 0.06);
  border-left-color: var(--accent);
  transform: translateX(4px);
}

.timeline-item .year {
  font-weight: 700;
  color: var(--accent);
  min-width: 56px;
  font-size: 0.95rem;
}

.timeline-item p {
  margin: 0;
  font-weight: 500;
  font-size: 0.95rem;
}

/* ============================================
   LAYANAN / SERVICES
   ============================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.service-icon {
  width: 68px;
  height: 68px;
  background: rgba(201, 168, 76, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--accent);
  margin: 0 auto 16px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--white);
}

.service-card h5 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   LEGALITAS
   ============================================ */
.legal-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.legal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.legal-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.legal-card h6 {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.legal-card small {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.badge-legal {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.75rem;
  background: rgba(201, 168, 76, 0.08);
  color: var(--accent);
  margin: 4px;
}

/* ============================================
   KLIEN / CLIENTS
   ============================================ */
.client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.client-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px 12px;
  text-align: center;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.client-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
  color: var(--primary);
}

/* ============================================
   TESTIMONI
   ============================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
  font-weight: 900;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 8px 0 16px;
}

.testimonial-author strong {
  display: block;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   KONTAK
   ============================================ */
.contact-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.contact-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--text-muted);
}

.contact-item a:hover {
  color: var(--accent);
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 32px;
}

.brand-footer {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
}

.brand-footer span {
  color: var(--accent);
}

.brand-footer .brand-icon {
  color: var(--accent);
  margin-right: 6px;
}

.footer-desc {
  font-size: 0.9rem;
  margin-top: 8px;
  max-width: 280px;
}

.footer h6 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
  padding: 4px 0;
  font-size: 0.85rem;
}

.footer a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.06);
  margin: 32px 0;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-btn {
  position: fixed;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  z-index: 999;
  border: none;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}

.floating-btn.whatsapp {
  background: #25D366;
  bottom: 100px;
  right: 24px;
}

.floating-btn.scroll-top {
  background: var(--primary);
  bottom: 160px;
  right: 24px;
  opacity: 0;
  visibility: hidden;
}

.floating-btn.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.floating-btn.scroll-top:hover {
  background: var(--accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
  body {
    padding-top: 72px;
  }

  .section-padding {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero h1 .hero-brand {
    font-size: 2.4rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stats .stat-number {
    font-size: 1.4rem;
  }

  .client-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .hero {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero h1 .hero-brand {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero-stats .stat-number {
    font-size: 1.2rem;
  }

  .hero-stats .stat-label {
    font-size: 0.7rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-buttons .btn-primary-custom,
  .hero-buttons .btn-outline-custom {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .client-item {
    padding: 12px 8px;
    font-size: 0.7rem;
  }

  .about-card {
    padding: 24px;
  }

  .timeline-item {
    padding: 10px 14px;
  }

  .timeline-item .year {
    min-width: 48px;
    font-size: 0.85rem;
  }

  .map-wrapper {
    min-height: 280px;
  }

  .map-wrapper iframe {
    min-height: 280px;
  }

  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .floating-btn.whatsapp {
    bottom: 80px;
    right: 16px;
  }

  .floating-btn.scroll-top {
    bottom: 136px;
    right: 16px;
  }

  .footer {
    padding: 48px 0 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero h1 .hero-brand {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-card {
    display: none;
  }

  .hero-circle {
    width: 200px;
    height: 200px;
  }

  .hero-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .hero-icon {
    font-size: 2rem;
  }

  .legal-card {
    padding: 16px 12px;
  }

  .legal-card i {
    font-size: 1.5rem;
  }

  .contact-item {
    padding: 12px 0;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .service-card {
    padding: 24px 16px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }
}