html {
	font-family: Roboto, sans-serif;
}

body {
	margin: 0;
}

#header,
footer > :first-child {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	width: 60%;
	margin: auto;
}

#menu-toggle,
#hamburger {
	display: none;
}

header > div > :first-child,
footer > div > :first-child {
	justify-self: start;
}

header > div > :nth-child(2),
footer > div > :nth-child(2) {
	justify-self: center;
}

header > div > :last-child,
footer > div > :last-child {
	justify-self: end;
}

header > img {
	width: 100%;
}

#call-us {
	text-align: center;
	color: #c0281f;
	text-shadow: 2px 2px black;
	font-size: 30px;
}

#call-us > h4 {
	margin: 20px 0 20px 0;
}

#call-us > a {
	color: inherit;
	font-size: inherit;
}

#socials {
	text-align: center;
}

#mobile-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: white;
	padding: 10px 0;
}

#mobile-nav > ul {
	flex-direction: column;
	text-align: right;
}

#mobile-nav > ul > li {
	font-size: 25px;
	margin-right: 35px;
	padding: 15px 0;
}

#mobile-nav a {
	padding: 15px 0;
	border-bottom: 1px solid lightgray;
}

#banner {
	position: relative;
}

#banner > div {
	position: absolute;
	display: flex;
	top: 80%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#banner > div > a {
	background-color: #ad2a23;
	color: white;
	width: 175px;
	height: 50px;
	font-size: 18px;
	text-align: center;
	line-height: 50px;
	border-radius: 5px;
	margin: 0 10px 0 10px;
}

#banner > img {
	width: 100%;
	display: block;
	width: 100%;
	height: 55vh;
	min-height: 250px;
	max-height: 647px;
	object-fit: cover;
}

.phone {
	color: #c0281f;
	font-weight: bold;
}

nav > ul {
	display: flex;
	justify-content: center;
	list-style: none;
}

nav > ul > li {
	margin: 0 15px 0 15px;
}


a {
	text-decoration: none;
	color: black;
	font-weight: bold;
	font-size: 20px;
}

a:hover {
	color: lightcoral;
}

ul {
	padding: 0;
}

main {
	max-width: 1100px;
	margin: auto;
	padding: 20px 10px 0 10px;
	margin-bottom: 100px;
}

h1,h2 {
	font-size: 32px;
	font-weight: 350;
}

h3 {
	font-size: 24px;
	font-weight: 450;
}

p {
	font-size: 17px;
}

input {
	height: 25px;
}

input, textarea {
	display: block;
	width: calc(100% - 10px);
	margin-bottom: 10px;
	font-size: 16px;
	padding: 5px;
	border: 1px solid;
	border-radius: 4px;
}

button {
	background-color: #ad2a23;
	color: white;
	border: 2px solid black;
	padding: 10px 20px 10px 20px;
	font-size: 16px;
	border-radius: 5px;
	cursor: pointer;
	width: 100%;
}

.bold-red {
	color: #ad2a23;
	font-weight: 500;
}

.centered-header {
	color: #ad2a23;
	margin-top: 50px;
	text-align: center;
	font-weight: 500;
}

.review {
	color: dimgray;
	border: 1px solid whitesmoke;
	font-style: italic;
	border-radius: 5px;
	padding: 10px;
	margin-bottom: 40px;
	box-shadow: 10px 5px 5px lightgray;
	position: relative;
}

.review > p::before {
	content: "★★★★★ ";
	color: gold;
	font-size: 1.2em;
	font-style: normal;
	display: inline;
}

.review::after {
	content: "";
	position: absolute;
	bottom: -30px;
	left: 60px;
	width: 0;
	height: 0;
	border-top: 30px solid white;
	border-right: 30px solid transparent;
	border-left: 0 solid transparent;
	filter: drop-shadow(5px 2px 2px lightgray);
}

.review > p {
	font-size: initial;
	margin-bottom: 0;
}

.review > img {
	display: block;
	margin-left: auto;
	width: 30px;
}

.reviewer {
	font-family: Helvetica, sans-serif;
	color: #595959;
	margin-left: 30px;
	margin-bottom: 20px;
}

#about {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 20px;
}

#about > img {
	width: 100%;
}

#about ul {
	margin-left: 30px;
}

#about li {
	margin-bottom: 1rem;
}

#thanks {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#thanks > h1 {
	font-size: 40px;
	font-weight: 500;
}

#thanks > p {
	font-size: 1.2rem;
}

#service-area {
	margin-top: 50px;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

#service-area > ul {
	margin: auto;
}

#service-area li {
	margin: 6px 0;
}

@media screen and (max-width: 768px) {
    #about {
        grid-template-columns: 1fr;
    }

		#header,
		footer > :first-child {
			grid-template-columns: 1fr;
			width: 95%;
			text-align: center;
			gap: 20px;
		}

		#header {
			width: revert;
			margin: revert;
		}

		#header img {
			height: 75px;
		}

		header > :first-child {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 15px 25px;
			background: white;
		}

		header {
			top: 0;
			position: sticky;
			z-index: 1;
		}

		#hamburger {
			display: block;
			font-size: 40px;
			padding: 5px 10px;
			cursor: pointer;
		}

		header nav {
			display: none;
		}

		#call-us,
		#socials {
			display: none;
		}

		header > div > *,
		footer > div > * {
			justify-self: center !important;
		}

		#banner > div {
			top: 70%;
			flex-direction: column;
			gap: 10px;
			width: 50%;
		}

		#banner > div > a {
			width: 100%;
			max-width: 300px;
			margin: 0 auto;
		}

		#banner > img {
			height: 40vh;
			object-position: 70% center;
		}

		#about > img {
			margin: 0;
		}

		#service-area {
			justify-items: center;
			grid-template-columns: 1fr;
		}

		#service-area > img {
			max-width: 100%;
		}

		#service-area > ul {
			display: none;
		}

		#menu-toggle:checked ~ #mobile-nav {
			display: block;
		}

		#menu-toggle:not(:checked) ~ #mobile-nav {
			display: none;
		}
}

details {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  background: #fafafa;
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

summary::before {
  content: "▸";
  transition: transform 0.2s ease;
}

details[open] summary::before {
  transform: rotate(90deg);
}

summary::-webkit-details-marker {
  display: none;
}

details ul {
  margin: 0.75rem 0 0 1.25rem;
  padding: 0;
}

details li {
  margin: 0.25rem 0;
	list-style: none;
	line-height: 1.5;
}
