@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --green: #1a6fdb;
  --green-light: #4a90e8;
  --dark: #ffffff;
  --dark2: #f0f5ff;
  --white: #1a2a4a;
  --muted: #5a6a85;
  --card-bg: #e8f0fe;
  --border: rgba(26,111,219,0.18);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
}
.nav-logo span { color: var(--green); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green-light); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8vw;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.2);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.85) 40%, transparent);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--green);
  color: var(--green-light);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 2px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}
.hero-tag span {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 1.4s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.04;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
}
.hero h1 em { font-style: normal; color: var(--green-light); }
.hero-sub {
  margin-top: 18px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s forwards;
}
.hero-cta {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s 0.75s forwards;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 26px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--green);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 26px;
  border: 1px solid rgba(26,111,219,0.35);
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-light); }

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

/* SECTION BASE */
section { padding: 90px 8vw; }
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
}
.section-body {
  color: var(--muted);
  font-weight: 300;
  font-size: 0.97rem;
  line-height: 1.75;
  max-width: 580px;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 50px;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%;
  border-radius: 4px;
  display: block;
  filter: brightness(0.88);
}
.about-img-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--green);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 3px;
  line-height: 1.5;
}

/* FASILITAS */
.fasilitas { background: var(--dark2); }
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.facility-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--border);
}
.facility-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s, filter 0.35s;
  filter: brightness(0.72);
}
.facility-card:hover img { transform: scale(1.06); filter: brightness(0.45); }
.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,111,219,0.80) 0%, transparent 52%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.facility-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green-light);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.facility-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}
.facility-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s, opacity 0.35s;
}
.facility-card:hover .facility-desc { max-height: 100px; opacity: 1; }

/* ROOM DETAIL */
.room-detail { background: var(--dark); }
.room-tabs {
  display: flex;
  gap: 4px;
  margin-top: 36px;
  background: var(--dark2);
  border-radius: 6px;
  padding: 4px;
  max-width: 560px;
}
.room-tab {
  flex: 1;
  padding: 9px 14px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.room-tab.active { background: var(--green); color: #fff; }
.tab-content { display: none; margin-top: 36px; }
.tab-content.active {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
}
.tab-img img { width: 100%; display: block; border-radius: 4px; filter: brightness(0.85); }
.tab-desc { font-size: 0.93rem; color: var(--muted); line-height: 1.7; font-weight: 300; margin-bottom: 18px; }
.items-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.items-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.items-list li::before {
  content: '';
  width: 7px; height: 7px;
  min-width: 7px;
  background: var(--green);
  border-radius: 50%;
  margin-top: 7px;
}

/* EKONOMI KREATIF */
.ekonomi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.ek-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px 22px;
  transition: border-color 0.25s, transform 0.25s;
}
.ek-card:hover { border-color: var(--green); transform: translateY(-3px); }
.ek-icon { font-size: 1.9rem; margin-bottom: 14px; }
.ek-card h3 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.ek-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.62; font-weight: 300; }

/* KELOMPOK 3 */
.kelompok { background: var(--dark2); }
.member-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
}
.member-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color 0.25s;
}
.member-card:hover { border-color: var(--green); }
.member-photo {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  border: 2.5px solid var(--green);
  overflow: hidden;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-photo .no-photo {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
}
.member-info { flex: 1; }
.member-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.member-role {
  font-size: 0.72rem;
  color: var(--green-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 8px;
}
.member-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; font-weight: 300; }


/* FOOTER */
footer {
  background: #1a2a4a;
  padding: 44px 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
  gap: 16px;
}
.foot-brand { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; color: #fff; }
.foot-brand span { color: var(--green-light); }
.foot-text { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 4px; }
.social-links { margin-top: 14px; display: flex; gap: 12px; }
.social-icon,
.social-icon:visited,
.social-icon:active {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition: color 0.25s;
}
.social-icon:hover { color: var(--green-light); text-decoration: none; }
.social-icon svg { flex-shrink: 0; }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(26,42,74,0.95);
  z-index: 999; display: none;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 4px; }
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  color: #fff; font-size: 1.8rem; cursor: pointer;
}

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s, transform 0.65s; }
.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 880px) {
  .about-grid, .tab-content.active, .facility-grid, .member-grid { grid-template-columns: 1fr; }
  .ekonomi-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .ekonomi-grid { grid-template-columns: 1fr; }
  .stats-strip { flex-wrap: wrap; }
}