/* ==========================================================================
   SPPG Kedungjajang Wonorejo 02 - High Density Master Stylesheet
   Design System: High Density, Crisp Typography, Navy & Slate Palette,
   Modern Structural Cards & Precision Alignment
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Work+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* =========================================================
   SPPG DESIGN SYSTEM
   ========================================================= */

:root {
    /* ================================
       COLORS
       ================================= */

    --primary-blue: #0f2b5c;
    --primary-bright: #2563eb;
    --primary-hover: #1d4ed8;

    --deep-navy: #0b192c;
    --dark-navy: #09122c;

    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;

    --bg-main: #f8fafc;
    --bg-light-blue: #eff6ff;
    --bg-surface-blue: #f1f5f9;

    --border-subtle: #e2e8f0;
    --border-blue: #bfdbfe;

    --accent-gold: #f59e0b;
    --accent-gold-hover: #d97706;

    --success-green: #16a34a;
    --success-light: #f0fdf4;

    --warning-amber: #d97706;


    /* ================================
       SHADOWS
       ================================= */

    --card-shadow:
        0 4px 20px -2px rgba(15, 23, 42, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.03);

    --hover-shadow:
        0 12px 28px -5px rgba(15, 43, 92, 0.12),
        0 4px 8px rgba(0, 0, 0, 0.04);

    --hero-shadow:
        0 20px 40px -10px rgba(15, 43, 92, 0.22);


    /* ================================
       TYPOGRAPHY
       ================================= */

    --font-heading:
        'Plus Jakarta Sans',
        system-ui,
        -apple-system,
        sans-serif;

    --font-body:
        'Plus Jakarta Sans',
        'Work Sans',
        system-ui,
        -apple-system,
        sans-serif;


    /* ================================
       LAYOUT
       ================================= */

    --container-max: 1440px;


    /* ================================
       BORDER RADIUS
       ================================= */

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;


    /* ================================
       TRANSITIONS
       ================================= */

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;

    --transition:
        all 0.2s cubic-bezier(0.16, 1, 0.3, 1);


    /* ================================
       MODERN DESIGN ALIASES
       ================================= */

    --color-primary: #1554c7;
    --color-primary-dark: #0d2f73;
    --color-primary-soft: #eaf2ff;

    --color-background: #f7faff;
    --color-surface: #ffffff;
    --color-surface-soft: #f1f6fd;

    --color-text: #10203d;
    --color-text-muted: #64748b;
    --color-border: #dbe5f2;

    --shadow-sm:
        0 4px 16px rgba(15, 45, 90, 0.06);

    --shadow-md:
        0 12px 30px rgba(15, 45, 90, 0.09);

    --shadow-lg:
        0 20px 50px rgba(15, 45, 90, 0.12);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  display: inline-block;
}

.container {
  width: min(calc(100% - 48px), var(--container-max));
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0;
}

/* =========================================================
   ADMIN LOGIN LINK
   ========================================================= */
/* Menggabungkan kedua class agar CSS lebih kuat */
.nav-link.admin-login-link {
  color: white !important; /* Gunakan !important jika masih kalah oleh framework */
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none; /* Menghilangkan garis bawah pada link */
}

.nav-link.admin-login-link .material-symbols-outlined {
  font-size: 1.1rem;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */

.top-bar {
  background-color: var(--deep-navy);
  color: #ffffff;
  padding: 0.45rem 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 500;
  color: #cbd5e1;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-item .material-symbols-outlined {
  font-size: 1rem;
  color: #60a5fa;
}

.badge-program {
  background-color: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.675rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  transition: var(--transition);
}

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

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

.logo-bgn{
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}


.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.675rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-bright);
  background-color: var(--bg-light-blue);
}

.nav-link.active {
  font-weight: 700;
  color: var(--primary-bright);
  background-color: var(--bg-light-blue);
  border-bottom: 2px solid var(--primary-bright);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 14px rgba(15, 43, 92, 0.2);
}

