/*
 * Theme Name:        Spoon River Drive
 * Theme URI:         https://spoonriverdrive.org/
 * Description:       This is the custom theme for the Spoon River Valley Scenic Drive website.
 * Version:           1.0.0
 * Author:            Go Grove Marketing
 * Author URI:        https://www.gogrovemarketing.com
 * Tags:              
 * Text Domain:       spoon-river-drive
 * Domain Path:       
 */

/*========== Start CSS Reset ==========*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font: inherit;
}

form:not(.wpforms-form),
form:not(.wpforms-form) input,
form:not(.wpforms-form) textarea {
  display: none;
}

html {
  font-size: 100%; /* Makes sure base font size is 16px on most browsers */
}
body {
  font-family:Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif"; /* You can set your preferred font */
  line-height: 1.5; /* For better readability */
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
}
h2 {
	font-size: 48px;
	font-weight: bold;
}
h3 {
	font-size: 36px;
}
h4 {
	font-size: 24px;
}
h5, h6 {
	font-size: 16px;
}
/*========== End CSS Reset ==========*/

/*========== Start Main Styles ==========*/
img, picture, svg, video {
	display: block;
	max-width: 100%;
}
input, textarea, button, select {
	font: inherit;
}
body {
	background-color: #f3f3f3;
	display: flex;
	flex-direction: column;
	font-family:Cambria, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', 'serif';
}
ul, li, a {
	list-style: none;
	text-decoration: none;
}
.main, .main-info, .story-box, .map-section {
	display: flex;
	justify-content: center;
	align-items: center;
  }
/*========== End Main Styles ==========*/


/*==========Start Fun Styles==========*/
.grow, img.custom-logo {transition: all .2s ease-in-out;}
.grow:hover, img.custom-logo:hover {transform: scale(1.125);}
/*==========End Fun Styles==========*/


/*==========Start Header Section==========*/
header {
	width: 100%;
	height: auto;
	padding: 0;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}
nav.menu {
	width: 100%;
	height:auto;
	display: flex;
	justify-content: center;
	margin: 0 auto;
	padding: 25px 10%;
	background-color: rgba(0,0,0,0.95);
	z-index: 100;
	position: fixed;
	top:0;
}
nav.menu div {
	width: 100%;
	height:auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;
	margin: 0 auto;
	padding: 0;
	position: relative;
}
nav.menu div a.logo, .custom-logo {
	width: auto;
	height: auto;
	max-width: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin: 0;
	margin-left: 0;
	position: absolute;
	top:0;
	left: 0;
}
nav.menu div a.logo img, img .custom-logo {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}
nav.menu div a.logo img:hover, img.custom-logo:hover {
	filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.95));
}


/*========== Start WP Nav Bar Styles ==========*/
div.menu-primary-menu-links-container {
	width: 100% !important;
	margin: 0 auto;
	padding: 0;
	display: flex;
}
div.menu-primary-menu-links-container ul {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}
div.menu-primary-menu-links-container ul > li {
	position: relative;
}
div.menu-primary-menu-links-container ul li {
	transition: all .2s ease-in-out;
}
div.menu-primary-menu-links-container ul li:hover {
	transform: scale(1.125);
}
div.menu-primary-menu-links-container ul li a {
	color: #F3F3F3;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 24px;
	text-align: center;
	margin-right: 25px;
}
div.menu-primary-menu-links-container ul li a:hover {
	
}
div.menu-primary-menu-links-container ul li:last-child a {
	margin-right: 0;
}
div.menu-primary-menu-links-container ul li .sub-menu {
	display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0,0,0,0.85);
    border: 3px solid #ddd;
	border-radius: 10px;
	padding: 0;
	margin: 0 auto;
	width:200px;
}
div.menu-primary-menu-links-container ul li .sub-menu li {
	transition: none;
}
div.menu-primary-menu-links-container ul li .sub-menu li:hover {
	transform: none;
}
.menu-item-has-children > a::after {
    font-family: "Font Awesome 6 Free"; /* or your version */
    content: "\f107"; /* down arrow (chevron) */
    font-weight: 900; /* required for 'solid' style */
    margin-left: 6px;
}
ul.sub-menu li {
	width: 100%;
	margin: 15px !important;
}
ul.sub-menu li a { 
	font-size: 18px !important;
}
ul.sub-menu li a:hover {
	opacity: 0.45;
}
.menu-item-has-children:hover ul.sub-menu, .menu-item-has-children:focus ul.sub-menu {
	display: block;
}
/*========== End WP Nav Bar Styles ==========*/


