/* CSS Document */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
}

/* Fixed header */
header {
  position: fixed;
  text-align: center;
  padding: 24px;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(38,38,38,0.57);
  color: white;
  z-index: 1000;
}
.headerContent {
  padding: 0px 200px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
	
}
a {
	color: #65BB89;
	font-weight: bold;
}



.nav-links {
  display: flex;
  gap: 40px;
}
.greenNavSelected {
  color: #9aeabc;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}



nav a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: normal;
}

nav a:hover, 
nav a:active {
  color: #9aeabc;
}

h1 {
  font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
  font-size: 80px;
  line-height: 80px;
  font-weight: 100;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

h2 {
  font-family:"League Gothic", sans-serif;
  font-size: 80px;
  line-height: 80px;
  font-weight: 100;
  text-transform: uppercase;
  color: white;
  text-align: right;
  padding: 140px 220px 0px 0px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);

}
h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  line-height: 28px;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
}
h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
}
h5 {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 12px;
}
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
}

h8 {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 12px;
}
h9 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: 12px;
}
.dottedUnderline {
	border-width: 1px 0px 0px 0px;
	border-style: dashed;
	border-color: #65BB89;
	margin-top: 4px;
}

.foodPic {
	height: 160px;
	border-radius: 8px 0px 0px 8px;
}

.FBiconLink {
	width: 24px;
} 
.two-column-list {
  columns: 2;              /* Splits into 2 columns */
  column-gap: 40px;        /* Space between columns */
  max-width: 600px;        /* Optional: limits width for better layout */
}

.greenText {
	color: #65BB89;
}

.whiteText {
	color: #ffffff;
}
.greyText {
	color: #202020;
  	break-inside: avoid;
}
.greenBG {
	display:block;
	background: rgba(101,187,137,0.16);
	padding: 0px 220px;
}



.italicText {
	font-style: italic;
}
/* Spacer to prevent content hidden under fixed header */
.spacer {
  height: 40px;
}

/* Header image with text */
.logo {
  width: 150px;
}

.homeImage {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('images/railtrack.jpg');
}
.aboutImage {
  width: 100%;
  height: 250px;
  background-image: url('images/railroad.jpg');
}
.govImage {
  width: 100%;
  height: 250px;
  background-image: url('images/government.jpg');
}
.departmentImage {
  width: 100%;
  height: 250px;
  background-image: url('images/Department.jpg');
}
.thingstodoImage {
  width: 100%;
  height: 250px;
  background-image: url('images/ThingsToDo.jpg');
}

.hero {
  background-size: cover;
  background-position: center;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
}
.hero-body {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  margin: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.sectionTitle {
  padding: 20px 220px;
}

.boardImg {
	margin-bottom: -6px;
	border-radius: 8px 8px 0px 0px;
}
.personinfo {
  width: 100%;
  padding: 12px;
  background: #eeeeee;
  text-align: left;
  border-radius: 0px 0px 8px 8px;
}
.personinfo h4, .personinfo h5 {
  margin: 0px;
}

.teaminfo {
  width: 25%;
  padding: 16px;
  background: #eeeeee;
  text-align: left;
  border-radius: 8px;
  box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.15);
  flex: 1;
}

main {
  padding: 20px;
}


.row {
  display: flex;
  flex-wrap: wrap; /* 👈 allows wrapping */
  justify-content: space-between; /* or center / flex-start / flex-end */
  gap: 24px; /* optional spacing between boxes */
  width: 100%;
  margin: 0 auto;
  padding: 0px 220px;
  background: none;
  align-items: stretch;
}
.row2 {
  display: flex;
  justify-content: space-between; /* or center / flex-start / flex-end */
  flex-wrap: wrap; 
  flex-direction: row;  
  gap: 20px; /* optional spacing between boxes */
  width: 100%;
  padding: 0px 220px;
  margin: 0 auto;
}
.row3 {
  display: flex;
  justify-content: space-between; /* or center / flex-start / flex-end */
  flex-wrap: wrap; 
  gap: 0px; /* optional spacing between boxes */
  width: 100%;
  padding: 0px 220px 32px 220px;
  margin: 0 auto;
  background: rgba(101,187,137,0.16);
}
.row4 {
  padding: 40px 0px;
  background: #65BB89;
}
.row5 {
 display: flex;
  flex-wrap: wrap; /* 👈 allows wrapping */
  justify-content: space-between; /* or center / flex-start / flex-end */
  gap: 24px; /* optional spacing between boxes */
  width: 100%;
  margin: 0 auto;
  padding: 0px 220px;
  background: none;
}

