@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&family=Manrope:wght@200..800&display=swap');

:root {
  --default-font: "Manrope";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Ubuntu",  sans-serif;
}

:root { 
  --background-color: #ffffff;
  --background-color-contrast: #F0F8FC;
  --default-color: #444444;
  --heading-color: #5f687b;
  --accent-color: #1E6AAB;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.mt-1 {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 20px;
}

.mt-3 {
  margin-top: 30px;
}

.mt-4 {
  margin-top: 40px;
}

.mt-5 {
  margin-top: 50px;
}

.mb-1 {
  margin-bottom: 10px;
}

.mb-2 {
  margin-bottom: 20px;
}

.mb-3 {
  margin-bottom: 30px;
}

.mb-4 {
  margin-bottom: 40px;
}

.mb-5 {
  margin-bottom: 50px;
}

.navbar-header {
  height: 100%;
}

.navbar-header img {
  width: 70px;
}

.nav > li > a {
  display: inline;
}

.navbar-nav .btn-getstarted {
  padding: 8px 16px;
  font-size: 16px;
  background-color: var(--accent-color);
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--contrast-color);
  border-radius: 50px;
  border: none;
}

.btn-getstarted:hover {
  background-color: var(--background-color-contrast);
  color: var(--accent-color);
}

.hero {
  width: 100%;
  height: 70vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
  background-color: var(--background-color-contrast);
}

.hero-banner {
  display: flex;
  gap: 70px;
  justify-content: space-between;
  align-items: center;
}

