@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary-color: #ff0000;
  --text-color: #333;
  --light-text-color: #000000;
  --card-background: rgba(255, 255, 255);
  --color-bar: linear-gradient(to right, #ff4e50, #c31432);
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================
    AWAL STYLE NAVBAR
   ========================================== */

body {
  font-family: "Montserrat", sans-serif;
  background-image: url("../assets/banner/DST\ CONCEPT.jpg"); /* Desktop background */
  background-size: cover;
  background-position: center top 80px;
  background-repeat: no-repeat;
  min-height: 100vh;
  color: var(--text-color);
  overflow-x: hidden;
  z-index: 999;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style: none;
}

/* Navbar */
.navbar {
  background-color: var(--card-background);
  padding: 15px 0;
  box-shadow: 0 2px 4px var(--shadow-light);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar .logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--text-color);
}

.navbar .logo img {
  height: 50px;
  margin-right: 10px;
}

.navbar .nav-links ul {
  display: flex;
}

.navbar .nav-links ul li {
  margin-left: 30px;
}

.navbar .nav-links ul li a {
  color: var(--light-text-color);
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

.navbar .nav-links ul li a:hover {
  color: var(--primary-color);
}

.navbar .nav-auth {
  display: flex;
  align-items: center;
}

.navbar .nav-auth .sign-in {
  margin-right: 20px;
  color: var(--light-text-color);
}

.navbar .nav-auth .get-demo {
  background-color: #eee;
  color: var(--text-color);
  padding: 8px 15px;
}

.navbar .nav-auth .get-demo:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.hamburger-menu {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-color);
}

.nav-links a i {
  margin-right: 6px;
  color: #e60000;
}

.nav-links a {
  font-size: 20px !important;
}

/* ==========================================
    MOBILE STYLE
   ========================================== */
@media (max-width: 1024px) {
  .navbar .nav-links,
  .navbar .nav-auth {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .navbar .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--card-background);
    box-shadow: 0 4px 8px var(--shadow-medium);
    padding: 10px 0;
    align-items: center;
    justify-content: center;
    margin-top: -5px;
  }

  .navbar .nav-links.active ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .navbar .nav-links.active ul li {
    margin: -5px 0;
  }

  .navbar .nav-links.active ul li a {
    font-size: 1.5rem;
    padding: 10px 0;
    display: block;
  }
}

/* Mobile background (max-width: 768px) */
@media (max-width: 768px) {
  body {
    background-image: url("../assets/banner/DST_20250707_113601_0000.jpg"); /* Mobile background */
    background-size: cover;
    background-position: center top 40px;
    background-repeat: no-repeat;
  }

  .nav-links a i {
    margin-right: 6px;
    color: #e60000;
  }

  .nav-links a {
    font-size: 18px !important;
    margin-bottom: 10px;
  }
}

/* ==========================================
    AKHIR STYLE NAVBAR
   ========================================== */
.promo-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  margin-top: 70px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(1fr));
  gap: 20px;
}

.promo-item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
  margin-top: -15px;
}

.promo-item img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-caption {
  padding: 15px;
  font-size: 1rem;
  color: #555;
  text-align: left;
}

.subjudul {
  padding: 15px;
  font-size: 1rem;
  color: #555;
  text-align: left;
}