.mapDiv {
	display: flex;
	justify-content: center;   /* center maps horizontally */
	gap: 24px;                 /* space between maps */
	padding: 0px 200px 60px 200px;           /* left/right page padding */
	flex-wrap: wrap;           /* allows wrapping on smaller screens */
	box-sizing: border-box;
	background: rgba(101,187,137,0.16);
}

.mapStyle {
	border: none;
	width: 31%;              /* consistent size instead of % */
	max-width: 100%;           /* prevents overflow on small screens */
	height: 400px;
	border-radius: 8px;
	box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.15);
}
.mapTitle{
	padding: 32px 220px;
	background: rgba(101,187,137,0.16);
	margin-top: 32px;
}
.box {
  color: white;
  flex: 1; /* optional: makes all boxes equal width */
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.15);
}
.boxDeptHead {
  color: white;
  flex: 1; /* optional: makes all boxes equal width */
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.15);
  justify-content: space-between;
}
.boxB {
  color: white;
  flex: 1; /* optional: makes all boxes equal width */
  text-align: center;
}
.boxC {
  color: white;
  flex: 3; /* optional: makes all boxes equal width */
  text-align: center;
  
}
.boxDeptHead,
.boxC,
.teaminfo {
  display: flex;
  flex-direction: column;
}
.boxDeptHead img {
	width: 100%;
	height: 100%;
    object-fit: cover;
}

.box img {
	width: 100%;
}
.boxB img {
	width: 100%;
}
.boxC img {
	width: 100%;
	border-radius: 8px;
	box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.15);
	height: 100%;
    object-fit: cover;
}



.box2 {
  flex: 0 0 calc(50% - 20px); /* 👈 2 columns */  
  text-align: left;
  display: flex;
  align-content: flex-start;
  align-items: center;
}
.box3 {
  flex: 0 0 calc(16% - 20px); /* 👈 3 columns */
  text-align: left;
  display: flex;
  align-content: flex-start;
  padding: 0px;
}
.box5 {
  flex: 0 0 calc(33% - 20px); /* 👈 2 columns */  
  text-align: left;
  display: flex;
  align-content: flex-start;
  align-items: center;
  border-radius: 8px;
  box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.15);
 

}
.box6 {
  flex: 0 0 calc(50% - 20px); /* 👈 2 columns */  
  text-align: left;
  display: flex;
  align-content: flex-start;
  align-items: center;
  border-radius: 8px;
  box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.15);
}

.ordinanceImg {
  width: 50%;
  border-radius: 8px 0px 0px 8px;
  
}
.ordinanceInfo {
  width: 50%;
  height: 100%;
  background: #EEEEEE;
  padding: 20px;
  border-radius: 0px 8px 8px 0px;
}
.retailInfo {
  width: 100%;
  height: 100%;
  background: #EEEEEE;
  padding: 20px;
  border-radius: 0px 8px 8px 0px;
}
.button {
  background: #65BB89;
  padding: 8px;
  width: 50%;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  text-align: center;
  margin: 10px 0px 0px 0px;
  text-decoration: none;
  display: block;
}
.button:hover {
  background: white;
  border: 1px solid #65BB89;
  color: #65BB89;
  text-decoration: none;
}
.aboutInfo {
  height: 100%;
  padding: 0px;
}
.electionInfo {
  width: 100%;
  height: 100%;
  padding: 0px;
}

