* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #2a4c09;
  font-weight: 300;
  line-height: 1.6;
  color: #fff;
}

.layar-dalam {
  width: 1000px;
  margin: auto;
}

.layar-penuh {
  width: 100%;
  position:relative;
  z-index: 0;
}

/* === NAVBAR UTAMA (DESKTOP) === */
.navbar-custom {
  padding: 10px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.setting-margin-catalog{
  margin-top: 24px;
}
.navbar-non-dropdown{
  display: flex;
  padding-top: 7px;
}
.navbar-container-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: auto;
  padding: 0 0 0 0;
  height: 39.33px;
}

.navbar-container-custom .logo {
  flex-shrink: 0;
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

.nav-links li {
  list-style: none;
  position: relative;
}

.nav-links a,
.dropbtn {
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: background-color 0.3s, transform 0.3s;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.nav-links a:hover,
.dropbtn:hover {
  background-color: #d6670c;
  border-radius: 5px;
  transform: scale(1.05);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #3e2b05;
  top: 40px;
  left: 0px;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  flex-direction: column;
}

.dropdown-content a {
  padding: 10px 16px;
  display: block;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #d6670c;
}

.dropdown.show .dropdown-content,
.dropdown.open .dropdown-content {
  display: flex;
}

.arrow {
  font-size: 12px;
  transition: transform 0.3s;
  margin-left: 6px;
}

.dropdown.open .arrow {
  transform: rotate(180deg);
}

/* === HAMBURGER MENU (ICON) === */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  transition: 0.4s;
}

/* === SIDE NAVBAR (MOBILE) === */
.side-nav-custom {
  display: block;
  position: fixed;
  top: 0;
  right: -300px;
  width: 220px;
  height: 100%;
  background-color: #3e2b05;
  padding-top: 60px;
  transition: 0.7s ease-in-out;
  z-index: 99999;
}

.side-nav-custom.show {
  right: 0;
}

.side-nav-custom .nav-links {
  flex-direction: column;
  gap: 0;
}

.side-nav-custom .nav-links li {
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.side-nav-custom .nav-links a,
.side-nav-custom .dropbtn {
  color: white;
  text-decoration: none;
  font-size: 16px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-weight: 400;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.side-nav-custom .dropdown-content {
  display: none;
  flex-direction: column;
  background-color: #5c3d09;
  margin-top: 5px;
  padding-left: 15px;
}

.side-nav-custom .dropdown-content a {
  padding: 8px 0;
  font-size: 14px;
}

.side-nav-custom .dropdown.open .dropdown-content {
  display: flex;
}

/* === HEADER === */
header {
  padding-top: 80px;
  position: relative;
  height: 600px;
  width: 100%;
  overflow: hidden;
  z-index: -2;
}

header video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: -2;
  width: 2000px;
  height: 600px;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(128, 128, 128, 0.288);
  z-index: -1;
}

header .intro {
  z-index: 100;
  color: white;
  text-align: center;
  position: relative;
  top: 20%;
  padding: 0 100px;
}

header .intro h3 {
  font-size: 80px;
  font-weight: 700;
}

header .intro p {
  font-size: large;
  font-weight: 300;
}

.tombol {
  background-color: transparent;
  height: 40px;
  border: 2px solid white;
  line-height: 35px;
  color: white;
  font-weight: 600;
  display: inline-block;
  padding: 0px 20px;
  font-size: 15px;
  border-radius: 4px;
  transition: 0.4s;
  z-index: 9999;
  position: relative; 
}


.tombol:hover {
  background-color: rgb(214, 103, 12);
  transform: scale(1.1);
}

section {
  padding: 50px 0;
}

section h3 {
  font-size: 30px;
  font-weight: 700;
}

section h3::after {
  content: "";
  border-bottom: 5px solid rgb(194, 96, 96);
  width: 60px;
  display: block;
  margin: 20px 0;
}

/* === RESPONSIVE === */
@media screen and (max-width: 991.98px) {
  .layar-dalam {
    width: 90%;
  }

  .navbar-custom .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .side-nav-custom .nav-links {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
  }

  header .intro {
    padding: 0 20px;
  }

  header .intro h3 {
    font-size: 48px;
  }

  header video {
    width: 100%;
    height: auto;
  }
}

/* === LOGIN === */
.login-body,
.login-page {
  background-color: #2a4c09;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  background: #3e2b05;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  color: white;
  text-align: center;
  width: 300px;
}

.login-container h2 {
  margin-bottom: 20px;
}

.login-container input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
}

.login-container button {
  background-color: #d6670c;
  border: none;
  padding: 10px;
  width: 100%;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.login-container button:hover {
  background-color: #e8751c;
}

.error-msg {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

/* === DASHBOARD === */
.dashboard-body {
  background-color: #2a4c09;
  color: white;
  font-family: 'Inter', sans-serif;
  padding: 30px;
}

.dashboard-container {
  max-width: 1000px;
  margin: auto;
}

.dashboard-container h2 {
  margin-bottom: 10px;
}

.btn-add, .btn-save, .btn-logout {
  background-color: #d6670c;
  color: white;
  border: none;
  padding: 10px 15px;
  margin: 10px 5px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-add:hover, .btn-logout:hover {
  background-color: #e8751c;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #3e2b05;
}

th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #555;
}

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  color: black;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #999;
  border-radius: 5px;
}

.close {
  color: red;
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.action-buttons button {
  margin: 0 5px;
  padding: 5px 10px;
  background-color: #d6670c;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.navbar-custom {
  background-color: transparent;
  backdrop-filter: blur(1px);
  padding: 12px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: background-color 0.6s ease;
}
.navbar-custom-2 {
  background-color: #3e2b05;
  padding: 12px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: background-color 0.6s ease;
}

.navbar-container-custom .logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links li {
  position: relative;
  list-style: none;
}

.nav-links a,
.dropbtn {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.5s ease;
}

.nav-links a:hover,
.dropbtn:hover {
  background-color: #d6670c;
  border-radius: 5px;
  transform: scale(1.05);
}

.dropdown-content {
  display: none;
  flex-direction: column;
  position: absolute;
  background-color: #684809;
  top: 42px;
  left: 0;
  width: 180px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  z-index: 1001;
}

.dropdown-content a {
  font-size: 15px;
  transition: background-color 0.5s ease;
}

.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content {
  display: flex;
}

.arrow {
  font-size: 12px;
  margin-left: 6px;
  transition: transform 0.4s ease;
}

.dropdown.open .arrow {
  transform: rotate(180deg);
}
.side-nav-custom .dropdown-content {
  display: none;
  flex-direction: column;
  background-color: #5c3d09;
  padding-left: 15px;
  transition: max-height 0.5s ease;
  overflow: hidden;
}

.side-nav-custom .dropdown.open .dropdown-content {
  display: flex;
}

.side-nav-custom .dropdown .arrow {
  transition: transform 0.5s ease;
}

.side-nav-custom .dropdown.open .arrow {
  transform: rotate(180deg);
}

.side-nav-custom .dropbtn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 10px 0;
  color: white;
  font-size: 16px;
  cursor: pointer;
}
/* SIDE NAVBAR ACCORDION STYLE */
.side-nav-custom .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1.5s ease;
  padding-left: 20px; 
  font-weight: 100;
  list-style: disc !important;
  margin-top: 5px;
  list-style-type: disc;
  list-style-position: inside;
}

.side-nav-custom .submenu li {
  display: list-item !important;
  list-style-type: disc !important; 
}

.side-nav-custom .submenu li a {
  display: inline-block;
  padding-right: 3px;
  font-size: small;
  color: inherit;
  text-decoration: none;
}

.side-nav-custom .submenu a {
  font-weight: 100;
}

.side-nav-custom .dropdown.open .submenu {
  max-height: 500px; 
}

.side-nav-custom .dropdown .arrow {
  margin-left: 5px;
  transition: transform 0.4s ease;
}

.side-nav-custom .dropdown.open .arrow {
  transform: rotate(180deg);
}
.deskripsi-singkat{
  margin-left: 130px;
  margin-right: 130px;
  text-align: justify;
}
@media screen and (max-width: 991.98px) {
  .navbar-custom .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .side-nav-custom {
    display: block;
    position: fixed;
    top: 0;
    right: -300px;
    width: 220px;
    height: 100%;
    background-color: #3e2b05;
    padding-top: 60px;
    transition: right 0.5s ease-in-out;
    z-index: 9999;
  }

  .side-nav-custom.show {
    right: 0;
  }

  .side-nav-custom .nav-links {
    display: flex;
    flex-direction: column;
  }

  .side-nav-custom .nav-links li {
    padding: 10px 20px;
  }

  header .intro {
    padding: 0 20px;
  }

  header .intro h3 {
    font-size: 40px;
  }

  header .intro p {
    font-size: 16px;
  }

  header video {
    width: 100%;
    height: auto;
  }

  .layar-dalam {
    width: 90%;
  }
}
/* === INTRO SECTION GABUNGAN TEKS + VIDEO + MAPS === */
.intro-section {
  background-color: #f5f5f5;
  color: #222;
  padding: 60px 20px;
}

.intro-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.intro-text {
  flex: 1;
  min-width: 300px;
}


.carousel-title{
  padding-top: 40px;
  font-size: 32px;
  font-weight: 700;
  text-align: justify;
  color: #222;
}
.carousel-intro {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
  text-align: justify;
  color: #222;
}
.intro-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: justify;
}

