@charset "utf-8";

body {
	background: #f1f1f1;
	margin: 0;
	font-family: 'Inter', sans-serif;
	background-color: #f8f9f9;
}

header {
	background: linear-gradient(to right, #2e7d32, #43a047);
	padding: 15px 30px;
}

header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
}

.header-top {
	display: flex;
	align-items: flex;
	justify-content: space-between;
	width: 100%
}

.container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

nav {
	margin-left: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo_container {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
	min-width: 0;
}

.logo-img {
	max-height: 65px;
	width: auto;
}

header h1 {
	font-family: 'inter';
	font-size: 28px;
	margin: 0;
	color: white;
	white-space: nowrap;
}

nav ul {
	list-style: none;
	gap: 10px;
	display: flex;
	margin: 0;
	padding: 0;
}

nav ul li {
	margin-left: 10px;
	white-space: nowrap;
	display: flex;
	align-items: center;
}

nav ul li a {
	text-decoration: none;
	color: white;
	font-weight: bold;
	position: relative;
	padding-bottom: 5px;
	transition: opacity 0.3s;
}

nav ul li a:hover {
	opacity: 0.8;
}

nav ul li a::after {
	content: '';
 	position: absolute;
 	left: 0;
	bottom: 0;
	height: 2px;
	width: 0%;
	background-color: white;
	transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after {
	width: 100%;
}

.service-list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px;
	margin-top: 30px;
}

.service-card {
	position: relative;
	background-color: white;
	padding: 20px;
	width: 250px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	text-align: left
}

.hero {
	position: relative;
	width: 100%;
	height: 300px;
	overflow: hidden;
}

.hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -120%);
	font-size: 2.5rem;
	color: white;
	text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.hero::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background-color: #F1F1F1;
	clip-path: polygon(0 100%, 100% 40%, 100% 100%);
}

.service-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px;
	width: 100%;
}

.badge {
	background-color: #d3d3d3;
	color: #333;
	font-size: 12px;
	padding: 5px 10px;
	border-radius: 12px;
	font-weight: bold;
	text-transform: uppercase;
	white-space: nowrap;
}

.contact-button-container {
	text-align: center;
	margin-top: 40px;
}

.contact-button {
	display: inline-block;
	background-color: #2e7d32;
	color: white;
	padding: 12px 24px;
	text-decoration: none;
	border-radius: 30px;
	font-size: 16px;
	font-weight: 600;
	transition: background-color 0.3s ease;
}

.contact-button:hover {
	background-color: #1b5e20;
}

.tagline {
	background-color: #F1F1F1;
	padding: 20px 10px;
	text-align: center;
	font-size: 1.25rem;
	font-weight: 500;
	color: #333;
	border-bottom: thin solid #ddd;
}

.intro {
	background-color: #F1F1F1;
	padding: 60px 20px;
	text-align: center;
}

.intro h2 {
	font-size: 2rem;
	margin-bottom: 20px;
	color: #222;
}

.intro p {
	font-size: 1.1rem;
	max-width: 700px;
	margin: 0 auto;
	color: #555;
	line-height: 1.6;
}

.home-services {
	background: #f1f1f1;
	padding: 60px 20px;
	text-align: center;
}

.home-services .container {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.home-services h2 {
	font-size: 2rem;
	margin-bottom: 40px;
	color: #222;
}

.service-preview-grid {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
	margin-bottom: 30px;
	box-sizing: border-box;
}

.service-preview-card {
	flex: 1 1 250px;
	max-width: 200px;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	padding: 20px;
	width: 100%;
	text-align: center;
	margin: 0 auto;
}

.service-preview-card img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 15px;
}

.service-preview-card h3 {
	margin: 0;
	font-size: 1.2rem;
	color: #333;
}

.btn {
	background-color: #2e7d32;
	color: white;
	padding: 12px 24px;
	text-decoration: none;
	text-align: center;
	border-radius: 5px;
	display: inline-block;
	font-weight: bold;
	box-sizing: border-box;
}

.btn:hover {
	background-color: #1b5e20;
}

.testimonials-section {
	background-color: #f1f1f1;
	padding: 60px 20px;
	text-align: center;
}

