@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap");
@import "./layout.css";

:root {
  --primary-color: #ed1e8c;
  --primary-color-rgb: 237, 30, 140;
  --secondary-color: rgb(65, 141, 203);
  --secondary-color-rgb: 65, 141, 203;
  --third-color: #ed1c24;
  --third-color-rgb: 237, 28, 36;
  --fourth-color: #70ba44;
  --fourth-color-rgb: 112, 186, 68;
  --fifth-color: #f3b50c;
  --fifth-color-rgb: 243, 181, 12;
  --light-color: #f4f4f4;
  --light-color-rgb: 244, 244, 244;
  --border-color: #ddd;
  --border-color-rgb: 221, 221, 221;
  --dark-color: #333;
  --dark-color-rgb: 51, 51, 51;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Figtree", serif;
}

a {
  text-decoration: none;
  color: #000;
}

.btn {
  text-decoration: none;
  background-color: var(--fifth-color);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 999rem;
  font-size: 0.9em;
  font-weight: 500;
  outline: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: rgba(var(--fifth-color-rgb), 0.75);
}

.link {
  text-decoration: underline;
  color: var(--secondary-color);
  font-size: 0.9em;
}

.link:hover {
  color: rgba(var(--secondary-color-rgb), 0.75);
}

.line-light {
  width: 50%;
  height: 0.25rem;
  margin: 1rem 0;
  background: linear-gradient(
    to right,
    var(--secondary-color),
    rgba(var(--secondary-color-rgb), 0.5),
    rgba(var(--secondary-color-rgb), 0.25)
  );
}

.right {
  text-align: right !important;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.ml-2 {
  margin-left: 1rem;
}

footer .container {
  background: #333;
  color: #fff;
  padding-top: 0;
  padding-bottom: 0;
  max-width: none;
}

.top-footer {
  background-color: transparent;
  margin-bottom: -3rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

footer iframe {
  border-radius: 0.5rem;
}

footer hr {
  border-top: 1px solid #fff;
  margin: 1.25rem 0;
}

footer .bottom-footer {
  text-align: center;
  padding-bottom: 1.25rem;
  font-size: 0.85em;
}

.iframe-container {
  width: 100%;
  max-width: 400px;
  position: relative;
  padding-top: 100%; /* 100% memastikan aspek rasio 1:1 */
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.socials {
  width: 100%;
  margin: 2rem 0;
}

.socials [class^="col"] {
  padding-top: 0;
  padding-bottom: 0;
}

.social-media {
  color: #fff;
  font-size: 0.85em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  width: 100%;
}

.social-media:hover {
  color: var(--fifth-color);
}

.alamat-labor,
.alamat-labor p {
  text-align: right !important;
}

@media (max-width: 576px) {
  .btn {
    font-size: 0.85em;
  }

  .mt-sm-4 {
    margin-top: 1rem;
  }

  .top-footer {
    background-color: transparent;
    margin-bottom: -2rem;
    /* margin-left: -5rem; */
  }

  footer p {
    font-size: 0.8em;
  }

  footer h3 {
    font-size: 1em;
  }

  footer hr {
    margin: 1rem 0;
  }

  footer .bottom-footer {
    padding-bottom: 1rem;
    font-size: 0.75em;
  }

  .socials {
    margin: 1rem 0;
  }

  .social-media {
    font-size: 1em;
  }

  .alamat-labor,
  .alamat-labor p {
    text-align: left !important;
  }
}