.btn-primary:hover {
  background-color: var(--deep-navy);
  box-shadow: 0 6px 18px rgba(15, 43, 92, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--primary-blue);
  border: 1.5px solid var(--border-blue);
  border-radius: var(--radius-lg);
}

.btn-secondary:hover {
  background-color: var(--bg-light-blue);
  border-color: var(--primary-bright);
  color: var(--primary-bright);
}

.btn-accent {
  background-color: var(--primary-blue);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.75rem;
  padding: 0.5rem 1.15rem;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(15, 43, 92, 0.15);
}

.btn-accent:hover {
  background-color: var(--primary-bright);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  font-size: 1.6rem;
  color: var(--primary-blue);
  cursor: pointer;
  padding: 0.25rem;
}

/* ==========================================================================
   Hero Section & Page Headers
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0b192c 0%, #0f2b5c 60%, #1e3a8a 100%);
  color: #ffffff;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #60a5fa;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title span {
  color: #60a5fa;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.025rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--hero-shadow);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.hero-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-overlay-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(9, 18, 44, 0.88);
  backdrop-filter: blur(12px);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-overlay-icon {
  width: 38px;
  height: 38px;
  background-color: var(--primary-bright);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-overlay-text p:first-child {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.9rem;
}

.hero-overlay-text p:last-child {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Standard Inner Page Header */
.page-header {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--primary-blue) 100%);
  color: #ffffff;
  padding: 3.25rem 0 3.75rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header-content {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-header-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.page-header-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

.breadcrumbs a {
  color: #cbd5e1;
}

.breadcrumbs a:hover {
  color: #60a5fa;
}

/* ==========================================================================
   Stats Bar Section
   ========================================================================== */

.stats-bar {
  margin-top: -2.25rem;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.75rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
  padding-right: 1.25rem;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--bg-light-blue);
  color: var(--primary-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-number {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

/* ==========================================================================
   General Section Styling & Cards
   ========================================================================== */

.section {
  padding: 4.25rem 0;
}

.section-bg-light {
  background-color: var(--bg-surface-blue);
}

.section-bg-white {
  background-color: #ffffff;
}

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

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--primary-bright);
  margin-bottom: 0.4rem;
  display: block;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 0.975rem;
  color: var(--text-body);
}

/* Standard Feature Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
  border-color: var(--border-blue);
}

.card-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--bg-light-blue);
  color: var(--primary-bright);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon-wrapper .material-symbols-outlined {
  font-size: 1.75rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ==========================================================================
   Overview / About Brief Section
   ========================================================================== */

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

.about-brief-img-wrapper {
  position: relative;
}

.about-brief-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-subtle);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about-brief-badge {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(15, 43, 92, 0.25);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-brief-badge span {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  color: #60a5fa;
}

.about-brief-badge p {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.about-brief-list {
  margin: 1.25rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-brief-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--text-body);
}

.about-brief-list .material-symbols-outlined {
  color: var(--success-green);
  font-size: 1.25rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Menu & Gizi Section
   ========================================================================== */

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  background-color: #ffffff;
  color: var(--text-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tab-btn:hover {
  border-color: var(--primary-bright);
  color: var(--primary-bright);
  background-color: var(--bg-light-blue);
}

.tab-btn.active {
  background-color: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(15, 43, 92, 0.2);
}

.tab-pane {
  display: none;
}

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

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

.menu-card-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 1.75rem;
  align-items: stretch;
}

.menu-detail-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.menu-day-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
}

.menu-tag {
  background-color: var(--success-light);
  color: var(--success-green);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.menu-items-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.menu-item-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: var(--bg-main);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.menu-item-icon {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  color: var(--primary-bright);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.menu-item-info h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.menu-item-info p {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.nutrition-facts-card {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--primary-blue) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nutrition-facts-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nutrition-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
}

.nutrition-item:last-child {
  border-bottom: none;
}

.nutrition-value {
  font-weight: 700;
  color: #60a5fa;
}

/* ==========================================================================
   DYNAMIC DAILY MENU
   ========================================================================== */
/* =========================================================
   DYNAMIC NUTRITION DATA
   ========================================================= */
#nutrition-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nutrition-group {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.nutrition-group:last-child {
  border-bottom: none;
}
.nutrition-group-title {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.nutrition-group-value {
  color: rgba(255,255,255,0.78);
  font-size: 0.78rem;
  line-height: 1.55;
}
@media (max-width: 800px) {
  #nutrition-content {
    gap: 0;
  }
  .nutrition-group {
    padding: 0.75rem 0;
  }
  .nutrition-group-title {
    font-size: 0.75rem;
  }
  .nutrition-group-value {
    font-size: 0.76rem;
  }
}

.daily-menu-wrapper {
    width: 100%;
}
.menu-loading,
.menu-empty {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-muted);
    box-shadow: var(--card-shadow);
}
.menu-loading .material-symbols-outlined,
.menu-empty .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--primary-bright);
    margin-bottom: 0.75rem;
}
.menu-empty h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.menu-empty p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.menu-date {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}
.menu-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.menu-tag .material-symbols-outlined {
    font-size: 0.95rem;
}
.menu-text-content {
    white-space: pre-line;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.75;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}