.short-word {
	display: none;
}
.full-word {
	display: block;
}
button.btn {
	display: flex;
	margin: 0;
	padding: 0;
	background: none;
	border-style: none;
	position: absolute;
	right: 0;
}
button.btn a {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	padding: 5px 15px;
	height: 100%;
	width: 100%;
	border-radius: 25px;
	border: solid 2px #F3F3F3;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: #F3F3F3;
	font-size: 16px;
	transition: all .2s ease-in-out;
}
button.btn a:hover {
	background-color: #F3F3F3;
	color: rgba(0,0,0,0.95);
}
header #main-image.hero {
	width: 100%;
	height: 35vw;
	display: flex;
	margin: 0 auto;
	padding: 0;
	margin-top: -100px;
	--mask:
	radial-gradient(40.25px at 50% calc(100% - 54px),#000 99%,#0000 101%) calc(50% - 36px) 0/72px 100%,
	radial-gradient(40.25px at 50% calc(100% + 36px),#0000 99%,#000 101%) 50% calc(100% - 18px)/72px 100% repeat-x;
  -webkit-mask: var(--mask);
		  mask: var(--mask);
}
header #main-image.hero img {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	height: auto;
	object-fit: cover;
	object-position: center;
}
/*==========End Header Section==========*/


/*==========Start Main Internal Section==========*/
div.main-info {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin: 0 auto;
	padding: 50px 0;
	position: relative;
	z-index: 10;
}
div.main {
	margin-top: -2vw;
	flex-direction: column;
	padding: 0 10%;
}
/*Start FAQs Template Main Container*/
div.main.faqs-container, div.main.contact-container, div.main.town-story-wrapper {
	padding: 50px 10%;
	text-align: center;
}
.faqs-container h2, .contact-container h2 {
	margin: 0 auto;
	padding: 0;
	margin-bottom: 25px;
}
.faqs-container, .vendor-container {
	flex-direction: column;
	position: relative;
}
div.questions {
	flex-direction: column;
}
/*div.questions h2, div.questions h3, div.questions h4 {
	font-style: italic;
}*/
/*End FAQs Template Main Container*/
div.main-info::before {
	content: "";
	position: absolute;
	height: 100%;
	width: 200%;
	z-index: -1;
	background-color: rgba(0,0,0,0.95);
	top:0;
	left: -50%;
}
div.main-box {
	display: flex;
	width: auto;
	height: auto;
}
div.main-box a {
	background-color: rgba(255,255,255,0.25);
	padding: 15px 35px;
	border: solid #F3F3F3 3px;
	text-decoration: none;
	transition: all .2s ease-in-out;
	border-radius: 10px;
}
div.main-box a:hover {
	filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.85));
	background-color: rgba(255,255,255,0.75);
}
div.main-box a h2, div.main-box a h3 {
	text-decoration: none;
	list-style: none;
	color: #F3F3F3;
	text-transform: uppercase;
	font-weight: bold;
	text-align: center;
}
div.main-box a h2 {
	font-size: 32px;
}
div.main-box a h3 {
	font-size: 21px;
}
div.main-box a:hover h2, div.main-box a:hover h3 {
	color: rgba(0,0,0,0.95);
}
div.welcome-message h4 {
	width: 100%;
	margin: 0 auto;
	padding: 35px 0;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 32px;
	color: #F3F3F3;
	font-style: italic;
	font-weight: bold;
	position: relative;
	filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.85));
}
div.welcome-message h4::before {
	content: "";
	position: absolute;
	height: 100%;
	width: 200%;
	z-index: -1;
	background-color: #e82629;
	top:0;
	left: -50%;
}



