/* ==========================================================================
   SMK NEGERI 1 PAKIS AJI - OFFICIAL WEBSITE STYLESHEET
   Design System: FRESH (Fleksibel, Religius, Edukatif, Sopan, Harmonis)
   ========================================================================== */

:root {
  --primary: #0f2c59;
  --primary-light: #1e40af;
  --primary-dark: #0b1f3f;
  --secondary: #00b4d8;
  --secondary-dark: #0077b6;
  --accent: #f7b731;
  --accent-hover: #eb9b00;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --bg-topbar: #0b1f3f;
  --bg-footer: #08162d;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --border-color: #e2e8f0;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-sm: 8px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(0, 180, 216, 0.3);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

[data-theme="dark"] {
  --bg-main: #0f172a;
  --bg-card: #1e293b;
  --bg-header: #0f172a;
  --bg-topbar: #020617;
  --bg-footer: #020617;
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-light: #94a3b8;
  
  --border-color: #334155;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Typography Helpers */
.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }

.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(0, 180, 216, 0.12);
  color: var(--secondary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

[data-theme="dark"] .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(15, 44, 89, 0.3);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 44, 89, 0.4);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(247, 183, 49, 0.4);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 183, 49, 0.5);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.3);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

[data-theme="dark"] .btn-outline {
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
}

/* ==========================================================================
   TOP BAR & NAVIGATION HEADER
   ========================================================================== */
.top-bar {
  background: var(--bg-topbar);
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
}

.top-info-item i {
  color: var(--accent);
}

.top-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--secondary);
  transform: scale(1.1);
}

/* Main Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.25rem 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo img {
  height: 52px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

[data-theme="dark"] .brand-text h1 {
  color: var(--text-white);
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.5px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

/* Dropdown Menu */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius-sm);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
}

