:root {
  --color-primary: #a16bff;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
}

.about--company {
  width: 80%;
}

.about--company p {
  text-align: justify;
  line-height: 2rem;
}

.sosmen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  justify-items: center;
  align-items: center;
  align-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.sosmen__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  gap: 1rem;
  width: 100%;
  padding: 1rem;
}

.sosmen img {
  width: 100px;
  height: 30px;
  object-fit: cover;
}

.section {
  min-height: 80vh;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: opacity 2s, transform 2s;
}

.sectionHidden {
  opacity: 1;
  transform: translateY(50px);
}

.header {
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 800;
}

.dot {
  height: 3.2rem;
  width: 3.2rem;
  background-color: #5ec5763a;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

body {
  background-color: #f3f3f3;
  position: relative;
}

/* Navbar */
.navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 6rem;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
}

.navbar--image {
  width: 150px;
  height: 50px;
  object-fit: cover;
  cursor: pointer;
}

.navbar--list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  width: 45%;
}

.navbar--button {
  font-size: 1.2rem;
  align-items: center;
  text-decoration: none;
  color: black;
  cursor: pointer;
}

.navbar--buttons {
  padding: 0.7rem 1.3rem;
  background-color: white;
  border: none;
  outline: none;
  border-radius: 2rem;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  -ms-border-radius: 2rem;
  -o-border-radius: 2rem;
}

.navbar--buttons > * {
  color: var(--color-primary) !important;
}

.company--logo {
  display: flex;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
}

.company--logo p {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
}

