/* style.css - final dengan padding section dan Visi/Misi */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #111;
  background: linear-gradient(270deg, #4f46e5, #14b8a6, #f59e0b);
  background-size: 600% 600%;
  animation: gradientAnim 15s ease infinite;
}

@keyframes gradientAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 1rem; }

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.branding { display: flex; align-items: center; }
.logo-box {
  width: 80px; /* atau sesuaikan */
  height: 50px;
  background: url('/../public/uploads/logo.png') center/contain no-repeat;
  border-radius: 6px;
  margin-right: 1rem;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 16px; color: #111827; }
.brand-tagline { font-size: 13px; color: #6b7280; }
.top-nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}
.top-nav a:hover { color: #6366f1; }

/* Hamburger for mobile */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 4px; }
.menu-toggle span { width: 25px; height: 3px; background: #111827; border-radius: 2px; }
@media(max-width:768px){
  .top-nav { display: none; flex-direction: column; background: #fff; position: absolute; top: 100%; right: 0; width: 200px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 1rem; }
  .top-nav.show { display: flex; }
  .menu-toggle { display: flex; }
}

/* Banner */
.banner {
  background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff;
  padding: 10rem 1rem; /* lebih tinggi dari sebelumnya */
  text-align: center;
}

.banner h1 {
  margin: 0;
  font-size: 4.5rem; /* lebih besar */
  text-shadow: 0 4px 8px rgba(0,0,0,.5);
}

.banner p {
  font-size: 1.6rem; /* lebih besar */
  margin-top: 1rem;
}

/* Section headings */
h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff; /* Judul section putih */
}

/* Padding untuk tiap section */
section {
  padding: 4rem 1rem; /* 4rem atas-bawah, 1rem kiri-kanan */
}

/* Cards and Grid */
.card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  text-align: center; /* tengahkan teks Visi/Misi */
  font-size: 1.2rem; /* teks sedikit lebih besar */
}
.grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1rem; }
.grid.vm { grid-template-columns: 1fr; gap: 1rem; }
.grid.highlights .card img, .grid.projects .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
.grid.highlights h3, .grid.projects h3 { margin-top: 0.5rem; font-size: 16px; }
.grid.highlights p, .grid.projects p { margin-top: 0.3rem; font-size: 14px; word-wrap: break-word; }

/* CTA */
/* CTA (Contact) */
/* CTA (Contact) */
.cta {
  margin: 0; /* hapus margin default */
  padding: 2rem 1.5rem; /* padding lebih lega */
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  text-align: center;
  backdrop-filter: blur(8px);
}

/* Tombol CTA */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem; /* jarak antar tombol */
  margin-top: 1rem; /* jarak dari teks ke tombol */
}

.cta a.btn {
  display: inline-block;
  background: #fff;
  color: #4f46e5;
  padding: 0.6rem 1.2rem; /* sedikit lebih lega */
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta a.btn:hover {
  background: #e0e7ff;
  transform: scale(1.05);
}


/* Footer */
footer {
  padding: 1.5rem 1rem;
  background: #1f2937;
  text-align: center;
  color: #9ca3af;
}

/* Visi & Misi */
.grid.vm {
  display: flex;               /* Flexbox untuk kotak sejajar */
  flex-wrap: wrap;             /* wrap di mobile */
  gap: 2rem;                   /* jarak antar kotak */
  justify-content: center;      /* tengah horizontal */
}

.vm-item {
  flex: 1 1 300px;             /* responsive, minimal 300px */
  display: flex;
  flex-direction: column;
}

.card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  text-align: center;
  font-size: 1.2rem;
  flex: 1;                     /* buat sama tinggi */
}

/* Judul Visi & Misi */
.vm-title {
  text-align: center;
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}




@media(min-width:768px){
  .vm-title { font-size: 2.4rem; }
  .card { font-size: 1.3rem; }
}

/* Responsive */
@media(min-width:768px){
  .grid { grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); }
  .grid.vm { grid-template-columns: 1fr 1fr; }
  .banner { padding: 10rem 20px; }
  .banner h1 { font-size: 60px; }
  .card { font-size: 1.3rem; } /* lebih besar di desktop */
}
