@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Crimson+Text&display=swap');

:root{
	
	--quote-bg:#0b0b0b;         /* panel background */
	--quote-text:white;
	--quote-border:#e6cd7b;     /* gold */
	--quote-bw:3px;             /* border thickness */
	--quote-bite:22px;          /* radius of the corner “bite” */
	--quote-radius:14px;        /* overall rounding of the panel’s outer box (optional) */
	--quote-void:#fff;          /* set to transparent for see-through bites */
}

  .quote{
    position:relative;
    color:var(--quote-text);
    background:
      /* 1) Corner rings (gold arc that wraps the bite) */
      radial-gradient(circle at 0 0,        transparent calc(var(--quote-bite) - var(--quote-bw)), var(--quote-border) calc(var(--quote-bite) - var(--quote-bw)) var(--quote-bite), transparent var(--quote-bite)) top left,
      radial-gradient(circle at 100% 0,     transparent calc(var(--quote-bite) - var(--quote-bw)), var(--quote-border) calc(var(--quote-bite) - var(--quote-bw)) var(--quote-bite), transparent var(--quote-bite)) top right,
      radial-gradient(circle at 0 100%,     transparent calc(var(--quote-bite) - var(--quote-bw)), var(--quote-border) calc(var(--quote-bite) - var(--quote-bw)) var(--quote-bite), transparent var(--quote-bite)) bottom left,
      radial-gradient(circle at 100% 100%,  transparent calc(var(--quote-bite) - var(--quote-bw)), var(--quote-border) calc(var(--quote-bite) - var(--quote-bw)) var(--quote-bite), transparent var(--quote-bite)) bottom right,

      /* 2) Edge strips (gold) */
      linear-gradient(var(--quote-border), var(--quote-border)) top center,
      linear-gradient(var(--quote-border), var(--quote-border)) bottom center,
      linear-gradient(90deg, var(--quote-border), var(--quote-border)) left center,
      linear-gradient(90deg, var(--quote-border), var(--quote-border)) right center,

      /* 3) The bites themselves (white/void) */
      radial-gradient(circle at 0 0,        var(--quote-void) 0 var(--quote-bite), transparent var(--quote-bite)) top left,
      radial-gradient(circle at 100% 0,     var(--quote-void) 0 var(--quote-bite), transparent var(--quote-bite)) top right,
      radial-gradient(circle at 0 100%,     var(--quote-void) 0 var(--quote-bite), transparent var(--quote-bite)) bottom left,
      radial-gradient(circle at 100% 100%,  var(--quote-void) 0 var(--quote-bite), transparent var(--quote-bite)) bottom right,

      /* 4) Panel background */
      var(--quote-bg);
    background-repeat:no-repeat;

    background-size:
      var(--quote-bite) var(--quote-bite), var(--quote-bite) var(--quote-bite), var(--quote-bite) var(--quote-bite), var(--quote-bite) var(--quote-bite),
      calc(100% - (2 * var(--quote-bite))) var(--quote-bw),
      calc(100% - (2 * var(--quote-bite))) var(--quote-bw),
      var(--quote-bw) calc(100% - (2 * var(--quote-bite))),
      var(--quote-bw) calc(100% - (2 * var(--quote-bite))),
      var(--quote-bite) var(--quote-bite), var(--quote-bite) var(--quote-bite), var(--quote-bite) var(--quote-bite), var(--quote-bite) var(--quote-bite),
      auto;

    background-position:
      top left, top right, bottom left, bottom right,
      top center, bottom center,
      left center, right center,
      top left, top right, bottom left, bottom right,
      0 0;

    border-radius:var(--quote-radius);
    padding:2.25rem 2.5rem;
    line-height:1.7;
    font-size:1.1rem;
    max-width:48rem;
  }

  .quote footer{
    display:block; text-align:right; color:var(--quote-text);
  }


.executive-director { display:none;}

.event-menu-item {
    display:none;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body, p {
    font-family: 'Crimson Text', serif, "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 18px;
}

html, body {
  line-height: 1.42857143;
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #fff;
  color: #333;
}
body {
  display: flex;
  flex-direction: column;
}

main h1, main h2, main h3, main h4, main h5, main h6 {
    display: block;
    font-weight: 500;
    text-transform: uppercase;
    color: #393c42;
}
img.logo { text-align:center; margin-left:auto;margin-right:auto;}
h1 {
    font-size: 24px;
    line-height: 1.87;
    letter-spacing: 0.221rem;
    padding: 0;
    margin: 0 0 2rem;
    text-align:center;
}

header h1 {
    color: #fff;
}

header h1 {
    margin: 1rem 0 0 0;
}

/* Minimal layout container */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.d-none {
    display:none !important;
}

/* Text alignment */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}

