* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Arial", sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f8f9fa;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header and Navigation */
header {
	background: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.nav-container {
	display: flex;
	align-items: center;
	flex: 1;
	justify-content: space-between;
}

.nav-links {
	display: flex;
	list-style: none;
	gap: 2rem;
	flex: 1;
	justify-content: center;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: bold;
	font-size: 1.2rem;
	color: #2c3e50;
}

.logo-img {
	height: 50px;
	width: auto;
	transition: filter 0.3s ease;
}

.email-link {
	color: #0c62ee;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.email-link:hover {
	color: #084dbb;
	text-decoration: underline;
}

.nav-links a {
	text-decoration: none;
	color: #333;
	font-weight: 500;
	transition: color 0.3s ease;
}

.nav-links a:hover {
	color: #0c62ee;
}

.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background: #333;
	margin: 3px 0;
	transition: 0.3s;
}

/* Theme Toggle */
.nav-right {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.theme-toggle {
	margin-right: 0;
}

.theme-toggle-btn {
	background: none;
	border: 2px solid #333;
	border-radius: 50px;
	padding: 8px 12px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 5px;
	transition: all 0.3s ease;
	font-size: 1rem;
}

.theme-toggle-btn:hover {
	background: #333;
	color: white;
}

.sun-icon,
.moon-icon {
	transition: opacity 0.3s ease;
}

.moon-icon {
	display: none;
}

/* Hero Section */
.hero {
	background:
		linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
		url("https://rasmussenbikealtoona.com/wp-content/uploads/2023/11/RassysHero-1-scaled.jpg");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: white;
	padding: 120px 0 80px;
	text-align: center;
	margin-top: 70px;
}

.hero-content h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
	animation: fadeInUp 1s ease;
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	animation: fadeInUp 1s ease 0.2s;
	animation-fill-mode: both;
}

.cta-button {
	border: #86b2fa solid 2px;
	color: #fff;
	background-image: linear-gradient(to top, #0c62ee, #6ca2f8);
	border-radius: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
	background-size: 100% auto;
	font-family: inherit;
	font-size: 17px;
	padding: 0.6em 1.5em;
	cursor: pointer;
	transition: all 0.3s ease;
}

.cta-button:hover {
	background-position: right center;
	background-size: 200% auto;
	-webkit-animation: pulse 2s infinite;
	animation: pulse512 1.5s infinite;
}

@keyframes pulse512 {
	0% {
		box-shadow: 0 0 0 0 #0c62ee;
	}

	70% {
		box-shadow: 0 0 0 10px rgba(57 129 246 / 0%);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(57 129 246 / 0%);
	}
}

/* Services Section */
.services {
	padding: 80px 0;
	background: white;
}

.services h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	color: #2c3e50;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

.service-card {
	background: #f8f9fa;
	padding: 2rem;
	border-radius: 10px;
	text-align: center;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
	border: 1px solid #e9ecef;
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-icon {
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 2px solid #000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f9fa;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	margin: 0 auto 1rem;
}

.service-card h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: #2c3e50;
}

.service-card p {
	color: #666;
	line-height: 1.6;
}

/* Hours Section */
.hours {
	padding: 80px 0;
	background: #f8f9fa;
}

.hours h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	color: #2c3e50;
}

.hours-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.hours-card {
	background: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hours-card h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: #2c3e50;
	border-bottom: 2px solid #0c62ee;
	padding-bottom: 0.5rem;
}

.hours-card ul {
	list-style: none;
}

.hours-card li {
	padding: 0.5rem 0;
	border-bottom: 1px solid #eee;
}

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

.special-notice {
	text-align: center;
	background: #fff3cd;
	padding: 1rem;
	border-radius: 5px;
	border: 1px solid #ffeaa7;
	color: #856404;
}

.warning-icon {
	margin-right: 0.5rem;
	font-size: 1.2rem;
}

/* Contact Section */
.contact {
	padding: 80px 0;
	background: white;
}

.contact h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
	color: #2c3e50;
}

.contact-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.contact-item {
	text-align: center;
	padding: 2rem;
	background: #f8f9fa;
	border-radius: 10px;
}

.contact-item h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: #2c3e50;
}

.contact-item p {
	color: #666;
	font-size: 1.1rem;
}