.intro-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
  text-align: justify;
}

.intro-video {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.intro-maps {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.intro-maps iframe, .intro-video iframe {
  width: 480px;
  height: 280px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  align-items: center;
}

/* === RESPONSIF MOBILE === */
@media screen and (max-width: 768px) {
  .intro-container {
    flex-direction: column;
    text-align: center;
  }

  .intro-text h2 {
    font-size: 26px;
    text-align: justify;
  }

  .intro-text p {
    font-size: 15px;
    text-align: justify;
  }
}

@media screen and (max-width: 768px) {
  .carousel-title {
    font-size: 26px;
    text-align: justify;
  }

  .carousel-intro {
    font-size: 15px;
    text-align: justify;
  }
}

@media  screen and (max-width: 768px) {
  
  .intro-media {
    flex-direction: column;
    align-items: center;
  }

  .intro-video, .intro-maps{
    width: 100%;
  }

  .intro-video iframe, .intro-maps iframe {
    width: 300px;
    height: 220px;
  }
  
}
/* video responsif */
@media screen and (max-width: 768px) {
  header video {
   width: 768px;
   height: 750px;
  }
}
.navbar-scrolled {
  background-color: #3e2b05 !important;
}
.navbar-custom {
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* wrapper media */
.intro-media{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: row;
}

/* Animasi fade up */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
  will-change: opacity, transform;
}

.animate.visible {
  animation: fadeUp 0.8s ease-out forwards;
}
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0px 0px 40px 0px;
  background-color: #f5f5f5;
}

.carousel-container {
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  margin: auto;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  flex: 0 0 calc(33.33% - 20px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 10px;
  text-align: center;
  animation: fadeIn 1s ease;
}

.carousel-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.carousel-item h4 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* Panah */
.carousel-btn {
  position: absolute;
  top: 65%;
  transform: translateY(-50%);
  background: #3e2b05;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
  border-radius: 50%;
}

.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}

/* Responsif */
@media screen and (max-width: 768px) {
  .carousel-item {
    flex: 0 0 100%;
  }

  .carousel-btn {
    font-size: 20px;
    padding: 8px 12px;
  }
}
.carousel-item-link {
  text-decoration: none;
  color: inherit;
  flex: 0 0 calc(33.33% - 20px);
}

.carousel-item-link:hover .carousel-item {
  transform: scale(1.02);
  transition: 0.3s ease;
}
.carousel-container {
  overflow: hidden;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

#umkm-carousel {
  display: flex;
  transition: transform 0.6s ease-in-out;
  gap: 20px;
}

.carousel-item {
  flex: 0 0 calc(33.333% - 20px);
  box-sizing: border-box;
  background-color: #fff;
  color: #222;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.carousel-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

#footer {
  background-color: #3e2b05;
  color: #ccc;
  padding: 40px 20px 20px;
  font-family: 'Inter', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #999;
}

.footer-column a {
  color: #00d4c5;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 30px;
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.85rem;
  color: #888;
}

.footer-bottom a {
  color: #ccc;
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column {
    text-align: left;
  }

  .footer-bottom {
    text-align: center;
  }
}
