/*------------------------------------------------------------
    Site-wide theme (colors, fonts, aliases). Edit :root to re-skin.
------------------------------------------------------------*/

:root {
	--font-header: "Roboto Slab", serif;
	--font-body: "Open Sans", sans-serif;

	--color-brand-100: #f3d4cf;
	--color-brand-200: #e7aaa0;
	--color-brand-300: #db7f71;
	--color-brand-400: #ce543f;
	--color-brand-500: #b51d09;
	--color-brand-600: #a31812;
	--color-brand-700: #8b130e;
	--color-brand-800: #740f0b;
	--color-brand-900: #5d0b08;
	--color-brand-rgb: 181, 29, 9;
	--color-brand: var(--color-brand-500);

	--color-footer-bg: #2f2a2a;
}

/*------------------------------------------------------------
    Layout
------------------------------------------------------------*/

body {
	color: var(--bs-body-color);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	background-color: var(--bs-light);
	overflow-x: hidden;
}

body,
body * {
	box-sizing: border-box;
}

.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	z-index: 2000;
	padding: 0.5rem 0.75rem;
	color: #ffffff;
	background-color: var(--color-brand);
	text-decoration: none;
}

.skip-link:focus {
	top: 0;
}

section {
	padding-top: 5rem;
	padding-bottom: 5rem;
	background-color: var(--bs-gray-200);

	&:last-of-type {
		border-bottom: none;
	}
}

section.section-light {
	background-color: #ffffff;
}

