/*
Theme Name: American Muffler
Template: generatepress
Description: A custom custom theme for American Muffler
Author: Eric Kutcher
Version: 1.0.0
*/


body {
	font-family: 'Inter', sans-serif;
	color: #b9d6ff;
	background-color: #000;
}

h1, h2, h3 {
	color: #fff;
	font-weight: 800;
	text-transform: uppercase;
}

p {
	margin-bottom: 0;
}

section > h2 {
	font-size: 2.2rem;
}

section > h3 {
	font-size: 1.7rem;
}

section > h3 {
	margin-top: 20px;
	border-bottom: 1px solid #333;
	padding-bottom: 10px;
}

@media (max-width: 768px) {
	section > h2 {
		font-size: 1.7rem;
	}
	
	section > h3 {
		font-size: 1.5rem;
	}
}

/* HEADER */


/* UTILITY BAR */
.utility-bar {
	max-width: 1200px;
	width: calc(100% - 40px);
	margin: 0 auto;
	padding: 12px 0;
	color: #fff;
}

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

.logo-area a {
	display: flex;
}

.logo-area a img {
	/*width: 100%;
	height: auto;*/
	max-height: 120px;
	border: 1px solid #1f6def;
	border-radius: 8px;
	box-shadow: 0 0 16px #1f6def;
}

.utility-right {
	display: flex;
	align-items: center;
}

.address-link {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	text-transform: uppercase;
	text-decoration: none;
	padding-right: 25px;
	margin-right: 25px;
	border-right: 1px solid #303030;
}

.header-title {
	display: flex;
	align-items: center;
	margin: 0px 10px;
}

.header-title h1 {
	margin-bottom: 0px;
	text-transform: uppercase;
	font-weight: 800;
	text-align: center;
}

@media (max-width: 768px) {
	.header-title h1 {
		font-size: 24px;
		margin: 15px 10px 0px 10px;
	}
}

@media (max-width: 512px) {
	.utility-flex,
	.utility-right {
		flex-direction: column;
		gap: 12px;
	}
}

/* MAIN NAVIGATION - GLASS ARCHITECTURE */
.main-nav {
	background: transparent;
	/*position: sticky;
	top: 0;*/
	z-index: 1000;
	position: relative;
	width: 100%;
}

.nav-glass {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(15px) saturate(160%);
	-webkit-backdrop-filter: blur(15px) saturate(160%);
	z-index: 1;
}

.nav-container {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 60px;
	position: relative;
	z-index: 2;
}

.nav-list {
	list-style: none;
	display: flex;
	gap: 30px;
	margin: 0px;
}

.nav-list li a {
	text-decoration: none;
	color: #000;
	font-size: 1em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	height: 60px;
	text-shadow: 1px 1px 5px #fff;
	display: flex;
	align-items: center;
	position: relative;
	transition: color 0.3s;
}

.nav-list li a:hover {
	color: #000 !important;
}

.nav-list li a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 10px;
	left: 50%;
	background: #000;
	transition: 0.3s;
	transform: translateX(-50%);
}

.nav-list li a:hover::after {
	width: 100%;
}

.hamburger {
	display: none;
	cursor: pointer;
	background: none;
	border: none;
	padding: 10px;
	z-index: 1100;
}

.hamburger:hover,
.hamburger:focus,
.hamburger:active {
	background-color: initial;
}

.hamburger span {
	display: block;
	width: 25px;
	height: 3px;
	background: #000;
	margin: 5px 0;
	transition: 0.4s;
}

/* MOBILE MENU REDESIGN */
@media (max-width: 1024px) {
	.hamburger {
		display: block;
		margin: 0 auto;
	}

	.nav-list {
		position: absolute;
		top: calc(100% + 15px);
		left: 0;
		right: 0;
		margin: 0 auto;
		width: 90%;
		max-width: 380px;
		gap: 0px;
		background: rgba(255, 255, 255, 0.75);
		backdrop-filter: blur(15px) saturate(160%);
		-webkit-backdrop-filter: blur(15px) saturate(160%);
		flex-direction: column;
		border-radius: 12px;
		border: 1px solid rgba(255, 255, 255, 0.4);
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		z-index: 1050;
		transition: opacity 0.3s ease, visibility 0.3s ease, top 0.3s ease;

		/* Scroll Logic */
		max-height: 80vh;
		overflow-y: auto;
		scrollbar-width: thin;
		scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
	}

	/* Custom Ghost Scrollbar (WebKit) */
	.nav-list::-webkit-scrollbar {
		width: 4px;
	}

	.nav-list::-webkit-scrollbar-track {
		background: transparent;
	}

	.nav-list::-webkit-scrollbar-thumb {
		background: rgba(0, 0, 0, 0.1);
		border-radius: 10px;
	}

	body:not(.has-interacted) .nav-list {
		transition: none !important;
	}

	body.menu-open .nav-list {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		top: calc(100% + 10px);
	}

	.nav-list li {
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
		width: 100%;
	}

	.nav-list li:last-child {
		border-bottom: none;
	}

	.nav-list li a {
		height: auto;
		width: initial;
		padding: 14px 20px;
		font-size: 14px;
		justify-content: center;
		color: #000;
	}

	.nav-list li a::after {
		display: none;
	}

	body.menu-open .hamburger span:nth-child(1) {
		transform: rotate(-45deg) translate(-5px, 6px);
	}

	body.menu-open .hamburger span:nth-child(2) {
		opacity: 0;
	}

	body.menu-open .hamburger span:nth-child(3) {
		transform: rotate(45deg) translate(-5px, -6px);
	}
}