/* Margin and padding helpers */
.mt-3 { margin-top: 1rem; }
.mb-3 { margin-bottom: 1rem; }
.pt-3 { padding-top: 1rem; }
.pb-3 { padding-bottom: 1rem; }


/* Responsive Breakpoints */
@media (max-width: 576px) {
  .container { padding: 0 1rem; }
  .d-flex { flex-direction: column; }
  .text-center-sm { text-align: center; }
}

@media (min-width: 577px) and (max-width: 768px) {
  .container { padding: 0 2rem; }
  .d-flex-md { flex-direction: row; flex-wrap: wrap; }
}

@media (min-width: 769px) and (max-width: 992px) {
  .container { padding: 0 3rem; }
}

@media (min-width: 993px) {
  .container { padding: 0 4rem; }
}

/* Utility Classes */
.d-flex {
  display: flex;
  gap: 1rem;
}
.justify-content-between {
  justify-content: space-between;
}
.align-items-center {
  align-items: center;
}
.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.p-3 {
  padding: 1rem;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  padding: 0.75em 1em;
  border-radius: 0.5em;
}
.main-nav ul li {
	list-style: none;
	padding:0;
	margin:0;
}

.main-nav ul li::marker,
.main-nav ol li::marker {
  display: none;
}

.main-nav li::before {
  content: none !important;
}

.main-nav li a {
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease-in-out;
}

.main-nav li a:hover,
.main-nav li a.active {
  border-bottom: 2px solid #333;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    gap: 1em;
  }

  .hero-overlay {
    padding-bottom: 2em;
  }

  .logo {
    max-width: 150px;
  }
}


/* Image responsiveness */
img {
  display:block;
  width: 100%;
  height: auto;
  margin:0;
  padding:0;
}

/* Button style */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: black;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}
.btn:hover {
  background-color: black;
}

.m-0 { margin:0; }
.p-0 { padding:0; }

