/* ===== Reset & Global ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variables */
:root {
  --maroon: #660300;
  --dark: #340705;
  --gold: #ffbf00;
  --light-gold: #ffdc73;
  --orange: #e95007;
  --text: #333;
}

html, body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

h1, h2, h3, h4, h5, h6, p, ul, li, a {
  font-family: inherit;
  line-height: 1.6;
}

/* ===== Header ===== */
.site-header {
  background: #660300;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  margin-right: 15px;
}

.logo h1 {
  font-size: 20px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffbf00;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(rgba(102,3,0,0.75), rgba(102,3,0,0.75)),
              url('banner.jpg') no-repeat center/cover;
  color: #fff;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.hero h2 {
  font-size: 40px;
  margin-bottom: 15px;
  color: #ffdc73;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6), 4px 4px 12px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards 0.2s;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards 0.5s;
}

.hero .btn {
  background: #ffbf00;
  color: #340705;
  padding: 12px 28px;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards 0.8s;
}

.hero .btn:hover {
  background: #e8300e;
  color: #fff;
  transform: translateY(-3px);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Content Sections ===== */
.content {
  padding: 10px;
  max-width: 1000px;
  margin: auto;
}

.content h3 {
  font-size: 50px;
  font-weight:bold;
  color: var(--maroon);
  text-align: center;
  margin-bottom: 20px;
}

.content h4 {
  font-size: 20px;
  margin: 20px 0 10px;
  color: #e95007;
}

.content p {
  font-size: 15px;
  line-height: 1.7;
  text-align: justify;
}

.content ul {
  font-size: 15px;
  list-style: disc;      /* keep bullet */
  margin: 0;
  padding: 0 0 0 1.2rem;  /* give space for bullet */
}

.content ul li {
  margin: 0 0 10px 0;
  padding: 0;
  text-indent: 0;        /* reset indent */
}




/* Akses Pemilihan - always 3 columns */
.akses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(380px, 1fr));
  gap: 50px;
  max-width: 2000px;
  margin: 20px auto;
  justify-content: center;   /* ✅ center cards in container */
}

.akses-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease; /* ✅ smoother easing */
}

.akses-card:hover {
  transform: scale(1.05);    /* ✅ slightly smaller scale = natural */
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.akses-card h4 {
  font-size: 24px;
  text-align: center;
  color: var(--gold);
  margin-bottom: 20px;
}

.akses-card img {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: 20px auto;
  display: block;
}

.akses-card p {
  font-size: 15px;
  line-height: 1.7;
  text-align: justify;
  color: #333;
}

/* ===== Persiapan Grid ===== */
.persiapan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(320px, 1fr)); /* kasih min width */
  gap: 40px;
  max-width: 1400px;
  margin: 50px auto;
  justify-content: center; /* ✅ bikin grid rata tengah */
}

.persiapan-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
}

.persiapan-card img {
  width: 250px;
  height: auto;
  margin-bottom: 15px;
}

.persiapan-card h4 {
  font-size: 20px;
  color: #ffbf00;
  margin-bottom: 10px;
}

.persiapan-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 1200px) {
  .persiapan-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .persiapan-grid { grid-template-columns: 1fr; }
}

/* ===== Alur Pemilihan ===== */
.alur-pemilihan {
  max-width: 900px;
  margin: auto;
  padding-bottom: 100px;
  text-align: center;
}

.alur-pemilihan h2 {
  font-size: 50px;
  font-weight:bold;
  color: var(--maroon);
  text-align: center;
  margin: 10px 10px;
}

.timeline-img {
  max-width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: transform 0.3s;
}

.timeline-img:hover {
  transform: scale(1.5);
}

footer {
  background: #340705;
  color: #ffdc73;
  text-align: center;
  padding: 22px;
  font-size: 14px;
  letter-spacing: 0.5px;
  width: 100%;   /* jaga lebar penuh */
}