/* Footer */
footer {
  position: fixed;
  text-align: center;
  padding: 14px 24px;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #65BB89;
  border-top: 1px solid rgba(255,255,255,0.50);
  color: rgba(38,38,38,1.00);
  z-index: 1000;
  font-size: 14px;
}
.footerContent {
  padding: 0px 200px;
}

.footerNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer a {
  color: rgba(38,38,38,1.00);
  text-decoration: none;
  line-height: 34px;
}
footer a:hover {
  color: rgba(38,38,38,1.00);
  text-decoration: none;
}

.FB {
  width: 24px;
  height: 24px;
  margin-bottom: -6px;
  margin-left: 8px;
}






.about-layout {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  padding: 32px 220px;
}

/* Columns */
.col {
  position: relative;
}

/* Vertical dotted dividers */
.col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  height: 100%;
  border-right: 1px dashed #65BB89;
}

/* LEFT column */
.est {
  color: #65BB89;
  font-style: italic;
  margin-bottom: 20px;
}

/* MIDDLE spacing */
.block {
  margin-bottom: 30px;
}

/* RIGHT column (card feel) */
.right {
  background: none;
}

.town-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.line-img {
  width: 100%;
}

/* Typography */
h4 {
  margin-bottom: 10px;
}

p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 18px;
  margin-bottom: 18px;
}