section.section-dark {
	color: #ffffff;
	background-color: #000000;

	& * {
		color: contrast-color(#ffffff, #000000);
	}
}

/*------------------------------------------------------------
    Typography
------------------------------------------------------------*/

h1,
.h1 {
	margin-bottom: 0.5em;
	color: #000000;
	font-family: var(--font-header);
	font-size: 3rem;
	font-weight: 600;
	line-height: 1.25;
}

h2,
.h2 {
	margin-bottom: 0.5em;
	color: var(--color-brand);
	font-family: var(--font-header);
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.25;
}

h3,
.h3 {
	margin-bottom: 0.5em;
	color: var(--color-brand);
	font-family: var(--font-body);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.25;
}

h4,
.h4 {
	margin-bottom: 0.5em;
	color: #000000;
	font-family: var(--font-body);
	font-size: 1.1rem;
	font-weight: 600;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
	& small {
		font-size: 0.8em;
	}
}

/*------------------------------------------------------------
    Bootstrap Modifications
------------------------------------------------------------*/

/* Brand buttons */

.btn-brand {
	color: #fff !important;
	background-color: var(--color-brand);
	border-color: var(--color-brand);
	border-radius: 4px;
}

.btn-brand:hover {
	color: #fff !important;
	background-color: var(--color-brand-600);
	border-color: var(--color-brand-600);
}

.btn-brand.focus,
.btn-brand:focus,
.btn-brand:not(:disabled):not(.disabled).active,
.btn-brand:not(:disabled):not(.disabled):active,
.show>.btn-brand.dropdown-toggle {
	color: #fff !important;
	background-color: var(--color-brand-600);
	border-color: var(--color-brand-600);
	box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

/*------------------------------------------------------------
	Template
------------------------------------------------------------*/

/* Template Header */

.template__header {
	padding-left: 1rem;
	padding-right: 1rem;
	width: 100%;
	height: auto;
	color: #ffffff;
	background-color: #000;
}

.template__header .container-fluid {
	position: relative;
	width: 100%;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

.template__header-inner {
	position: relative;
	z-index: 3;
	min-height: 4.5rem;
}

.template__header-nav.navbar {
	min-height: 0;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.75rem;
}

/* Logo */

.template__header .navbar-brand>img {
	height: 6rem;
	max-width: 39rem;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

/* Navigation */

.template__header .navbar-nav {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 2px;

	& .nav-link {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0.5rem;
		color: #ffffff;
		font-family: "Roboto Slab", serif;
		font-size: 1rem;
		font-weight: 500;
		text-transform: uppercase;
		text-decoration: none;
	}

	& .nav-item:hover .nav-link {
		box-shadow: inset 0 -3px #303030;
	}

	& .nav-item.active .nav-link,
	& .nav-item:focus .nav-link {
		box-shadow: inset 0 -3px var(--color-brand);
	}
}

/* Navbar Toggler */

.template__header .navbar-toggler {
	border-color: rgba(255, 255, 255, 0.5);

	& .navbar-toggler-icon {
		background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
	}
}

/* Social Menu */

.template__header .social-menu {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;

	& .social {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0.75rem;
		min-width: 2.5rem;
		height: 2.5rem;
		color: #ffffff;
		background-color: #303030;
		border-radius: .25rem;
		text-decoration: none;
		white-space: nowrap;

		&:hover {
			background-color: var(--color-brand);
		}
	}

	& .social i {
		font-size: 1.25rem;
	}
}

.template__header .pear-pizza {
	position: absolute;
	z-index: 1;
	pointer-events: none;
	margin: 0 auto;
	top: 0.5rem;
	left: 50%;
	transform: translateX(-50%);
	max-height: 10rem;
	background-color: #000;
	border-radius: 100%;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

/* Fixed Header */

.template__header.fixed {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1030;
	width: 100%;

	& .navbar-brand>img {
		height: 4rem;
	}

	& .pear-pizza {
		max-height: 8rem;
		top: 0.25rem;
	}
}

@media (min-width: 992px) {
	.template__header .template__header-nav .navbar-nav {
		justify-content: flex-start;
		flex-wrap: nowrap;
	}

	.template__header .template__header-nav .navbar-collapse {
		display: flex !important;
		justify-content: flex-start;
		flex-grow: 0;
		width: auto;
	}

	.template__header .template__header-nav .menu-primary {
		justify-content: flex-start;
	}
}

@media (max-width: 991.98px) {
	.template__header .pear-pizza {
		display: none;
	}

	.template__header-brand-row .navbar-brand {
		min-width: 0;
		flex: 1 1 auto;
	}

	.template__header .navbar-brand>img {
		height: 4.25rem;
		max-width: min(70vw, 24rem);
	}

	.template__header .template__header-nav.navbar {
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.template__header .template__header-nav .navbar-collapse {
		flex-grow: 1;
		width: 100%;
	}

	.template__header .template__header-nav .navbar-nav {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		width: 100%;
		padding-top: 0.25rem;
		padding-bottom: 0.25rem;
	}

	.template__header .template__header-nav .nav-link {
		justify-content: flex-start;
		width: 100%;
		min-height: 3rem;
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.template__header .template__header-nav .nav-item:first-child .nav-link {
		border-top: 0;
	}
}




/* Template Footer */
/* Template Page Title */






/*------------------------------------------------------------
    Mobile toolbar (bottom bar links)
------------------------------------------------------------*/

#mobile-toolbar {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 1060;
	display: flex;
	width: 100%;
	height: 4rem;
	background: #000000;
	border-top: 1px solid #ffffff;
	display: none !important;
}

#mobile-toolbar>a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 33.33%;
	height: 100%;
	color: #ffffff;
	font-size: 1.6rem;
}

#mobile-toolbar>a:nth-child(2) {
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-width: 0 1px;
}

#mobile-toolbar>a:hover,
#mobile-toolbar>a:active,
#mobile-toolbar>a:focus {
	text-decoration: none;
	background-color: var(--color-brand);
}

/*------------------------------------------------------------
    SECONDARY HEADER
------------------------------------------------------------*/

#header-secondary {
	position: relative;
	z-index: 9;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 3rem;
	color: #ffffff;
	text-align: center;
	background-color: var(--color-brand);
}

#header-secondary a {
	color: #ffffff;
	text-decoration: none;
}

#header-secondary a:hover {
	text-decoration: underline;
}

#header-secondary a:last-of-type {
	border: none !important;
}

@media (min-width: 768px) {
	#header-secondary {
		flex-direction: row;
	}

	#header-secondary a {
		padding: 0 1rem;
		border-right: 1px solid rgba(255, 255, 255, 0.6);
	}
}



.template__return-to-top {
	position: fixed;
	bottom: 1rem;
	right: 1rem;

	& .btn {
		-webkit-transition: all 0.3s linear;
		-moz-transition: all 0.2s ease;
		-ms-transition: all 0.2s ease;
		-o-transition: all 0.2s ease;
		transition: all 0.2s ease;
	}
}

/*------------------------------------------------------------
    PAGE TITLES AND REPETITIVE PAGE CONTENT
------------------------------------------------------------*/

#page-title {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 360px;
	background-position: center;
	background-size: cover;
}

#page-title h1 {
	display: inline-block;
	margin: 0;
	padding: 1rem 2rem;
	color: #ffffff;
	background-color: rgba(0, 0, 0, 0.75);
}

#testimonials {
	background-color: #000;
	background-position: 50%;
	padding: 2rem 0;
	color: #ffffff;
}

#testimonials h2 {
	color: #ffffff;
}

#testimonials blockquote {
	position: relative;
	padding: 0 4.5rem;
	font-style: normal;
	text-align: justify;
	min-height: 12rem;
}

#testimonials cite {
	display: block;
	margin-top: 1rem;
	font-style: italic;
	font-weight: 600;
	text-align: center;
}

