body{
	font-family:Arial, sans-serif;
	background: #FFFAFA;
	margin:0;
	padding: 0;
	text-align:justify;
}

/* Dropbox style*/
body {
  margin: 0;
  padding: 0;
}

h2, p {
  margin: 10px;
}
h3{
	text-align:center;
}

.navbar {
  background-color: #38444d;
  margin: 0;
  padding: 0;

  display: flex;
  justify-content: center; /* 👉 menu duduk tengah */
  align-items: center;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  justify-content: center; /* 👉 ini penting */
  align-items: center;
  gap: 10px;
}

.navbar li {
  display: inline-block;
}


.navbar li a, .dropbtn {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar li a:hover, .dropdown:hover .dropbtn {
  background-color: #111111;
}

.navbar li.dropdown {
  display: inline-block;
}

.navbar .dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.navbar .dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.navbar .dropdown-content a:hover {background-color: #f1f1f1;}

.navbar .dropdown:hover .dropdown-content {
  display: block;
}

.hero-header {
    position: relative;
    width: 100%;
    height: 350px;
    background-image: url("../Images/KampungBudaya.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    font-family: "Cinzel", serif;
}

/* Gelapkan gambar supaya teks lebih jelas */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

/* Teks besar gold */
.hero-title {
    position: relative;
    font-size: 55px;
    color: #f5d479; /* Gold */
    text-shadow: 2px 2px 6px black;
    font-weight: 800;
    letter-spacing: 3px;
}

/* Sub-title kecil */
.hero-subtitle {
    position: relative;
    font-size: 20px;
    color: #fff3c4;
    margin-top: 10px;
    text-shadow: 1px 1px 4px black;
}

.grid{
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 20px;
	align-items:start;
}
.card{
	background: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	line-height: 1.6;
	font-size:15px;
}
.card td{
	text-align:center;
	
}

.info-list ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #0000;
}

.slideshow-container {
  position: relative;
  width:500px;
  height:600px;
  margin: auto;
  border-radius: 10px;
  overflow: hidden;
}

.mySlides {
  display: none;
}

.fade {
  animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
  from {opacity: .4}
  to {opacity: 1}
}

.info-box p {
    margin: 6px 0;
    font-size: 15px;
}


/* Sidebar Buttons */
.sidebar-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: #2a7ae4;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
}

.btn:hover {
    background: #1b5bb8;
}
.flip-section {
    display:flex;
	flex-wrap:wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 40px auto;
    width: 90%;
	
}

.flip-card {
    background: transparent;
    width: 30%;
    height: 100px;
    perspective: 1000px; /* penting untuk efek flip */
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

/* Front and Back */
.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    padding: 20px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
}

/* Gaya depan */
.flip-front {
    background: #f5d479; /* gold */
    color: black;
    font-weight: bold;
}


/* Gaya belakang */
.flip-back {
    background: #2b2b2b;
    transform: rotateY(180deg);
}

.box{
	 border: 1px solid black;
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
	text-justify: inter-word;
	line-height: 1.6;
}
.box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.bx img {
    width: 80%;
    height: 380px;
	margin-right:10px;
	margin-left:50px;
    object-fit: cover;
    border-radius: 4px;
}

.bx1 img {
	display:block;
	max-width:600px;
	margin-left:auto;
	margin-right:auto;
    border-radius: 4px;
}

.gold-footer {
    background: #2b2b2b;
    color: #f5d479;
    padding: 40px 0 20px;
    margin-top: 40px;
    font-family: "Poppins", sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: auto;
    flex-wrap: wrap;
}

.footer-container h3, .footer-container h4 {
    color: #f5d479;
    margin-bottom: 15px;
}

.footer-about, .footer-links, .footer-contact {
    width: 30%;
    min-width: 200px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    padding: 5px 0;
}

.footer-links a {
    color: #fff6d1;
    text-decoration: none;
}

.footer-links a:hover {
    color: #f5d479;
}

.footer-contact i {
    margin-right: 8px;
    color: #f5d479;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #fff7dd;
    border-top: 1px solid #444;
    margin-top: 20px;
}