/* Reset basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: "Poppins", sans-serif;
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  min-height: fit-content;
}

/* Navbar styles */
.navbar {
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background-color: #fff;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
  border-bottom: 1px solid #0a1f44;
}

.logo-container {
  height: auto;
}

.logo {
  max-height: 30px;
  width: auto;
  object-fit: contain;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  margin: 0 15px;
  color: #0a1f44;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  display: inline-block;
}

.navbar-extra {
  margin-left: 15px;
}

.nav-links a:hover {
  color: #f7921e;
}

.btn-quote {
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.btn-quote.orange {
  background-color: #f7921e;
  color: white;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-quote.orange:hover {
  background-color: #d35400;
}

.navbar .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

.navbar .navbar-extra svg {
  color: #0a1f44;
}

.navbar .navbar-extra svg:hover {
  color: #f7921e;
}

#hamburger-menu {
  display: none;
}

.side-menu {
  display: none;
}

/*section produk*/

/* Judul bagian atas */
.about-title {
  padding: 70px 50px 0 50px;
  border-bottom: 1px solid #0a1f44;
}

.about-title1 h3 {
  letter-spacing: 2px;
  font-weight: 550;
  font-size: 1rem;
  color: #0a1f44;
  margin-bottom: 0;
}

.about-title h1 {
  font-size: 3rem;
  line-height: 4rem;
  font-weight: 500;
  padding-top: 1rem;
  padding-bottom: 110px;
  color: #0a1f44;
}

.about-heading {
  display: flex;
  align-items: center;
  gap: 10px; /* Jarak antara logo dan teks */
  font-weight: 550;
  font-size: 1rem;
  color: #0a1f44;
  letter-spacing: 2px;
  padding-bottom: 1rem;
}

.logo-icon {
  height: 1rem; /* Sesuaikan dengan ukuran teks */
  width: auto;
  display: inline-block;
}

/* Grid Produk */
.product-section {
  padding: 0 50px 0px 50px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.product-item {
  text-align: center;
  padding-bottom: 20px;
  cursor: pointer;
}

.image-wrapper {
  transition: transform 0.3s ease;
  overflow: hidden;
}

.product-item:hover .image-wrapper img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.product-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.product-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0a1f44;
  margin-top: 12px;
  text-align: center;
}

/* Deskripsi bawah */
.product-description {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #0a1f44;
  line-height: 1.7;
  text-align: center;
}

.product-description p {
  font-size: 1.2rem;
}

.desk-container {
  background-color: #fff;
  padding: 50px;
  border-bottom: 1px solid #0a1f44;
  border-top: 1px solid #0a1f44;
}

/*cta section*/

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-section {
  background-color: #0a1f44;
  color: #fff;
  text-align: center;
  padding: 50px;
}

.cta-text h2 {
  font-size: 2.5rem;
  font-weight: 500;
  padding-bottom: 1.5rem;
}

.cta-section .btn-quote-cta {
  display: inline-block;
  padding: 20px 30px;
  background-color: #f7921e;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  width: auto;
  max-width: fit-content;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-quote-cta:hover {
  background-color: #d35400;
}

/*footer section*/
.footer {
  background-color: #f4f4f4;
  color: #0a1f44;
  padding: 50px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  gap: 40px;
  align-items: flex-start;
}

.footer-logo,
.footer-links,
.footer-contact {
  flex: 1 1 200px;
}

.footer-logo {
  height: auto;
}

.logo-footer {
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

.footer-logo p {
  font-size: 1.2rem;
  color: #0a1f44;
  padding-top: 1rem;
  font-weight: bold;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 10px;
  color: #0a1f44;
  font-size: 1.2rem;
  font-weight: 550;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #0a1f44;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #f7921e;
}

.footer-contact p {
  font-size: 16px;
  color: #0a1f44;
  margin: 6px 0;
}

.footer-social {
  color: #0a1f44;
  margin-top: 10px;
}

.footer-social a {
  display: inline-block;
  margin-right: 12px;
}

.footer-social a img {
  width: 24px;
  height: 24px;
  filter: none; /* putih */
  transition: 0.3s ease;
  filter: brightness(0) saturate(100%) invert(13%) sepia(24%) saturate(2292%)
    hue-rotate(195deg) brightness(93%) contrast(97%);
}

.footer-social a img:hover {
  filter: brightness(0) saturate(100%) invert(38%) sepia(92%) saturate(745%)
    hue-rotate(1deg) brightness(98%) contrast(93%);
}

.footer-map {
  padding-top: 1rem;
  flex: 1 1 auto;
  min-height: 200px;
  display: flex;
  justify-content: flex-end;
}

.footer-map iframe {
  width: 100%;
  height: 200px;
  border: 0;
}

.footer2 {
  background-color: #0a1f44;
}

.footer-bottom {
  text-align: center;
  padding: 2rem;
  font-size: 13px;
  color: #fff;
}

/* mobile */
@media (max-width: 767.98px) {
  /*navbar section*/

  html.noscroll,
  body.noscroll {
    overflow: hidden !important;
    height: 100%;
    width: 100%;
  }

  .navbar {
    padding: 20px 20px;
  }

  #hamburger-menu {
    display: inline-block;
    z-index: 2001;
  }

  #hamburger-menu svg {
    width: auto;
    height: 25px;
  }

  .logo {
    height: 25px;
    width: auto;
  }

  .nav-links {
    display: none;
  }

  .navbar-extra {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  body.noscroll {
    overflow: hidden;
  }

  .navbar.remove-bg {
    background-color: transparent !important;
    transition: background-color 0.3s ease;
  }

  .side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #0a1f44;
    padding: 60px 30px;
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
  }

  .side-menu.active {
    right: 0;
  }

  .side-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 60px;
    width: 100%;
  }

  .side-nav a {
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    width: 100%;
    transition: color 0.3s ease;
  }

  .side-nav a:hover,
  .side-nav a.active {
    color: #f7921e;
  }

  .btn-quote {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
  }

  .btn-quote.orange {
    background-color: #f7921e;
    color: white;
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 10px;
    display: none;
  }

  .close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 55px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .close-btn:hover {
    transform: rotate(90deg);
  }

  .close-btn.leave {
    transform: rotate(0deg);
  }

  /*about section*/
  .about-title {
    padding: 30px 20px;
  }

  .about-title h3 {
    font-size: 0.8rem;
  }

  .logo-icon {
    height: 0.8rem;
    width: auto;
  }

  .about-title h1 {
    font-size: 2rem;
    line-height: 2.5rem;
    padding: 0;
  }

  .product-section {
    padding: 30px 20px 0px 20px;
  }

  .product-item h3 {
    font-size: 1rem;
  }

  .desk-container {
    padding: 30px 0px;
  }

  .desk-container p {
    text-align: left;
  }

  .cta-text h2 {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .cta-section {
    padding: 30px 20px;
  }

  .cta-section .btn-quote-cta {
    font-size: 15px;
    padding: 10px 20px;
  }

  /*footer section*/
  .logo-footer {
    max-width: 50px;
  }

  .footer {
    padding: 30px 20px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
  /*navbar section*/

  html.noscroll,
  body.noscroll {
    overflow: hidden !important;
    height: 100%;
    width: 100%;
  }

  .navbar {
    padding: 30px 30px;
  }

  #hamburger-menu {
    display: inline-block;
    z-index: 2001;
  }

  #hamburger-menu svg {
    width: auto;
    height: 30px;
  }

  .logo {
    height: 30px;
    width: auto;
  }

  .nav-links {
    display: none;
  }

  .navbar-extra {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  body.noscroll {
    overflow: hidden;
  }

  .navbar.remove-bg {
    background-color: transparent !important;
    transition: background-color 0.3s ease;
  }

  .side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #0a1f44;
    padding: 60px 30px;
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
  }

  .side-menu.active {
    right: 0;
  }

  .side-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 60px;
    width: 100%;
  }

  .side-nav a {
    font-size: 2rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    width: 100%;
    transition: color 0.3s ease;
  }

  .side-nav a:hover,
  .side-nav a.active {
    color: #f7921e;
  }

  .btn-quote {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
  }

  .btn-quote.orange {
    background-color: #f7921e;
    color: white;
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    border-radius: 50px;
  }

  .close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 60px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .close-btn:hover {
    transform: rotate(90deg);
  }

  .close-btn.leave {
    transform: rotate(0deg);
  }

  .about-title {
    padding: 50px 30px 0px 30px;
  }

  .about-title h1 {
    padding-bottom: 50px;
    font-size: 2.5rem;
    line-height: 3.5rem;
  }

  .about-heading {
    padding-bottom: 0px;
  }

  .product-grid {
    padding: 50px 30px 50px 30px;
    margin-bottom: 0;
  }

  .product-section {
    padding: 0;
  }

  .logo-footer {
    max-width: 70px;
  }

  .footer {
    padding: 50px 30px;
  }
}
