body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

.btn-success {
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-weight: 700;
}

footer {
  font-size: 14px;
}


.login-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding-top: 10%;
}

.login-box {
  background: #fff;
  border-radius: 10px;
  padding: 30px 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.login-box h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #8f1cc4;
}

form label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: #333;
}

form input {
  width: 100%;
  padding: 10px 12px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.3s;
}

form input:focus {
  border-color: #2d7d46;
}

button {
  width: 100%;
  padding: 12px;
  margin-top: 25px;
  background-color: blue;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #c50aeb;
}

.alert {
  background-color: #f8d7da;
  color: #842029;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 14px;
}

.map-container {
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.footer-note {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #888;
}

.struktur-desa {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.struktur-desa .anggota {
  width: 180px;
  text-align: center;
}

.struktur-desa img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2d7d46;
  margin-bottom: 10px;
}
.gambar-berita {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.hero-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
background: url('../galeri/foto/berita1.jpeg') no-repeat center center;

  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

.map-container {
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
  .umkm-slider-container {
    max-width: 600px;
    margin: 0 auto;
  }

  .umkm-slider {
    position: relative;
    overflow: hidden;
    height: 300px;
  }
.umkm-item:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

  .umkm-item {
    display: none;
    position: absolute;
    width: 100%;
    text-align: center;
    transition: opacity 0.5s ease;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
  }

  .umkm-item.active {
    display: block;
  }

  .umkm-item img {
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
  }


  #umkmDots {
    margin-top: 10px;
  }

  .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
    cursor: pointer;
  }

  .dot.active {
    background-color: #28a745;
  }

.custom-ratio {
  aspect-ratio: 1024 / 461;
  object-fit: cover;
  width: 100%;
  border-radius: 0.5rem; 
}


