/* Website styles: navigation, hero, sections, forms and responsive layout. */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #222;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  background: white;
  gap: 24px;
}

.brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 2px;
}

.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
}

nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: bold;
}

nav a:hover {
  color: #a46c45;
}

.hero {
  position: relative;
  min-height: 540px;
  height: 72vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0009, #0001);
}

.hero article {
  position: relative;
  z-index: 1;
  padding: 8%;
  max-width: 900px;
}

h1 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.05;
  font-weight: 500;
  margin: 20px 0;
}

h2 {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 500;
  line-height: 1.15;
}

p {
  line-height: 1.8;
  white-space: pre-line;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: bold;
}

.btn,
button {
  display: inline-block;
  background: #243e40;
  color: white;
  padding: 15px 24px;
  border: 0;
  cursor: pointer;
  font-weight: bold;
}

.hero .btn {
  background: white;
  color: #222;
}

.section {
  padding: 75px 8%;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.split img,
.tiles img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.muted {
  background: #f1f0ec;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tiles img {
  height: 250px;
}

.tiles article {
  background: white;
}

.tiles article div {
  padding: 20px;
}

footer {
  background: #203739;
  color: white;
  padding: 55px 8%;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

footer a {
  display: block;
  margin: 10px 0;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #bbb;
  margin: 7px 0 16px;
  font: inherit;
}

label {
  font-weight: bold;
}

textarea {
  min-height: 110px;
}

form {
  max-width: 850px;
}

.panel {
  background: white;
  padding: 24px;
  margin: 20px 0;
  border: 1px solid #ddd;
}

.notice {
  background: #e5efe7;
  padding: 14px;
}

.danger {
  background: #943b35;
}

table {
  width: 100%;
  border-collapse: collapse;
}

td,
th {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  overflow-wrap: anywhere;
}

.admin {
  max-width: 1100px;
  margin: auto;
  padding: 25px;
}

.admin nav {
  padding: 20px 0;
}

.preview {
  max-width: 180px;
  max-height: 100px;
}

@media (max-width: 760px) {
  header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 12px;
  }

  .split,
  .tiles,
  footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 420px;
    height: 65vh;
  }

  .section {
    padding: 45px 6%;
  }

  .split {
    gap: 25px;
  }

  .split img {
    height: 250px;
  }
}
/* Logo perusahaan */
.brand {
  display: flex;
  align-items: center;
}

.brand img {
  width: 180px;
  height: auto;
  display: block;
}
.brand img {
  width: 120px;
  height: auto;
  display: block;
  visibility: visible;
  opacity: 1;
}
/* =====================================
   CONTACT INFORMATION
===================================== */

.contact-info {
  background-color: #203739;
  color: #ffffff;
  padding: 50px 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* Judul utama */
.contact-title {
  font-size: 30px;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 90px;
}

/* Layout tiga kolom */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 1500px;
  margin: 0 auto;
}

/* Masing-masing kolom */
.contact-item {
  text-align: center;
}

/* Ukuran ikon */
.contact-item i {
  font-size: 42px;
  color: #ffffff;
  margin-bottom: 25px;
}

/* Judul informasi */
.contact-item h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
  margin: 0 0 5px;
}

/* Isi informasi */
.contact-item p {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
  margin: 0;
  overflow-wrap: anywhere;
}

/* Link email dan telepon */
.contact-item a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

/* Efek ketika mouse diarahkan */
.contact-item a:hover {
  opacity: 0.7;
}

/* =====================================
   RESPONSIVE MOBILE
===================================== */

@media screen and (max-width: 768px) {
  .contact-info {
    padding: 60px 20px;
  }

  .contact-title {
    font-size: 28px;
    margin-bottom: 50px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-item i {
    font-size: 35px;
  }

  .contact-item h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .contact-item p {
    font-size: 18px;
  }
}
/* =====================================
   GALLERY FOTO
===================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

/* Tampilan tablet */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tampilan HP */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* =====================================
   CAREER INFORMATION
===================================== */

.career-info {
  padding: 80px 40px;
}

/* Judul Careers */
.career-info .contact-title {
  margin-bottom: 20px;
}

/* Deskripsi Careers */
.career-description {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Layout dua kolom */
.career-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
  gap: 50px;
}

/* Jarak judul dengan informasi */
.career-info .contact-item h3 {
  margin-bottom: 10px;
}

/* Tampilan HP */
@media (max-width: 768px) {
  .career-info {
    padding: 50px 20px;
  }

  .career-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .career-description {
    font-size: 16px;
  }
}
