/* =========================================================
   Portal Fakultas — Landing Page
   Palet: near-black + navy, aksen biru (ribbon), serif display
   ========================================================= */

:root {
  --bg-black: #0b0d10;
  --bg-navy: #10141b;
  --bg-card: #161b23;
  --bg-card-2: #1c222c;
  --overlay: rgba(6, 10, 16, 0.72);
  --blue: #2f6fed;
  --blue-light: #5b8ff9;
  --cream: #f6f4ee;
  --text-muted: #aab0bb;
  --border-soft: rgba(255, 255, 255, 0.08);
  --radius: 10px;
  --font-display: "Cormorant Garamond", "Playfair Display", serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-black);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

/* =========================================================
   NAVBAR
   ========================================================= */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-top: 20px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.03em;
}
.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 0;
}
.nav-menu > li:hover > a { color: #fff; }

.nav-menu .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-navy);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.nav-menu li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .submenu a {
  display: block;
  padding: 9px 12px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 6px;
  color: var(--text-muted);
}
.nav-menu .submenu a:hover { background: rgba(255,255,255,0.06); color: #fff; }

.nav-social {
  display: flex;
  gap: 10px;
}
.nav-social a {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.nav-social a:hover { background: var(--blue); border-color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  color: #fff;
  padding: 8px 10px;
  cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(var(--overlay), var(--overlay)),
    radial-gradient(circle at 30% 20%, #2a3140 0%, #10141b 45%, #0b0d10 100%);
}

.hero-ribbon {
  position: absolute;
  top: 0; right: 8%;
  width: 70px;
  height: 220px;
  background: linear-gradient(180deg, var(--blue), var(--blue-light));
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
  z-index: 5;
}

.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 90px;
  padding-bottom: 90px;
  text-align: center;
}

.hero-emblem {
  width: 74px; height: 74px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  overflow: hidden;
}
.hero-emblem img { width: 100%; height: 100%; object-fit: cover; }

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}
.hero-kicker small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 500;
  margin: 6px 0 8px;
}

.hero-subtitle {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 50px;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  transform: translateY(40%);
}

.hero-card {
  background: rgba(10, 13, 18, 0.88);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  backdrop-filter: blur(6px);
}
.hero-card .icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.hero-card h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2px 0 6px;
}
.hero-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* =========================================================
   ABOUT / SAMBUTAN SECTION
   ========================================================= */
.about {
  background: #ffffff;
  padding: 170px 0 100px;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text .eyebrow { margin-bottom: 18px; }

.about-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  margin: 0 0 20px;
  color: #14181f;
}

.about-text p {
  color: #7a1e2c;
  font-size: 15px;
  margin-bottom: 16px;
  max-width: 480px;
}

.about-text .btn-outline {
  border: 1px solid #7a1e2c;
  color: #7a1e2c;
}
.about-text .btn-outline:hover { background: rgba(122,30,44,0.08); }

.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #3a2f2f 0%, #1b1410 60%, #0b0d10 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  margin-bottom: -140px;
  z-index: 20;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo span { position: relative; font-size: 12px; color: rgba(255,255,255,0.6); }

/* =========================================================
   NEWS SECTION
   ========================================================= */
.news {
  position: relative;
  background: #7a1e2c;
  padding: 190px 0 100px;
}