.nutrition-description {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.nutrition-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    line-height: 1.5;
}
.nutrition-note .material-symbols-outlined {
    color: #60a5fa;
    flex-shrink: 0;
}
@media (max-width: 800px) {
    .menu-card-grid {
        grid-template-columns: 1fr;
    }
    .menu-detail-card,
    .nutrition-facts-card {
        padding: 1.5rem;
    }
}
@media (max-width: 600px) {
    .menu-card-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    .menu-text-content {
        font-size: 0.875rem;
        padding: 1rem;
    }
}

/* ==========================================================================
   Operational Process Timeline Section
   ========================================================================== */

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
  width: 100%;
}

.process-step-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
  position: relative;
  text-align: center;
  box-sizing: border-box;
}

.step-number {
  width: 36px;
  height: 36px;
  background-color: var(--bg-light-blue);
  color: var(--primary-bright);
  font-weight: 800;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 0.95rem;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.step-time {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-bright);
  background-color: var(--bg-light-blue);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 0.825rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* Tablet */
@media (max-width: 900px) {
  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Smartphone */
@media (max-width: 600px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Interactive Survey Forms & Results
   ========================================================================== */

.survey-container {
  max-width: 820px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-subtle);
}

.survey-form-group {
  margin-bottom: 1.65rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-sublabel {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

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

.form-control:focus {
  border-color: var(--primary-bright);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.star-rating {
  display: flex;
  gap: 0.4rem;
  direction: ltr;
}

.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.85rem;
  color: #cbd5e1;
  transition: var(--transition);
  padding: 0;
}

.star-btn.selected, .star-btn:hover, .star-btn:hover ~ .star-btn {
  color: var(--accent-gold);
}

.survey-results-box {
  background: linear-gradient(135deg, var(--bg-surface-blue) 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-blue);
  margin-top: 2.5rem;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.75rem;
  align-items: center;
}

.gauge-card {
  text-align: center;
  padding: 1.25rem;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-subtle);
}

.gauge-value {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
}

.gauge-stars {
  color: var(--accent-gold);
  margin: 0.4rem 0;
}

.progress-bar-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.progress-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-dark);
}

.progress-track {
  height: 8px;
  background-color: var(--border-subtle);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-bright) 0%, var(--primary-blue) 100%);
  border-radius: 9999px;
  transition: width 1s ease-out;
}

/* ==========================================================================
   Contact & Location Page
   ========================================================================== */

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

.contact-info-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background-color: var(--bg-light-blue);
  color: var(--primary-bright);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.contact-details p {
  font-size: 0.875rem;
  color: var(--text-body);
}

/* ==========================================================================
   Location Map Section
   ========================================================================== */

.map-section-header {
  margin-bottom: 2rem;
}

.map-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
}

.map-placeholder {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
}