.map-container {
	height: 400px;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid #e9ecef;
}

/* Footer */
footer {
	background: #2c3e50;
	color: white;
	text-align: center;
	padding: 2rem 0;
}

footer p {
	margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-container {
		flex-direction: column;
		gap: 1rem;
	}

	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: white;
		flex-direction: column;
		padding: 1rem;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}

	.nav-links.active {
		display: flex;
	}

	.hamburger {
		display: flex;
	}

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

	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}

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

	.hero-content h1 {
		font-size: 2rem;
	}

	.hero-content p {
		font-size: 1rem;
	}

	.services h2,
	.hours h2,
	.contact h2 {
		font-size: 2rem;
	}

	.hours-grid,
	.contact-info {
		grid-template-columns: 1fr;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	nav {
		padding: 1rem;
	}

	.hero {
		padding: 100px 0 60px;
		background-attachment: scroll;
	}

	.hero-content h1 {
		font-size: 1.8rem;
	}

	.service-card,
	.hours-card,
	.contact-item {
		padding: 1.5rem;
	}

	.service-icon {
		width: 60px;
		height: 60px;
		font-size: 2rem;
	}
}

/* Dark Mode Styles */
body.dark-mode {
	background-color: #1a1a1a;
	color: #e0e0e0;
}

body.dark-mode header {
	background: #2d2d2d;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

body.dark-mode .logo {
	color: #e0e0e0;
}

body.dark-mode .nav-links a {
	color: #e0e0e0;
}

body.dark-mode .nav-links a:hover {
	color: #0c62ee;
}

body.dark-mode .hamburger span {
	background: #e0e0e0;
}

body.dark-mode .theme-toggle-btn {
	border-color: #e0e0e0;
	color: #e0e0e0;
}

body.dark-mode .theme-toggle-btn:hover {
	background: #e0e0e0;
	color: #1a1a1a;
}

body.dark-mode .hero {
	background:
		linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
		url("https://rasmussenbikealtoona.com/wp-content/uploads/2023/11/RassysHero-1-scaled.jpg");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

body.dark-mode .services {
	background: #2d2d2d;
}

body.dark-mode .services h2,
body.dark-mode .hours h2,
body.dark-mode .contact h2 {
	color: #e0e0e0;
}

body.dark-mode .service-card {
	background: #3a3a3a;
	border: 1px solid #4a4a4a;
}

body.dark-mode .service-card h3 {
	color: #e0e0e0;
}

body.dark-mode .service-card p {
	color: #b0b0b0;
}

body.dark-mode .service-icon {
	background: #3a3a3a;
	border-color: #e0e0e0;
}

body.dark-mode .hours {
	background: #1a1a1a;
}

body.dark-mode .hours-card {
	background: #2d2d2d;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .hours-card h3 {
	color: #e0e0e0;
	border-bottom: 2px solid #0c62ee;
}

body.dark-mode .hours-card li {
	border-bottom: 1px solid #4a4a4a;
}

body.dark-mode .special-notice {
	background: #4a4a2a;
	border: 1px solid #6a6a3a;
	color: #e0e0e0;
}

body.dark-mode .contact {
	background: #2d2d2d;
}

body.dark-mode .contact-item {
	background: #3a3a3a;
}

body.dark-mode .contact-item h3 {
	color: #e0e0e0;
}

body.dark-mode .contact-item p {
	color: #b0b0b0;
}

body.dark-mode .map-container {
	border-color: #4a4a4a;
}

body.dark-mode .nav-links {
	background: #2d2d2d;
}

body.dark-mode .sun-icon {
	display: none;
}

body.dark-mode .moon-icon {
	display: inline;
}

body.dark-mode .logo-img {
	filter: brightness(0) invert(1);
}

body.dark-mode .email-link {
	color: #0c62ee;
}

body.dark-mode .email-link:hover {
	color: #3981f6;
}

/* Back to Top Button */
.back-to-top {
	position: fixed;
	bottom: 30px;
	left: 75%;
	transform: translateX(-50%) translateY(100px);
	background: #0c62ee;
	color: white;
	border: 2px solid #fff;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 1.5rem;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 1000;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
	background: #0a52d8;
	transform: translateX(-50%) translateY(0);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.back-to-top.show {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.back-to-top span {
	display: block;
	line-height: 1;
}