.dropdown-item:hover {
  background: rgba(0, 180, 216, 0.08);
  color: var(--secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle, .search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover, .search-btn:hover {
  background: rgba(0, 180, 216, 0.1);
  color: var(--secondary);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION & BANNER
   ========================================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 44, 89, 0.9), rgba(8, 22, 45, 0.85)), url('../images/hero.jpg') center/cover no-repeat;
  color: var(--text-white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at right center, rgba(0, 180, 216, 0.25), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 4rem 0;
}

.badge-coe {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(247, 183, 49, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(5px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-title span {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.fresh-pill-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.fresh-pill {
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.fresh-pill.highlight {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 800;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   QUICK ANNOUNCEMENT / MARQUEE TICKER
   ========================================================================== */
.ticker-bar {
  background: var(--secondary);
  color: #ffffff;
  padding: 0.75rem 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}

.ticker-label {
  background: var(--primary);
  color: #ffffff;
  padding: 0.25rem 0.85rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.ticker-content {
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  display: flex;
  gap: 2.5rem;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   STATS COUNTER SECTION
   ========================================================================== */
.stats-section {
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 180, 216, 0.12);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.stat-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .stat-info h3 {
  color: var(--accent);
}

.stat-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   PRINCIPAL & PROFILE SECTION
   ========================================================================== */
.profile-section {
  padding: 6rem 0 4rem 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem;
  align-items: center;
}

.kepsek-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-card);
}

.kepsek-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top;
}

.kepsek-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15, 44, 89, 0.95));
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  color: #ffffff;
}

.kepsek-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
}

.kepsek-overlay p {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.greeting-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

[data-theme="dark"] .greeting-content h2 {
  color: #ffffff;
}

.greeting-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
  border-left: 4px solid var(--secondary);
  padding-left: 1.25rem;
}

.greeting-body {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.motto-box {
  display: flex;
  gap: 1rem;
  background: rgba(0, 180, 216, 0.08);
  padding: 1.25rem;
  border-radius: var(--border-radius);
  border: 1px dashed var(--secondary);
  margin-bottom: 2rem;
}

.motto-icon {
  font-size: 1.75rem;
  color: var(--secondary);
}

.motto-text h5 {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

[data-theme="dark"] .motto-text h5 {
  color: var(--secondary);
}

.motto-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PROGRAM KEAHLIAN (MAJORS) SECTION
   ========================================================================== */
.majors-section {
  padding: 5rem 0;
  background: rgba(15, 44, 89, 0.03);
}

[data-theme="dark"] .majors-section {
  background: rgba(0, 0, 0, 0.2);
}

.majors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.major-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.major-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.major-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.major-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.major-card:hover .major-img-wrapper img {
  transform: scale(1.08);
}

.major-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.major-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.major-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 180, 216, 0.12);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.major-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .major-title {
  color: #ffffff;
}

.major-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.5;
}

.major-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.major-btn {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.major-btn:hover {
  color: var(--primary-light);
  gap: 0.6rem;
}

/* ==========================================================================
   MIKROTIK ACADEMY FEATURE BANNER
   ========================================================================== */
.mikrotik-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0b1f3f, #0f2c59);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.mikrotik-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.2), transparent 70%);
  border-radius: 50%;
}

.mikrotik-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mikrotik-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.mikrotik-content h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.mikrotik-content p {
  font-size: 1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.mikrotik-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mikrotik-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.mikrotik-item i {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.mikrotik-item span {
  font-size: 0.9rem;
  color: #e2e8f0;
  font-weight: 600;
}

.mikrotik-card-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
  text-align: center;
}

.mikrotik-logo-large {
  font-size: 3.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.mikrotik-card-box h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.mikrotik-card-box p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   UNIT PRODUKSI (TEACHING FACTORY) SECTION
   ========================================================================== */
.up-section {
  padding: 5rem 0;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  margin-top: 2rem;
}

.product-img {
  position: relative;
  height: 100%;
  min-height: 320px;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.78rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.product-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-brand {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

[data-theme="dark"] .product-title {
  color: #ffffff;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.pf-item i {
  color: var(--success);
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

[data-theme="dark"] .product-price {
  color: var(--accent);
}

/* ==========================================================================
   PPDB (PENDAFTARAN PESERTA DIDIK BARU) SECTION
   ========================================================================== */
.ppdb-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.95), rgba(15, 44, 89, 0.95)), url('../images/hero.jpg') center/cover;
  color: #ffffff;
  border-radius: var(--border-radius-lg);
  margin: 3rem 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.ppdb-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.ppdb-text h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.ppdb-text p {
  font-size: 1.05rem;
  color: #e2e8f0;
  max-width: 600px;
}

.ppdb-steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.step-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin: 0 auto 1rem auto;
}

.step-card h4 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .step-card h4 {
  color: #ffffff;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BERITA & PENGUMUMAN (NEWS)
   ========================================================================== */
.news-section {
  padding: 5rem 0;
}

.news-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img img {
  transform: scale(1.06);
}

.news-date {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 44, 89, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.news-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-category {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

[data-theme="dark"] .news-title {
  color: #ffffff;
}

.news-snippet {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.news-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

[data-theme="dark"] .news-link {
  color: var(--secondary);
}

/* ==========================================================================
   FACILITIES & EKSTRAKURIKULER TABS
   ========================================================================== */
.extras-section {
  padding: 5rem 0;
  background: rgba(15, 44, 89, 0.03);
}

[data-theme="dark"] .extras-section {
  background: rgba(0, 0, 0, 0.2);
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(15, 44, 89, 0.25);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ekstra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.ekstra-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.ekstra-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.ekstra-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.12);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem auto;
}

.ekstra-card h4 {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

[data-theme="dark"] .ekstra-card h4 {
  color: #ffffff;
}

.ekstra-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTACT & FOOTER
   ========================================================================== */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-box {
  background: var(--primary);
  color: #ffffff;
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-info-box h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info-box p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cd-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cd-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cd-text h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.cd-text p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 0;
}

.contact-form-box {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: var(--bg-footer);
  color: #94a3b8;
  padding: 4rem 0 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--secondary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

/* ==========================================================================
   MODALS (PPDB, PROGRAM DETAILS, NEWS DETAIL)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

[data-theme="dark"] .modal-title {
  color: #ffffff;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--danger);
}

.modal-body {
  padding: 1.5rem;
}

/* Quick Receipt Styling */
.receipt-box {
  background: rgba(0, 180, 216, 0.05);
  border: 2px dashed var(--secondary);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-top: 1rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .profile-grid, .mikrotik-grid, .product-card, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-card);
    flex-direction: column;
    padding: 2rem;
    align-items: flex-start;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .nav-menu.active {
    left: 0;
  }
  .mobile-toggle {
    display: block;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: none;
  }
  .nav-item.dropdown.active .dropdown-menu {
    display: block;
  }
}

@media (max-width: 576px) {
  .top-bar { display: none; }
  .hero-title { font-size: 1.9rem; }
  .section-title { font-size: 1.75rem; }
  .ppdb-flex { padding: 0; }
}