/* Ensure the main container and inner image are fully responsive */
.map-section {
	width: 100%;
	padding: 50px 10%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	box-sizing: border-box;
}
/* Target the Draw Attention plugin output */
.draw-attention,
.da-image,
.draw-attention .image-map {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	position: relative;
}
/* Make sure the image itself scales consistently */
.draw-attention img {
	width: 100% !important;
	height: auto !important;
	display: block;
	image-rendering: auto;
}
/* Maintain the image's aspect ratio */
.draw-attention {
	aspect-ratio: 2084 / 2560;
	max-width: 100%;
	margin: 0 auto;
}
/* Optional: allow .map-link images elsewhere to scale smoothly */
a.map-link img {
	width: 100%;
	height: auto;
	max-height: none;
}


/*
.map-section {
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 50px 10%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
*/
/*
.map-section::before {
	content: "";
	position: absolute;
	z-index: -1;
	width: 130%;
	height: 100%;
	top:0;
	left:-15%;
	background-image: url("http://spoon-river-drive.local/wp-content/uploads/2025/06/pallet-scaled.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	opacity: 80%;
}
*/
/*
a.map-link {
	display: flex;
	justify-content: center;
	align-items: center;
	width:100%;
	height: auto;
	position: relative;
}
a.map-link img {
	height:100%;
	max-height: 700px;
}
*/

