/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

@font-face {
  font-family: "Montserrat";
  src: url(/../fonts/Montserrat-Light.ttf) format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url(/../fonts/Montserrat-SemiBold.ttf) format("truetype");
  font-weight: 600; /* Semibold */
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url(/../fonts/Montserrat-Bold.ttf) format("truetype");
  font-weight: bold; /* atau 700 */
  font-style: normal;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  background-image: url(/../images/grafis/SSL-neo.gif);
  background-position: cover center;
  background-size: cover;
  height: 100vh;
}
a {
  text-decoration: none;
}
.main {
  height: 100vh;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.navbar {
  position: fixed;
  text-align: end;
  width: 100%;
  background-color: transparent;
  padding: 30px 0;
  z-index: 999;
}
.navbar a {
  text-decoration: none;
  padding: 0px 16px;
  font-size: 18px;
  color: #fff;
  text-align: center;
}
.navbar a:last-child {
  margin-right: 100px;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Hamburger Button */
.toggle-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 20px;
}

.bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
}

/* Navigation Links */
.navbar-links {
  display: flex;
  gap: 1rem;
}

.home {
  height: 100vh;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* background-image: url(/../images/logo/logo-SSL-white.png);
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center center; */
}
.home .logo {
  width: 65%;
}
.home .part-logo {
  width: 50px;
}
section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bg-blur {
  width: 100%;
  height: 80vh;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.bg-blur::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.about,
.clients,
.team,
.coverage,
.contact {
  padding: 30px 0;
  min-height: 85vh;
}

.about,
.team {
  display: flex;
  flex-direction: column;
}
.about .header {
  text-align: center;
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.about .header .logo {
  width: 35%;
}
.about .header .part-logo {
  width: 50px;
  margin-top: 10px;
}
.about .body {
  display: flex;
  width: 80%;
  justify-content: flex-start;
  align-items: center;
  align-self: center;
}
.about .body .title {
  padding: 0;
  width: 35%;
  text-align: center;
  font-size: 2rem;
  height: 35vh;
}
.about .body h1 {
  margin: 0;
  padding: 0;
}
.about .body .description {
  width: 65%;
  font-size: 18px;
  text-align: justify;
}
.team .header {
  text-align: justify;
  width: 90%;
  margin: auto;
}
.team .header h1 {
  font-weight: normal;
  font-size: 3rem;
}
.team .card-slider {
  display: flex;
  margin: 30px 0;
  padding: 0 100px;
}
.team .card-slider .photo {
  width: 30%;
  text-align: center;
}
.team .card-slider .photo img {
  width: 300px;
  max-width: 80%;
  height: 350px;
  object-fit: cover;
}
.team .card-slider .card-body {
  width: 70%;
  text-align: justify;
}
.team .card-slider .card-body h2 {
  font-size: 3rem;
  font-weight: normal;
  margin: 0;
  padding: 0;
}
.team .card-slider .card-body .label {
  font-size: 22px;
  color: black;
  padding: 10px 50px;
  background-color: rgba(255, 255, 255, 0.2);
  width: fit-content;
  font-weight: bold;
  margin: 20px 5px;
}
.coverage {
  background-image: url(/../images/grafis/indonesia-map-antialiased.gif);
  background-size: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 733px;
}
.coverage h2 {
  font-size: 3rem;
  font-weight: normal;
  text-align: center;
  margin: 10px 0;
}
.coverage p {
  text-align: center;
  padding: 0 10%;
}
.contact {
  display: flex;
  justify-content: space-around;
}
.contact .contact-form {
  flex: 1 1 45%;
  align-items: center;
  justify-content: center;
  padding: 50px 5%;
}
.contact .contact-form p {
  font-size: 22px;
}
.contact .contact-form input,
.contact .contact-form textarea,
.contact .contact-form button {
  box-sizing: border-box;
  width: 100%;
  color: #fff;
  background-color: transparent;
  border: 2px solid #fff;
  margin: 5px 0 20px 0;
  height: 40px;
  outline: none;
  padding: 0 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
}
.contact .contact-form button {
  color: #fff;
  border: none;
  font-weight: bold;
}
.contact .contact-form textarea {
  height: 120px;
}
.contact .contact-info {
  flex: 1 1 55%;
  padding: 0 50px;
}
.contact .contact-info a {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}
.contact .contact-info .header {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contact .contact-info .logo {
  width: 85%;
}
.contact .contact-info .part-logo {
  width: 50px;
  margin-top: 10px;
}
.contact-info h2 {
  font-size: 2rem;
}
.contact-info ul {
  list-style: none; /* Hapus bullet default */
  padding-left: 0;
  width: 80%;
}

.contact-info li {
  position: relative;
  padding-left: 40px; /* Ruang untuk ikon */
  margin-bottom: 20px;
}

.contact-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  transform: translateY(-50%);
  width: 30px; /* Ukuran ikon */
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Ikon untuk item pertama */
.contact-info li:nth-child(1)::before {
  background-image: url(/../images/icon/location.png);
}

/* Ikon untuk item kedua */
.contact-info li:nth-child(2)::before {
  background-image: url(/../images/icon/wa.png);
}

/* Ikon untuk item ketiga */
.contact-info li:nth-child(3)::before {
  background-image: url(/../images/icon/email.png);
}

.contact-info li:nth-child(4)::before {
  background-image: url(/../images/icon/instagram.png);
  filter: brightness(0) invert(1);
}
.contact-info li:nth-child(5)::before {
  background-image: url(/../images/icon/tiktok.png);
  filter: brightness(0) invert(1);
}

.slider-container {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
}
* {
  box-sizing: border-box;
  /* border: 1px solid red; */
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  cursor: grab;
}

.slider:active {
  cursor: grabbing;
}
.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  display: block;
}
.slider-track.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 28px;
  border-radius: 50%;
}
.part-logo:hover {
  transform: scale(1.2);
  transition: all 0.3s ease;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
.slider-logo {
  justify-content: center;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 10px;
  width: 90%;
  max-height: 120px;
}

.slider-track {
  display: flex;
  overflow: hidden;
  max-width: 100%;
  min-width: 80%;
  scroll-behavior: smooth;
  margin: 0 auto;
}

.slide-logo {
  flex: 0 0 calc(100% / 5); /* 6 item per baris */
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-logo img {
  max-width: 90%;
  max-height: 100px;
  height: auto;
  cursor: pointer;
  -webkit-user-drag: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-radius: 10px;
}

.arrow {
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 0 10px;
  z-index: 1;
}
.clients {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.clients .content {
  display: flex;
  flex-direction: row;
  width: 80%;
  height: 60vh;
}
.clients .content .content-detail {
  width: 100%;
  height: inherit;
  position: relative;
}
.clients .content .content-detail img {
  width: 100%;
  height: inherit;
  object-fit: contain;
  display: block;
  background-color: black;
}
.clients .content .content-detail .text {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 30px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.clients .content .content-detail .text .title {
  flex: 1 1 30%;
  font-size: 1.2rem;
}

.clients .content .content-detail .text .body {
  padding-left: 20px;
  border-left: 2px solid #fff;
  flex: 1 1 60%;
  font-size: 1rem;
  line-height: 1.6;
}
.clients .content .content-list {
  width: 30%;
  max-height: 70vh;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.clients .content .content-list img {
  width: 80%;
  margin-bottom: 10px;
  cursor: pointer;
}
/* 1. Animasi Fade-up untuk container */
.fade-up {
  transform: translateY(100px);
  animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeUp {
  to {
    transform: translateY(0);
  }
}
/* Transisi opacity untuk gambar */
#project-detail-image {
  transition: opacity 0.3s ease;
  opacity: 1;
}

#project-detail-image.fade-out {
  opacity: 0.2;
}
/* 2. Setup untuk animasi "terbuka dari kiri ke kanan" */
.text .title,
.text .body {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.text .title,
.text .body {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

/* Elemen dalam */
.text .title span,
.text .body span {
  display: inline-block;
  clip-path: inset(0 100% 0 0); /* tersembunyi dari kanan */
  transition: clip-path 1s ease;
}

/* Saat animate */
.text.fade-up.animate .title span {
  clip-path: inset(0 0% 0 0); /* tampil penuh */
}

.text.fade-up.animate .body span {
  clip-path: inset(0 0% 0 0);
  transition-delay: 0.5s;
}

/* Delay untuk animasi muncul berurutan */
.text .body::after {
  animation-delay: 1.2s;
}

@keyframes revealLeft {
  to {
    transform: scaleX(0);
  }
}
p {
  font-size: 18px;
}
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: -100px; /* posisi awal di luar layar kanan */
  padding: 10px 20px;
  font-size: 14px;
  background-color: rgba(176, 63, 63, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  border: none;
  border-radius: 5px;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 999;
  cursor: pointer;
}

.back-to-top.show {
  right: 40px; /* geser masuk ke layar */
  opacity: 1;
}

@media (max-width: 768px) {
  body {
    background-size: cover;
    background-position: center 100%;
    background-image: url(/../images/grafis/SSL-mobile.gif);
  }
  .back-to-top {
    background-color: rgba(0, 0, 0, 0.5);
  }
  p {
    font-size: 16px;
  }
  .header h1 {
    text-align: center;
    font-weight: bold;
  }
  .bg-blur {
    height: 85vh;
  }
  .navbar {
    padding: 20px 0;
  }
  .navbar.active {
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .navbar a {
    padding: 0 5px;
  }
  .navbar a:last-child {
    margin-right: 0;
  }
  .toggle-button {
    display: flex;
  }

  .navbar-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .navbar-links.active {
    display: flex;
  }

  .navbar-links .nav-link {
    padding: 0.5rem 0;
  }
  .home {
    background-size: 90%;
  }
  .home::after {
    top: 60%;
    left: 45%;
  }
  .about::after,
  .clients::after,
  .team::after,
  .contact::after {
    content: "";
    position: relative;
    bottom: -35px;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    box-shadow: 0 0 10px 2px rgba(166, 83, 83, 0.6); /* Efek blur */
    z-index: 1;
  }

  .contact::after {
    top: -20px;
  }
  .about .header {
    padding: 20px 0;
  }
  .about .header .logo {
    width: 85%;
  }
  .about .body {
    width: 90%;
    flex-direction: column;
  }
  .about .body .title {
    width: 100%;
    height: fit-content;
    font-size: 24px;
    padding: 20px 0;
  }
  .about .body .description {
    width: 100%;
  }
  .team .header h1 {
    font-size: 2rem;
  }
  .team .card-slider {
    flex-direction: column;
    padding: 0 10px;
  }
  .team .card-slider .photo {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .team .card-slider .photo img {
    width: 60%;
    height: 100%;
    object-fit: cover;
  }
  .team .card-slider .card-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .team .card-slider .card-body h2 {
    font-size: 2rem;
  }
  .team .card-slider .card-body .label {
    width: 70%;
    font-size: 18px;
    padding: 10px 0;
    text-align: center;
  }
  .team .prev {
    left: 0;
  }
  .team .next {
    right: 0;
  }
  .team .prev,
  .team .next {
    top: 40%;
    font-size: 18px;
  }

  .slide-logo {
    flex: 0 0 calc(100% / 3);
    padding: 0;
  }
  .slide-logo img {
    border-radius: 5px;
  }
  .arrow {
    font-size: 18px;
  }
  .clients .content {
    flex-direction: column;
    width: 90%;
    height: auto;
    max-height: 70vh;
    overflow-y: auto;
  }
  .clients .content .content-detail {
    width: 100%;
    height: 60vh;
  }
  .clients .content .content-detail .text {
    flex-direction: column;
    padding: 10px;
  }
  .clients .content .content-detail .text .title {
    font-size: 1.5rem;
  }
  .clients .content .content-detail .text .body {
    padding-top: 20px;
    padding-left: 0;
    border-left: none;
    border-top: 2px solid #fff;
    font-size: 1rem;
  }
  .clients .content .content-list {
    flex-direction: row;
    overflow-y: hidden;
    overflow-x: auto;
    width: 100%;
  }
  .clients .content .content-list img {
    width: 80px;
    margin: 10px 10px 10px 0;
    cursor: pointer;
  }
  .contact {
    flex-direction: column-reverse;
    overflow-y: auto;
    justify-content: center;
  }
  .contact .contact-form {
    width: 100%;
    height: auto;
    padding: 0 20px;
  }
  .contact .contact-info {
    height: auto;
    width: 100%;
    padding: 0 20px;
  }

  .coverage h2 {
    font-size: 2rem;
  }
  .coverage {
    background-size: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: fit-content;
    min-height: 65vh;
  }
}
