/* Design tokens — single source of truth for brand colours, hero sizing,
   overlay alphas, and a Bootstrap primary override that ripples site-wide. */
:root {
  /* Brand */
  --lcc-gold: #ffbd21;
  --lcc-gold-dark: #b8860b;
  --lcc-ink: #1a202c;
  --lcc-paper: #ffffff;

  /* Hero */
  --hero-min-height: clamp(360px, 60vh, 720px);
  --hero-overlay-dark: rgba(0, 0, 0, 0.7);
  --hero-overlay-gold: rgba(255, 189, 33, 0.25);

  /* Buttons */
  --btn-primary-grey: rgba(40, 40, 40, 0.7);

  /* Bootstrap primary override — drives btn-primary, bg-primary, link-primary,
     focus rings, etc. across the whole site. Today only the CTA uses it. */
  --bs-primary: rgba(40, 40, 40, 0.7);
  --bs-primary-rgb: 40, 40, 40;
}

/* Body */
body {
  margin: 0;
}

/* Header */
header {
  font-family: "Montserrat", sans-serif;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--hero-min-height);
  padding-block: clamp(2rem, 6vh, 6rem);
  /* Reserve right-side space so the fixed hamburger toggle never sits over
     hero text or CTA. The toggle is 64px wide at top:24px right:24px,
     so ~88px is the danger zone; 96px / 8vw gives breathing room. */
  padding-right: max(96px, 8vw);
  background:
    linear-gradient(140deg, var(--hero-overlay-dark), rgba(0, 0, 0, 0)),
    linear-gradient(var(--hero-overlay-gold), var(--hero-overlay-gold)),
    var(--hero-background-image, url("/images/IMG_9569.JPG")) center / cover no-repeat;
}

/* Cap hero paragraph line length even when the column itself is wide. */
.hero-text-block {
  max-width: 60ch;
}

/* CTA button — uses Bootstrap 5.3 local custom properties so we don't need
   to fight selector specificity. Default = translucent dark grey; hover
   swaps to dark gold (chosen for WCAG AA contrast with white text at the
   button's large bold size); active = same dark gold pressed. */
.btn-primary {
  --bs-btn-bg: var(--btn-primary-grey);
  --bs-btn-border-color: var(--btn-primary-grey);
  --bs-btn-hover-bg: var(--lcc-gold-dark);
  --bs-btn-hover-border-color: var(--lcc-gold-dark);
  --bs-btn-active-bg: var(--lcc-gold-dark);
  --bs-btn-active-border-color: var(--lcc-gold-dark);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
}

/* Main */
main {
  background-color: #ffffff;
  font-family: "Montserrat", sans-serif;
  margin: 0 auto;
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  margin-bottom: 1rem;
}

main p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

main img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

main a {
  color: #007acc;
  text-decoration: none;
}

main ul,
main ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

main table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

main table th,
main table td {
  border: 1px solid #ddd;
  padding: 8px;
}

main table th {
  background-color: #f2f2f2;
  text-align: left;
}

main blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #666;
}

main form {
  display: flex;
  flex-direction: column;
}

main form input,
main form textarea,
main form select {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

main .mb-1 {
  margin-bottom: 1rem;
}

main .mt-1 {
  margin-top: 1rem;
}

main .mr-1 {
  margin-right: 1rem;
}

main .ml-1 {
  margin-left: 1rem;
}

/* Features/Sections */
.section-gold {
  background: #643100;
  color: #ffffff;
}

.section-dark {
  background: #222222;
  color: #ffffff;
}

.section-light {
  background: #ffffff;
  color: #000000;
}

.feature-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 100px;
  max-height: 50vh;
  max-width: 1000px;
  margin: 0 auto;
}

.large-feature {
  max-width: 100%;
  font-size: 2rem;
}

.large-feature p {
  font-size: 1.5rem;
  margin-bottom: 0rem;
  padding-bottom: 1rem;
}

.small-feature {
  max-width: 34%;
  font-size: 1.5rem;
}

.small-feature p {
  font-size: 1rem;
}

/* Footer */
.footer-light {
  background-color: #f8f9fa;
  padding: 2rem 0;
  margin-top: 3rem;
  font-family: "Montserrat", sans-serif;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-social a {
  color: #333;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #1877f2;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #007acc;
  text-decoration: underline;
}

.footer-copyright p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.footer-placeholder {
  display: block;
  width: 100%;
  min-height: 56px;
  padding-block: 12px;
}

@media (min-width: 768px) {
  .footer-placeholder {
    min-height: 64px;
    padding-block: 14px;
  }
}

@media (min-width: 1024px) {
  .footer-placeholder {
    min-height: 72px;
    padding-block: 16px;
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}