/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;
  --fade-time: 0.5s;
  /*========== Colors ==========*/
  --first-color: #ffa500;
  --first-color-alt: #12adb3;
  --title-color: #393939;
  --text-color: #707070;
  --text-color-light: #a6a6a6;
  --body-color: #fbfefd;
  --container-color: #ffffff;
  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== Margins ==========*/
  --mb-1: 0.5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 768px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*========== BASE ==========*/
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
  --title-color: #f1f3f2;
  --text-color: #c7d1cc;
  --body-color: #1d2521;
  --container-color: #1f1f1f;
}

/*========== Button Dark/Light ==========*/
.change-theme {
  position: absolute;
  right: 1rem;
  top: 1.8rem;
  color: var(--text-color);
  font-size: 1rem;
  cursor: pointer;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1,
h2,
h3,
ul,
p {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*========== CLASS CSS ==========*/
.section {
  padding: 4rem 0 2rem;
}

.section-title, .section-subtitle {
  text-align: center;
}

.section-title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-3);
}

.section-subtitle {
  display: block;
  color: var(--first-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
}

/*========== LAYOUT ==========*/
.bd-container {
  max-width: 960px;
  width: calc(100% - 2rem);
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

.bd-grid {
  display: grid;
  gap: 1.5rem;
}

.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
}

/*========== NAV ==========*/
.nav {
  max-width: 1024px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  width: 80px;
  padding-top: 0.3rem;
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem 0 1rem;
    text-align: center;
    background-color: var(--body-color);
    transition: 0.4s;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 1rem 1rem;
    z-index: var(--z-fixed);
  }
}

.nav__item {
  margin-bottom: var(--mb-2);
}

.nav__link, .nav__toggle {
  color: var(--text-color);
  font-weight: var(--font-medium);
}

.nav__logo:hover {
  color: var(--first-color);
}

.nav__link {
  transition: 0.3s;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__toggle {
  font-size: 1.3rem;
  cursor: pointer;
}

/* Show menu */
.show-menu {
  top: var(--header-height);
}

/* Active menu */
.active-link {
  color: var(--first-color-alt);
}

/* Change background header */
.scroll-header {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Scroll top */
.scrolltop {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.3rem;
  background: var(--first-color);
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: 0.4s;
  visibility: hidden;
}

.scrolltop:hover {
  background-color: var(--first-color-alt);
}

.scrolltop__icon {
  font-size: 1.8rem;
  color: var(--body-color);
}

.show-scroll {
  visibility: visible;
  bottom: 1.5rem;
}

.progress-container {
  width: 100%;
  height: 0.25rem;
  background: transparent;
}

.progress-bar {
  height: 0.25rem;
  background: var(--first-color-alt);
  width: 0%;
}

.content {
  padding: 100px 0;
  margin: 50px auto 0 auto;
  width: 80%;
}

/*========== HOME ==========*/
.home__container {
  height: calc(100vh - var(--header-height));
  align-content: center;
}

.home__container img {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -2;
  object-fit: cover;
}

.home__title {
  font-size: var(--biggest-font-size);
  color: var(--first-color);
  margin-bottom: var(--mb-1);
}

.home__subtitle {
  font-size: var(--h1-font-size);
  color: var(--first-color);
  margin-bottom: var(--mb-4);
}

.home .overlay {
  position: absolute;
  background: rgba(34, 34, 34, 0.75);
  background-repeat: no-repeat;
  overflow: hidden;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -2;
}

/*========== BUTTONS ==========*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: 0.3s;
}

.button:hover {
  background-color: var(--first-color-alt);
}

.button-sec {
  margin-left: 1rem;
  background-color: transparent;
  border: 0.1rem solid var(--first-color-alt);
}

/*========== ABOUT ==========*/
.about__data {
  text-align: center;
}

.about__description {
  margin-bottom: var(--mb-3);
  text-align: left;
}

.about__img {
  width: 280px;
  border-radius: 0.5rem;
  justify-self: center;
}

.about h3 {
  color: var(--title-color);
  text-align: left;
}

/*========== CTA ==========*/
.cta {
  background-color: var(--first-color);
  max-width: 960px;
  margin-inline: auto;
  color: var(--title-color);
  text-align: center;
  padding: 2rem 0;
  position: relative;
}

.cta img {
  position: absolute;
  top: -2.65rem;
  left: 10%;
  width: 6rem;
}

.cta__text {
  font-weight: 900;
}

.cta__action {
  color: var(--title-color);
  padding-top: 1rem;
}

.cta__action a {
  color: var(--container-color);
  text-shadow: 3px 3px 3px var(--title-color);
  font-weight: 100;
}

.cta i {
  padding-top: 1.5rem;
  font-size: 2rem;
}

/*========== SERVICES ==========*/
.services--flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 2rem;
}

.services--flex__cols--title {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-1);
}

.services--flex__cols--text {
  padding: 1rem 0;
  text-align: left;
}

/*========== Additional Info ==========*/
.additional-info__container {
  margin-top: -5rem;
}

.additional-info__container p {
  padding: 1rem 0rem;
  text-align: left;
}

/*========== O Nama ==========*/
.oNama__container {
  grid-template-columns: repeat(2, 1fr);
  row-gap: 2rem;
  padding: 1.5rem 0rem;
}