.town-story-wrapper {
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0;
	position: relative;
	display: flex;
	flex-direction: column;;
	justify-content: center;
	align-items: center;
	padding: 0 10%;
}
.town-story-wrapper::before {
	content: "";
	position: absolute;
	width: 130%;
	height: 100%;
	top:0;
	left:-15%;
	background-image: url("https://spoonriverdrive.org/wp-content/uploads/2025/04/spoon-river-map-background-01-scaled.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	z-index: -1;
}

.story-box {
	width: 80%;
	height: auto;
	margin: 50px auto;
	padding: 30px;
	color: #070707;
	background-color: #f3f3f3;
	z-index: 1;
	border: #e82629 solid 5px;
	border-radius: 25px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.story-preview, .story-full {
	z-index: 2;
}
.story-preview p,
.story-full p {
    text-indent: 2em; /* Adjust the indent size as needed */
    margin-top: 0;
}
.site-rep {
	width: 125px;
	height: auto;
	border-radius: 10px;
	position: absolute;
	top: -25px;
	left:-108px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 auto;
	padding: 0;
	background-color: #f3f3f3;
	border: #e82629 solid 5px;
	padding: 8px;
	filter: drop-shadow(3px 3px 3px rgba(0,0,0,0.55));
}
.site-rep img, .site-rep-name, .site-rep-info {
	width: 100%;
	height: auto;
	position:initial !important;
}
.site-rep img {
	border-radius: 5px;
}
h3.site-rep-name {
	font-size: 14px !important;
	font-style: italic;
	text-align: center;
}
h4.site-rep-info {
	font-size: 10px;
	text-align: center;
}

.story-box h2 {
	font-size: 48px;
	position: absolute;
	top:-50px;
	font-weight: bold;
	text-align: center;
	background-color: #F3F3F3;
	padding: 10px 25px;
	font-style: italic;
}
.story-box h3 {
	font-size: 21px;
	position: absolute;
	bottom:0;
	left: 0;
	font-weight: bold;
	text-align: center;
}
.story-box p {
	font-size: 16px;
	font-style: italic;
	line-height: 1.6em;
	z-index: 2;
}
.read-more-toggle {
    display: inline-block;
    padding: 10px 16px;
    margin-top: 20px;
    background-color:#e82629;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}
.read-more-toggle:hover {
    background-color: darkred;
    color: #fff;
}
.town-slider::before {
	content: "";
	position: absolute;
	height: 100%;
	width: 200%;
	z-index: -1;
	background-color: #e82629;
	top:0;
	left: -50%;
}
.town-slider {
	flex: none;
	display: block !important;
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 50px 10%;
	z-index: 2;
	position: relative;
	background-color: aqua;
}
section.image-slides {
	border: solid 5px #f3f3f3;
}

/*==========End Main Internal Section==========*/


/*==========Start Officers Section==========*/
.main h2.officers {
	margin: 25px auto;
}
.officers-section {
	width: 100%;
	margin: 0 auto;
	padding: 50px 10%;
	padding-top: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-evenly;
}
.officer-box {
	width: auto;
	height: auto;
	margin: 15px;
	padding: 10px;
	border-radius: 10px;
	border: solid red 5px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.officer-box img {
	width: 150px;
	height: 150px;
}
.officer-box h2 {
	font-size: 20px;
	text-align: center;
	font-weight: bold;
}
.officer-box h3 {
	font-size: 16px;
	text-align: center;
	font-style: italic;
}
/*==========End Officers Section==========*/


/*==========Start Vendor Form Buttons Section==========*/
.download-button {
    display: inline-block;
    background-color: #e82629;
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
	margin: 25px auto;
}
.download-button:hover {
    background-color: darkred;
}
.download-button:nth-last-child(1) {
	margin: 0 auto;
}

div.forms-section {
	width: 100%;
	height: auto;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
div.site-forms {
	width: 100%;
	height: auto;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content:space-evenly;
	align-items: center;
}
div.form-box {
	margin: 15px;
}
/*==========End Vendor Form Buttons Section==========*/


/*==========Start Contact Form Section==========*/
.contact-container {
	flex-direction: column;
}
/*==========End Contact Form Section==========*/
/*==========Start Contact Form Section==========*/
#contactform {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
	padding: 0;
	background-color: blueviolet;
}
/* --- WPForms Base Styling --- */
#wpforms-submit-86, .wpforms-container {
	max-width: 600px;
	margin: 0 auto;
	padding: 2rem;
	display: flex;
	flex-direction: column;
  }
.wpforms-field-container {
	display: block;
}
/* Ensure input fields and textareas fill the full width */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field textarea,
.wpforms-field select {
  width: 100%;
  box-sizing: border-box;
  background-color: blue;
}
/* Stack subfields vertically */
.wpforms-field-row {
	display: block !important;
  }
  /* Add spacing between vertically stacked subfields */
  .wpforms-field-row .wpforms-one-half {
	width: 100% !important;
	margin-bottom: 1rem;
}
.wpforms-sub-label {
	display: block;
	font-size: 0.9rem;
	color: #555;
	margin-bottom: 0.25rem;
}
/* Submit Button */
  #wpforms-submit-86, .wpforms-submit {
	background-color: #e82629;
	color: #fff;
	border: none;
	padding: 0.75rem 2rem;
	font-size: 1rem;
	text-transform: uppercase;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.3s;
	transition: all .2s ease-in-out;
  }
  .wpforms-submit:hover {
	background-color: darkred;
	transform: scale(1.125);
  }

div.wpforms-container {
	padding: 0;
}
#wpforms-86 {
	margin-top: 0;
	margin-bottom: 0;
}
/*==========End Contact Form Section==========*/


/*==========Start Footer Section==========*/
footer {
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto;
	padding: 50px 10%;
	background-color: rgba(0,0,0,0.95);
	z-index: 100; 
	margin-top:-25px;
	padding-bottom: 40px;
}
footer.wavy {
		--mask:
		  radial-gradient(40.25px at 50% 54px,#000 99%,#0000 101%) calc(50% - 36px) 0/72px 100%,
		  radial-gradient(40.25px at 50% -36px,#0000 99%,#000 101%) 50% 18px/72px 100% repeat-x;
		-webkit-mask: var(--mask);
				mask: var(--mask);
}
footer div.box {
	width: auto;
	height: 150px;
	margin: 0;
	padding: 0;
	text-align: center;
	color: #F3F3F3;
	text-transform: uppercase;
	font-weight: bold;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
footer img {
	max-height: 150px;
}
footer .box.contact {
}
footer .box.links h6 {
	margin-right: 0;
}
footer .box h6 a {
	width: 100%;
	text-decoration: none;
	color: #F3F3F3;
	font-size: 18px;
}
footer .box h6 a:hover {
	opacity: 0.45;
}
/*Font Awesome Fa-Fa Icon*/
.fa-brands.fa-facebook {
	font-size: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
  }
/*==========End Footer Section==========*/



/*========== Start Media Queries Section==========*/
@media (min-width: 872px) {
	button.menu-toggle {
		display: none !important;
	}
}
@media (max-width: 871px) {
	html, body {
	overflow-x: hidden;
	}

	nav.menu {
		padding:15px 10%;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	nav.menu div.main {
		margin:0 auto;
		padding: 20px;
		width:100%;
		position: relative;
		flex-direction: column;
	}
	a.custom-logo-link {
		position: absolute;
		left: 0;
		width: 60px;
		height: auto;
		top: 0;
		left: 5%;
	}
	img.custom-logo {
		width: 100%;
		height: auto;
	}
	button.btn {
		right: 5%;
	}
	.short-word {
		display: block;
	}
	.full-word {
		display: none;
	}
	button.menu-toggle {
		display: flex;
		justify-content: center;
		align-items: center;
		margin: 0 auto;
		padding: 0;
		text-align: center;
		background: none;
		color: #f3f3f3;
		border: none;
		font-size: 36px;
		cursor: pointer;
	}
	/* Hide menu by default */
	ul#primary-menu.main-menu {
		display: none;
		flex-direction: column;
		padding: 0;
	}
	/* Show menu when active */
	ul#primary-menu.main-menu.active {
		display: flex;
	}
	.menu-item.open > .sub-menu {
    	display: flex;
		flex-direction: column;
		padding: 15px;
	}
	div.menu-primary-menu-links-container ul li {
		margin-top: 15px;
		margin-bottom: 15px;
	}
	div.menu-primary-menu-links-container ul li a {
		margin: 0 auto;
	}
	header #main-image.hero {
		height: 300px;
		width: 100%;
		margin-top: 72px;
	}
	div.main {
		margin-top:-3vw;
	}
	div.main-info {
		flex-direction: column;
		padding-top: 75px;
		margin-top: -30px;
	}
	div.town-main {
		margin-top: -30px;
	}
	div.main-box, div.main-box a {
		width:100%;
	}
	div.main-box {
		margin-bottom: 15px;
	}
	div.main-box:nth-last-child(1) {
		margin-bottom: 0;
	}
	div.welcome-message h4 {
		line-height: initial;
		padding: 5px 0;
		font-size: 24px;
	}
	.town-story-wrapper {
		padding: 0;
		width: 100%;
	}
	.site-rep {
		position: revert;
		margin: 25px auto;
	}
	.town-text {
		width:100%;
		margin:0 auto;
	}
	.story-box {
		width:100%;
	}
	.town-slider {
		padding: 50px 0;
	}
	footer {
		padding: 50px 5%;
	}
	footer div.box {
		height: auto;
	}
	footer div.box h6 {
		margin-bottom: 10px;
	}
	footer div.box.locations h6:last-child,
	footer div.box.contact h6:last-child,
	footer div.box.links h6:last-child {
		margin-bottom: 0;
	}
}



@media (max-width: 721px) {
	header #main-image.hero {
		margin-top: 60px;
	}

	div.main {
		
	}
}

@media (max-width: 601px) {

	div.wpforms-container, #wpforms-form-86 {
		width: 100%;
	}
	#wpforms-86 {
		width:80vw !important; 
	}


	footer {
		flex-direction: column;
		padding-bottom: 25px;
	}
	footer div.box {
		margin-bottom: 25px;
	}
	footer div.box:nth-last-child(1) {
		margin-bottom: 0;
	}

	.story-box h2 {
		white-space: nowrap;
	}
}

@media (max-width: 501px) {
	.story-box h2 {
		font-size: 8vw;
  		top: -7vw;
		padding-top: 0;
		padding-bottom: 0;
	}
}
/*========== End Media Queries Section==========*/



/*==========TEST TEST TEST==========*/
.da-image {
    max-width: 100%;
    height: auto;
    display: block;
	image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}

/*==========END END END==========*/