
/* Basic reset so the site behaves properly */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Whole page background */
body {
  background-color: #f2f2f2;
  color: #222;
  line-height: 1.6;
}

/* Navigation bar */
nav {
  background-color: #111;
  padding: 15px 25px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-right: 20px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Expand content to full width */
main {
  max-width: 1200px;  /* wider container */
  margin: 50px auto;
  background: white;
  padding: 40px;
  border-radius: 8px;
}

/* Primary heading */
h1 {
  margin-bottom: 10px;
  font-size: 2rem;
}

/* Paragraph text */
p {
  margin-bottom: 15px;
  font-size: 1rem;
}

/* Hero section as flex row */
.hero {
  margin-bottom: 40px;
  padding: 20px 0;
  background-color: #d9ecff;  /* light blue */
}

.hero {
  text-align: left;  /* stops centring everything */
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 25px;
}

.hero-text .intro {
  font-size: 1.1rem;
  color: #444;
}

/* Make hero-links span full width under hero */
.hero-links {
  display: flex;
  justify-content: center; /* centers links */
  gap: 30px;               
  margin: 25px 0;          
}

.hero-links a {
  font-size: 1.2rem;
  font-weight: bold;
  color: #111;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background-color 0.2s, color 0.2s;
}

.hero-links a:hover {
  background-color: #111;
  color: white;
}

.logo {
  width: 80px;        /* controls size properly */
  height: auto;
  flex-shrink: 0;
  align-self: flex-start;   /* keeps it top-left */
}

/* Intro text */
.intro {
  font-size: 1.1rem;
  color: #444;
  margin-top: 10px;
}

/* ✅ CONTENT HEADINGS — this is what restores visibility */
.content h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #111;
  border-bottom: 2px solid #ddd;
  padding-bottom: 6px;
}

/* Image gallery */
.gallery {
  display: flex;
  gap: 20px;
  margin-top: 50px;
}

.gallery img {
  width: 48%;
  border-radius: 8px;
}

/* Make linked headings look like real headings */
.content h2 a {
  color: #111;
  text-decoration: none;
}

.content h2 a:hover {
  text-decoration: underline;
}


/* PDF viewer styling */
.pdf-viewer {
  width: 100%;
  height: 600px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* Download button */
.download-btn {
  display: inline-block;
  padding: 10px 15px;
  background: #111;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.download-btn:hover {
  background: #333;
}

/* Join button */
.join-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #111;
  color: white;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s;
}

.join-btn:hover {
  background: #333;
}