main {
  flex: 1;
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

p {
  line-height: 1.6;
  margin: 0 0 1em 0;
}

a {
  color: #0F6023;
  text-decoration: none;
  font-weight:bolder;
}

a:hover {
  text-decoration: underline;
}

header a {
  color: #fff;
}

header a:hover {
  text-decoration: underline;
}

header {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 2rem;
}

header img {
  max-width: 200px;
  height: auto;
}


section {
  margin-bottom: 2rem;
}

main h1 {
    border-bottom: 2px solid #B68150;
    padding-bottom: 0.5rem;
}

section h2 {
  font-size: 1.8rem;
  border-bottom: 2px solid #B68150;
  padding-bottom: 0.5rem;
}

button {
  background-color: #B68150;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}

button:hover {
  background-color: #8a5c34;
}

footer {
  background-color: #000;
  color: #aaa;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.text-center {
  text-align: center;
}

/* Carousel styles */
.evolution-carousel {
  margin: 0;
  text-align: center;
}

.evolution-carousel h2 {
  border-bottom: 2px solid #B68150;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  color: #0F6023;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 1; /* Automatically calculates responsive height */
}
.carousel .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease;
}

.carousel .slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel .slide.active {
  opacity: 1;
  z-index: 1;
}

.caption {
  font-size: 0.9rem;
  color: #555;
  margin-top: -2rem;
  z-index: 2;
}

.carousel-nav {
  position: relative;
  margin-top: .5rem;
  z-index: 3;
}

.carousel-nav a {
  color: #0F6023;
  font-weight: bold;
  text-decoration: none;
  padding: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.carousel-nav a:hover,
.carousel-nav a:focus {
  border-bottom: 2px solid #B68150;
}

p section {
	padding:0;
	margin:0;
	padding-top:5px;padding-bottom:5px;
}

@media (max-width: 600px) {
  .carousel-nav {
    gap: 0.5rem;
  }

  .carousel-nav a {
    font-size: 0.8rem;
    padding: 0.25rem;
  }
}


header {
  position: relative;
  background-color: #000; /* fallback */
  background-image: url('../assets/oakwood-clubhouse-header.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding: 2rem;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Optional extra dark overlay */
  z-index: 0;
}

header > * {
  position: relative;
  z-index: 1;
}

.wrap-image {
  max-width: 100%;
  margin: 0 1rem 1rem 0;
}

.event-entry {
  overflow: hidden;
  margin-bottom: 2rem;
}


.clear-float {
  clear: both;
}

hr {
  border: 0;
  height: 2px;
  background-color: #B68150;
  margin: 2rem 0;
}

ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

main ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #B68150; /* Brass color bullet */
  font-size: 1.2em;
  line-height: 1;
}
.event-item {
  margin-bottom: 3rem;
  overflow: hidden;
}

form {
  max-width: 600px;
  margin: 0 auto;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: #B68150; /* brass accent color */
  outline: none;
}

button[type="submit"] {
  background-color: #B68150; /* brass */
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #A96E3F; /* slightly darker brass on hover */
}
.button-link {
  display: inline-block;
  background-color: #B68150; /* brass color */
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.button-link:hover {
  background-color: #A96E3F;
}


.quote {
  padding: 2em;
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
  line-height: 1.6;
  overflow: hidden;
}

.quote p {
  padding:0;
  margin:0;
}

/* Footer attribution */
.quote footer {
  margin-top: 0;
  font-weight: bold;
  font-style: normal;
  text-align: right;
  color: white;
  padding-bottom:0;
}

.quote-box h2 {
  color:white;
  text-align:center;
  margin:0;
  padding:0;
  border-bottom:1px solid #d4af37;
  padding-bottom:15px;
  margin-bottom:15px;
}

/* Corner images */
.quote-box .corner {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  background-color:white;
}
img.corner {
    width:auto;
}
.quote-box .tl {
  top: 0;
  left: 0;
}

.quote-box .tr {
  top: 0;
  right: 0;
  transform: scaleX(-1);
}

.quote-box .bl {
  bottom: 0;
  left: 0;
  transform: scaleY(-1);
}

.quote-box .br {
  bottom: 0;
  right: 0;
  transform: scale(-1, -1);
}


.mission-stack {
  display: flex;
  justify-content: center;
  padding: 2em 1em;
}

.photo-column {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* Image stack */
.photo-column img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

/* Mission overlay centered in the column */
.mission-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #000;
  color: white;
  padding: 1.5em;
  border: 2px solid #d4af37;
  z-index: 2;
  font-style: italic;
  text-align: center;
  width: 275px;
  max-width: 275px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Optional heading */
.mission-overlay h3 {
  margin-top: 0;
  color: #d4af37;
  font-style: normal;
  font-size: 1.1em;
}


.wrapped-section {
    max-width: 1200px;
    margin: 1em auto 1em auto;
    font-size: 1.1em;
    line-height: 1.6;
}

.wrapped-section .quote {
    width: 40%;
    margin: 0 1.5em 0 1.5em;
}

/* Clear float on smaller screens */
@media (max-width: 600px) {
    .float-quote {
        float: none;
        width: 100%;
        margin: 1em 0;
    }
}

.float-quote.with-corners {
    position: relative;
    background: #000;
    color: white;
    padding: 1.5em;
    border: 2px solid #d4af37;
    font-style: italic;
    font-size: 0.95em;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    z-index: 1;
}

.float-quote footer {
    margin-top: 1em;
    font-weight: bold;
    font-style: normal;
    color: #d4af37;
}

/* Responsive override */
@media (max-width: 600px) {
    .float-quote {
        float: none;
        width: 100%;
        margin: 1em 0;
    }
}

.image-heading {
    text-align: center;
    margin-bottom: 0.2em;
    background-color: black;
}
.image-heading img {
    height:80px;
    width:auto;
    margin:auto;
}


/* Structural button class */
.btn {
    margin-top:20px;
    margin-bottom:20px;
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

/* CTA-style button colors */
.btn-cta {
    background-color: black;
    color: white;
}

.btn-cta:hover {
    background-color: black;
    color: white;
}

@media (min-width: 768px) {
    /* Simple grid system */
    .w-40p {
        max-width:40%;
    }
    .w-50p {
        max-width: 50%;
    }
    .row {
        display: flex;
        flex-wrap: wrap;
        margin-left: -15px;
        margin-right: -15px;
    }

    .col {
        flex: 1;
        padding: 15px;
    }

    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    .col-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .section-image-left .wrap-image {
        float: left;
        margin-right: 10px;
    }

    .section-image-right .wrap-image {
        float: right;
        margin-left: 10px;
    }

    .wrap-image {
        max-width: 40%;
        margin: 0 1rem 1rem 0;
        float: left;
    }

    .event-item .wrap-image {
        max-width: 400px;
        float: left;
        margin: 0 1rem 1rem 0;
    }

    .event-item .wrap-image {
        float: none;
        display: block;
        margin: 0 auto 1rem auto;
    }

    .mission-overlay {
        padding: 5em;
    }

    .newspaper-columns {
        column-count: 2;
        column-gap: 2em;
    }

    .float-left {
        float: left;
        margin-right: 20px;
    }

    .float-right {
        float: right;
        margin-left: 20px;
    }
    .float-quote.with-corners {
        position: relative;
        width: 40%;
        margin: 0 1.5em 1em 1em;
    }
	.float-quote.with-corners.w-50p {
		width: 50%;
	}
    .fix-size {
        max-height: 400px;
        max-width: 50%;
    }
    .fix-width {
        max-width: 50%;
    }
    .fix-height {
        max-height:400px;
    }
}
/* Hide hamburger by default */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    cursor: pointer;
}

/* Slide-out nav */
.mobile-nav {
    position: fixed;
    top: 0;
    border-top: 100px solid black;
    left: -250px;
    width: 250px;
    height: 100vh;
    background: rgba(5, 66, 22, 0.9);
    transition: left 0.3s ease;
    z-index: 1000;
    display: none;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
}

.mobile-nav li {
    margin-bottom: 1rem;
}

.mobile-nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.mobile-nav.show {
    left: 0;
}

/* Show hamburger on small screens, hide desktop nav */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .mobile-nav {
        display: block;
    }
    .main-nav {
        display: none;
    }
}

#confirmationMessage, #errorMessage, #submittingMessage {
    display: none;
    padding-top: 5em;
    padding-bottom: 5em;
    text-align: center;
}
#confirmationMessage {
    color: green;
    font-weight: bold;
}
#errorMessage {
    color: red;
    font-weight: bold;
}
#submittingMessage {
    color: black;
}
.submitting #contactForm, .error #contactForm, .submitted #contactForm {
    display: none;
}
.submitting #submittingMessage {
    display:block;
}
.submitted #confirmationMessage {
    display: block;
}
.error #errorMessage {
    display: block;
}
.donation-button-top {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index:2;
}
.donation-button, .donation-button-top {
    background-color: black;
    color: white;
    padding-left:20px;
    padding-right:20px;
    padding-top:10px;
    padding-bottom:10px;
    border:1px solid white;
}
@media (min-width: 768px) {
    .donation-button-top {
        right: 20px;
        left:auto;

    }
}