.testimonials-section h2 {
	font-size: 2rem;
	margin-bottom: 20px;
	color: #222;
}

.testimonial-box {
	max-width: 600px;
	margin: 0 auto;
	background-color: #ffffff;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
	font-style: italic;
}

.testimonial-box .cta {
	font-style: normal;
	font-weight: 500;
	color: #276c2c;
	margin-top: 15px;
}

.about-section {
	background-color: #F1F1F1;
	padding: 60px 20px;
	text-align: center;
	margin: 0 auto;
}

.about-content {
	font-size: 1.1rem;
	max-width: 850px;
	margin: 0 auto;
	color: #555;
	line-height: 1.6;
}

.about-content p {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #333;
}

.cta-section {
	background-color: #F1F1F1;
	padding: 80px 20px;
	text-align: center;
}

.cta-text {
	font-size: 1.1rem;
	margin: 20px 0 30px;
	color: #333;
}

.cta-button {
	background-color: #2e7d32;
	color: white;
	padding: 12px 24px;
	text-decoration: none;
	border-radius: 5px;
	display: inline-block;
	font-weight: bold;
	box-sizing: border-box;
}
.cta-button:hover {
	background-color: #1b5e20;
}

.site-footer {
	background-color: #2e7d32;
	color: white;
	text-align: center;
	padding: 30px 20px;
	font-size: 0.96rem;
}

.footer-nav {
	margin-top: 10px;
}

.footer-nav a {
	color: white;
	text-decoration: none;
	margin: 0 10px;
	font-weight: 500;
}

.footer-nav a:hover {
	text-decoration: underline;
}

.contact-section {
	padding: 60px 20px;
	text-align: center;
	background-color: #f1f1f1;
	box-sizing: border-box;
}

.contact-form {
	max-width: 600px;
	width: 100%;
	margin: 30px auto;
	display: flex;
	flex-direction: column;
	gap: 15px;
	padding: 0 16px;
	box-sizing: border-box;
}

.contact-form input,
.contact-form textarea {
	padding: 10px;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.contact-form button {
	background-color: #2e7d32;
	color: white;
	padding: 12px;
	text-decoration: none;
	border-radius: 5px;
	display: inline-block;
	font-weight: bold;
	cursor: pointer;
}

.contact-form button:hover {
	background-color: #1b5e20;
}

.menu-toggle {
	display: none;
	font-size: 36px;
	color: white;
	cursor: pointer;
	padding: 10px;
}

/* === About Us Section === */

.about-content {
	max-width: 900px;
	margin: 40px auto;
	padding: 0 20px;
}

.about-text, .about-values {
	margin-bottom: 40px;
}

.about-values ul {
	list-style: none;
	padding-left: 0;
}

.about-values li {
	margin-bottom: 12px;
}

.about-content h1 {
	font-size: 2.5rem;
	margin-bottom:  20px;
	color : #1b1b1b;
}

.about-content h2 {
	text-align: center;
	font-size: 1.8rem;
	margin-bottom: 30px;
	color: #2c2c2c
}

.about-content p {
	font-size: 1.1rem;
	color: #333;
	margin-bottom: 30px;
	line-height: 1.6;
}

.staff-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	margin-top: 20px;
}

.staff-card {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	width: 280px;
	padding: 20px;
	text-align: center;
	transition: transform 0.3s;
}

.staff-card:hover {
	transform: scale(1.03)
}

.staff-card img {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 15px;
}

.staff-card h3 {
	font-size: 1.25rem;
	margin-bottom: 5px;
	color: #2c2c2c;
}

/* === Staff Portal Section === */

.estimator-section {
	padding: 40px 20px;
	max-width: 600px;
	margin: 0 auto;
}

.estimator-section {
	margin-bottom: 20px;
}

#quoteForm {
	background-color: white;
	max-width: 400px;
	margin: 0 auto;
	padding: 20px;
	border-radius: 8px
}

#quoteForm label {
	display: block;
	margin: 12px 0 6px;
	font-weight: 600;
}

.services {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 12px 0;
}

.services label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.estimator-title {
	text-align: center;
	font-size: 1.8rem;
	font-weight: 700;
	color: #2e7d32;
	margin-bottom:  20px;
}