.news-head {
  max-width: 520px;
  margin-bottom: 40px;
}
.news-head .eyebrow { margin-bottom: 14px; }
.news-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 6px;
  font-weight: 500;
}
.news-head .subtitle {
  color: var(--blue-light);
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.news-head p { color: var(--text-muted); font-size: 14px; }

.news-layout {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 24px;
  align-items: start;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.news-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  background: #eceef1;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,0.24); }
.news-card.tall { grid-row: span 2; min-height: 460px; }

.news-card-thumb {
  position: relative;
  height: 170px;
  flex-shrink: 0;
  background: linear-gradient(150deg, #d7dae0, #c3c7cf);
  overflow: hidden;
}
.news-card.tall .news-card-thumb { height: 320px; }
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(150deg, #d7dae0, #c3c7cf);
}

.news-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card .tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a1e2c;
  background: rgba(122,30,44,0.1);
  border: 1px solid rgba(122,30,44,0.25);
  padding: 4px 9px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 12px;
}
.news-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
  line-height: 1.35;
  color: #1c222c;
  flex: 1;
}
.news-card .read-more {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: #7a1e2c;
  padding: 8px 14px;
  border-radius: 999px;
  align-self: flex-start;
}
.news-card .read-more:hover { background: #611725; }

/* Dua card CTA paling bawah: kuning */
.news-card.cta.yellow {
  background: #f5c033;
  border: none;
}
.news-card.cta.yellow .news-card-body { justify-content: center; }
.news-card.cta.yellow .tag {
  color: #7a4c00;
  background: rgba(122,76,0,0.12);
  border: 1px solid rgba(122,76,0,0.3);
}
.news-card.cta.yellow h3 { color: #3a2600; }
.news-card.cta.yellow .read-more {
  background: #241800;
  color: #f5c033;
}
.news-card.cta.yellow .read-more:hover { background: #000; }


/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 16px; }

.widget-box {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px;
}
.widget-box h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.widget-box p { font-size: 13px; color: var(--text-muted); margin: 0; }

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 11px;
}
.calendar-grid .dow { color: var(--text-muted); font-weight: 600; padding-bottom: 6px; }
.calendar-grid .day {
  padding: 6px 0;
  border-radius: 6px;
  color: rgba(255,255,255,0.7);
}
.calendar-grid .day.has-agenda {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}
.calendar-grid .day.today {
  border: 1px solid var(--blue-light);
}
.calendar-grid .empty { visibility: hidden; }

.agenda-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.agenda-item {
  display: flex;
  gap: 10px;
  font-size: 12px;
  align-items: flex-start;
}
.agenda-item .date {
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 4px 8px;
  font-weight: 700;
  color: var(--blue-light);
  flex-shrink: 0;
}
.agenda-item .desc { color: var(--text-muted); }
.agenda-item .desc strong { display: block; color: var(--cream); font-weight: 600; }

.widget-box.cta {
  background: linear-gradient(150deg, var(--blue), #1d4bb0);
  border: none;
}
.widget-box.cta h4 { color: rgba(255,255,255,0.85); }
.widget-box.cta .btn { background: #fff; color: var(--blue); margin-top: 10px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  background: var(--bg-black);
  padding: 70px 0 30px;
  border-top: 1px solid var(--border-soft);
}
.footer-ribbon {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 30px;
  background: var(--blue);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-soft);
}
.footer-col h5 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.75); }
.footer-col ul li a:hover { color: var(--blue-light); }
.footer-link { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.footer-link-icon { max-width: 200px; max-height: 200px; width: auto; height: auto; border-radius: 6px; flex-shrink: 0; }

.footer-col-text {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin: 0;
}
.footer-col-html { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.footer-col-iframe {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.footer-col-iframe iframe { width: 100%; height: 100%; border: 0; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
}
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* =========================================================
   PAGE HERO (banner halaman dalam, non-landing)
   ========================================================= */
.page-hero {
  background: linear-gradient(160deg, #1a2130 0%, #0b0d10 70%);
  padding: 150px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
}
.page-hero .eyebrow { justify-content: center; margin-bottom: 12px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 46px);
  margin: 0;
  font-weight: 500;
}

/* =========================================================
   BERITA — INDEX
   ========================================================= */
.berita-page { background: var(--bg-black); padding: 60px 0 90px; }

.berita-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.berita-grid .news-card { min-height: 260px; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 13px;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
}
.pagination a:hover { border-color: var(--blue); color: #fff; }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* =========================================================
   BERITA — DETAIL
   ========================================================= */
.berita-detail-page { background: var(--bg-black); padding: 150px 0 90px; }

.berita-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.berita-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.berita-meta .tag {
  color: var(--blue-light);
  background: rgba(47,111,237,0.15);
  border: 1px solid rgba(47,111,237,0.4);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 10px;
}

.berita-detail h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  margin: 0 0 20px;
  line-height: 1.25;
}

.berita-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
  background: linear-gradient(150deg, #232a36, #12151b);
}
.berita-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.berita-content {
  color: #dfe2e8;
  font-size: 15px;
  line-height: 1.85;
}
.berita-content p { margin: 0 0 18px; }
.berita-content h2, .berita-content h3 {
  font-family: var(--font-display);
  color: var(--cream);
  margin: 32px 0 14px;
}
.berita-content img { border-radius: 8px; margin: 20px 0; }
.berita-content ul, .berita-content ol { margin: 0 0 18px; padding-left: 22px; }
.berita-content a { color: var(--blue-light); text-decoration: underline; }
.berita-content blockquote {
  border-left: 3px solid var(--blue);
  margin: 20px 0;
  padding: 4px 0 4px 18px;
  color: var(--text-muted);
  font-style: italic;
}

.related-list { display: flex; flex-direction: column; gap: 14px; }
.related-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.related-item .thumb {
  width: 64px; height: 64px;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(150deg, #232a36, #12151b);
  overflow: hidden;
}
.related-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-item h4 { font-size: 13px; margin: 0 0 4px; line-height: 1.4; font-weight: 600; }
.related-item .date { font-size: 11px; color: var(--text-muted); }

@media (max-width: 900px) {
  .berita-grid { grid-template-columns: 1fr 1fr; }
  .berita-detail-layout { grid-template-columns: 1fr; }
  .berita-detail-page { padding-top: 110px; }
}
@media (max-width: 560px) {
  .berita-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   AGENDA — PUBLIK
   ========================================================= */
.agenda-page { background: var(--bg-black); padding: 60px 0 90px; }

.agenda-list-page { display: flex; flex-direction: column; gap: 16px; }

.agenda-card {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
  align-items: center;
}
.agenda-card.lewat { opacity: 0.55; }

.agenda-card .date-block {
  flex-shrink: 0;
  width: 76px;
  text-align: center;
  background: rgba(47,111,237,0.12);
  border: 1px solid rgba(47,111,237,0.3);
  border-radius: 10px;
  padding: 12px 6px;
}
.agenda-card .date-block .day { font-size: 24px; font-weight: 700; color: var(--blue-light); line-height: 1; }
.agenda-card .date-block .month { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-top: 4px; }

.agenda-card .info { flex: 1; min-width: 0; }
.agenda-card .info h3 { font-size: 17px; margin: 0 0 6px; font-weight: 600; }
.agenda-card .info .meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; display: flex; gap: 14px; flex-wrap: wrap; }
.agenda-card .info p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.6; }

.agenda-card .thumb {
  width: 100px; height: 100px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(150deg, #232a36, #12151b);
}
.agenda-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 640px) {
  .agenda-card { flex-wrap: wrap; }
  .agenda-card .thumb { display: none; }
}

/* =========================================================
   GALERI — FOTO & VIDEO
   ========================================================= */
.galeri-page { background: var(--bg-black); padding: 60px 0 90px; }

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.album-card {
  display: flex;
  flex-direction: column;
}
.album-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(150deg, #232a36, #12151b);
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.album-card:hover .album-cover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.45);
}
.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .35s ease;
}
.album-card:hover .album-cover img { transform: scale(1.06); }

.album-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 16px 0 4px;
  text-align: center;
}
.album-count {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--blue-light);
  letter-spacing: 0.03em;
}

