/* =========================================================
   WEBSITE DESA MODERN - STYLE UTAMA (TAMPILAN LEMBUT & RAPI)
   ========================================================= */

/* ===== PALET WARNA & FONT ===== */
:root {
  --navy: #0a2342;
  --green: #2b8a5f;
  --cream: #f9f8f4;
  --white: #ffffff;
  --gray-text: #444;
  --shadow: rgba(0, 0, 0, 0.08);
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: var(--cream);
  color: var(--gray-text);
  line-height: 1.7;
}

/* ===== HEADER ===== */
.header {
  background: var(--navy);
  color: var(--white);
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 3px 10px var(--shadow);
}

.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.logo {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: var(--white);
  padding: 6px;
  box-shadow: 0 2px 8px rgba(255,255,255,0.25);
}

.judul h1 {
  margin: 0;
  font-size: 2.1em;
  font-weight: 700;
  letter-spacing: 1px;
}

.judul p {
  margin: 5px 0 0;
  font-size: 1em;
  opacity: 0.85;
}

/* ===== NAVBAR ===== */
.navbar {
  margin-top: 18px;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.navbar a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
  background: var(--white);
  color: var(--navy);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  text-align: center;
  color: var(--white);
}

.hero-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  filter: brightness(0.65);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 720px;
  padding: 0 20px;
}

.hero-text h2 {
  font-size: 2.6em;
  margin-bottom: 10px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.5);
}

.hero-text p {
  font-size: 1.15em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: var(--white);
  color: var(--navy);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.btn:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== MENU RINGKASAN ===== */
.menu-ringkasan {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding: 70px 30px;
}

.card {
  background: var(--white);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 4px 10px var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.card h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.btn-secondary {
  display: inline-block;
  margin-top: 15px;
  padding: 9px 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--green);
  transform: translateY(-2px);
}

/* ===== TENTANG DESA ===== */
.tentang {
  background: var(--white);
  padding: 80px 30px;
  text-align: center;
  box-shadow: 0 3px 10px var(--shadow);
  border-radius: 12px;
  margin: 60px 30px;
}

.tentang h2 {
  color: var(--navy);
  font-size: 2em;
  margin-bottom: 25px;
}

.tentang p {
  max-width: 850px;
  margin: auto;
  font-size: 1.05em;
  line-height: 1.9;
  color: #555;
}

/* ===== GALERI MINI ===== */
.galeri-mini {
  padding: 70px 30px;
  text-align: center;
  background: var(--cream);
}

.galeri-mini h2 {
  color: var(--navy);
  margin-bottom: 30px;
  font-size: 1.9em;
}

.galeri-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.galeri-item {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 3px 10px var(--shadow);
  transition: all 0.3s ease;
}

.galeri-item:hover {
  transform: scale(1.05);
}

/* ===== MAPS ===== */
.maps {
  background: var(--white);
  text-align: center;
  padding: 70px 30px;
  border-radius: 12px;
  box-shadow: 0 3px 10px var(--shadow);
  margin: 60px 30px;
}

.maps h2 {
  color: var(--navy);
  font-size: 1.9em;
}

.map-frame {
  margin-top: 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 25px;
  font-size: 0.95em;
  line-height: 1.6;
  margin-top: 60px;
}