/* This class is toggled by JS */
.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
}


/* FOOTER */


.main-footer {
	background-color: #000;
	color: #b9d6ff;
	padding: 50px 50px 0px 50px;
	font-size: 15px;
	margin-top: 50px;
	border-top: 1px solid #303030;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 60px;
}

.footer-col h3 {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-bottom: 25px;
	color: #fff;
	font-weight: 600;
}

.footer-col h3::after {
	content: '';
	display: block;
	width: 40px;
	height: 2px;
	background-color: #fff;
	margin-top: 8px;
}

.brand-content img {
	height:auto;
	max-height:150px;
	margin-bottom: 15px;
	border: 1px solid #1f6def;
	border-radius: 8px;
	box-shadow: 0 0 16px #1f6def;
}

.brand-content p {
	margin-bottom: 15px;
	color: #b9d6ff;
}

.brand-content nav {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 20px;
}

.brand-content nav a {
	margin-right: 10px;
	position: relative;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s;
	width: fit-content;
}

.brand-content nav a:not(:last-child)::after {
	content: '\2022';
	right: -16px;
	color: #fff;
	pointer-events: none;
	display: inline-block;
	position: absolute;
}

.brand-content nav a:hover {
	color: #81b5ff;
}

.service-container {
	background: #0e0e0e;
	padding: 20px;
	border-radius: 4px;
	border: 1px solid #303030;
}

.service-container p {
	margin-bottom: 15px;
	font-size: 0.85rem;
	color: #b9d6ff;
}

.service-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 20px;
}

.service-list span {
	color: #b9d6ff;
	font-size: 0.85rem;
}

.contact-details {
	display: inline-block;
	background: #0e0e0e;
	padding: 20px;
	border-radius: 4px;
	border: 1px solid #303030;
	list-style: none;
	margin: 0px 0px 50px 0px;
}

.contact-details li {
	margin-bottom: 15px;
	color: #b9d6ff;
	display: flex;
	align-items: center;
	gap: 12px;
}

.contact-details li:last-child {
	margin-bottom: 0px;
}

.contact-details svg {
	width: 18px;
	height: 18px;
	fill: #b9d6ff;
	flex-shrink: 0;
}

.contact-details a {
	color: #fff;
	text-decoration: none;
}

.contact-details a:hover {
	color: #81b5ff;
}

.hours-grid {
	background: #0e0e0e;
	padding: 20px;
	border-radius: 4px;
	border: 1px solid #303030;
}

.hours-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.85rem;
	padding: 6px 0;
	border-bottom: 1px solid #303030;
	color: #b9d6ff;
	gap: 10px;
}

.hours-row:last-child {
	border-bottom: none;
}

.footer-bottom {
	max-width: 1200px;
	margin: 60px auto 0;
	padding: 25px 0px;
	border-top: 1px solid #303030;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #b9d6ff;
	font-size: 13px;
}

.copyright {
	text-align: center;
}

@media (max-width: 992px) {
	.brand-content nav {
		align-items: center;
	}

	.service-list {
		display: block;
	}

	.service-list span {
		display: inline;
	}

	.service-list span:not(:last-child)::after {
		content: '\2022';
		margin: 0 10px;
		color: #b9d6ff;
	}
}

/* TABLET ONLY: 50/50 Split */
@media (max-width: 992px) and (min-width: 769px) {
	.footer-container {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
	}

	.footer-col:nth-child(2) {
		display: grid;
		align-content: end;
	}

	.footer-col:last-child {
		grid-column: span 2;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 40px;
		padding-top: 40px;
		border-top: 1px solid #303030;
	}
}