.foto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.foto-item {
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(150deg, #232a36, #12151b);
}
.foto-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.foto-item:hover img { transform: scale(1.08); }

.lightbox-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(6,8,12,0.94);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  font-size: 32px; color: #fff; cursor: pointer;
  line-height: 1;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  background: #000;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.video-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

@media (max-width: 900px) {
  .album-grid { grid-template-columns: repeat(2, 1fr); }
  .foto-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .album-grid { grid-template-columns: 1fr; }
  .foto-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   GALERI PREVIEW (homepage)
   ========================================================= */
.galeri-preview {
  background: #ffffff;
  padding: 80px 0;
}
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.galeri-preview .eyebrow { margin-bottom: 10px; }
.galeri-preview h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 500;
  margin: 0;
  color: #14181f;
}
.section-head-links { display: flex; gap: 10px; flex-wrap: wrap; }
.galeri-preview .btn-outline {
  border: 1px solid rgba(20,24,31,0.25);
  color: #14181f;
}
.galeri-preview .btn-outline:hover { background: rgba(20,24,31,0.06); }

.galeri-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.galeri-preview-card { display: block; }
.galeri-preview-cover {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(150deg, #e2e5ea, #cfd3da);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  margin-bottom: 10px;
  transition: transform .25s ease;
}
.galeri-preview-card:hover .galeri-preview-cover { transform: translateY(-3px); }
.galeri-preview-cover img { width: 100%; height: 100%; object-fit: cover; }
.galeri-preview-cover .play-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px;
  background: rgba(0,0,0,0.35);
}
.galeri-preview-card h4 {
  font-size: 13px; font-weight: 600; margin: 0 0 2px; color: #14181f;
  text-align: center;
}
.galeri-preview-card .count { display: block; text-align: center; font-size: 11px; color: #7a1e2c; }

/* =========================================================
   FASILITAS PREVIEW (homepage)
   ========================================================= */
.fasilitas-preview {
  background: var(--bg-navy);
  padding: 80px 0;
  text-align: center;
}
.fasilitas-preview .eyebrow { justify-content: center; margin-bottom: 10px; }
.fasilitas-preview h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 500;
  margin: 0 0 10px;
}
.fasilitas-preview .section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 14px;
}
.fasilitas-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.fasilitas-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.fasilitas-preview-media {
  aspect-ratio: 16/10;
  background: linear-gradient(150deg, #232a36, #12151b);
  display: flex; align-items: center; justify-content: center;
}
.fasilitas-preview-media img { width: 100%; height: 100%; object-fit: cover; }
.fasilitas-preview-media .icon { font-size: 34px; }
.fasilitas-preview-card h4 { font-size: 14px; font-weight: 600; margin: 0; padding: 14px 16px; }

.btn-outline.light { border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline.light:hover { background: rgba(255,255,255,0.08); }

/* =========================================================
   FASILITAS — HALAMAN PUBLIK /fasilitas
   ========================================================= */
.fasilitas-page { background: var(--bg-black); padding: 60px 0 90px; }
.fasilitas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fasilitas-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.fasilitas-media {
  aspect-ratio: 16/10;
  background: linear-gradient(150deg, #232a36, #12151b);
  display: flex; align-items: center; justify-content: center;
}
.fasilitas-media img { width: 100%; height: 100%; object-fit: cover; }
.fasilitas-icon { font-size: 36px; }
.fasilitas-card h3 { font-size: 16px; margin: 16px 18px 8px; }
.fasilitas-card p { font-size: 13px; color: var(--text-muted); margin: 0 18px 18px; line-height: 1.6; }

@media (max-width: 900px) {
  .galeri-preview-grid { grid-template-columns: repeat(3, 1fr); }
  .fasilitas-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .fasilitas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .galeri-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .fasilitas-preview-grid { grid-template-columns: 1fr; }
  .fasilitas-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   RESPONSIVE (lanjutan)
   ========================================================= */
@media (max-width: 900px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg-navy);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 12px;
    margin-top: 12px;
  }
  .nav-menu.nav-menu--open { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { display: block; padding: 10px 8px; }
  .nav-menu .submenu {
    position: static;
    display: none;
    opacity: 1; visibility: visible; transform: none;
    border: none; background: rgba(255,255,255,0.03);
    box-shadow: none;
  }
  .nav-menu li.submenu-open .submenu { display: block; }
  .nav-toggle { display: inline-flex; }
  .hero-cards { grid-template-columns: 1fr; transform: translateY(20%); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { margin-bottom: 24px; aspect-ratio: 16/10; }
  .about { padding-top: 60px; }
  .news { padding-top: 60px; }
  .news-layout { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.tall { grid-row: span 1; min-height: 220px; }
}

@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