.oNama__container .oNama__container--text p {
  padding-top: 1rem;
}

/*========== APP ==========*/
.app__data {
  text-align: left;
}

.app__data ul li {
  padding-bottom: 1rem;
}

.app__description {
  margin-bottom: var(--mb-5);
  text-align: left;
}

.app__stores .button {
  margin-top: 1rem;
}

.app__img {
  width: 70%;
  justify-self: center;
}

/*========== img gallery ==========*/
.container {
  max-width: 760px;
  margin: auto;
}

.main-img img,
.imgs img {
  width: 100%;
  object-fit: contain;
}

.main-img img {
  height: 45vh;
  object-fit: contain;
}

.imgs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 5px;
}

.imgs img {
  cursor: pointer;
}

/* Fade in animation */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn var(--fade-time) ease-in 1 forwards;
}

/* Media Queries */
@media (max-width: 600px) {
  .imgs {
    grid-template-columns: repeat(4, 1fr);
  }
}

/*========== TEAM ==========*/
.team__container {
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
}

.team__content {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--container-color);
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(3, 74, 40, 0.15);
  padding: 0.75rem;
}

.team__img {
  width: 100px;
  border-radius: 50%;
  align-self: center;
  margin-bottom: var(--mb-2);
}

.team__name, .team__phone, .team__email {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.team__name a, .team__phone a, .team__email a {
  color: var(--first-color-alt);
  font-weight: normal;
}

.team__name a:hover, .team__phone a:hover, .team__email a:hover {
  color: var(--first-color);
}

.team__name {
  font-size: var(--normal-font-size);
}

.team__detail, .team__phone, .team__email {
  font-size: var(--small-font-size);
}

.team__detail, .team__email {
  margin-bottom: var(--mb-1);
}

.team__button {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  font-size: 1.25rem;
  padding: 0.625rem 0.813rem;
  border-radius: 0.5rem 0 0.5rem 0;
}

/*========== Mapa ==========*/
.map {
  padding-top: 2rem;
}

/*========== CONTACT ==========*/
.contact__container {
  text-align: center;
}

.contact__description {
  margin-bottom: var(--mb-3);
  text-align: left;
}

/*========== FOOTER ==========*/
.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 2rem;
}

.footer__logo {
  width: 70%;
  padding-top: 0.3rem;
  width: 7rem;
}

.footer__description {
  display: block;
  font-size: var(--small-font-size);
  margin: 0.25rem 0 var(--mb-3);
}

.footer__social {
  font-size: 2.2rem;
  color: var(--first-color);
  margin-right: var(--mb-2);
  transition: 0.5s ease-in-out;
}

.footer__social:hover {
  color: var(--first-color-alt);
  font-size: 2.35rem;
}

.footer__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-2);
}

.footer .thisMailto {
  color: var(--first-color);
  transition: 0.5s;
}

.footer .thisMailto:hover {
  color: var(--first-color-alt);
}

.footer__link {
  display: inline-block;
  color: var(--text-color);
  margin-bottom: var(--mb-1);
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__copy {
  text-align: center;
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  margin-top: 3.5rem;
}

.footer__copy a {
  color: var(--first-color);
  transition: 0.5s ease-in-out;
}

.footer__copy a:hover {
  color: var(--first-color-alt);
}

.bg-dark {
  background-color: var(--title-color);
  color: var(--body-color);
}

.bg-dark h2,
.bg-dark p,
.bg-light h2,
.bg-light p {
  padding: 1rem 2rem;
}

/*========== MEDIA QUERIES ==========*/
@media screen and (max-width: 575px) {
  h1.home__title {
    font-size: 1.93rem;
  }
  .services--flex {
    grid-template-columns: 1fr;
  }
  .team__content {
    padding: 0.5rem;
  }
  .footer__copy {
    text-align: left;
    font-size: 0.95rem;
  }
}

@media screen and (min-width: 576px) {
  .about__container,
  .app__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .about__data,
  .about__initial,
  .app__data,
  .app__initial,
  .contact__container,
  .contact__initial {
    text-align: initial;
  }
  .about__img,
  .app__img {
    width: 380px;
    order: -1;
  }
  .additional-info__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .additional-info__button {
    justify-self: center;
  }
  .oNama__container {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact__container {
    grid-template-columns: 1.75fr 1fr;
    align-items: center;
  }
  .contact__button {
    justify-self: center;
  }
}

@media screen and (min-width: 769px) {
  body {
    margin: 0;
  }
  .section {
    padding: 4rem 0;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__list {
    display: flex;
  }
  .nav__item {
    margin-left: var(--mb-5);
    margin-bottom: 0;
  }
  .nav__toggle {
    display: none;
  }
  .change-theme {
    position: initial;
    margin-left: var(--mb-2);
  }
  .home__container {
    height: 100vh;
    justify-items: center;
  }
  .services__container,
  .team__container {
    margin-top: var(--mb-6);
  }
  .team__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
  }
  .team__content {
    padding: 1.5rem;
  }
  .team__img {
    width: 130px;
  }
  .app__store {
    margin: 0 var(--mb-1) 0 0;
  }
}

@media screen and (min-width: 960px) {
  .bd-container {
    margin-left: auto;
    margin-right: auto;
  }
  .about__container,
  .app__container {
    column-gap: 7rem;
  }
}