/* MOBILE ONLY: Stacked */
@media (max-width: 768px) {
	.footer-container {
		grid-template-columns: 1fr;
		gap: 50px;
		text-align: center;
	}

	.footer-col h3::after {
		margin: 8px auto 0;
	}

	.brand-info,
	.brand-content,
	.brand-content nav {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.brand-content nav {
		flex-direction: row;
		justify-content: center;
	}

	.brand-content nav a {
		width: auto;
		margin: 0px 5px;
	}

	.service-list {
		text-align: center;
	}

	.social-icons,
	.contact-details li {
		justify-content: center;
		flex-wrap: wrap;
	}

	.hours-grid {
		max-width: 380px;
		margin: 0 auto;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 15px;
	}
}


/* BUTTONS */


.modern-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 15px 0;
	min-height: 20px;
	padding: 15px 20px;

	/* Typography */
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 0.05em;
	text-align: center;
	line-height: 1.2;

	/* Aesthetics */
	cursor: pointer;
	border-radius: 32px;
	border: 2px solid transparent;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	word-wrap: break-word;
	white-space: normal;
}

.modern-btn-large {
	width: 100%;
	max-width: 400px;
	padding-top: 25px;
	padding-bottom: 25px;
}

.modern-btn svg {
	flex-shrink: 0;
	margin-right: 12px;
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Namespaced Blue Variant (#1f6def) */
.modern-btn-blue {
	background-color: #1f6def;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.modern-btn-blue:hover,
.modern-btn-blue:focus {
	background-color: #fff;
	color: #1f6def;
	border-color: #1f6def;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
	outline: none;
}


/* SLIDER */


.cs-slideshow-container {
	position: relative;
	width: 100%;
	height: 600px;
	background-color: #000;
	overflow: hidden;
	margin: 0;
	padding: 0;
	line-height: 1.5;
}

.cs-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 0;
	transition: opacity 0.8s ease-in-out, z-index 0s linear 0.8s;
	background-image: inherit;
}

.cs-slide.cs-active {
	opacity: 1;
	z-index: 2;
	transition: opacity 0.8s ease-in-out;
}

@keyframes csKenBurns {
	from {
		transform: scale(1.05);
	}

	to {
		transform: scale(1.2);
	}
}

.cs-slide::before {
	content: "";
	position: absolute;
	/* Inset -10% prevents white edges when blurring/scaling */
	top: -10%;
	left: -10%;
	right: -10%;
	bottom: -10%;
	background-image: inherit;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	filter: blur(8px);
	z-index: -2;
	transform: scale(1.05);
	/* Animation is always attached, but control is via play-state */
	animation: csKenBurns 12s ease-out forwards;
	animation-play-state: paused;
}

.cs-slide.cs-active::before {
	animation-play-state: running;
}

/* This utility class allows JS to force a reset */
.cs-no-animation::before {
	animation: none !important;
	transform: scale(1.05) !important;
	transition: none !important;
}

.cs-content-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	padding: 80px 100px;
	box-sizing: border-box;
	z-index: 5;
	color: white;
	position: relative;
}

.cs-slideshow-container {
	height: 540px;
	top: -60px;
}

.cs-content-container {
	padding: 120px 100px 80px 100px;
}

.cs-text-group,
.cs-modern-btn {
	opacity: 0;
	transform: translateY(40px);
	transition: transform 0.6s cubic-bezier(0.4, 0, 1, 1), opacity 0.5s ease-in;
	will-change: transform, opacity;
}

.cs-slide.cs-active .cs-text-group,
.cs-slide.cs-active .cs-modern-btn {
	opacity: 1;
	transform: translateY(0);
	transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s,
				opacity 0.8s ease-out 0.5s,
				background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
				color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
				border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
				box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
				outline 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs-slide.cs-active .cs-text-group {
	transition-delay: 0.3s;
}

.cs-text-group {
	max-width: calc(100% - 70px);
}

.cs-main-title {
	font-size: 3.5rem !important;
	font-weight: 800;
	margin: 0;
	text-transform: uppercase;
	line-height: 1 !important;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cs-description {
	font-size: 1.1rem !important;
	font-weight: 600;
	margin: 15px auto 0px auto;
	max-width: 1080px;
	line-height: 1.5 !important;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 1px 10px rgba(0, 0, 0, 0.4);
}

.cs-modern-btn {
	margin-top: 50px;
}

.cs-layout-left .cs-content-container {
	justify-content: center;
	align-items: flex-start;
	text-align: left;
}

.cs-layout-right .cs-content-container {
	justify-content: center;
	align-items: flex-end;
	text-align: right;
}

.cs-layout-right .cs-text-group {
	text-align: right;
}

.cs-layout-center .cs-content-container {
	justify-content: center;
	align-items: center;
	text-align: center;
}

.cs-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 0;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	color: #fff;
	width: 50px;
	height: 80px;
	border: none;
	cursor: pointer;
	font-size: 24px;
	z-index: 10;
	transition: background 0.3s;
}

.cs-nav-btn:hover {
	background: rgba(255, 255, 255, 0.25);
}

.cs-prev {
	left: 0;
	border-radius: 0 8px 8px 0;
}

.cs-next {
	right: 0;
	border-radius: 8px 0 0 8px;
}

.cs-dots-container {
	position: absolute;
	bottom: 25px;
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 12px;
	z-index: 10;
}

.cs-dot {
	height: 8px;
	width: 8px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	cursor: pointer;
	transition: 0.3s;
}

.cs-dot.cs-active {
	background: #fff;
	transform: scale(1.5);
}

@media (max-width: 900px) {
	.cs-content-container {
		padding: 120px 70px 80px 70px;
	}

	.cs-nav-btn {
		width: 40px;
		height: 70px;
	}

	.cs-text-group {
		max-width: calc(100% - 50px);
	}
}

@media (max-width: 768px) {
	.cs-content-container {
		padding: 120px 40px 60px 40px;
	}

	.cs-layout-left .cs-content-container,
	.cs-layout-right .cs-content-container {
		justify-content: center;
		align-items: center;
	}

	.cs-layout-left .cs-content-container,
	.cs-layout-right .cs-text-group {
		text-align: center;
		max-width: 100%;
	}

	.cs-main-title {
		font-size: 1.7rem !important;
	}

	.cs-description {
		font-size: 1rem !important;
	}

	.cs-modern-btn {
		position: static !important;
		margin-top: 30px;
		padding: 20px;
	}
}

@media (max-width: 360px) {
	.cs-content-container {
		padding: 120px 10px 60px 10px;
	}

	.cs-nav-btn {
		display: none !important;
	}

	.cs-text-group {
		max-width: 100%;
	}
}


/* PAGE CONTENT */


.main-wrapper {
	position: relative;
	max-width: 1200px;
	width: calc(100% - 40px);
	margin: 40px auto;
}

.offset-wrapper {
	margin-top: -10px;
}
/*
@media (max-width: 900px) {
	.main-wrapper {
		width: calc(100% - 20px);
		margin: 20px auto;
		padding: 10px;
	}
	
	.offset-wrapper {
		margin-top: -40px;
	}
}*/

.specialist-box {
	background: #0e0e0e;
	padding: 20px;
	border-radius: 4px;
	border: 1px solid #303030;
	border-left: 5px solid #1f6def;
}


/* CONTENT */

.opening {
	margin-bottom: 50px;
	text-align: center;
	background: #0e0e0e;
	padding: 20px;
	border-radius: 4px;
	border: 1px solid #303030;
}

.opening h2 {
	padding: 0;
}

.opening p {
	margin-bottom: 0px;
}

.about {
	margin-bottom: 50px;
	background: #0e0e0e;
	padding: 20px;
	border-radius: 4px;
	border: 1px solid #303030;
}

.about h2 {
	padding: 0;
	text-align: center;
}

.about p {
	margin-bottom: 1em;
}

.about p:last-child {
	margin-bottom: 0;
}

.section {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 120px;
	gap: 60px;
}

.section:nth-child(even) {
	flex-direction: row-reverse;
}

.section:last-child {
	margin-bottom: 0px;
}

.content-block {
	flex: 1;
}

.visual-block {
	flex: 1;
	height: 300px;
	background: linear-gradient(145deg, #0a0a0a, #111827);
	border: 1px solid #303030;
	border-radius: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.visual-block::after {
	content: "";
	position: absolute;
	width: 150px;
	height: 150px;
	background: #1f6def;
	filter: blur(100px);
	opacity: 0.15;
}

.visual-block.brand {
	padding: 10px;
}

.content-block h3 {
	color: #fff;
	font-size: 2rem;
	margin-top: 0;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 15px;
}

/*.content-block h3::before {
	content: "";
	width: 12px;
	height: 12px;
	background-color: #1f6def;
	border-radius: 50%;
	box-shadow: 0 0 15px #1f6def;
}*/

.content-block p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin: 0;
}

.content-block ul {
	margin: 10px 0 0;
}

.content-block li {
	font-size: 1.1rem;
	margin-bottom: 15px;
	margin-left: 30px;
	position: relative;
}

@media (max-width: 768px) {
	.section, .section:nth-child(even) {
		flex-direction: column;
		margin-bottom: 80px;
	}

	.section:last-child {
		margin-bottom: 0px;
	}

	.content-block h3 {
		justify-content: center;
	}

	.visual-block {
		/*width: 100%;
		height: 200px;*/
		border-radius: 16px;
	}
}

.contact-info .info-line {
	display: flex;
	align-items: center;
	gap: 12px;
}

.contact-info > div {
	margin-bottom: 50px;
}

.contact-info > div:last-child {
	margin-bottom: 0px;
}

.contact-info svg {
	width: 18px;
	height: 18px;
	fill: #b9d6ff;
	flex-shrink: 0;
}

.contact-info a {
	color: #fff;
	text-decoration: none;
}

.contact-info a:hover {
	color: #81b5ff;
}
