/* General Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* For smooth scrolling on nav click */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f5f2;
}

.site-supporter a:link,
.site-supporter a:visited,
.sponsors a:link,
.sponsors a:visited {
  text-decoration: none;
  color: inherit;
}



.container {
    width: 80%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden; /* Clear floats */
    padding: 0 20px;
}

.navContainer {
    width: 80%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden; /* Clear floats */
   box-shadow: 0 0 10px #222222;
}

/* Header & Navigation */

.banner-container {
    width: 100%;
    max-width: 700px;
    line-height: 0;
    margin: 0 auto;
}

#header-banner {
    width: 100%;
    height: auto;
    display: block;
}

header {
    /* background: #4a2516;  */
    color: #fff;
    padding-top: 30px;
    min-height: 120px;
    border-bottom: #b54e2d 3px solid; 
    text-align: center;
}

header h1 {
    margin-bottom: 10px;
    font-size: 2.5em;
}

header .subtitle {
    font-size: 1.1em;
    margin-bottom: 20px;
    margin-top: 10px;
    font-weight: 500;
    color: #b54e2d;
    padding: 0px 10px;
}

header nav {
    background: #8c3b20; /* Even darker for nav */
    padding: 10px 0;
    
}

header nav ul {
    list-style: none;
    text-align: center;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav a {
    color: #fdfaf8;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1em;
    padding: 5px 0;
    transition: color 0.3s ease;
}

header nav a:hover,
header nav a:focus {
   color: #ffe0cc; /* Lighter, warmer color for hover */
    border-bottom: 2px solid #ffe0cc; /* Matching border for hover */
}



/* Header Sponsor Section */
.site-supporter {
  text-align: center;      /* Center the text and logo */
  padding: 25px 0 15px 0;  /* Add some spacing above and below */
  background-color: #fff;  /* Give it a clean background */
}

.site-supporter p {
  margin-bottom: 10px;     /* Space between "Sponsored by" text and the logo */
  font-size: 1.1em;
  color: #4a2516;
}

.sponsor-logo-header {
  max-height: 80px;        /* Control the size of the logo */
  width: auto;             /* Maintain the aspect ratio */
}

/* Main Content Sections */
main section {
    padding: 40px 0;
    border-bottom: 1px solid #e0dcd7;
    background-color: #fff;
}

main section:nth-child(even) { /* Alternating background for sections */
    background-color: #f9f9f9;
}

main section:last-child {
    border-bottom: none;
}

main h2 {
    color: #b54e2d;
    margin-bottom: 25px;
    font-size: 2em;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 2px solid #8c3b20;
}

main h3 {
    color: #8c3b20;
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

main h4 {
    color: #4a2516;
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.2em;
}

main p, main ul, main ol {
    margin-bottom: 15px;
}

main ul, main ol {
    padding-left: 20px;
}

main ul li, main ol li {
    margin-bottom: 8px;
}

main a {
    color: #b54e2d;
    text-decoration: none;
}

main a:hover,
main a:focus {
    text-decoration: underline;
    color: #8c3b20;
}

/* Specific Section Styling */
#committees .committee-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 30px;
}

#committees .committee-list {
    flex: 1;
    min-width: 280px; /* Ensure lists don't get too narrow */
}

#contact p {
    font-size: 1.1em;
}

/* Footer */
footer {
  background-color: #572e1f; /* A light background for the footer */
  padding: 2rem 1rem;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 0.9rem;
  color: #fff;
}

.footer-credits {
  display: flex; /* Use Flexbox for easy alignment */
  justify-content: space-around; /* Space out the items */
  align-items: center; /* Vertically center them */
  flex-wrap: wrap; /* Allow items to wrap on small screens */
  gap: 2rem; /* Add space between items */
  margin-top: 1.5rem;
}

.organizers,
.sponsors {
  flex: 1; /* Allow items to grow and shrink */
  min-width: 250px; /* Prevent them from getting too squished */
}

.sponsor-logo {
  max-height: 100px; /* Control the logo size */
  width: auto; /* Maintain aspect ratio */
  margin-top: 0.5rem;
}

footer p {
    margin-bottom: 5px;
    font-size: 0.9em;
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    header .subtitle {
        font-size: 1em;
    }
    header nav ul li {
        display: block;
        margin: 10px 0;
    }
    .container {
        width: 95%;
    }
    main h2 {
        font-size: 1.8em;
    }
    main h3 {
        font-size: 1.3em;
    }
    #committees .committee-wrapper {
        flex-direction: column; /* Stack committee lists vertically */
    }

    .footer-credits {
    flex-direction: column; /* Stack items vertically on mobile */
  }
}