/*
Theme Name: Akademi Bahasa AKABA
Theme URI: https://akademibahasa.id
Author: Akademi Bahasa - Language Education Academy
Author URI: https://akademibahasa.id
Description: Tema WordPress Resmi Akademi Bahasa (AKABA) - Kursus Percakapan Mandarin & Japanese (P1B, P2B), Persiapan Ujian Resmi HSK & JLPT, Self Study Mandiri, dan Program Kemitraan Guru Pengajar. Didesain dengan tema warna profesional Merah, Biru Navy, dan Emas, terintegrasi tombol WhatsApp interaktif hijau (081312341500), galeri dokumentasi kegiatan, dan layout mobile-friendly responsif.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: akaba-theme
Tags: education, language-school, course, mandarin, japanese, red-blue-gold, responsive-layout, custom-menu, translation-ready
*/

:root {
  --primary-blue: #0A2540;
  --primary-blue-dark: #061627;
  --accent-red: #B91C1C;
  --accent-gold: #D97706;
  --accent-gold-light: #F59E0B;
  --wa-green: #25D366;
  --bg-light: #F8FAFC;
  --text-main: #0F172A;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Nav */
.akaba-header {
  background: #0A2540;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.akaba-topbar {
  background: #B91C1C;
  color: #fff;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  text-align: center;
  font-weight: 600;
}

.akaba-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.akaba-brand-container {
  display: flex;
  align-items: center;
}

.akaba-custom-logo-link {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 2px 4px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.akaba-custom-logo-link:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.4));
}

.akaba-custom-logo-link img,
.custom-logo {
  max-height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.akaba-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  padding: 2px 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.akaba-brand:hover {
  transform: translateY(-1px);
}

.akaba-brand-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0A2540 0%, #163E66 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  color: #F59E0B;
  border: 2px solid #F59E0B;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.akaba-brand-text h1 {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.1;
  color: #FFFFFF;
}

.akaba-brand-text h1 .text-white {
  color: #FFFFFF;
}

.akaba-brand-text h1 .text-gold {
  color: #F59E0B;
}

.akaba-brand-text p {
  font-size: 0.7rem;
  color: #94A3B8;
  font-weight: 600;
}

.akaba-nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
}

.akaba-nav-links a {
  color: #E2E8F0;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.akaba-nav-links a:hover {
  color: #F59E0B;
}

.btn-wa-header {
  background-color: #25D366;
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Hero */
.akaba-hero {
  background: linear-gradient(135deg, #0A2540 0%, #163E66 60%, #061627 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Background Animation Decor & Floating Glyphs */
.akaba-animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.akaba-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.22;
  animation: akabaPulseGlow 12s ease-in-out infinite alternate;
}

.akaba-glow-orb-1 {
  top: -10%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #B91C1C 0%, rgba(217,119,6,0.3) 70%, transparent 100%);
  animation-duration: 14s;
}

.akaba-glow-orb-2 {
  top: 30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #F59E0B 0%, rgba(10,37,64,0.4) 70%, transparent 100%);
  animation-duration: 18s;
  animation-delay: 2s;
}

.akaba-glow-orb-3 {
  bottom: -15%;
  left: 25%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #1E40AF 0%, rgba(185,28,28,0.3) 70%, transparent 100%);
  animation-duration: 16s;
  animation-delay: 4s;
}

.akaba-floating-glyph {
  position: absolute;
  font-family: serif;
  color: rgba(245, 158, 11, 0.25);
  user-select: none;
  pointer-events: none;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
  animation: akabaFloat 18s ease-in-out infinite;
}

.akaba-glyph-1 { top: 12%; left: 8%; font-size: 3rem; animation-duration: 16s; }
.akaba-glyph-2 { top: 22%; right: 10%; font-size: 3.5rem; animation-duration: 22s; animation-delay: 2s; }
.akaba-glyph-3 { top: 50%; left: 6%; font-size: 2.8rem; animation-duration: 19s; animation-delay: 4s; }
.akaba-glyph-4 { top: 68%; right: 8%; font-size: 3.2rem; animation-duration: 24s; animation-delay: 1s; }
.akaba-glyph-5 { top: 82%; left: 14%; font-size: 2.5rem; animation-duration: 20s; animation-delay: 3s; }
.akaba-glyph-6 { top: 38%; right: 20%; font-size: 2.6rem; animation-duration: 21s; animation-delay: 5s; }

@keyframes akabaFloat {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0.15; }
  50% { transform: translate(15px, -25px) rotate(6deg); opacity: 0.35; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 0.15; }
}

@keyframes akabaPulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.18; }
  50% { transform: scale(1.25) translate(30px, -20px); opacity: 0.32; }
  100% { transform: scale(1) translate(0, 0); opacity: 0.18; }
}

.akaba-hero .container {
  position: relative;
  z-index: 2;
}

.akaba-hero-badge {
  display: inline-block;
  background: rgba(217, 119, 6, 0.2);
  border: 1px solid #D97706;
  color: #FBBF24;
  padding: 0.4rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.akaba-hero h2 {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.akaba-hero h2 span.highlight-gold {
  color: #F59E0B;
}

.akaba-hero h2 span.highlight-red {
  color: #EF4444;
}

.akaba-hero p {
  font-size: 1.15rem;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  color: #CBD5E1;
}

.akaba-cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: #B91C1C;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #991B1B;
  transform: translateY(-2px);
}

.btn-gold {
  background: #D97706;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.btn-wa-large {
  background: #25D366;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-bg-white {
  background: #FFFFFF;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  color: #B91C1C;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0A2540;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #64748B;
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Program Cards Grid */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.program-card {
  background: #FFFFFF;
  border-radius: 1rem;
  border: 1px solid #E2E8F0;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.12);
  border-color: #D97706;
}

.program-badge {
  background: #FEF3C7;
  color: #B45309;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 1rem;
}

.program-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0A2540;
  margin-bottom: 0.75rem;
}

.program-features {
  list-style: none;
  margin: 1.5rem 0;
}

.program-features li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #334155;
}

.program-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: 900;
}

/* Mitra Pengajar */
.mitra-box {
  background: linear-gradient(135deg, #0A2540 0%, #163E66 100%);
  color: #fff;
  border-radius: 1.25rem;
  padding: 3.5rem 2.5rem;
  box-shadow: 0 10px 35px rgba(10, 37, 64, 0.2);
}

.mitra-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.mitra-point-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.mitra-point-item h4 {
  color: #F59E0B;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Floating WhatsApp */
.wa-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: #FFFFFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  cursor: pointer;
  transition: transform 0.2s;
}

.wa-float-btn:hover {
  transform: scale(1.1);
}

/* Footer */
.akaba-footer {
  background: #061627;
  color: #94A3B8;
  padding: 4rem 0 2rem;
  border-top: 4px solid #D97706;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  border-left: 3px solid #B91C1C;
  padding-left: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #64748B;
}

@media (max-width: 768px) {
  .akaba-nav-links {
    display: none;
  }
  .akaba-hero h2 {
    font-size: 2rem;
  }
  .wa-float-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
}
