/* Global reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1c1330;
  background-color: #f7f5fc;
}

/* Colors */
:root {
  --primary: #5b2c83;      /* Royal purple */
  --primary-dark: #3c1e57;
  --primary-light: #7f4db0;
  --accent: #ffffff;       /* White */
  --accent-soft: #f0ecfb;
  --text-on-primary: #ffffff;
}

/* Header container */
.site-header {
  background: #5b2c83;        /* Royal & Select Masters purple */
  color: #ffffff;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

/* Branding block */
.branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

/* Inline layout for title + logo */
.branding-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Logo styling */
.inline-logo {
  height: 50px;               /* adjust size here */
  width: auto;
  background: white;          /* ensures visibility on dark header */
  padding: 4px;
  border-radius: 6px;
}

/* Title text */
.branding h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}

/* Subtitle text */
.branding p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/* Navigation */
.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.site-nav li.active a,
.site-nav a:hover {
  background: #ffffff;
  color: #600000;
  border-color: #ffffff;
}

/* Hero section */

.hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--text-on-primary);
  padding: 3rem 1.5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.hero h2 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.hero h3 {
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
}

/* Buttons */

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* Main content */

main {
  padding: 2rem 1.5rem 3rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.page h1 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.page h2 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--primary);
}

.page p {
  margin-bottom: 0.75rem;
}

.page ul {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}

.page li {
  margin-bottom: 0.4rem;
}

/* Intro / highlight blocks */

.intro {
  margin-top: 2rem;
  text-align: center;
}

.intro h2 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.highlights,
.events-list,
.council-list {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.highlight,
.event-card,
.council-card {
  background: var(--accent);
  border-radius: 0.8rem;
  padding: 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  border: 1px solid #e2ddf5;
}

/* Officers list */

.officer-list {
  list-style: none;
  padding-left: 0;
}

.officer-list li {
  background: var(--accent);
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.4rem;
  border-radius: 0.4rem;
  border: 1px solid #e2ddf5;
}

/* Contact form */

.contact-form form {
  display: grid;
  gap: 0.75rem;
  max-width: 600px;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #c4b8e6;
  border-radius: 0.4rem;
  font: inherit;
  background: #fbf9ff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--primary-light);
}

/* Footer */

.site-footer {
  background: var(--primary-dark);
  color: var(--text-on-primary);
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
}
