/* ------------------------------
   Base Reset and Layout
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

/* ------------------------------
   Header and Navigation
------------------------------ 
header {
  background-color: #f8f8f8;
  border-bottom: 1px solid #ddd;
}*/

header {
  background-color: #fdf5f0; /* subtle orange-tinted background */
  border-bottom: 1px solid #ddd;
}


/* Nav Toggle Button (Hamburger / Close) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  position: relative;
}

/* Hamburger icon */
.nav-toggle::before {
  content: "☰";
  font-size: 2rem;
  display: inline-block;
  transition: content 0.2s ease;
}

/* Show X when open */
.nav-toggle.open::before {
  content: "✖";
}

/* Navigation menu layout */
nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  flex-wrap: wrap;
  padding: 0;
}

/* ------------------------------
   Navigation Styling (Enhanced)
------------------------------ */

nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600; /* Bolder font */
  padding: 0.6rem 1rem;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-family: Arial, sans-serif;
  font-size: 1rem;
}

nav a:hover {
  background-color: #ffe8d6; /* light orange hover */
  color: #e76f00;
}



/* ------------------------------
   Site Title and Heading – Enhanced
------------------------------ */
.site-title {
  text-align: center;
  margin: 2rem 0 1rem;
  padding: 0 1rem;
  border-bottom: 2px solid #e76f00;
  padding-bottom: 1rem;
}

.site-title h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e76f00;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.3rem;
}

.site-title p {
  font-size: 1.1rem;
  color: #444;
  font-style: italic;
  margin: 0;
  opacity: 0.85;
}

/* Decorative divider under tagline */
.title-divider {
  width: 60px;
  margin: 0.8rem auto 0;
  border: 0;
  border-top: 2px solid #e76f00;
}

/* ------------------------------
   Responsive Navigation
------------------------------ */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav ul {
    flex-direction: column;
    display: none;
    width: 100%;
    gap: 0;
  }

  nav ul.show {
    display: flex;
  }

  nav li {
    border-top: 1px solid #ddd;
  }

  nav li:first-child {
    border-top: none;
  }

  nav a {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0;
    line-height: 1.4;
    display: block;
  }
}



/* ------------------------------
   Main Content
------------------------------ */
main {
  padding: 2rem 0;
}

main p {
  margin-bottom: 1rem; /* Adds space after each paragraph */
}

/* ------------------------------
   Responsive Images
------------------------------ */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

img.inline {
  display: inline;
  max-width: 100%;
  height: auto;
}



/* ------------------------------
   Page Titles
------------------------------ */
.page-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #e76f00;
  margin: 2rem 0 1.5rem;
  position: relative;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Decorative underline */
.page-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #e76f00;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}


/* ------------------------------
   Events with Thumbnails (Updated with spacing fix)
------------------------------ */
.event-item {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  background-color: #f9f9f9;
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  gap: 2rem; /* Reliable spacing between thumbnail and info */
}

.event-thumb {
  display: block;
  width: 120px;
  height: 90px;
  flex-shrink: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
  transition: box-shadow 0.2s ease;
  margin-right: 2rem; /* fallback spacing for older browsers */
}

.event-thumb:hover {
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-info {
  flex-grow: 1;
}

.event-info h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  color: #333;
}

.event-info p {
  margin: 0;
}

.event-info a {
  text-decoration: none;
  color: #e76f00;
  font-weight: bold;
  transition: color 0.2s ease;
}

.event-info a:hover {
  color: #b84a00;
  text-decoration: underline;
}




/* ------------------------------
   Footer
------------------------------ */
footer {
  padding: 2rem 0;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}