/* Hero Section */
.hero {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  padding-inline: 12rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  gap: 2rem;
  justify-items: center;
  justify-content: center;
  background-image: url('./img/showroom6.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero2 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 12rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  gap: 2rem;
  background-image: url('./img/showroom6.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.hero2--text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 650px;
}

.hero2--text h1 {
  color: white !important;
}

.hero--text__container {
  margin: 0 auto;
  width: 100%;
}

.hero--text__header,
.hero--text__header span {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  text-align: center;
}

.hero--text__header span {
  color: var(--color-primary);
}

.hero--text__p {
  font-size: 1.8rem;
  font-weight: 300;
  margin-block: 2rem;
  margin-inline: 1rem;
  text-align: center;
  color: white;
}

.hero--text__button {
  border: none;
  outline: none;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  padding: 0.5rem 0.4rem;
  background: none;
  margin-inline: 1rem;
  cursor: pointer;
  transition: 0.5s;
  border-radius: 0.5rem;
}

.hero--text__button:hover {
  color: white;
  border-bottom: 1px solid white;
  background: var(--color-primary);
}

.hero--image {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.hero--image img {
  width: 80%;
}

/* Feature Section */
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  width: 100%;
}

.feature__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60%;
  margin-block: 3rem !important;
}

.feature__header {
  font-size: 2rem;
  text-align: center;
}

.feature__items {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  width: 80%;
  margin-bottom: 3rem;
}

.feature__item {
  display: flex;
  width: 100%;
  gap: 3rem;
  margin-block: 1rem;
  align-items: center;
  justify-content: center;
}

.feature__item--image {
  width: 100%;
  max-width: 300px;
}

.feature__item--text {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.feature__item--text--container {
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.feature__item--text--header {
  font-size: 1.5rem;
  margin-block: 1rem;
}

.feature__item--text--p {
  font-size: 1rem;
  line-height: 2rem;
  color: rgba(0, 0, 0, 0.6);
}

/* Operation Section */
.operation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.operation--information {
  /* color: var(--color-primary); */
  font-weight: bold;
}

.operation__items {
  width: 65%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: 4rem;
  background: white;
  position: relative;
}

.operation__items--button {
  color: black;
  padding: 1rem 0;
  width: 15rem;
  text-align: center;
  border-radius: 4rem;
  -webkit-border-radius: 4rem;
  -moz-border-radius: 4rem;
  -ms-border-radius: 4rem;
  -o-border-radius: 4rem;
  border: none;
  outline: none;
  line-height: 1rem;
  font-weight: bold;
}

.operation__items--buttonContainer {
  display: flex;
  padding-inline: 5rem;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  position: absolute;
  top: -30px;
  left: 0;
}

.btn-active {
  position: relative;
  top: -10px;
  left: 0;
}

.operation__items--info {
  display: grid;
  grid-template-columns: 1fr 7fr;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: -1;
  visibility: hidden;
}

.operation__items--infoContainer {
  position: relative;
  width: 100%;
}

.info--active {
  z-index: 3;
  visibility: visible;
}

.dotbig {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.dot-red {
  background-color: #ff58602d;
}

.dot-yellow {
  background-color: #ffcd0331;
}

.dot-green {
  background-color: #5ec5763a;
}

.btn-yellow {
  background: #ffcb03;
}

.btn-green {
  background: var(--color-primary);
}

.btn-red {
  background: #ff585f;
}

.operation__item--text--h1 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.operation__item--text--p {
  font-size: 1.3rem;
  line-height: 2rem;
  color: rgba(0, 0, 0, 0.5);
}

.operation__item--text {
  margin-left: 1rem;
}

/* Testimoni Page */
.testimoni {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.testimoni__items {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 60%;
  height: 500px;
}

.testimoni__items img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 30px;
  margin-inline: auto;
}

.testimoni__items--infoContainer {
  position: relative;
  width: calc(100% - 8rem);
  height: calc(5.5rem + 500px) !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.testimoni__items--petik {
  color: var(--color-primary);
  font-weight: bolder;
  font-size: 8rem;
  position: absolute;
  top: 0;
  left: 0;
}

.testimoni__items--info {
  padding: 4rem 3rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f3f3f3;
  height: 500px;
  width: 100%;
}

.arrow-left,
.arrow-right {
  height: 4rem;
  width: 4rem;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  font-size: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.testimoni__items--header {
  font-size: 2rem;
  font-weight: 700;
  margin-block: 1.5rem;
}

.testimoni__items--p {
  font-size: 1.3rem;
  line-height: 2rem;
  color: rgba(0, 0, 0, 0.6);
}

.testimoni__items--profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-left: 2rem;
  margin-top: 1.5rem;
}

.testimoni__items--profile--image {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  margin-right: 1.5rem;
}

.testimoni__items--profile--name {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.testimoni__items--profile--location {
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.6);
}

.testimoni__dots {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  width: 7%;
  margin-bottom: 2rem;
}

.testimoni__dot {
  height: 0.6rem;
  width: 0.6rem;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  background-color: gray;
  opacity: 0.5;
}

.testimoni__dots .dot-active {
  opacity: 1;
}

.testimoni--1 {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0%;
}

.testimoni--2 {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 100%;
}

.testimoni--3 {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 200%;
}

/* Gallery Section */
.gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-direction: column;
  margin-bottom: 3rem;
}

.gallery__container {
  width: 60%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
  gap: 1rem;
  justify-items: center;
  margin-bottom: 2rem;
}

.gallery__container img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid var(--color-primary);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* list Section */
.list__container {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  justify-content: center;
  gap: 1rem;
  justify-items: center;
  font-family: 'Poppins', sans-serif;
}

.list__item {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid var(--color-primary);
}

.list__item img {
  object-fit: cover;
}

.list__info {
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.list__info h4 {
  text-align: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.list__info h4 span {
  color: var(--color-primary);
  text-align: center;
}

.list__info p {
  color: rgba(0, 0, 0, 0.4);
  text-align: center;
}

.list__container img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Join Section */
.join {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgb(55, 56, 61);
  padding: 6rem 2rem;
}

.join__text {
  font-size: 3rem;
  color: white;
  width: 55%;
  margin: 0 auto;
  text-align: center;
}

.join__btn {
  padding: 1.3rem 2.5rem;
  background-color: var(--color-primary);
  color: black;
  border-radius: 5rem;
  -webkit-border-radius: 5rem;
  -moz-border-radius: 5rem;
  -ms-border-radius: 5rem;
  -o-border-radius: 5rem;
  border: none;
  outline: none;
  margin-top: 3rem;
  font-size: 1.3rem;
  cursor: pointer;
}

/* Footer Section */
.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 8rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.footer__items {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  width: 60%;
  gap: 1rem;
}

.footer_item {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  padding-inline: 0.5rem;
}

.footer__logo {
  width: 150px;
  height: 50px;
  object-fit: cover;
  margin: 0 auto;
  margin-block: 4rem;
}

.footer__copyright {
  text-align: center;
}

.footer__copyright span {
  color: white;
}

/* carousel style */

.mySlides {
  display: none;
}
img {
  vertical-align: middle;
}

/* Slideshow container */
.slide-container {
  width: 100%;
  display: flex;
  /* gap: 1rem; */
  justify-content: center;
  align-items: center;
}

.slideshow-container,
.slideshow-container3,
.slideshow-container4 {
  width: 30%;
  position: relative;
  margin: auto;
}

.slideshow-container img,
.slideshow-container3 img,
.slideshow-container4 img {
  width: 100%;
  object-fit: cover;
  height: 300px;
}

.slideshow-container2 img {
  width: 100%;
  object-fit: cover;
  height: 700px;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Login Style */

.login-container {
  display: grid;
  grid-template-columns: 1fr;
  width: 60%;
  margin-inline: auto;
}

.login-container > * {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.login-container form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}

.form-container h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-primary);
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-item input {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  outline: none;
  font-size: 1.2rem;
}

.form-item label {
  color: gray;
}

.form-container button {
  padding: 0.5rem 0.8rem;
  background-color: var(--color-primary);
  color: white;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.form-error {
  color: red;
  font-size: 1.2rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  display: none;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {
    font-size: 11px;
  }
}

@media only screen and (max-width: 1500px) {
  .testimoni__items {
    width: 70%;
  }
}

@media only screen and (max-width: 1400px) {
  .navbar--list {
    width: 60%;
  }

  .hero {
    padding-inline: 6rem;
  }

  .operation__items--buttonContainer {
    padding-inline: 0;
  }

  .operation__items--button {
    width: 11rem;
  }

  .testimoni__items {
    width: 90%;
  }
}

@media only screen and (max-width: 1200px) {
  .footer__items {
    width: 100%;
  }
}

@media only screen and (max-width: 1050px) {
  .navbar--list {
    width: 70%;
  }

  .hero--text__header,
  .hero--text__header span {
    font-size: 3rem;
  }

  .testimoni__items {
    width: 100%;
  }

  .join__text {
    width: 70%;
  }
}

@media only screen and (max-width: 900px) {
  * {
    font-size: 14px;
  }

  .hero2--text {
    width: 800px;
  }

  .hero {
    grid-template-columns: minmax(300px, 1fr);
  }

  .hero--image {
    grid-row: 1 / span 1;
  }

  .hero--text__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .section {
    min-height: 60vh;
  }

  .feature__header {
    font-size: 2.5rem;
  }

  .operation__items {
    width: 75%;
  }

  .feature {
    padding-top: 20rem;
  }

  .testimoni__items {
    height: 500px;
  }

  .testimoni__items--info {
    height: 500px;
  }

  .testimoni__items--infoContainer {
    height: calc(7rem + 550px);
  }

  .testimoni__dots {
    margin-bottom: 1.5rem;
  }

  .footer {
    padding-inline: 5rem;
  }
}

@media only screen and (max-width: 750px) {
  .join__text {
    width: 85%;
  }
  .feature__item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .feature__items {
    width: 100%;
  }

  .slideshow-container2 img {
    height: 600px;
  }

  .navbar--buttons,
  .company--logo {
    display: none;
  }

  .navbar--list {
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  * {
    font-size: 12px;
  }
  .login-container {
    width: 100%;
  }
  .about--company {
    width: 100%;
  }

  .slideshow-container2 img {
    height: 400px;
  }

  .hero2--text {
    width: 90%;
  }

  .hero2 {
    padding-inline: 5rem;
  }

  .section {
    min-height: 50vh;
  }

  .navbar--list {
    width: 100%;
  }

  .navbar {
    padding: 1.3rem 3rem;
  }

  .hero {
    padding-inline: 2rem;
  }

  .feature__header {
    font-size: 1.8rem;
  }

  .feature {
    padding-inline: 0;
    padding-top: 15rem;
  }

  .feature__item {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .operation__items {
    width: 85%;
  }

  .operation__items--button {
    font-size: 0.8rem;
    width: 9rem;
  }

  .dotbig {
    display: none;
  }

  .operation__items--info {
    grid-template-columns: 1fr;
  }

  .testimoni {
    gap: 4rem;
  }

  .testimoni__items--header {
    font-size: 1.4rem;
  }

  .testimoni__items--p {
    font-size: 1.2rem;
  }

  .testimoni__items--info {
    padding: 0;
  }

  .feature__info {
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 5rem !important;
  }

  .feature__header,
  .header {
    text-align: center;
  }

  .testimoni__items {
    height: 400px;
  }

  .testimoni__items--info {
    height: 400px;
  }

  .testimoni__items--infoContainer {
    height: calc(5.5rem + 400px);
  }

  .join__text {
    font-size: 2rem;
  }

  .footer {
    padding-inline: 4rem;
  }

  .testimoni__items {
    height: 300px;
  }

  .testimoni__items--infoContainer {
    height: calc(5.5rem + 300px) !important;
  }

  .testimoni__items--info {
    height: 300px;
  }

  .login-container {
    grid-template-columns: 1fr;
  }

  .login-container img {
    display: none;
  }
}

@media only screen and (max-width: 460px) {
  .navbar--image {
    display: none;
  }

  .slideshow-container2 img {
    height: 300px;
  }

  .navbar--list {
    width: 100%;
  }

  /* .testimoni__items {
    height: 150px;
  } */

  /* .testimoni__items--infoContainer {
    height: calc(5.5rem + 150px) !important;
  }

  .testimoni__items--info {
    height: 150px;
  } */

  /* .testimoni__items img {
    height: 200px;
  } */

  .hero2--text {
    width: 95%;
  }

  .hero2 {
    padding-inline: 2rem;
  }

  .testimoni__items--infoContainer {
    height: calc(5.5rem + 420px);
  }

  .footer {
    font-size: 0.8rem;
  }
  .feature {
    padding-top: 10rem;
  }
}

@media only screen and (max-width: 360px) {
  * {
    font-size: 10px;
  }

  .section {
    min-height: 40vh;
  }

  .operation__items {
    width: 95%;
  }

  .testimoni__items {
    height: 250px;
  }

  .testimoni__items--infoContainer {
    height: calc(5.5rem + 250px) !important;
  }

  .testimoni__items--info {
    height: 250px;
  }

  .feature__info {
    width: 85%;
  }

  .hero--text__p {
    margin-inline: 0;
  }
}
