/*
Theme Name: Panara Learning
Theme URI: https://panaralearning.web.id
Author: Barizaloka
Author URI: https://barizaloka.id
Description: Theme resmi Panara Learning - Pelatihan Kerja & Info Magang. Anak perusahaan PT. Pendidikan Abdi Negara.
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: panara-learning
Tags: education, training, employment, responsive
*/

/* ============================================
   CSS VARIABLES
============================================ */
:root {
  --green-dark:   #1a5c2a;
  --green-mid:    #237a38;
  --green-main:   #2d9e4f;
  --green-light:  #e8f5ec;
  --gold-main:    #f0b429;
  --gold-dark:    #c88e00;
  --gold-light:   #fff8e1;
  --white:        #ffffff;
  --gray-50:      #f9fafb;
  --gray-100:     #f3f4f6;
  --gray-200:     #e5e7eb;
  --gray-400:     #9ca3af;
  --gray-600:     #4b5563;
  --gray-800:     #1f2937;
  --text-main:    #1e2d1f;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.14);
  --transition:   0.25s ease;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-main);
  background: var(--green-light);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-title span { color: var(--gold-main); }

.section-subtitle {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.75;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--green-main);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(45,158,79,0.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,158,79,0.4);
}

.btn-gold {
  background: var(--gold-main);
  color: var(--text-main);
  box-shadow: 0 4px 14px rgba(240,180,41,0.35);
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--green-main);
  color: var(--green-main);
}
.btn-outline:hover {
  background: var(--green-main);
  color: var(--white);
}

/* ============================================
   HEADER / NAVBAR
============================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--gold-main);
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-logo .logo-text {
  display: flex;
  flex-direction: column;
}
.site-logo .logo-text .name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--green-dark);
  line-height: 1;
}
.site-logo .logo-text .tagline {
  font-size: 11px;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* NAV */
#site-nav { display: flex; align-items: center; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
  color: var(--green-main);
  background: var(--green-light);
}

.nav-menu > li > a .chevron {
  font-size: 10px;
  transition: transform var(--transition);
  color: var(--gray-400);
}

.nav-menu > li:hover > a .chevron {
  transform: rotate(180deg);
  color: var(--green-main);
}

/* CTA in nav */
.nav-cta {
  background: var(--gold-main) !important;
  color: var(--text-main) !important;
  border-radius: var(--radius-md) !important;
  padding: 8px 20px !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--gold-dark) !important;
  color: var(--white) !important;
}

/* DROPDOWN */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}

.nav-menu > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.dropdown-menu li a:before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-main);
  flex-shrink: 0;
}

.dropdown-menu li a:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   HERO SECTION
============================================ */
.hero-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 50%, var(--green-main) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(240,180,41,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 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' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-main);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-badge::before {
  content: '★';
  color: var(--gold-main);
}

.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-title .highlight {
  color: var(--gold-main);
  position: relative;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-main);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

/* Hero Image/Card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  width: 100%;
  max-width: 380px;
}

.hero-card .card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-align: center;
}

.position-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.position-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition);
}

.position-item:hover {
  background: rgba(240,180,41,0.2);
}

.position-icon {
  width: 32px;
  height: 32px;
  background: var(--gold-main);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ============================================
   KENAPA PANARA SECTION
============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--green-main), var(--gold-main));
  border-radius: 4px 0 0 4px;
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.why-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   TRUST INDICATORS
============================================ */
.trust-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 60px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trust-item {
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all var(--transition);
}

.trust-item:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-3px);
}

.trust-num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--gold-main);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* ============================================
   PROGRAM / POSISI
============================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}

.program-card:hover {
  border-color: var(--green-main);
  box-shadow: 0 4px 20px rgba(45,158,79,0.12);
  transform: translateY(-4px);
}

.program-card .prog-icon {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
  transition: all var(--transition);
}

.program-card:hover .prog-icon {
  background: var(--green-main);
}

.program-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.program-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ============================================
   GALLERY SECTION
============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.gallery-grid .gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--green-light);
  cursor: pointer;
}

.gallery-grid .gallery-item:first-child,
.gallery-grid .gallery-item:nth-child(5) {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--green-light), rgba(240,180,41,0.1));
  transition: all var(--transition);
}

.gallery-placeholder:hover {
  transform: scale(1.02);
}

.gallery-placeholder .gallery-icon {
  font-size: 32px;
  opacity: 0.5;
}

.gallery-placeholder .gallery-label {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 600;
}

.gallery-links {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 2px solid var(--green-main);
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  color: var(--green-dark);
  transition: all var(--transition);
}

.gallery-link-card:hover {
  background: var(--green-main);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   CTA BANNER
============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--gold-main), var(--gold-dark));
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.15) 0%, transparent 60%),
                    radial-gradient(circle at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.cta-section .container { position: relative; }

.cta-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text-main);
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 16px;
  color: rgba(0,0,0,0.65);
  margin-bottom: 32px;
}

.cta-btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
============================================ */
#site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
  height: 40px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand .footer-logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand .footer-tagline {
  font-size: 12px;
  color: var(--gold-main);
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--white);
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
  background: var(--gold-main);
  color: var(--text-main);
  border-color: var(--gold-main);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--gold-main);
}

.footer-links a:hover {
  color: var(--gold-main);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  color: var(--gold-main);
}

/* ============================================
   PAGE HEADER
============================================ */
.page-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 64px 0;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--gold-main); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ============================================
   CARDS GENERAL
============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--green-light);
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-body p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .nav-menu { display: none; }
  .nav-toggle { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    gap: 4px;
    border-top: 1px solid var(--gray-200);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--gray-50);
    padding-left: 16px;
    display: none;
  }

  .nav-menu.open .dropdown-menu.open { display: block; }

  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .gallery-item:first-child,
  .gallery-grid .gallery-item:nth-child(5) { grid-column: span 2; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 480px) {
  .programs-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-item:first-child,
  .gallery-grid .gallery-item:nth-child(5) { grid-column: span 1; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; }
  .cta-btn-group { flex-direction: column; align-items: center; }
}
