/* ===================================
   WARNA TEMA
===================================== */
:root {
  --primary-red: #ff0000;
  --primary-dark: #1d3557;
  --primary-light: #ffffff;
  --yellow-accent: #ffea00;
  --soft-bg: #f8eaea;
  --text-dark: #333333;
  --bg-main: #ffffff;
  --text-main: #222222;
  --card-bg: #ffffff;
  --nav-bg: rgba(253, 0, 0, 1);
  --muted-text: #6c757d;
}
/* =====================================
   BODY
===================================== */
html,
body {
  font-family: "Quicksand", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: url("../img/seasonal-effect/buruh/box-32.png") 16 16, auto !important;
}

* {
  cursor: url("../img/seasonal-effect/buruh/box-32.png") 16 16, auto !important;
}

body:not(.dark-mode) {
  --bg-main: #ffffff;
  --text-main: #1f2937;
  --card-bg: #ffffff;
  --soft-bg: #f8eaea;
  --nav-bg: rgba(253, 0, 0, 1);
  --muted-text: #6b7280;
}
body {
  padding-top: 90px;
}

/*=====================================
   NAVBAR GLOBAL 
=====================================*/
.navbar-custom {
  background-color: rgba(92, 91, 91, 0);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 1100;
}

.navbar-custom.scrolled {
  background-color: rgba(253, 0, 0, 1);
  box-shadow: 0 6px 20px rgba(5, 5, 5, 0.616);
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
  color: rgb(255, 196, 2) !important;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.offcanvas {
  background: #ff0000;
}

.navbar-custom {
  text-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.5),
    0 8px 25px rgb(0, 0, 0);
}

/* ================================
   DROPDOWN PRODUK (SEMUA MODE)
================================ */

/* Item normal */
.navbar-custom .dropdown-item {
  background-color: #ffc402;
  color: #000000;
  transition: 0.3s;
}

/* Hover */
.navbar-custom .dropdown-item:hover {
  background-color: #000000 !important;
  color: #ffc402;
}

/* Kotak dropdown */
.navbar-custom .dropdown-menu {
  background-color: #ffc402;
  border-radius: 10px;
  padding: 8px;
}


/* ===============================
   HOVER EFFECT NAVBAR
=============================== */

.navbar-custom .nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.navbar-custom .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #ffc402;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-custom .nav-link:hover {
  color: #fff !important;
  text-shadow: 0 0 8px rgba(255,196,2,0.8);
}

.navbar-custom .nav-link:hover::after {
  width: 100%;
}

.navbar-custom .nav-link.active::after {
  width: 100%;
}

/* Desktop */
.navbar-custom .nav-link {
  color: #ffc402 !important;
  font-weight: 600;
}

/* Mobile */
.offcanvas .nav-link {
  color: #ffc402 !important;
  font-weight: 600;
  font-size: 1.2rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: rgba(0, 0, 0, 0.12);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: rgba(0, 0, 0, 0.12);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lang-toggle:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.2);
}

.lang-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
}

body.dark-mode .lang-toggle {
  background: rgba(255, 255, 255, 0.15);
  color: #ffe082;
}

body.dark-mode .lang-icon {
  background: rgba(255, 255, 255, 0.2);
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.2);
}

.theme-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
}

.theme-toggle-compact {
  margin-left: 8px;
}

body.dark-mode .theme-toggle {
  background: rgba(255, 255, 255, 0.15);
  color: #ffe082;
}

body.dark-mode .theme-toggle-icon {
  background: rgba(255, 255, 255, 0.2);
}


/* =====================================
   HERO SECTION
===================================== */
.hero {
  position: relative;
  background: url("../img/Bg--halaman2.png") center center/cover no-repeat;
  padding: 120px 20px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-section {
  position: relative;
  background: url("../img/Bg--halaman2.png") center center/cover no-repeat;
  padding: 120px 20px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    127deg,
    rgba(0, 0, 0, 0.6) 100%,
    rgba(255, 255, 255, 0) 100%
  );

  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

/* =====================================
   SECTION GLOBAL
===================================== */
.section-padding {
  padding: 80px 0;
}

.bg-soft {
  background-color: var(--soft-bg);
}

.text-red {
  color: var(--primary-red) !important;
}

.text-green-dark {
  color: var(--primary-dark) !important;
}

.text-muted {
  color: var(--muted-text) !important;
}

/* =====================================
           STATS SECTION
===================================== */
.stats-section {
  position: relative;
  padding: 40px 0;
  margin-top: -80px;
  z-index: 10;
}

.section-red-bg {
  background-color: var(--primary-red) !important;
  transition: 0.3s;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}

.stat-text {
  font-size: 18px;
  color: white;
}

.page-section {
  padding-top: 60px;
}


/* =====================================
           ABOUT SECTION
===================================== */
.about-section img {
  max-height: 350px;
  object-fit: cover;
}

/* =====================================
           BUTTON CUSTOM
===================================== */
.btn-custom-yellow {
  background-color: var(--yellow-accent);
  color: var(--text-dark);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-custom-yellow:hover {
  background-color: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 234, 0, 0.4);
}

body.dark-mode .btn-custom-yellow {
  background-color: #fbbf24;
  color: #111827;
  box-shadow: 0 6px 16px rgba(251, 191, 36, 0.35);
}

body.dark-mode .btn-custom-yellow:hover {
  background-color: #fde047;
  color: #0f172a;
}

/* =====================================
           CARD LAYANAN
===================================== */
.card-service {
  border: none;
  transition: 0.3s ease;
  background-color: var(--card-bg);
}

.card-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.5rem rgba(255, 0, 0, 0.2);
}

