html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: row;
  background-color: #f4f4f4;
}
p {
  font-family: 'Poppins';
  color: #000000;
  text-align:none;
  font-weight: 300px;
  margin-bottom: 10px;
  animation: fadeIn 1.5s ease-in-out;
}

/* Sidebar */
.sidebar {
  width: 250px;
  height: 100vh;
  background-color: #2c3e50;
  color: white;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  position: fixed;
  left: 0;
  top: 0;
  transition: transform 0.3s ease;
  z-index: 1000;
}

.sidebar h2 {
  text-align: center;
  margin-bottom: 30px;
}

.sidebar a {
  padding: 15px 20px;
  text-decoration: none;
  color: white;
  display: block;
  transition: background 0.3s;
}

.sidebar a:hover {
  background-color: #34495e;
}

/* Tombol menu untuk HP */
.menu-toggle {
  display: none;
}

/* Navbar Mobile */
.navbar-mobile {
  display: none;
}

/* Main Content */
.main-content {
  margin-left: 250px;
  padding: 20px;
  flex: 1;
  box-sizing: border-box;
}

/* Text Box */
.text-box {
  background-color: #f4f4f4;
  border-left: 5px solid #3498db;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-box p {
  margin: 0;
  color: #333;
  line-height: 1.6;
}

/* Layout lokasi */
.lokasi-section {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 30px;
}

#konten-kiri {
  flex: 1;
  min-width: 300px;
}
#lokasi {
  flex: 0 0 auto;
  width: 250px;            /* Diperbesar */
  aspect-ratio: 1 / 1;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: auto;
  min-width: 150px;
  max-width: 250px;        /* Ikuti ukuran baru */
}

/*footer*/
.footer {
  background-color: #2c3e50;
  color: #ccc;
  padding: 30px 20px;
  text-align: center;
}

.footer .judul {
  color: orange;
  font-weight: bold;
}

.footer p {
  margin: 8px 0;
  font-size: 14px;
}


/* ============================== */
/* Mobile: max-width 600px */
/* ============================== */
@media screen and (max-width: 600px) {
  body {
    flex-direction: column;
    background-color: #e0f7fa;
  }

  .sidebar {
    width: 200px;
    transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
    position: fixed;
    top: 70px;
    left: 10px;
    background-color: #2c3e50;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    z-index: 1100;
    border-radius: 5px;
  }

  .navbar-mobile {
    display: flex;
    justify-content: space-around;
    background-color: #2c3e50;
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
  }

  .navbar-mobile a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 14px;
  }

  .navbar-mobile a:hover {
    background-color: #34495e;
    border-radius: 4px;
  }

  .main-content {
    margin: 100px 10px 20px 10px;
    padding: 10px;
    margin-left: 0;
  }

  .lokasi-section {
    flex-direction: column;
    align-items: center;
  }

  #lokasi {
    width: 100%;
    height: 300px;
    aspect-ratio: unset;
  }
}

/* Tablet */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 28px;
    text-align: center;
  }

  .container {
    width: 80%;
    margin: 0 auto;
  }

  .nav {
    display: flex;
    justify-content: space-around;
  }
}

/* Desktop */
@media screen and (min-width: 769px) {
  h1 {
    font-size: 36px;
    text-align: left;
  }

  .container {
    width: 60%;
    margin: 0 auto;
  }

  .nav {
    display: flex;
    justify-content: space-between;
  }

  .nav a {
    padding: 10px 20px;
  }
}



/*biar isi kanan kiri*/
.section-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.section-text {
  flex: 1;
  min-width: 250px;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.section-img {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
}

.section-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.content-left {
  flex-direction: row;
}

.content-right {
  flex-direction: row-reverse;
}