.promo-tanggal {
  color: rgb(146, 146, 146);
  display: block;
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.promo-judul {
  font-size: 1.5rem;
  color: black;
  font-weight: bold;
  margin-top: -30px;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-header {
  background-color: #fff;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 16px;
}

.accordion-header:hover {
  background-color: #f0f0f0;
  color: red;
}

.accordion-content {
  display: none;
  padding: 20px;
  background-color: #fafafa;
  font-size: 14px;
  line-height: 1.6;
}

.chevron {
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
}

.chevron:hover {
  color: red;
}

.rotate {
  transform: rotate(180deg);
}

ol,
ul {
  margin-left: 20px;
}

li {
  margin-bottom: 10px;
}

/* Responsive tambahan untuk mobile */
@media (max-width: 768px) {
  .promo-caption {
    font-size: 0.8rem;
  }

  .subjudul {
    margin-top: -20px;
    margin-bottom: -20px;
  }

  .promo-item {
    margin-top: -25px;
  }

  .promo-tanggal {
    font-size: 0.7rem;
    margin-bottom: 10px;
  }

  .promo-judul {
    font-size: 0.8rem;
  }

  .accordion-header {
    font-size: 14px;
  }

  .accordion-content {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .promo-caption {
    font-size: 0.8rem;
  }

  .subjudul {
    margin-top: -20px;
    margin-bottom: -20px;
  }

  .promo-item {
    margin-top: -25px;
  }

  .promo-tanggal {
    font-size: 0.7rem;
    margin-bottom: 10px;
  }

  .promo-judul {
    font-size: 0.8rem;
  }

  .accordion-header {
    font-size: 14px;
  }

  .accordion-content {
    font-size: 12px;
  }
}
/* ==========================================
    AWAL FOOTER
   ========================================== */
/* --- Footer Section --- */
footer {
  background-color: #ffffff; /* Warna putih untuk background footer */
  color: #555; /* Warna teks utama yang lebih gelap agar terbaca di background putih */
  padding: 60px 20px 20px;
  font-size: 0.95em;
  line-height: 1.6;
  border-top: 1px solid #eee; /* Tambahkan sedikit border atas untuk pemisah */
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.footer-about .footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-about p {
  margin-bottom: 25px;
  color: #666; /* Warna paragraf agar lebih gelap dari warna teks utama */
}

.footer-about .social-links {
  display: flex;
  justify-content: flex-start;
}

.footer-about .social-links a {
  color: #777; /* Warna ikon sosial yang sedikit abu-abu */
  font-size: 1.5em;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer-about .social-links a:hover {
  color: var(--primary-color); /* Warna merah Mitsubishi untuk hover */
}

.footer-links h3,
.footer-contact h3,
.footer-map h3 {
  font-size: 1.4em;
  margin-bottom: 25px;
  color: #333; /* Warna judul yang lebih gelap agar kontras */
  position: relative;
  padding-bottom: 10px;
  text-align: left;
}

/* Underline effect for headings */
.footer-links h3::after,
.footer-contact h3::after,
.footer-map h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color); /* Tetap merah untuk accent */
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #666; /* Warna link yang lebih gelap */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  color: #666; /* Warna teks kontak */
  text-align: left;
  justify-content: flex-start;
}

.footer-contact p i {
  margin-right: 10px;
  font-size: 1.1em;
  color: var(--primary-color); /* Tetap merah untuk ikon kontak */
  flex-shrink: 0;
  padding-top: 2px;
}

.footer-map iframe {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sesuaikan shadow untuk background terang */
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #ff0000; /* Warna border pemisah yang lebih terang */
  padding-top: 25px;
  margin-top: 25px;
  color: #000000; /* Warna teks copyright yang sedikit lebih terang */
  font-size: 0.9em;
}

.limapx {
  margin-top: -15px;
}

.cw {
  margin-top: -35px;
  font-weight: 600;
}

.area {
  margin-top: -35px;
  font-weight: 600;
}

/* Responsive adjustments for footer for screens up to 768px */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-map {
    margin-bottom: 30px;
    text-align: center;
  }

  .footer-about p {
    text-align: center;
  }

  .footer-about .social-links {
    justify-content: center;
  }

  .footer-links h3,
  .footer-contact h3,
  .footer-map h3 {
    text-align: center;
  }

  .footer-links h3::after,
  .footer-contact h3::after,
  .footer-map h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links ul {
    text-align: center;
  }

  .footer-links ul li {
    display: inline-block;
    margin: 0 10px 12px;
  }

  .footer-contact p {
    justify-content: center;
    text-align: center;
  }

  .limapx {
    margin-top: -15px;
  }

  .cw {
    margin-top: -40px;
    font-weight: 600;
  }

  .area {
    margin-top: -40px;
    font-weight: 600;
  }
}

/* Responsive adjustments for footer specifically for screens up to 480px */
@media (max-width: 480px) {
  footer {
    padding: 40px 15px 15px;
    font-size: 0.85em;
  }

  .footer-container {
    gap: 20px;
  }

  .footer-about .footer-logo {
    height: 50px;
  }

  .footer-about p,
  .footer-links ul li a,
  .footer-contact p,
  .footer-bottom p {
    font-size: 0.9em;
  }

  .footer-links h3,
  .footer-contact h3,
  .footer-map h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
  }

  .footer-about .social-links a {
    font-size: 1.3em;
    color: red;
    margin: 0 8px;
  }

  .footer-contact p i {
    font-size: 1em;
  }

  .footer-links ul li {
    margin: 0 8px 10px;
  }

  .strong {
    margin-top: -15px;
  }

  .footer-bottom {
    padding-bottom: 10px;
  }

  .limapx {
    margin-top: -15px;
  }

  .cw {
    margin-top: -40px;
    font-weight: 600;
  }

  .area {
    margin-top: -40px;
    font-weight: 600;
  }
}

/* ==========================================
    FLOATING WHATSAPP
   ========================================== */

.whatsapp-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: Arial, sans-serif;
}

.chat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #ff0000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.chat-bubble {
  background-color: #e60000;
  color: #fff;
  padding: 12px 15px;
  border-radius: 15px 15px 15px 0;
  max-width: 250px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

.chat-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.chat-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid #fff;
  font-size: 10px;
}

span.farah {
  font-size: 12px;
}

.chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  position: absolute;
  top: 5px;
  right: 10px;
  z-index: 9999;
  cursor: pointer;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .whatsapp-chat {
    bottom: 15px;
    right: 15px;
  }

  .chat-bubble {
    max-width: 220px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .chat-avatar {
    width: 35px;
    height: 35px;
  }

  .chat-icon {
    width: 75px;
    height: 75px;
  }
}

@media (max-width: 480px) {
  .chat-bubble {
    max-width: 180px;
    font-size: 13px;
    padding: 8px 10px;
  }

  .chat-close {
    pointer-events: auto;
    display: block;
  }

  .chat-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .chat-close {
    font-size: 25px;
    position: absolute;
    top: 5px;
    right: 10px;
    z-index: 999;
  }

  .chat-avatar {
    width: 30px;
    height: 30px;
  }

  .chat-icon {
    width: 70px;
    height: 70px;
  }

  span.farah {
    font-size: 11px;
  }
}
