/* SMAN 9 Halmahera Tengah — Custom Cultural Theme Styles (Fagogoru & Teluk Weda) */

@layer base {
  html {
    scroll-behavior: smooth;
  }
}

/* Motif Geometris Tenun & Ukiran Kayu Gam Range (Weda - Patani - Maba) */
.pattern-fagogoru {
  background-color: #0b3b59;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(212, 148, 23, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(155, 34, 38, 0.14) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d49417' stroke-opacity='0.11' stroke-width='1'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z'/%3E%3Cpath d='M30 12L48 30L30 48L12 30Z'/%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.pattern-pasir {
  background-color: #faf7f0;
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230b3b59' stroke-opacity='0.04' stroke-width='1'%3E%3Cpath d='M24 4L44 24L24 44L4 24Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Garis Ornamen Salawaku & Kora-Kora */
.ornament-strip {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    #0b3b59 0px,
    #0b3b59 24px,
    #d49417 24px,
    #d49417 36px,
    #9b2226 36px,
    #9b2226 52px,
    #1d5a41 52px,
    #1d5a41 64px
  );
}

/* Halus Animasi Kartu */
.card-hover {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
}

/* Reveal helper */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modal Backdrop */
.modal-backdrop {
  backdrop-filter: blur(6px);
}
