/* ==========================================
   BRISKA EDUCATION CORPORATION
   Global CSS & Design System
   Theme: Corporate Modern Navy & Gray Gradient
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Import CSS Komponen & Responsive */
@import url('components.css');
@import url('responsive.css');

/* CSS Spesifik Halaman Opsional */
@import url('pages/csr.css');
@import url('pages/portal.css');
@import url('pages/tentang.css');

:root {
  /* Primary & Accent Color Palette */
  --primary-navy: #0B192C;       /* Deep Corporate Navy */
  --secondary-navy: #1E3E62;     /* Accent Navy */
  --accent-blue: #008DDA;        /* Interactive Accent */
  
  /* Modern Gray Gradient Backgrounds */
  --bg-gradient-main: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 50%, #EDF2F7 100%);
  --bg-gradient-alt: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
  --bg-card-glass: rgba(255, 255, 255, 0.85);
  
  /* Neutral Palette */
  --neutral-dark: #0F172A;       /* Body Text Slate 900 */
  --neutral-medium: #475569;     /* Subtitle Slate 600 */
  --neutral-light: #F1F5F9;      /* Card / Light Section Slate 100 */
  --neutral-gray: #CBD5E1;       /* Border / Divider Slate 300 */
  --white: #FFFFFF;
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --container-padding: 0 1.5rem;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  
  /* Modern Glass Shadow System */
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset CSS */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-gradient-main);
  background-attachment: fixed;
  color: var(--neutral-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Container & Section */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: 5rem 0;
}

.section-bg-light {
  background: var(--bg-gradient-alt);
  border-top: 1px solid rgba(203, 213, 225, 0.5);
  border-bottom: 1px solid rgba(203, 213, 225, 0.5);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  color: var(--accent-blue);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-description {
  color: var(--neutral-medium);
  font-size: 1.1rem;
}

/* ==========================================
   HERO BANNER & PORTAL CARDS
   ========================================== */
.hero-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #11223B 50%, var(--secondary-navy) 100%);
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 141, 218, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-banner h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-banner p {
  color: #CBD5E1;
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto;
}

/* Portal Grid Card */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.portal-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.portal-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #E2E8F0 0%, #F8FAFC 100%);
  color: var(--accent-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
  border: 1px solid var(--neutral-gray);
}

.portal-card:hover .card-icon {
  background: var(--accent-blue);
  color: var(--white);
  border-color: var(--accent-blue);
}

.portal-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.portal-card p {
  color: var(--neutral-medium);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Tabel CSR Modern */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-gray);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.csr-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.csr-table th {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.csr-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--neutral-light);
  color: var(--neutral-dark);
  font-size: 0.95rem;
}

.csr-table tr:hover {
  background-color: rgba(241, 245, 249, 0.8);
}
