/* ====== STYLE UMUM ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f8fdf8;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ====== NAVBAR ====== */
header {
  background-color: rgb(194, 0, 0); 
  color: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px; 
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.logo div {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  font-size: 1.5rem;
  color: #fff;
  margin: 0; 
  line-height: 1.2;
}

.logo p {
  font-size: 0.9rem;
  color: #e0e0e0; 
  margin: 0;
  font-weight: 400; 
}


nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  padding: 6px 12px;
  border-radius: 5px;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2); 
}

nav ul li a.active {
  background-color: #fff;
  color: #E53935; 
}


.menu-toggle {
  display: none; 
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* ====== STYLE RESPONSIVE (HP) ====== */
@media (max-width: 768px) {
  
 
  nav ul {
    display: none; 
    flex-direction: column;
    background-color: #E53935;
    position: absolute;
    top: 70px; 
    left: 0;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  nav ul.active {
    display: flex; 
  }
  
  .menu-toggle {
    display: block; 
  }

  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    text-align: center;
    padding: 15px;
  }
  
  nav ul li a:hover,
  nav ul li a.active {
    background-color: #fff;
    color: #E53935;
  }
}
/* ====== HERO SECTION ====== */
.hero {
  background: url('../assets/Desa\ Sawangan.jpg') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.btn {
  background-color: #E53935;
  color: #fff;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 25px;
  transition: 0.3s;
}

.btn:hover {
  background-color: #E53935;
}
/* ====== PENYESUAIAN TAMPILAN HP (RESPONSIVE) ====== */
@media (max-width: 768px) {
  
  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 10px 24px; 
    font-size: 0.9rem;
  }
}
/* ====== ABOUT ====== */
.about {
  padding: 60px 0;
  text-align: center;
}

.about h2 {
  font-size: 30px;
  font-weight: 800;
  color: #b30000;
  margin-bottom: 10px;
  text-align: center;
}

.about p {
  max-width: 800px;
  margin: auto;
  font-size: 1rem;
  text-align: center;
}

/* ====== INFORMASI UMUM ====== */
.info-umum {
  padding: 60px 0;
  background-color: #f8fdf8;
}

.info-judul {
  margin-bottom: 30px;
}

.info-judul h2 {
  font-size: 30px;
  font-weight: 800;
  color: #b30000;
  margin-bottom: 10px;
  text-align: center;
}


.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px; 
}

.info-box {
  background-color: #f0f7ff; 
  border: 1px solid #d9eaff; 
  padding: 25px;
  border-radius: 12px; 
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.06); 
}

.info-label {
  display: block; 
  color: #E53935; 
  font-weight: 600;
  font-size: 0.9rem; 
  margin-bottom: 8px;
}

.info-data {
  color: #333; 
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase; 
  margin: 0; 
}


@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr; 
  }

}

/* ====== POTENSI ====== */
.potential {
  padding: 60px 0;
  background-color: #e8f6ec;
}

.potential h2 {
  font-size: 30px;
  font-weight: 800;
  color: #b30000;
  margin-bottom: 10px;
  text-align: center;
}

.potential-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.potential-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s;
}

.potential-card:hover {
  transform: scale(1.05);
}

.potential-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.potential-card h3 {
  padding: 15px;
  color: #333;
}

/* ====== PETA DESA ====== */
.peta-desa {
  padding: 40px 0;
  background-color: #fff; 
}

.peta-judul {
  margin-bottom: 25px;
}

.peta-judul h2 {
  font-size: 30px;
  font-weight: 800;
  color: #b30000;
  margin-bottom: 10px;
  text-align: center;
}

.peta-judul p {
  font-size: 1rem;
  color: #555;
  text-align: center;
}

.peta-judul p em {
  font-style: italic; 
}

.peta-konten iframe {
  width: 100%;
  height: 450px; 
  border: none; 
  border-radius: 8px; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}
.administrasi {
  padding: 60px 0;
  background-color: #fff; 
}

.administrasi-judul {
  margin-bottom: 30px;
}

.administrasi-judul h2 {
  font-size: 30px;
  font-weight: 800;
  color: #b30000;
  margin-bottom: 10px;
  text-align: center;
}

.administrasi-judul p {
  font-size: 1rem;
  color: #555;
  text-align: center;
}


.administrasi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  border: 1px solid #e0e0e0; 
  border-radius: 8px; 
  overflow: hidden; 
}

.stats-item {
  display: flex;
  align-items: stretch; 
  background-color: #f7f7f7; 
}


.stats-item:nth-child(odd) {
   border-right: 1px solid #e0e0e0;
}


.stats-item:nth-child(n+3) { 
    border-top: 1px solid #e0e0e0;
}

.stats-angka {
  flex: 0 0 140px; 
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #F8575A, #E53935);
  color: #fff;
  font-size: 2.2rem; 
  font-weight: 700;
  padding: 20px;
}

.stats-label {
  flex-grow: 1; 
  display: flex;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333; 
}

@media (max-width: 768px) {
  .administrasi-grid {
    grid-template-columns: 1fr; 
  }
  
  .stats-item:nth-child(odd) {
     border-right: none; 
  }
  
 
  .stats-item:nth-child(n+2) { 
    border-top: 1px solid #e0e0e0;
  }
  .stats-item:nth-child(3) { 
    border-top: 1px solid #e0e0e0; 
  }
}

body, h2, h4, p, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* ===============================
potensi
=============================== */
.Gerald {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.Gerald::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

.Gerald-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.Gerald h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.Gerald p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.btn {
  background-color: #E53935;
  color: #fff;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 25px;
  transition: 0.3s;
}

.btn:hover {
  background-color: #E53935;
}
/* ===============================
  FOOTER (STYLE YANG BENAR)
=============================== */
.footer {
  background-color: rgb(194, 0, 0); 
  color: #FFFFFF;          
  padding: 40px 20px;      
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;  
}

.footer-top {
  display: flex;
  flex-direction: column; 
  gap: 30px;              
}

.footer-column h4 {
  font-size: 1.2rem;      
  font-weight: 700;     
  margin: 0 0 15px 0;   
}

.footer-column p {
  font-size: 0.95rem;      
  line-height: 1.6;      
  margin: 0;
}

.footer-column a {
  color: #FFFFFF;
  text-decoration: none; 
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-divider {
  border: none; 
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 30px 0;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;    
    justify-content: space-between;
    gap: 40px;                 
  }

  .footer-column {
    flex: 1;
  }
}