/* aca-explorer-base.css */

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}
:root {
  --primary: #2563eb;
  --background: #f8fafc;
  --text: #1e293b;
  --sidebar-width: 250px;
  --nav-height: 70px;   /* default fallback */

}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Add this to your aca-explorer-base.css or create a new file */

/* Gallito mascot background */
.page-background {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 30%;
  height: 50%;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  background-size: contain;
  background-position: bottom right;
  background-repeat: no-repeat;
}

/* Adjust opacity for better visibility on different backgrounds */
body[data-page-id="01"] .page-background,
body[data-page-id="05"] .page-background,
body[data-page-id="09"] .page-background {
  opacity: 0.08;
}

body[data-page-id="02"] .page-background,
body[data-page-id="06"] .page-background {
  opacity: 0.07;
}

body[data-page-id="03"] .page-background,
body[data-page-id="07"] .page-background {
  opacity: 0.09;
}

body[data-page-id="04"] .page-background,
body[data-page-id="08"] .page-background {
  opacity: 0.08;
}

/* Make mascots smaller on mobile devices */
@media (max-width: 768px) {
  .page-background {
    width: 50%;
    opacity: 0.05;
  }
}

/* Hide content until ScrollReveal takes over */
html.sr .reveal-content {
  visibility: hidden;
}

/* Container and layout */
.container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: calc(var(--nav-height) + 10px);
  position: relative;
}

/* Main content */
.main-content {
  flex: 1;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
  padding-top: 1rem;
  margin-top: 0;
  scroll-margin-top: calc(var(--nav-height) + 10px);
}

.section-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.content-section {
  margin-bottom: 4rem;
  min-height: 80vh;
  scroll-margin-top: calc(var(--nav-height) + 10px);
}



.content-section p {
  margin-bottom: 1.5rem;
}

.progress-indicator {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1000; /* High z-index to ensure visibility */
  display: block !important; /* Force display */
}

.sidebar {
  background-color: white !important;
  position: relative;
  z-index: 10;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background: var(--aca-blue);
  width: 0;
  transition: width 0.3s ease;
  display: block !important;
}

@media (min-width: 768px) {
  .container {
    flex-direction: row;
  }
}