.map-overlay-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;

  display: flex;
  align-items: center;
  gap: 0.75rem;

  max-width: 360px;
  padding: 0.85rem 1rem;

  background-color: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);

  z-index: 2;
}

.map-location-icon {
  width: 40px;
  height: 40px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: var(--primary-blue);
  color: #ffffff;

  border-radius: 50%;
}

.map-overlay-badge h5 {
  font-size: 0.95rem;
  color: var(--dark-navy);
  margin: 0 0 0.2rem;
}

.map-overlay-badge p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {

  .map-placeholder {
    height: 400px;
  }

  .map-overlay-badge {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }

}

@media (max-width: 480px) {

  .map-placeholder {
    height: 350px;
  }

  .map-overlay-badge {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;

    border-radius: 0;
    box-shadow: none;
  }

}

/* FAQ Accordion Component */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.1rem 1.35rem;
  text-align: left;
  background: none;
  font-weight: 700;
  font-size: 0.975rem;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.35rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-body);
  display: none;
  border-top: 1px solid var(--bg-surface-blue);
  padding-top: 0.85rem;
  line-height: 1.55;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--dark-navy);
  color: #ffffff;
  padding: 4rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .brand-logo {
  margin-bottom: 1rem;
}

.footer-brand .brand-title {
  color: #ffffff;
}

.footer-brand .brand-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.footer-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 1.15rem;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background-color: var(--primary-bright);
  border-radius: 2px;
}

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

.footer-links a {
  font-size: 0.85rem;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links a:hover {
  color: #60a5fa;
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.825rem;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
}

.footer-contact-item .material-symbols-outlined {
  color: #60a5fa;
  font-size: 1.05rem;
  margin-top: 0.1rem;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-status-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-status-dot {
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

/* Modal Popup Confirmation */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(9, 18, 44, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  transform: scale(0.92);
  transition: var(--transition);
  border: 1px solid var(--border-subtle);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  background-color: var(--success-light);
  color: var(--success-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.25rem;
}

/* Gallery Grid Styling */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 230px;
  border: 1px solid var(--border-subtle);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem;
  background: linear-gradient(to top, rgba(9, 18, 44, 0.92), transparent);
  color: #ffffff;
  font-size: 0.825rem;
  font-weight: 600;
}


/* ==========================================================================
   Wide Desktop Layout
   ========================================================================== */

@media (min-width: 1441px) {
  .container {
    width: min(calc(100% - 64px), var(--container-max));
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 32px);
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
  }
}

/* =========================================================
   PAGE TRANSITION
   ========================================================= */

@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: page-out 0.22s ease both;
}

::view-transition-new(root) {
    animation: page-in 0.35s ease both;
}

@keyframes page-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

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

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
}
/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(28px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.96);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
/* =========================================================
   MICRO INTERACTIONS
   ========================================================= */

.card,
.stat-card,
.feature-card,
.info-card,
.quality-card,
.program-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.card:hover,
.stat-card:hover,
.feature-card:hover,
.info-card:hover,
.quality-card:hover,
.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(15, 45, 90, 0.10);
}
/* =========================================================
   BUTTON INTERACTION
   ========================================================= */

button,
.btn,
.button,
.cta {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

button:hover,
.btn:hover,
.button:hover,
.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 72, 160, 0.18);
}

button:active,
.btn:active,
.button:active,
.cta:active {
    transform: translateY(0);
}
/* =========================================================
   IMAGE INTERACTION
   ========================================================= */

.image-wrapper,
.gallery-item,
.image-card {
    overflow: hidden;
}

.image-wrapper img,
.gallery-item img,
.image-card img {
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.image-wrapper:hover img,
.gallery-item:hover img,
.image-card:hover img {
    transform: scale(1.035);
}
/* =========================================================
   NAVIGATION INTERACTION
   ========================================================= */

nav a {
    position: relative;
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: #2563eb;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

nav a:hover::after {
    width: 60%;
}
/* =========================================================
   ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 3px;
}