a {
  color: #65BB89;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}








@media (max-width: 1570px) {
  /* Your styles here */

.box5 {
  flex: 0 0 calc(50% - 20px); /* 👈 2 columns */  

}



	
}


@media (max-width: 1460px) {
  /* Your styles here */

.row, .row2, .row4, .row5 {
  padding: 0px 100px;
}
.row3 {
  padding: 0px 100px 32px 100px;
}
.about-layout {
  padding: 32px 100px;
}
	h2 {
  padding: 140px 100px 0px 0px;

}
	.greenBG {
	padding: 0px 100px;
}
.sectionTitle {
  padding: 20px 100px;
}
.mapDiv {
	padding: 0px 80px 60px 80px;           /* left/right page padding */

}
.headerContent {
  padding: 0px 80px;
}

	
}




@media (max-width: 1286px) {
  /* Your styles here */

 .headerContent {
  padding: 0px 20px;
}
	.footerContent {
  padding: 0px 20px;
}
.sectionTitle {
  padding: 20px 50px 10px 50px;
}
	
.greenBG {
	padding: 0px 0px 0px 50px;
}
h2 {
  font-size: 60px;
  line-height: 60px;
  padding: 140px 40px 0px 0px;
}

	.hero-text {
		width: 70%;
	}
.row {
  justify-content: flex-start;
  gap: 20px; /* optional spacing between boxes */
  padding: 10px 50px;
}

.about-layout {
  padding: 32px 50px;
}

.aboutImage, .govImage, .departmentImage, .thingstodoImage{
  width: 100%;
  height: 230px;
}
	.box {
    flex: 0 0 calc(25% - 20px); /* 👈 4 columns */
  }

	
	.row3 { 
  gap: 40px; /* optional spacing between boxes */
  padding: 0px 50px 20px 50px;
 
}
.row5 {
  padding: 10px 50px;
}
	
	.box3 {
  flex: 0 0 calc(50% - 20px); /* 👈 2 columns */
  padding: 0px;
}
	
	.row2 {
  padding: 0px 50px;


}
	
	.box2 {
  flex: 0 0 calc(100% - 20px); /* 👈 2 columns */  

}

	
.mapDiv {
	padding: 0px 40px 60px 40px;           /* left/right page padding */

}	
	

.box6 {
    flex: 0 0 calc(25% - 20px); /* 👈 3 columns */
    display: flex;
    flex-direction: column;  
    align-items: flex-start;
  }

  .ordinanceImg {
    width: 100%;   /* 👈 stack image on top */
	border-radius: 8px 8px 0px 0px;
  }

  .ordinanceInfo {
    width: 100%;   /* 👈 full width under image */
	border-radius: 0px 0px 8px 8px;
  }



	
}

@media (max-width: 950px) {

  .menu-toggle {
    display: block;
	color: white;
	font-size: 40px;
  }

  .nav-links {
    position: absolute;
    top: 110px;
    right: 0;
    background-color: rgba(38,38,38,0.87);
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
  }

  .nav-links a {
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

	.hero-text {
		width: 90%;
	}
	

	.aboutInfo {
  height: 100%;
  padding: 10px 20px 0px 30px;
}
	


	
.sectionTitle {
  padding: 20px 30px 20px 30px;
}
	.box {
    flex: 0 0 calc(33% - 20px); /* 👈 3 columns */
  }


.row, .row2, .row4, .row5 {
  padding: 0px 30px;
}

  .row > .boxDeptHead {
    flex: 0 0 26%;
    max-width: 26%;
  }

  .row > .teaminfo {
    flex: 0 0 70%;
    max-width: 70%;
	order: 1;
  }
	.row > .boxC {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
	order: 2;
  }

			.mapStyle {
	width: 100%;              /* consistent size instead of % */
}
	.box5 {
    flex: 0 0 100%;
    max-width: 100%;
  }
	
.box6 {
    flex: 0 0 calc(33% - 20px); /* 👈 3 columns */

  }
}



@media (max-width: 800px) {

  h4 {
  font-size: 16px;
}

	.box {
    flex: 0 0 calc(50% - 10px); /* 👈 2 columns */
  }
	.box3 {
    flex: 0 0 calc(50% - 20px); /* 👈 2 columns */
	align-content: flex-start;
  }

  .row3 {
  display: flex;
  justify-content: space-between; /* or center / flex-start / flex-end */
  flex-wrap: wrap; 
  gap: 20px; /* optional spacing between boxes */
  width: 100%;
  padding: 0px 30px 20px 30px;
}
.row5 {
  padding: 0px 30px;
}
	
.greenBG {
	padding: 0px 0px 0px 30px;
}

.box6 {
    flex: 0 0 calc(50% - 20px); /* 👈 3 columns */

  }	
	
	 .about-layout {
    grid-template-columns: 1fr;   /* 👈 stack to 1 column */
    gap: 24px;
    padding: 20px 30px;
  }

  /* remove vertical divider lines */
  .col::after {
    display: none;
  }

  /* add horizontal separation like your mock */
  .col {
    padding-bottom: 0px;
    border-bottom: 0px dashed #65BB89;
  }

  /* last one (address) no divider */
  .col:last-child {
    border-bottom: none;
  }

  /* image spacing */
  .town-img {
    margin-bottom: 16px;
  }

  .est {
  margin-bottom: 0px;
}
  /* tighten typography spacing slightly */
  .block {
    margin-bottom: 20px;
  }



	
}

@media (max-width: 610px) {

.row > .boxDeptHead {
    flex: 0 0 100%;
    max-width: 100%;
	order: 1;
  }

  .row > .teaminfo {
    flex: 0 0 100%;
    max-width: 100%;
	order: 3;
  }
	.row > .boxC {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
	order: 2;
  }
	
	.boxDeptHead {
		flex-direction: row;
	}
	
	.boxDeptHead > .boardImg {
		width: 35%;
		border-radius: 8px 0px 0px 8px;
	}
	
	.boxDeptHead > .personinfo {
		width: 65%;
		border-radius: 0px 8px 8px 0px;
	}
	
}

@media (max-width: 600px) {
	
	h1 {
  font-size: 50px;
  line-height: 50px;
}
	




.box6 {
  flex: 0 0 calc(100% - 0px);
  display: flex;
  flex-direction: column;   /* 👈 THIS is the key change */
  align-items: flex-start;
  margin: 0 auto;
}
.ordinanceImg {
  width: 100%;
}

.ordinanceInfo {
  width: 100%;
}

}

@media (max-width: 520px) {

  h4 {
  font-size: 16px;
}
  h5 {
  font-size: 14px;
}
.retailInfo {
  padding: 16px;
}


}