.parcel-link {
	text-align: center;
	margin-top: 20px;
	font-size: 1rem;
}

.parcel-link a {
	color: #2e7d32;
	font-weight: 600;
	text-decoration: none;
}

.parcel-link a:hover {
	color: #256629;
}

button {
	background: #2e7d32;
	color: white;
	padding: 12px 24px;
	border: none;
	font-size: 1rem;
	font-weight: bold;
	border-radius: 6px;
	cursor: pointer;
}

button:hover {
	background-color: #256629;
}

#quoteResult {
	margin-top: 20px;
	font-size: 1.2rem;
	font-weight: bold;
	text-align: center;
}

.staff-login-btn {
	display: inline-block;
	padding: 8px 14px;
	font-size: 0.95rem;
	background-color: #4b6e36;
	color: white;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	border-radius: 6px;
	transition: background-color 0.3s ease;
	white-space: nowrap;
	line-height: 1;
	margin-left: 20px;
}

.staff-login-btn:hover {
	background-color: #355026;
}

.dashboard-section {
	padding: 40px 20px;
	max-width: 1300px;
	margin: 0 auto;
}

.dashboard-section h1 {
	text-align: center;
	font-size: 2rem;
	color: #2e7d32;
	margin-bottom: 30px;
}

.dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1rem));
	gap: 20px;
}

.dashboard-card {
	background-color: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	text-align: center;
}

.dashboard-card h2 {
	font-size: 1.2rem;
	margin-bottom: 10px;
	color: #333;
}

.dashboard-card p {
	font-size: 1.1rem;
	font-weight: bold;
	color: #2e7d32;
}

.history-section {
	max-width: 1300px;
	margin: 40px auto;
	padding: 0 20px;
}

.history-section h2 {
	text-align: center;
	font-size: 1.8rem;
	margin-bottom: 20px;
	color: #2e7d32;
}

.job-history-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.job-history-item {
	background-color: white;
	padding: 15px 20px;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	justify-content: space-between;
	text-align: center;
}

.status-completed {
	color: #2e7d32;
	font-weight: bold;
}

.job-list-section {
	padding: 40px 20px;
	max-width: 900px;
	margin: 0 auto;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.job-list-section h1 {
	text-align: center;
	color: #2e7d32;
	margin-bottom: 30px;
}

.job-category {
	margin-bottom: 30px;
}

.job-category h2 {
	font-size: 1.4rem;
	color: #333;
	margin-bottom: 15px;
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 8px;
}

.job-list {
	list-style: none;
	padding-left: 0;
}

.job-list li {
	padding: 10px 15px;
	margin-bottom: 10px;
	background-color: #f9f9f9;
	border-left: 4px solid #2e7d32;
	border-radius: 4px;
	font-size: 1rem;
}

/* === Modal Form === */

.modal {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.modal-content {
	background: white;
	padding: 20px;
	border-radius: 8px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.3);
	transform: translateY(0);
	position: relative;
}

.modal-content form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.modal-content textarea {
	width: 100%;
	min-height: 80px;
	resize: vertical;
}

.modal-content button {
	align-self: flex-start;
}
.close {
	float: right;
	font-size: 1.5rem;
	cursor: pointer;
}

.overdue-job {
  border-left: 5px solid red;
  background-color: #ffe6e6;
}
/* Create New Job */

.submit-job-btn {
  margin-top: 20px;
  background-color: #2d7a30;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
}

.hidden {
  display: none !important;
}

.modal {
	position: fixed;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 999;
}

.modal-content {
	background-color: white;
	padding: 30px;
	border-radius: 8px;
	width: 100%;
	max-width: 500px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-content input,
.modal-content textarea,
.modal-content select {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border 0.2s ease-in-out;
}

.modal-content input:focus,
.modal-content textarea:focus,
.modal-content select:focus {
  border-color: #2e7d32;
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

.modal-content input[type="checkbox"] {
	width: auto;
	height: auto;
	transform: translateY(1px);
}

.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 1001;
}

.close-button:hover {
  color: #000;
}

#jobServicesContainer {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 40px;
	grid-row-gap: 10px;
	margin: 10px 0 20px;
}

#jobServicesContainer .checkbox-select {
	display: flex;
	align-items: center;
	font-weight: 500;
	font-size: 16px;
	color: #333;
	gap: 6px;
	width: auto;
}

