/* =====================================================================
   RUANG PHOTOGRAPHY - TEMA RESPONSIF
   ---------------------------------------------------------------------
   Cara mengubah warna: edit variabel di bagian ":root" dan "[data-skema]".
   Tampilan otomatis menyesuaikan layar desktop, tablet, dan HP.
   ===================================================================== */

@font-face {
  font-family: "MuseoSlab";
  src: url("../font/museo_slab_500-webfont.woff") format("woff");
  font-weight: normal;
  font-display: swap;
}

/* ---- Warna & ukuran dasar (ubah di sini) ---- */
:root {
  --aksen: #fe4365;          /* warna utama (skema pink) */
  --aksen-gelap: #e13e5b;
  --latar: #454545;          /* latar halaman */
  --latar-kepala: #3a3a3a;   /* latar header & footer */
  --latar-kotak: #3d3d3d;    /* latar kotak konten */
  --teks: #c4c4c4;
  --teks-redup: #9a9a9a;
  --garis: #5a5a5a;
  --lebar-maks: 1120px;
  --font-judul: "MuseoSlab", Georgia, "Times New Roman", serif;
  --font-isi: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* 4 skema warna yang bisa dipilih pengunjung */
[data-skema="aqua"]   { --aksen: #01a2a6; --aksen-gelap: #018e91; }
[data-skema="orange"] { --aksen: #ec950c; --aksen-gelap: #d1830a; }
[data-skema="lilac"]  { --aksen: #8f6abc; --aksen-gelap: #7c58a8; }

/* ---- Reset ringan ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--latar);
  color: var(--teks);
  font: 15px/1.65 var(--font-isi);
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--aksen); text-decoration: none; }
a:hover, a:focus-visible { color: var(--aksen-gelap); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-judul); font-weight: normal; line-height: 1.3; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
mark { background: #ccc; color: #222; padding: 0 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lompat { position: absolute; left: -999px; top: 0; background: var(--aksen); color: #fff; padding: 8px 14px; z-index: 100; }
.lompat:focus { left: 0; }
.bungkus { width: 100%; max-width: var(--lebar-maks); margin: 0 auto; padding: 0 16px; }

/* ---- Header ---- */
.kepala { background: var(--latar-kepala); border-top: 6px solid #2e2e2e; border-bottom: 1px solid #2a2a2a; position: relative; z-index: 20; }
.kepala-isi { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo kontak alat" "menu menu menu"; align-items: center; column-gap: 24px; }
.logo { grid-area: logo; display: block; padding: 14px 0; }
.logo img { display: block; max-height: 80px; width: auto; }
.logo-teks { font-family: var(--font-judul); font-size: 26px; color: #fff; }
.kontak-atas { grid-area: kontak; display: flex; gap: 14px; justify-content: center; font-size: 13px; color: var(--teks-redup); line-height: 1.9; }
.kontak-atas .telepon { font-family: var(--font-judul); font-size: 24px; line-height: 1.2; }
.alat-atas { grid-area: alat; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.cari { display: flex; }
.cari input { width: 190px; background: #2f2f2f; border: 1px solid #1f1f1f; color: #ddd; padding: 7px 10px; font: inherit; font-size: 13px; }
.cari button { background: var(--aksen); color: #fff; border: 0; width: 34px; font-size: 20px; cursor: pointer; }
.skema { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--teks-redup); }
.skema span { margin-right: 6px; }
.skema button { width: 17px; height: 17px; border: 1px solid #222; padding: 0; cursor: pointer; }
.skema-pink { background: #fe4365; } .skema-aqua { background: #01a2a6; }
.skema-orange { background: #ec950c; } .skema-lilac { background: #8f6abc; }
.skema button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

/* ---- Menu utama ---- */
.menu-utama { grid-area: menu; }
.menu-utama ul { list-style: none; margin: 0; padding: 0; }
.menu-utama > ul { display: flex; justify-content: flex-end; flex-wrap: wrap; }
.menu-utama li { position: relative; }
.menu-utama a { display: block; padding: 14px 16px; color: #d6d6d6; font-weight: bold; font-size: 14px; }
.menu-utama a:hover, .menu-utama a:focus-visible { color: var(--aksen); text-decoration: none; }
.menu-utama li ul { display: none; position: absolute; right: 0; top: 100%; min-width: 190px; background: #2f2f2f; border-top: 3px solid var(--aksen); box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.menu-utama li ul a { padding: 10px 16px; font-weight: normal; }
.menu-utama li:hover > ul, .menu-utama li:focus-within > ul { display: block; }
.punya-anak > a::after { content: " \25BE"; font-size: 11px; }
.menu-tombol { display: none; }

/* ---- Slider beranda ---- */
.slider-bungkus { background: #2f2f2f; padding: 16px 0; border-bottom: 1px solid #262626; }
.slider-utama { width: 100%; aspect-ratio: 670 / 300; max-height: 420px; background: #222; }
.slider-utama .swiper-slide { position: relative; }
.slider-utama .swiper-slide a { display: block; height: 100%; }
.slider-utama img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-judul { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 56px 18px 20px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; font-family: var(--font-judul); font-size: 24px; line-height: 1.25; }
.slider-utama { --swiper-theme-color: var(--aksen); --swiper-navigation-size: 26px; }

/* ---- Tata letak: sidebar + konten ---- */
.tata-letak { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; padding-top: 28px; padding-bottom: 40px; align-items: start; }
.samping { grid-column: 1; grid-row: 1; background: var(--aksen); color: #fff; padding: 6px 0 16px; }
.konten { grid-column: 2; grid-row: 1; min-width: 0; }

.widget { padding: 16px 20px 6px; }
.widget-judul { font-size: 22px; color: rgba(255,255,255,.9); border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 6px; margin-bottom: 10px; }
.samping a { color: #fff; }
.samping a:hover { color: #2b2b2b; text-decoration: none; }
.widget-daftar { list-style: none; margin: 0 0 8px; padding: 0; }
.widget-daftar li { padding: 5px 0; border-bottom: 1px dotted rgba(255,255,255,.3); font-size: 14px; }
.widget-daftar li::before { content: "\203A"; margin-right: 8px; opacity: .8; }
.widget-daftar .wa { display: inline-flex; gap: 8px; align-items: center; }
.widget-event { padding: 6px 0; border-bottom: 1px dotted rgba(255,255,255,.3); font-size: 14px; }
.widget-event .tanggal { display: block; font-size: 12px; opacity: .85; }
.widget-lainnya { margin: 8px 0; font-size: 13px; }
.widget-statistik { list-style: none; margin: 0 0 8px; padding: 0; font-size: 14px; }
.widget-statistik li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dotted rgba(255,255,255,.3); }
.widget-banner { display: block; margin-bottom: 10px; }
.widget-banner img { width: 100%; display: block; border: 1px solid rgba(0,0,0,.25); }

/* ---- Kotak konten ---- */
.kotak { background: var(--latar-kotak); border: 1px solid #353535; margin-bottom: 24px; }
.judul-kotak { margin: 0; padding: 12px 20px; background: #333; border-bottom: 3px solid var(--aksen); color: #e6e6e6; font-size: 22px; }
.judul-kotak a { color: #e6e6e6; }
.isi-kotak { padding: 20px; }
.sambutan .isi-kotak { padding: 20px; }
.isi-rich { overflow-wrap: anywhere; }
.isi-rich img { height: auto !important; }
.isi-rich table { max-width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.isi-rich td, .isi-rich th { padding: 4px 8px; }
.isi-rich iframe { max-width: 100%; }
.gambar-kiri { float: left; width: 200px; max-width: 40%; margin: 0 20px 12px 0; }
.sub-judul { font-size: 20px; color: #ddd; border-bottom: 1px solid var(--garis); padding-bottom: 6px; margin: 26px 0 14px; }

/* ---- Berita ---- */
.berita-ringkas { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px dashed var(--garis); overflow: hidden; }
.berita-ringkas:last-child { border-bottom: 0; margin-bottom: 0; }
.judul-berita { font-size: 22px; margin-bottom: 4px; }
.info-berita { font-size: 13px; color: var(--teks-redup); margin-bottom: 12px; }
.foto-berita { float: left; margin: 0 18px 10px 0; max-width: 45%; }
.foto-berita img { display: block; width: 300px; max-width: 100%; border: 1px solid #1c1c1c; box-shadow: 1px 1px 0 #6a6a6a; }
.foto-berita-besar { display: block; margin: 0 0 16px; }
.foto-berita-besar img { display: block; max-width: 100%; max-height: 520px; border: 1px solid #1c1c1c; }
.tombol, .form button { display: inline-block; background: var(--aksen); color: #fff; border: 0; padding: 7px 18px; font: inherit; font-size: 13px; letter-spacing: 1px; cursor: pointer; text-transform: lowercase; }
.form button { text-transform: none; }
.tombol:hover, .form button:hover { background: var(--aksen-gelap); color: #fff; text-decoration: none; }
.daftar-terkait { margin: 0; padding-left: 20px; }
.daftar-terkait li { margin-bottom: 4px; }
.bagikan-berita { font-size: 13px; }

/* ---- Komentar ---- */
.komentar { border-left: 3px solid var(--aksen); background: #353535; padding: 10px 14px; margin-bottom: 12px; }
.komentar-info { font-size: 12px; color: var(--teks-redup); margin: 0; }
.komentar-nama { font-size: 17px; margin: 2px 0 6px; }
.komentar p { margin: 0; }

/* ---- Form ---- */
.form { margin-top: 18px; }
.form .baris { margin-bottom: 14px; }
.form label { display: block; margin-bottom: 4px; font-size: 13px; color: var(--teks-redup); }
.form input[type=text], .form input[type=email], .form input[type=search], .form textarea {
  width: 100%; max-width: 560px; background: #2f2f2f; border: 1px solid #222; color: #eee; padding: 9px 10px; font: inherit; border-radius: 0;
}
.form input:focus, .form textarea:focus, .cari input:focus { outline: 2px solid var(--aksen); outline-offset: 0; }
.captcha-isi { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.captcha-isi input { max-width: 220px !important; }
.captcha-isi img { border: 1px solid #222; }
.pesan { padding: 10px 14px; margin-bottom: 14px; border-left: 4px solid; }
.pesan-sukses { background: #2f4a33; border-color: #6bbd75; color: #d6f3da; }
.pesan-error { background: #4d2f2f; border-color: #e0605f; color: #ffdede; }
.pesan-info { background: #2f3f4d; border-color: #5aa3d6; color: #dbeefc; }

/* ---- Peta Google Maps ---- */
.peta { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 420px; margin: 18px 0 6px; border: 1px solid #1c1c1c; background: #2a2a2a; }
.peta iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.peta-link { font-size: 13px; margin-bottom: 8px; }

/* ---- Tombol melayang: chat WhatsApp (kiri) & kembali ke atas (kanan) ---- */
.wa-melayang { position: fixed; left: 16px; bottom: 16px; z-index: 90; }
.wa-tombol { display: flex; align-items: center; gap: 8px; background: #25d366; color: #fff; border: 0; border-radius: 30px; padding: 11px 18px 11px 14px; font: bold 14px var(--font-isi); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.wa-tombol:hover { background: #1fb457; }
.wa-panel { display: none; position: absolute; left: 0; bottom: 58px; width: 290px; max-width: calc(100vw - 32px); background: #fff; color: #333; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,.45); }
.wa-melayang.terbuka .wa-panel { display: block; }
.wa-kepala { background: #075e54; color: #fff; padding: 12px 16px; font-weight: bold; }
.wa-isi { padding: 14px 16px 6px; font-size: 14px; }
.wa-isi p { margin: 0 0 10px; }
.wa-agen { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 0 0 8px; background: #f1f3f4; border-left: 4px solid #25d366; border-radius: 4px; color: #222; font-size: 14px; }
.wa-agen:hover { background: #e4f7ea; text-decoration: none; color: #222; }
.wa-agen small { display: block; color: #666; }
.ke-atas { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--aksen); color: #fff; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; display: flex; align-items: center; justify-content: center; }
.ke-atas.tampil { opacity: 1; visibility: visible; transform: none; }
.ke-atas:hover { background: var(--aksen-gelap); }
.ke-atas svg { display: block; }

/* ---- Galeri & album ---- */
.galeri-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.galeri-grid a { display: block; overflow: hidden; border: 1px solid #1c1c1c; box-shadow: 1px 1px 0 #6a6a6a; background: #222; }
.galeri-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s, opacity .25s; }
.galeri-grid a:hover img { transform: scale(1.06); opacity: .85; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.album-kartu { display: block; text-align: center; color: var(--teks); }
.album-kartu img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #1c1c1c; box-shadow: 1px 1px 0 #6a6a6a; }
.album-kartu strong { display: block; font-family: var(--font-judul); font-weight: normal; font-size: 18px; color: var(--aksen); margin-top: 6px; }
.album-kartu span { font-size: 12px; color: var(--teks-redup); }
.album-kartu:hover { text-decoration: none; }

/* ---- Agenda & download ---- */
.agenda { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px dashed var(--garis); }
.agenda:last-of-type { border-bottom: 0; }
.agenda-tanggal { font-family: var(--font-judul); color: var(--aksen); font-size: 18px; margin-bottom: 2px; }
.daftar-download { list-style: none; margin: 0; padding: 0; }
.daftar-download li { padding: 8px 0; border-bottom: 1px dotted var(--garis); }
.daftar-download small { color: var(--teks-redup); margin-left: 6px; }

/* ---- Navigasi halaman ---- */
.paging { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; font-size: 13px; }
.paging a, .paging span { padding: 5px 11px; border: 1px solid var(--garis); background: #353535; }
.paging .aktif { background: var(--aksen); border-color: var(--aksen); color: #fff; font-weight: bold; }
.paging a:hover { background: #4a4a4a; text-decoration: none; }

/* ---- Footer ---- */
.kaki { background: var(--latar-kepala); border-top: 4px solid var(--aksen); color: var(--teks-redup); font-size: 14px; }
.kaki-isi { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.6fr; gap: 28px; padding-top: 32px; padding-bottom: 32px; }
.kaki-judul { font-size: 20px; color: #ddd; border-bottom: 1px solid var(--garis); padding-bottom: 6px; }
.kaki-logo { max-height: 70px; width: auto; margin-bottom: 10px; }
.kaki-daftar { list-style: none; margin: 0; padding: 0; }
.kaki-daftar li { padding: 3px 0; }
.bagikan { display: flex; gap: 12px; }
.bagikan a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; background: #2f2f2f; color: var(--teks); border-radius: 50%; }
.bagikan a:hover { background: var(--aksen); color: #fff; }
.kaki-alamat p { margin-bottom: .6em; }

/* =====================================================================
   RESPONSIF
   ===================================================================== */

/* Tablet */
@media (max-width: 960px) {
  .kepala-isi { grid-template-columns: 1fr auto; grid-template-areas: "logo tombol" "kontak kontak" "alat alat" "menu menu"; column-gap: 12px; }
  .kontak-atas { justify-content: flex-start; padding-bottom: 8px; }
  .alat-atas { align-items: stretch; padding-bottom: 10px; }
  .cari input { flex: 1; width: auto; }
  .skema { justify-content: flex-start; }

  .menu-tombol { grid-area: tombol; display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 1px solid #5a5a5a; padding: 10px; cursor: pointer; }
  .menu-tombol .garis { display: block; width: 24px; height: 3px; background: #ddd; }
  .menu-utama { display: none; border-top: 1px solid #2a2a2a; }
  .menu-utama.terbuka { display: block; }
  .menu-utama > ul { display: block; }
  .menu-utama a { padding: 12px 4px; border-bottom: 1px solid #2f2f2f; }
  .menu-utama li ul { display: block; position: static; box-shadow: none; border-top: 0; background: transparent; padding-left: 16px; }

  .tata-letak { grid-template-columns: 1fr; gap: 24px; }
  .samping, .konten { grid-column: 1; }
  .konten { grid-row: 1; }
  .samping { grid-row: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kaki-isi { grid-template-columns: repeat(2, 1fr); }
}

/* HP */
@media (max-width: 600px) {
  body { font-size: 14px; }
  .wa-tombol span { display: none; }
  .wa-tombol { padding: 13px; border-radius: 50%; }
  .peta { aspect-ratio: 4 / 3; }
  .slide-judul { font-size: 16px; padding: 12px 44px 12px 12px; }
  .slider-utama { aspect-ratio: 16 / 10; }
  .samping { grid-template-columns: 1fr; }
  .kaki-isi { grid-template-columns: 1fr; gap: 20px; }
  .isi-kotak { padding: 14px; }
  .judul-kotak { font-size: 19px; padding: 10px 14px; }
  .foto-berita, .gambar-kiri { float: none; max-width: 100%; width: 100%; margin: 0 0 12px; }
  .foto-berita img { width: 100%; }
  .gambar-kiri { display: block; }
  .galeri-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
  .album-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .kontak-atas .telepon { font-size: 20px; }
  .logo img { max-height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