/* =====================================
           TESTIMONIALS
===================================== */
.card-hover-effect {
  transition: 0.3s ease;
  border: 2px solid #e0e0e0;
}

.card-hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
  border-color: var(--primary-red);
}

/* ICON */
.benefit-icon-white {
  font-size: 2.5rem;
  color: var(--primary-light);
  margin-bottom: 20px;
}
.benefit-icon-red {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 20px;
}

.card-box {
  transition: 0.3s ease;
  border-radius: 12px !important;
}

.card-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

/*=====================================
   FOOTER
===================================== */
footer {
  background-color: rgba(0, 0, 0, 0);
  position: relative;
}

footer .col-title {
  color: var(--yellow-accent);
}

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

footer a:hover {
    color: #ffc107 !important;
    transform: scale(1.2);
    transition: 0.3s;
}

.footer-email {
  font-size: 14px;
  color: #cbd5e1;
  margin-top: 8px;
}

.footer-email a {
  color: #fbbf24; /* kuning accent brand */
  text-decoration: none;
}

.footer-email a:hover {
  text-decoration: underline;
  color: #fde047;
}

.footer-email i {
  margin-right: 6px;
}

.footer-link {
  color: #fcfcfc;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
  color: #fde047;
}

body.dark-mode footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
}

body.dark-mode footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.15), rgba(255, 255, 255, 0.2), rgba(255, 215, 0, 0.15));
}


/*=====================================
  RESPONSIVE
===================================== */
@media (max-width: 768px) {
  .stats-section {
    margin-top: -40px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-text {
    font-size: 14px;
  }

  .hero {
    min-height: 50vh;
    padding: 80px 20px;
  }

  .section-padding {
    padding: 50px 0;
  }
}

/* Logo placeholder */
.logo-placeholder {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ffea00, #ffd700);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary-red);
}



.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: white;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}


.brand-title {
  font-weight: 700;
  display: block;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.brand-sub {
  display: block;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  opacity: 0.9;
}

/* ======================
   DARK MODE
====================== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-main: #0f172a;
    --text-main: #e5e7eb;
    --card-bg: #111827;
    --soft-bg: #0b1220;
    --nav-bg: #7f1d1d;
    --muted-text: #94a3b8;
  }
}

body.dark-mode {
  --bg-main: #0f172a;
  --text-main: #e5e7eb;
  --card-bg: #111827;
  --soft-bg: #0b1220;
  --nav-bg: #7f1d1d;
  --muted-text: #94a3b8;
}

body.dark-mode .navbar-custom.scrolled {
  background-color: var(--nav-bg);
}

body.dark-mode .card-service,
body.dark-mode .card-hover-effect,
body.dark-mode .card-box,
body.dark-mode .dropdown-menu,
body.dark-mode .offcanvas {
  background-color: var(--card-bg);
}

body.dark-mode .text-dark,
body.dark-mode p,
body.dark-mode .text-muted {
  color: var(--text-main) !important;
}

body.dark-mode .text-muted {
  color: var(--muted-text) !important;
}

body.dark-mode .bg-white {
  background-color: var(--card-bg) !important;
}

body.dark-mode section,
body.dark-mode .section-padding,
body.dark-mode .page-section,
body.dark-mode .bg-soft {
  background-color: var(--bg-main) !important;
}

body.dark-mode.bg-white,
body.dark-mode .bg-white {
  background-color: var(--bg-main) !important;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: var(--text-main);
}

body.dark-mode a {
  color: #f8d24e;
}

body.dark-mode a:hover {
  color: #ffd76a;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
}



/* ======================
   THEME SYSTEM
====================== */
/*
:root {
  --bg-main: #ffffff;
  --text-main: #222222;
  --card-bg: #ffffff;
  --nav-bg: #ff0000;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  transition: all 0.3s ease;
}

body.dark {
  --bg-main: #0f172a;
  --text-main: #e5e7eb;
  --card-bg: #1e293b;
  --nav-bg: #7f1d1d;
}

.section,
.card,
.manager-card,
.footer,
.offcanvas,
.dropdown-menu {
  background: var(--card-bg);
}

.navbar-custom {
  background: var(--nav-bg);
}
*/

/* =========================
   Back To Top
   ========================= */
.back-to-top {
  position: fixed;
  right: 23px;
  bottom: 90px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 0;
  background: #202e4a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 1002;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top.is-clicked {
  background: #b91c1c;
  transform: translateY(-2px) scale(0.98);
}

.seasonal-widget-open .back-to-top {
  z-index: 1000;
}

@media (max-width: 720px) {
  .back-to-top {
    right: 15px;
    bottom: 70px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
}
