@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;700&display=swap');

:root{
    --primary: #0d6efd;
    --dark: #21252f;
    --body: #888;
    --box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}

body {
    min-height: 100vh;
    font-family: Sora, "sans-serif";
    line-height: 1.7;
    color: var(--body);
}

h1,h2,h3,h4,h5,h6,
.display-4 {
    color: var(--dark);
    font-weight: 700;
}

a {
    color: var(--dark);
    text-decoration: none;
}

img {
    width: 100%;
}

section {
    padding-top: 50px;
    padding-bottom: 80px;
}

.navbar {
    box-shadow: var(--box-shadow);
}

.transition-navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-link {
    color: #000;
}

.logo {
    max-height: 70px;
}

/* ===== HERO SECTION ===== */
.hero {
  background-position: center center; /* pastikan gambar tetap di tengah */
  background-size: contain;           /* tampil penuh, tidak dipotong */
  background-repeat: no-repeat;
  background-attachment: scroll;      /* agar proporsional di perangkat kecil */
  position: relative;
  z-index: 1;
  min-height: 100vh;                  /* agar tinggi menyesuaikan layar */
}


/* Hilangkan overlay gelap sepenuhnya */
.hero-overlay {
  background: transparent !important;
}



/* Jika ingin sedikit gradasi lembut (opsional, bukan wajib)
.hero::after {
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0));
}
*/

/* ===== BLOG SECTION ===== */
.card-effect {
    box-shadow: var(--box-shadow);
    background-color: #fff;
    padding: 25px;
    transition: all 0.35s ease;
}

.card-effect:hover {
    box-shadow: none;
    transform: translateY(5px);
}

/* ===== FOOTER ===== */
.sticky-footer {
    position: sticky;
    top: 100%;
}

.footer-top {
    padding-bottom: 30px;
    padding-top: 30px;
    background-color: var(--dark);
}

.footer-top a {
    color: var(--body);
}

.footer-top a:hover {
    color: #fff;
}

.map iframe{
    height:100%;
    width:100%;
}

.footer-bottom {
    background-color: #242933;
}

/* ===== FORM LOGIN ===== */
.form-signin .form-floating:focus-within {
    z-index: 2;
}
  
.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
  
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
  
.form-registration input {
    border-radius: 0;
    margin-bottom: -1px;
}

.toolbar-disabilitas {
  position: fixed;
  right: 10px;
  bottom: 20px;
  background: rgba(0,0,0,0.8);
  padding: 10px;
  border-radius: 8px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 9999;
}

.toolbar-disabilitas button {
  background: #dc3545;
  border: none;
  color: white;
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.3s;
}

.toolbar-disabilitas button:hover {
  background: #b02a37;
}

.high-contrast {
  background-color: #000 !important;
  color: #fff !important;
}

.readable-font {
  font-family: "Arial", "Verdana", sans-serif !important;
}