#jobServicesContainer label {
	width: 100%;
	display: flex;
	align-items: center;
}
/* Responsive Enhancements for Sedalia Grounds Co. */

@media (max-width: 1024px) {
	.menu-toggle {
		display: block;
		margin-left: auto;
	}
	
	.container {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		padding: 15px 20px;
	}

	header h1 {
		display: none;
	}

	.logo_container {
		display: flex;
		align-items: center;
		gap: 10px;
	}

  nav ul {
	display: none;
    flex-direction: column;
    align-items: center;
	  padding-left: 0;
	  width: 100%;
	  margin-top: 10px;

  }
	
	nav ul.show {
		display: flex;
	}
	
	nav ul li {
		width: 100%;
	}
	
	nav ul li a {
		display: block;
		width: 100%;
		padding: 12px 0;
	}
	
	nav {
		width: 100%
	}

	.home-services .container {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		padding: 0 20px;
		box-sizing: border-box;
	}
	
	.service-preview-grid {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.container {
		flex-direction: column;
		align-items: flex-start;
	}
	
  .container,
  .home-services .container,
  .about-content,
  .intro p,
  .testimonial-box,
  .contact-form {
    margin: 0 auto;
  }

  .service-preview-grid,
  .service-list {
    flex-direction: column;
    align-items: center;
  }

  .service-preview-card {
    width: 100%;
    max-width: 300px;
  }

  .hero-title {
    font-size: 1.8rem;
    transform: translate(-50%, -100%);
    text-align: center;
    padding: 0 10px;
  }

  .intro h2,
  .home-services h2,
  .testimonials-section h2,
  .about-section .section-title,
  .cta-section .section-title {
    font-size: 1.5rem;
  }

  .cta-button,
  .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
	
	.about-content {
		padding: 30px 15px;
	}
	
	.about-content h1 {
		font-size: 2rem;
	}
	
	.about-content p {
		font-size: 1rem;
	}
	
	.staff-section {
		flex-direction: column;
		align-items: center;
	}
	
	.staff-card {
		width: 90%;
		max-width: 320px;
	}
}

/* === Staff Login Page Styles === */
.staff-login-wrapper {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	box-sizing: border-box;
}

.staff-login-card {
	background-color: #fff;
	padding: 40px 30px;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
	max-width: 420px;
	width: 100%;
}

.staff-login-card h2 {
	text-align: center;
	margin-bottom: 30px;
	color: #2d7d32;
	font-size: 1.8rem;
}

.staff-login-card label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
}

.staff-login-card input {
	width: 100%;
	padding: 12px 14px;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	margin-bottom: 20px;
	box-sizing: border-box;
	background-color: #f5f9ff;
}

.staff-login-card button {
	width: 100%;
	padding: 14px;
	background-color: #2e7d32;
	color: white;
	font-weight: bold;
	border: none;
	border-radius: 6px;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.staff-login-card button:hover {
	background-color: #1b5e20;
}

@media (max-width: 600px) {
	header {
		height: auto;
		padding: 20px 20px;
	}
	
	.menu-toggle {
		font-size: 36px;
		padding: 10px;
	}
	
	.intro p {
		font-size: 1.2rem;
	}
	
  .hero {
    height: 200px;
  }

  .hero-title {
    font-size: 1.4rem;
    transform: translate(-50%, -90%);
  }

  .intro p,
  .about-content p,
  .testimonial-box,
  .cta-text {
    font-size: 1rem;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 0.95rem;
  }
	
	.service-preview-card h3 {
		font-size: 1rem
	}
	
	.service-preview-card img {
		width: 100%;
		height: auto;
	}
	
	.service-list {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: flex-start;
		gap: 30px;
		max-width: 1200px;
		width: 100%;
		margin: 0 auto;
		padding:  0 16px;
		box-sizing: border-box;
	}
	
	.service-card {
		width: 100%;
		max-width: 280px;
		box-sizing: border-box;
	}
}