.img-fluid {
  width: 100%;
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

.card-hero {
  width: 100%;
  padding: 32px;
  background-color: #ffffff;
  box-shadow: 0 12px 25px 0 rgba(0, 0, 0, 0.1);
  border-radius: 30px;
}

.card-hero .card-body-hero {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.card-hero .card-body-hero .form-card-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body-hero .form-card-hero .form-label-hero {
  font-family: 'Baloo Bhai 2';
  font-size: 35px;
  line-height: 135%;
  font-weight: 700;
  color: var(--accent-color);
}

.card-body-hero .form-card-hero .form-control-hero {
  border-radius: 4px;
  background-color: var(--background-color);
  border: 1px solid #A3D1F4;
  padding: 8px 14px;
  color: #A3D1F4;
}

.card-body-hero .form-card-hero .form-control-hero::placeholder {
  color: #A3D1F4;
}

.card-body-hero .form-card-hero .form-control-hero:focus {
  color: var(--accent-color);
  border-color: var(--accent-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.card-body-hero .btn-search-hero {
  padding: 8px 36px;
  font-size: 16px;
  background-color: var(--accent-color);
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--contrast-color);
  border-radius: 8px;
  border: none;
}

.btn-search-hero:hover {
  background-color: var(--background-color-contrast);
  color: var(--accent-color);
}

.content {
  padding: 0;
}

.section {
  padding: 60px 0;
}

.section .title-section {
  font-family: 'Baloo Bhai 2';
  font-size: 48px;
  line-height: 135%;
  font-weight: 700;
  color: var(--accent-color);
  text-align: center;
  margin-top: 0;
}

.section .sub-title-section {
  font-size: 24px;
  line-height: 135%;
  color: var(--accent-color);
  text-align: center;
}

.section-layanan {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 1)), url('../../img/bg-layanan.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.row-nav-layanan {
  width: 100%;
  display: flex;
  justify-content: center;
}

.row-nav-layanan .nav-layanan-item {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.nav-layanan-item .item-link {
  padding: 16px 73px;
  border-radius: 12px;
  background-color: #E5E5E5;
  color: #B6B6B6;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.nav-layanan-item .item-link:hover {
  background-color: #B6B6B6;
  color: #E5E5E5;
}

.nav-layanan-item .item-link.active {
  background-color: var(--accent-color);
  color: var(--background-color);
}

.tab-content-layanan {
  position: relative;
  min-height: 150px;
}

.tab-pane-layanan {
  display: none;
  position: absolute;
  width: 100%;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.tab-pane-layanan.active {
  display: block;
  position: relative;
  opacity: 1;
  transform: translateX(0);
}

.tab-pane-layanan.slide-in-left {
  transform: translateX(-100%);
}

.tab-pane-layanan.slide-in-right {
  transform: translateX(100%);
}

.pane-pelayanan {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.pane-pelayanan .card-layanan {
  width: calc(25% - 24px);
  padding: 24px 0;
  background-color: var(--background-color);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.card-layanan:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.pane-pelayanan .card-layanan .title-card-layanan {
  font-family: 'Baloo Bhai 2';
  font-size: 24px;
  color: var(--accent-color);
}

.pane-pelayanan .card-layanan .text-card-layanan {
  font-size: 16px;
  color: #444444;
}

.pane-pelayanan .card-layanan .sub-title-card-layanan {
  font-family: 'Baloo Bhai 2';
  font-size: 20px;
  color: var(--accent-color);
}

.section-galeri {
  background-image: linear-gradient(to bottom, rgba(240, 248, 252, 1), rgba(255, 255, 255, 1));
}

.filter-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.filter-buttons .filter-btn {
  cursor: pointer;
  background: none;
  border: none;
  color: #444444;
}

.filter-btn:hover {
  text-decoration: underline;
}

.filter-btn.active {
  color: var(--accent-color);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.gallery-item {
  width: calc(33.33% - 24px);
  height: 256px;
  overflow: hidden;
}

.gallery-item img {
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.1);
}

.section-kata-pelanggan {
  background-color: var(--background-color-contrast);
}

.scroll-container {
  overflow: hidden;
  width: 100%;
  background: #f0f8fc;
}

.scroll-track {
  display: flex;
  width: max-content;
  animation: scroll-left 20s linear infinite;
}

.scroll-item {
  flex: 0 0 400px;
  box-sizing: border-box;
  padding: 76px 41px;
  margin: 10px;
  background-color: var(--background-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.scroll-item .quotes {
  color: #E6EAEF;
}

.scroll-item p {
  white-space: normal;
  word-wrap: break-word;
  color: var(--accent-color);
}

.scroll-item .rating {
  display: flex;
  gap: 4px;
}

.rating svg {
  color: #E6EAEF;
}

.rating svg.gold {
  color: #FEC42D;
}

.section-outlet {
  background-color: var(--background-color);
}

.row-nav-outlet {
  display: flex;
  justify-content: center;
}

.row-nav-outlet .nav-outlet-item {
  display: flex;
  gap: 24px;
}

.nav-outlet-item .item-link-outlet {
  background-color: var(--background-color);
  width: 121px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px;
  color: #444444;
}

.nav-outlet-item .item-link-outlet.active {
  background-color: var(--background-color-contrast);
  color: var(--accent-color);
}

.nav-outlet-item .item-link-outlet:hover {
  background-color: var(--background-color-contrast);
  color: var(--accent-color);
}

.tab-content-outlet {
  position: relative;
  min-height: 150px;
}

.tab-pane-outlet {
  display: none;
  position: absolute;
  width: 100%;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.alamat {
  display: flex;
  gap: 24px;
  align-items: center;
}

.alamat img {
  width: calc(50% - 24px);
}

.alamat .alamat-detail .title-alamat {
  font-family: 'Baloo Bhai 2';
  font-size: 24px;
  line-height: 135%;
  color: var(--accent-color);
  font-weight: 700;
}

.alamat .alamat-detail .text-alamat {
  color: #444444;
  font-size: 16px;
  line-height: 135%;
}

.tab-pane-outlet.active {
  display: block;
  position: relative;
  opacity: 1;
  transform: translateX(0);
}

.tab-pane-outlet.slide-in-left {
  transform: translateX(-100%);
}

.tab-pane-outlet.slide-in-right {
  transform: translateX(100%);
}

.footer-new {
  padding: 60px 0;
  background-color: #E6EAEF;
}

.footer-container {
  display: flex;
  justify-content: space-between;
}

.footer-about .footer-about-logo {
  width: 463px;
  display: flex;
  gap: 16px;
}

.footer-about .footer-about-logo img {
  width: 72px;
  height: 90px;
}

.footer-about .footer-about-logo p {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.footer-about-sosmed {
  display: flex;
  gap: 10px;
}

.footer-about-sosmed .btn-sosmed {
  border: none;
  width: 50px;
  height: 50px;
  padding: 8px;
  border-radius: 50%;
  color: var(--background-color);
  background-color: var(--accent-color);
}

.title-footer-contact {
  color: var(--accent-color);
  font-size: 16px;
  line-height: 135%;
  font-weight: 700;
}

.item-footer-contact {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #444444;
}

.item-footer-contact svg {
  color: var(--accent-color);
}

.footer-copyright-new {
  background-color: var(--accent-color);
  text-align: center;
  color: var(--background-color);
  height: 135px;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .mt-2 {
    margin-top: 16px;
  }

  .mt-3 {
    margin-top: 16px;
  }

  .mt-4 {
    margin-top: 24px;
  }

  .mt-5 {
    margin-top: 24px;
  }

  .mb-2 {
    margin-bottom: 16px;
  }

  .mb-3 {
    margin-bottom: 16px;
  }

  .mb-4 {
    margin-bottom: 24px;
  }

  .mb-5 {
    margin-bottom: 24px;
  }

  .navbar-header img {
    width: 40px;
  }

  .hero {
    height: max-content;
    padding: 60px 0;
  }

  .hero-banner {
    flex-direction: column;
    gap: 24px;
  }

  .card-body-hero .form-card-hero .form-label-hero {
    font-size: 20px;
  }

  .hero button {
    font-size: 16px;
  }

  .section {
    padding: 30px 0;
  }

  .section .title-section {
    font-size: 24px;
  }

  .section .sub-title-section {
    font-size: 18px;
  }

  .row-nav-layanan .nav-layanan-item {
    flex-direction: column;
    gap: 8px;
  }

  .nav-layanan-item .item-link {
    width: 100%;
  }
  
  .pane-pelayanan {
    flex-direction: column;
  }

  .pane-pelayanan .card-layanan {
    width: 100%;
  }

  .filter-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .gallery {
    flex-direction: column;
    gap: 16px;
  }

  .gallery .gallery-item {
    width: 100%;
  }

  .nav-outlet-item .item-link-outlet {
    width: max-content;
  }

  .alamat {
    flex-direction: column;
  }

  .alamat img {
    width: 100%;
  }

  .footer-new {
    padding: 30px 0;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
  }

  .footer-about-logo {
    width: auto;
    flex-direction: column;
  }
}

@media screen and (min-width: 1500px) {
  .navbar-header {
    margin-top: 10px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}


@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}