#testimonials cite small {
	font-weight: 300;
	font-size: 1em;
}

/*------------------------------------------------------------
    HOMEPAGE
------------------------------------------------------------*/

.home #hero {
	position: relative;
	background-color: #000;
	background-position: 50%;
	background-size: cover;
	box-shadow: inset 0 100vh 0 0 rgba(0, 0, 0, 0.5);
}

.home #hero .hero-content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	margin: 0 auto;
	padding: 2rem 0;
	width: 100%;
	max-width: 60rem;
	color: #ffffff;
	text-align: center;

	& .hero-heading {
		margin-bottom: 0.5em;
		font-size: 3rem;
		line-height: 1.25;
	}

	& .hero-list {
		font-size: 1.25rem;
		line-height: 1.5;
	}

	& .hero-list li {
		margin: 0;
		padding: 0;
		list-style: none;
	}
}

.home #services {
	background-color: #000;
	background-image: url(../img/home-bg-welcome.webp);
	background-size: cover;
	background-position: 50%;
	color: #ffffff;
}

/*------------------------------------------------------------
    ABOUT
------------------------------------------------------------*/

.people h3 {
	min-height: 3rem;
}

.people img {
	margin-bottom: 5%;
	padding: 5px;
	-webkit-box-shadow: 1px 1px 4px 2px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 1px 1px 4px 2px rgba(0, 0, 0, 0.5);
	-ms-box-shadow: 1px 1px 4px 2px rgba(0, 0, 0, 0.5);
	-o-box-shadow: 1px 1px 4px 2px rgba(0, 0, 0, 0.5);
	box-shadow: 1px 1px 4px 2px rgba(0, 0, 0, 0.5);
}

/*------------------------------------------------------------
    FOOTER
------------------------------------------------------------*/

footer {
	color: contrast-color(#ffffff, var(--color-footer-bg));
	background-color: var(--color-footer-bg);
}

#footer {
	padding: 2rem 0;
	font-size: 0.8rem;
}

#footer-nav,
.footer-nav {
	margin: 20px 0;
	font-size: 0.8rem;
}

#footer .nav-link {
	display: inline-block;
	padding: 9px 1rem;
	font-size: 0.8rem;
	text-decoration: none;
	text-transform: uppercase;
	color: #ffffff;
}

#footer .nav-link:hover {
	color: var(--color-brand);
}

#copyright {
	padding-bottom: 1rem;
	font-size: 0.75rem;
}

#footer .phone {
	position: relative;
	margin: 0 auto;
	text-align: center;
	line-height: 1.2;
	background-color: var(--color-brand-600);
	padding: 1px 20px;
	border-radius: 8px;
	color: #ffffff;
	text-decoration: none;
}

#footer .phone:hover {
	color: var(--color-brand-600);
	background-color: #ffffff;
}

@media only screen and (min-width : 1201px) {
	#page-title {
		min-height: 460px;
	}
}

@media only screen and (max-width : 1200px) {
	#page-title {
		min-height: 360px;
	}
}

@media only screen and (min-width : 992px) and (max-width : 1125px) {
	.template__header .pear-pizza {
		max-height: 150px;
		-webkit-transition: all 0.2s ease;
		-moz-transition: all 0.2s ease;
		-o-transition: all 0.2s ease;
		transition: all 0.2s ease;
	}
}

@media only screen and (max-width : 991px) {
	.template__header .container-fluid {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}

	#footer {
		padding: 2rem 0;
	}

	.home #services {
		padding: 3rem 0;
	}
}

@media only screen and (max-width : 768px) {

	.home #hero .hero-content strong {
		font-size: 3rem;
	}

	.home #hero .hero-content .btn-lg {
		height: 40px;
		font-size: 1rem;
		border-radius: 3px;
	}

	#footer .nav-link {
		font-size: 16px;
	}

	#page-title {
		min-height: 300px;
	}

	.home #services {
		padding: 2rem 0;
	}
}

@media only screen and (max-width : 480px) {
	.template__header .navbar-brand {
		top: 0;
		left: 0;
		margin: 0;
		padding: 1rem 0;
	}

	#copyright {
		padding-bottom: 5rem;
	}

	#footer .nav-link {
		font-size: 14px;
	}

	#page-title {
		min-height: 220px;
	}

	.home #services {
		padding: 2rem 0;
	}

	.home #hero .hero-content strong {
		font-size: 2rem;
	}

	.home #hero .hero-content .btn-lg {
		margin-bottom: 20px;
		width: 100%;
		height: 50px;
		font-size: 1.1rem;
		border-radius: 4px;
	}


}