@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root{
  /* Semantic design tokens (brand-agnostic) */
  --color-bg-primary: #000000;       /* Main background */
  --color-bg-secondary: #6b4eff;     /* Cards/secondary strips */
  --color-accent-primary: #00bd79;   /* Primary CTA/links */
  --color-accent-secondary: #00bd79; /* Secondary accent */
  --color-text-primary: #ffffff;     /* Base text color */

  /* Legacy aliases (safe if referenced anywhere) */
  --deep-purple: #000000;
  --accent-purple: #6b4eff;
  --light-purple: #00bd79;
  --sky-blue: #00bd79;
}

/* Global */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  overflow-x: hidden;
}

/* Background overlay from original template.
   Neutralized so theme background is visible. */
.space-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--color-bg-primary) !important;
  background-image: none !important;
  background-size: cover;
  opacity: 1 !important;
}

/* Content */
.text-section {
  max-width: 800px;
  margin: 60px auto;
  text-align: center;
  padding: 0 20px 20px 20px;
  font-family: 'Roboto', sans-serif;
}

.text-section h2 {
  font-size: 2.5em;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 20px 0;
  /* Gradient is theme-driven; comment out to use solid color instead */
  background: linear-gradient(45deg, var(--color-accent-primary), var(--color-accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Solid option:
  color: var(--color-accent-primary);
  -webkit-text-fill-color: initial;
  background: none;
  */
}

.text-section p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--color-text-primary);
}

.text-section a {
  color: var(--color-accent-primary); /* replace with your chosen colour */
  text-decoration: none; /* optional: removes underline */
}

.text-section a:hover {
  color: var(--color-text-primary); /* optional: hover colour */
  text-decoration: underline; /* optional: underline on hover */
}

.expandable-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.expandable-text.expanded {
  max-height: none;
}
.read-more-btn {
  background: none;
  border: none;
  color: var(--color-accent-primary);
  font-size: 1em;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.read-more-btn:hover {
  color: var(--color-accent-secondary);
}

/* Utilities for secondary surfaces (optional use) */
.theme-bg { background: var(--color-bg-primary) !important; }
.theme-bg-secondary { background: var(--color-bg-secondary) !important; }

/* Responsive behavior preserved from original */
@media (max-width: 768px) {
  .expandable-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
  }
  .expandable-text.expanded {
    max-height: none; /* Adjust based on content */
  }
}
