/* Reset styling untuk margin dan padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Reset styling untuk margin dan padding */

body {
  font-family: 'Poppins', sans-serif;
  background-color: #272121;
  color: #333;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 30px; /* Atur ukuran logo */
  height: auto;
  margin-right: 10px; /* Beri jarak antara logo dan teks */
}

.company-name {
  font-size: 20px;
  font-weight: bold;
  color: white; /* Sesuaikan warna teks */
}

header {
  background: linear-gradient(135deg, #2d2a21, #E16428);
  color: white;
  padding: 15px 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  position: relative;
  margin: 0;
}

/* Styling untuk navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: transparent;;
}

.navbar .logo a {
  color: white;
  text-decoration: none;
  font-size: 24px;
}

.nav-links {
  list-style-type: none;
  display: flex;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 8px;
}

.nav-links a:hover {
  background:linear-gradient(135deg, #271d1d, #c66c05);
  border-radius: 5px;

}

/* Hamburger menu */
.hamburger {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Styling untuk halaman Kontak */
#contact {
    padding: 60px;
    background: #d7d6d5;
    border-radius: 16px;
    margin: 40px auto;
    width: 90%;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

#contact h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #E16428;
}

#contact-info p{
  color #E16428:
}

#contact-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Agar elemen tidak tumpang tindih pada layar kecil */
    gap: 20px; /* Menambahkan jarak antar elemen */
}

.contact-item {
    width: 10%;
    min-width: 245px; /* Mengatur lebar minimum untuk tiap item */
    box-sizing: border-box; /* Memastikan lebar termasuk padding */
}

.contact-item h3 {
    font-size: 1.5em;
    color: #E16428; /* Sesuaikan dengan warna tema */
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.1em;
    color: #89253e; /* Pastikan teks berwarna gelap agar mudah dibaca */
    word-wrap: break-word; /* Mencegah teks panjang terpotong atau meluap */
}

.contact-item a {
    text-decoration: none; /* Menghilangkan garis bawah link */
    color: #E16428; /* Menggunakan warna teks biasa */
}

.contact-item a:hover {
    color: #2d2a21; /* Ganti warna saat hover dengan warna yang sesuai */
}

#contact-form {
    background-color: #2d2a21;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0 auto;
}

#contact-form h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #E16428;
}

form label {
    font-size: 1.2em;
    margin-bottom: 10px;
    display: block;
    text-align: left;
    color: #E16428;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

form button {
    background-color: #E16428;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.2em;
}

form button:hover {
    background-color: #89253e;
}

#social-media {
    margin-top: 30px;
}

#social-media a {
    display: inline-block;
    margin: 0 15px;
    font-size: 1.2em;
    color: #E16428;
    text-decoration: none;
}

#social-media h3 {
    color: #E16428;
}

#social-media a:hover {
    color: #E16428;;
}

/* Styling Footer */
footer {
  background: linear-gradient(#2d2a21, #E16428) ;
  color: white;
  text-align: justify;
  padding: 20px;
  position: relative;
  bottom: 0;
  width: 100%;
  font-size: 1em;
}

/* Responsif untuk layar kecil */
@media screen and (max-width: 768px) {
  .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      position: absolute;
      top: 89px;
      left: 0;
      background: transparant;
      backdrop-filter: blur(10px); /* Efek blur */
      -webkit-backdrop-filter: blur(10px); /* Dukungan untuk Safari */
      border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Garis bawah halus */
      text-align: center;
      padding: 60px;
      transition: transform 0.3s ease;
  }
  .company-name::after {
    content: "KeChe";
    font-size: 25px;
    visibility: visible;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
  }
  .company-name{
      visibility: hidden; /* Sembunyikan teks awal */
      position: relative;
  }
  .company-name::after {
    visibility: visible;
    position: absolute;
    left: 0;
  }

  .nav-links.active {
      display: flex;
  }

  .nav-links li {
       margin: 10px 0;
  }

  .hamburger {
       display: block;
  }
}
