﻿/* ============================================================================
   FILE 4: Stylesheet.html / style.css
   Portal Resmi SMA Negeri 3 Lahusa - V17.0 Production-Grade Edition
   Dioptimalkan untuk Kecepatan Render, Skor CLS 0.000, & Aksesibilitas WCAG AA
   ============================================================================ */

:root {
  --primary-green: #155e36;
  --primary-navy: #0b2447;
  --accent-gold: #eab308;
  --accent-orange: #ea580c;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
}

/* ================= 1. HEADER KOP SURAT & SHIMMER GPU ================= */
.header-kop-wrapper {
  background: radial-gradient(circle at 15% 50%, rgba(22, 163, 74, 0.06), transparent 45%),
              radial-gradient(circle at 85% 30%, rgba(234, 179, 8, 0.07), transparent 45%),
              #ffffff;
}

.header-ambient-glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#155e36 0.55px, transparent 0.55px);
  background-size: 20px 20px;
  opacity: 0.06;
  pointer-events: none;
}

.header-logo-card {
  position: relative;
  padding: 0.35rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 6px 16px -6px rgba(15, 23, 42, 0.12);
}

.header-title-shimmer {
  color: #0b2447;
  text-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
}

.kop-border-double {
  height: 7px;
  background: linear-gradient(90deg, #0b2447 0%, #155e36 50%, #0b2447 100%);
  border-top: 2px solid #eab308;
  border-bottom: 2px solid #06152d;
}

/* ================= 2. MARQUEE TEKS BERJALAN (GPU COMPOSITED) ================= */
.marquee-viewport {
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: marqueeSlide 34s linear infinite;
}

.marquee-viewport:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeSlide {
  0% {
    transform: translate3d(25%, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* ================= 3. HERO SLIDER & KOTAK KACA (GLASSMORPHISM) ================= */
.slider-kenburns {
  will-change: transform;
  animation: kenBurnsZoom 14s ease-in-out infinite alternate;
}

@keyframes kenBurnsZoom {
  0% {
    transform: scale3d(1, 1, 1);
  }
  100% {
    transform: scale3d(1.06, 1.06, 1);
  }
}

.slider-caption-glass {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.62) 0%, rgba(15, 23, 42, 0.86) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 3px solid #facc15;
  box-shadow: 0 14px 32px -6px rgba(0, 0, 0, 0.55);
}

/* ================= 4. KARTU PROFIL: VISI, MISI, DAN TUJUAN ================= */
.vmt-section-shell {
  background: linear-gradient(135deg, #ffffff 0%, #fffdf9 60%, #fff7ed 100%);
  border: 1px solid rgba(251, 146, 60, 0.28);
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.08),
              0 4px 12px -2px rgba(234, 88, 12, 0.05);
}

.vmt-orange-card {
  position: relative;
  background: linear-gradient(180deg, #fffaf3 0%, #fff5e8 100%);
  border: 1.5px solid #e09f67;
  border-radius: 16px;
  padding: 0.95rem 1.25rem;
  box-shadow: 0 8px 20px -6px rgba(194, 65, 12, 0.12),
              inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.vmt-orange-card:hover {
  transform: translate3d(0, -2px, 0);
  border-color: #ea580c;
  box-shadow: 0 14px 28px -8px rgba(234, 88, 12, 0.2),
              inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.vmt-card-header-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.vmt-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
  flex-shrink: 0;
}

.vmt-card-title {
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0b2447;
  border-bottom: 2px solid #f97316;
  padding-bottom: 2px;
  margin: 0;
}

/* Isi Konten Visi, Misi, dan Tujuan — Padat, Rapi, & Mendukung Perataan Admin */
.vmt-content-box {
  color: #1e293b;
  font-size: 0.875rem;
  line-height: 1.38;
  font-weight: 500;
}

.vmt-content-box.vmt-visi-default {
  text-align: center;
  font-weight: 800;
  font-style: italic;
  color: #0f172a;
}

.vmt-content-box p {
  margin: 0 0 0.25rem 0;
  line-height: 1.38;
}

.vmt-content-box p:last-child {
  margin-bottom: 0;
}

.vmt-content-box ol {
  list-style-type: decimal !important;
  list-style-position: outside !important;
  padding-left: 1.35rem !important;
  margin: 0.15rem 0 !important;
}

.vmt-content-box ul {
  list-style-type: disc !important;
  list-style-position: outside !important;
  padding-left: 1.35rem !important;
  margin: 0.15rem 0 !important;
}

.vmt-content-box li {
  margin-bottom: 0.2rem !important;
  line-height: 1.36 !important;
  padding-left: 0.2rem;
}

.vmt-content-box li:last-child {
  margin-bottom: 0 !important;
}

/* ================= 5. RICH TEXT EDITOR (PANEL ADMIN) ================= */
.wysiwyg-editor-surface {
  min-height: 120px;
  outline: none;
  line-height: 1.48;
  color: #0f172a;
  background-color: #ffffff;
}

.wysiwyg-editor-surface:focus {
  background-color: #ffffff;
  box-shadow: inset 0 0 0 2px #2563eb;
}

.wysiwyg-editor-surface p {
  margin: 0 0 0.35rem 0;
}

.wysiwyg-editor-surface ol {
  list-style-type: decimal !important;
  list-style-position: outside !important;
  padding-left: 1.5rem !important;
  margin: 0.35rem 0 !important;
}

.wysiwyg-editor-surface ul {
  list-style-type: disc !important;
  list-style-position: outside !important;
  padding-left: 1.5rem !important;
  margin: 0.35rem 0 !important;
}

.wysiwyg-editor-surface li {
  margin-bottom: 0.22rem !important;
}

.wysiwyg-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  transition: all 0.15s ease;
  cursor: pointer;
}

.wysiwyg-btn:hover {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
}

.wysiwyg-btn-active {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1e40af !important;
}

/* ================= 6. MODERN PREMIUM FOOTER ================= */
.footer-premium-bg {
  background: linear-gradient(180deg, #0b1528 0%, #070e1c 65%, #040914 100%);
}

.footer-top-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #155e36 0%, #eab308 50%, #155e36 100%);
}

.footer-ambient-orb {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 9999px;
  filter: blur(90px);
  opacity: 0.12;
  pointer-events: none;
}

.footer-orb-left {
  top: -80px;
  left: -80px;
  background: #10b981;
}

.footer-orb-right {
  bottom: -80px;
  right: -80px;
  background: #eab308;
}

.footer-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  border-width: 1px;
  transition: all 0.25s ease;
}

.footer-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #cbd5e1;
  font-weight: 600;
  transition: all 0.2s ease;
}

.footer-nav-item i {
  font-size: 0.65rem;
  color: #10b981;
  transition: transform 0.2s ease;
}

.footer-nav-item:hover {
  color: #facc15;
  transform: translate3d(4px, 0, 0);
}

.footer-nav-item:hover i {
  transform: translate3d(2px, 0, 0);
  color: #facc15;
}

.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-dev-card {
  position: relative;
  border-radius: 1.25rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.footer-dev-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.18), transparent 70%);
  pointer-events: none;
}

/* ================= 7. RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 640px) {
  .vmt-orange-card {
    padding: 0.85rem 0.95rem;
  }
  .vmt-content-box {
    font-size: 0.82rem;
    line-height: 1.35;
  }
}