.fig-caption {
    font-size: .9rem;
    display: block;
    margin: auto;
    background-color: white;
    line-height:1em;
    text-align:center;
    width:100%;
}
.fig-caption-text {
    padding: 10px;
}

.executive-director .name {
	font-weight:bolder;
}
.executive-directory .title {
	font-style:italic;
}
.executive-director .biography {
	line-height:1.5em;
}

/* modal.css */
.jslite-modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .5);
  z-index: 9999;
  animation: jslite-modal-fade .15s ease-out;
}

.jslite-modal-dialog {
  background: #fff;
  color: #111;
  width: min(90vw, 640px);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  overflow: hidden;
  animation: jslite-modal-pop .15s ease-out;
}

.jslite-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}

.jslite-modal-title {
  font: 600 1rem/1.2 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin: 0;
}

.jslite-modal-close-btn.close-modal {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  padding: .25rem .5rem;
  border-radius: 8px;
}

.jslite-modal-close-btn.close-modal:hover {
  background: #f0f0f0;
}

.jslite-modal-body {
  padding: 1rem;
  max-height: 75vh;
  overflow: auto;
}

.people-list > div {
	display:inline-block;
	padding:10px 1px 10px 1px;
}

@keyframes jslite-modal-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes jslite-modal-pop  { from { transform: translateY(6px) } to { transform: translateY(0) } }
