:root {
  --primary-purple: #9C27B0;
  --black: #000;
  --white: #fff;
  --light-grey: #f8f8f8;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
}

nav {
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #ddd;
}

nav .logo {
  color: var(--primary-purple);
  font-weight: 700;
  font-size: 1.5rem;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-purple);
}

.hero-box {
  background-color: var(--primary-purple);
  color: var(--white);
  text-align: center;
  max-width: 900px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  border-radius: 6px;
}

.hero-box h1 {
  font-size: min(4rem,10vw);
  margin-top:0;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-box h2 {
  font-size: 1.5rem;
  font-weight: 300;
}

.hero-box .homepageLogo {
  max-width: 500px;
  width: 100%;
  height: auto;
}

.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.card {
  background-color: var(--light-grey);
  border-left: 5px solid var(--primary-purple);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.card h3 {
  margin-top: 0;
  color: var(--primary-purple);
  font-size: 3em;
  margin-bottom: 0px;
}

.contact a {
  color: var(--primary-purple);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

footer {
  background-color: var(--light-grey);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: var(--black);
  border-top: 1px solid #ddd;
}

p,li {
  font-size: 1.2rem;
}

#aboutPicture {
  border-radius: 25px;
  background-image: url(images/c.jpg);
  width: 300px;
  height: 450px;
  float: left;
  margin-right: 20px;
  background-repeat: no-repeat;
  background-size: 300px 450px;
}

.hero-box { position: relative}

/* Bottom bar holding the links */
.hero-links {
  position: absolute;               /* Fix to the bottom of the hero */
  bottom: 0;
  left: 0;
  width: 100%;                      /* Span full width of hero */
  display: flex;                    /* Divide area into three equal parts */
  justify-content: space-between;   /* Ensure even spacing */
  border-top: 2px solid rgba(136, 19, 156, 0.8); /* Top border to separate from hero content */
  background-color: rgba(116, 0, 136, 0.8);     /* Semi-transparent bar background */
  backdrop-filter: blur(4px);       /* Subtle blur for modern sheen */
}

/* Each link styled as a flexible button */
.hero-links a {
  flex: 1;                          /* Each link takes up equal width */
  text-align: centre;               /* Centre text within each section */
  text-decoration: none;
  color: #ffff55;                  /* Yellow for high contrast */
  font-size: 1.6rem;
  font-weight: 600;
  padding: 1rem 0;                  /* Vertical padding to balance proportions */
  transition: all 0.25s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.2); /* Vertical separator between links */
}

/* Remove right-hand border on the last link */
.hero-links a:last-child {
  border-right: none;
}

/* Hover/focus styles */
.hero-links a:hover,
.hero-links a:focus {
  background-color: white;         /* Bright hover state */
  color: #9C27B0;                  /* Brand purple text */
  transform: scale(1.02);           /* Slight lift effect */
  box-shadow: 0 -3px 15px rgba(136,19,156,0.5); /* Glow rising upwards */
}

/* Responsive behaviour */
@media (max-width: 768px) {
  .hero-links {
    flex-direction: column;         /* Stack vertically on small screens */
    border-top: none;               /* Remove top border */
    border-bottom: 2px solid rgba(136, 19, 156, 0.8); /* Optional bottom accent */
  }

  .hero-links a {
    border-right: none;             /* Remove vertical dividers */
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Add separators between stacked items */
    width: 100%;                    /* Fill full width */
  }

  .hero-links a:first-child {
    border-top: none;               /* No top border on first item */
  }
}

.trimmed {
  padding-top:0px;
  margin-bottom:40px;
  margin-top:0px;
}

.skinny {
      padding-bottom: 0px;
    margin-bottom: 0px;
}

.quotage {
    text-align: center;
}