/* Common custom styles for Socia Academia site */

/* Material Symbols */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

/* Root colors used in some custom rules */
:root {
  --primary: #001c45;
  --secondary: #745b00;
}

/* Base body styles */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9ff;
  color: #111c2c;
  margin: 0;
  padding: 0;
}

/* Sticky footer support (combined with Tailwind classes: body flex flex-col min-h-screen + main flex-1) */
main {
  flex: 1;
}

footer {
  margin-top: auto;
}

/* Serif display helpers (used alongside Tailwind) */
.font-display-lg { font-family: 'Source Serif 4', serif; }
.font-headline-md { font-family: 'Source Serif 4', serif; }
.font-headline-sm { font-family: 'Source Serif 4', serif; }
.serif-text { font-family: 'Source Serif 4', serif; }

/* Index page */
.hero-pattern {
  background-image: radial-gradient(circle at 2px 2px, rgba(0, 28, 69, 0.035) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Hero background - flowy & adem (soft flowing gradient) */
.hero-calm {
  background: linear-gradient(135deg, #c8d9f0 0%, #d4e3f5 25%, #e0ecfa 55%, #eaf1fd 85%, #f4f8ff 100%);
}
.nav-item-active {
  position: relative;
}
.nav-item-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #745b00;
}

/* Tentang page */
.hero-gradient {
  background: linear-gradient(rgba(0, 28, 69, 0.92), rgba(0, 28, 69, 0.85)), url('../images/tentang-archive.jpg');
  background-size: cover;
  background-position: center;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* Small utility used in contact */
.scale-\[1\.01\] { transform: scale(1.01); }

/* Clean sticky footer - works together with Tailwind classes on body (flex flex-col min-h-screen) and main (flex-1) */
main {
  flex: 1;
}

footer {
  margin-top: auto;
}
