/* Snowflake Animation */
.snowflakes {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: hidden;
}

.snowflake {
	position: absolute;
	top: -100px;
	color: rgba(255, 255, 255, 0.7);
	user-select: none;
	pointer-events: none;
	animation: fall linear infinite, sway ease-in-out infinite;
	filter: blur(0.5px);
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.snowflake:nth-child(1) {
	left: 10%;
	animation-duration: 10s, 4s;
	animation-delay: 0s;
	font-size: 20px;
	filter: blur(0px);
}

.snowflake:nth-child(2) {
	left: 20%;
	animation-duration: 12s, 3s;
	animation-delay: 2s;
	font-size: 16px;
	filter: blur(1px);
}

.snowflake:nth-child(3) {
	left: 30%;
	animation-duration: 8s, 4s;
	animation-delay: 4s;
	font-size: 24px;
	filter: blur(0px);
}

.snowflake:nth-child(4) {
	left: 40%;
	animation-duration: 14s, 3.5s;
	animation-delay: 1s;
	font-size: 18px;
	filter: blur(0.5px);
}

.snowflake:nth-child(5) {
	left: 50%;
	animation-duration: 11s, 5s;
	animation-delay: 3s;
	font-size: 22px;
	filter: blur(0px);
}

.snowflake:nth-child(6) {
	left: 60%;
	animation-duration: 9s, 3s;
	animation-delay: 5s;
	font-size: 20px;
	filter: blur(1px);
}

.snowflake:nth-child(7) {
	left: 70%;
	animation-duration: 13s, 4s;
	animation-delay: 2.5s;
	font-size: 16px;
	filter: blur(0.5px);
}

.snowflake:nth-child(8) {
	left: 80%;
	animation-duration: 10.5s, 3.5s;
	animation-delay: 4.5s;
	font-size: 24px;
	filter: blur(0px);
}

.snowflake:nth-child(9) {
	left: 90%;
	animation-duration: 12.5s, 4.5s;
	animation-delay: 1.5s;
	font-size: 18px;
	filter: blur(1px);
}

.snowflake:nth-child(10) {
	left: 15%;
	animation-duration: 15s, 3s;
	animation-delay: 3.5s;
	font-size: 22px;
	filter: blur(0px);
}

.snowflake:nth-child(11) {
	left: 5%;
	animation-duration: 13s, 4s;
	animation-delay: 0.5s;
	font-size: 19px;
	filter: blur(0.5px);
}

.snowflake:nth-child(12) {
	left: 25%;
	animation-duration: 11.5s, 3.5s;
	animation-delay: 2.5s;
	font-size: 21px;
	filter: blur(0px);
}

.snowflake:nth-child(13) {
	left: 55%;
	animation-duration: 10s, 5s;
	animation-delay: 4s;
	font-size: 17px;
	filter: blur(1px);
}

.snowflake:nth-child(14) {
	left: 75%;
	animation-duration: 14s, 3s;
	animation-delay: 1s;
	font-size: 23px;
	filter: blur(0px);
}

.snowflake:nth-child(15) {
	left: 95%;
	animation-duration: 12s, 4s;
	animation-delay: 3s;
	font-size: 20px;
	filter: blur(0.5px);
}

@keyframes fall {
	from {
		transform: translateY(-200px);
	}

	to {
		transform: translateY(calc(100vh + 200px));
	}
}

@keyframes sway {
	0% {
		transform: translateX(0px);
	}

	50% {
		transform: translateX(20px);
	}

	100% {
		transform: translateX(0px);
	}
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Custom button hover effects */
.btn-glow:hover {
	box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

/* Line clamp utility */
.line-clamp-4 {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.snowflake {
		font-size: 16px !important;
	}
}

/* Hero form positioning */
@media (min-width: 1024px) {
	.hero-form {
		margin-right: 0;
		padding-right: 0;
	}
}

/* Clean form styles */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
	outline: none !important;
}

/* Radio button custom styles */
input[type="radio"]:checked~div {
	background-color: #DCFCE7;
	border-color: #165B33;
}

/* Google Places Autocomplete styling */
.pac-container {
	border-radius: 8px;
	border: 2px solid #E5E7EB;
	margin-top: 2px;
	font-family: inherit;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.pac-item {
	padding: 8px 12px;
	border-bottom: 1px solid #eee;
}

.pac-item:hover {
	background-color: #FEE2E2;
}

.pac-item-selected {
	background-color: #FEE2E2;
}

.pac-matched {
	font-weight: bold;
	color: #C41E3A;
}

/* Zigzag section divider */
.zigzag-divider {
	position: relative;
	padding-top: 40px;
}

.zigzag-divider::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background: linear-gradient(135deg, transparent 25%, #fff 25%, #fff 50%, transparent 50%, transparent 75%, #fff 75%);
	background-size: 40px 40px;
}

/* Custom card tilt effect */
.tilt-card {
	transition: all 0.3s ease;
	transform-style: preserve-3d;
}

.tilt-card:hover {
	transform: rotateY(-5deg) rotateX(5deg) translateZ(10px);
}

/* Animated gradient text */
.gradient-text {
	background: linear-gradient(45deg, #C41E3A, #FFD700, #C41E3A);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

/* Custom radio/checkbox styles */
.custom-checkbox {
	appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #C41E3A;
	border-radius: 4px;
	position: relative;
	cursor: pointer;
	transition: all 0.3s ease;
}

.custom-checkbox:checked {
	background: #C41E3A;
	border-color: #C41E3A;
}

.custom-checkbox:checked::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-weight: bold;
}

/* Card hover effects */
.service-card:hover {
	transform: translateY(-5px);
	transition: transform 0.3s ease;
}

/* Navigation transparency on scroll */
.nav-scrolled {
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
}

/* Christmas light string pattern */
.light-string-bg {
	position: relative;
	overflow: hidden;
}

.light-string-bg::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		radial-gradient(circle at 10% 20px, #FFD700 0%, transparent 2%),
		radial-gradient(circle at 30% 20px, #C41E3A 0%, transparent 2%),
		radial-gradient(circle at 50% 20px, #FFD700 0%, transparent 2%),
		radial-gradient(circle at 70% 20px, #C41E3A 0%, transparent 2%),
		radial-gradient(circle at 90% 20px, #FFD700 0%, transparent 2%),
		linear-gradient(to right, #333 0%, #333 100%);
	background-size: 100% 40px, 100% 40px, 100% 40px, 100% 40px, 100% 40px, 100% 2px;
	background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 20px;
	background-repeat: repeat-x;
	opacity: 0.1;
	z-index: -1;
}

/* Unique section shapes */
.slanted-section {
	position: relative;
	padding-top: 80px;
	margin-top: -80px;
}

.slanted-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background: inherit;
	transform: skewY(-3deg);
	transform-origin: top left;
}

/* Logo styling for gradient nav */
.gradient-nav .logo-colored {
	filter: none;
	transition: filter 0.3s ease;
	object-fit: cover;
	object-position: center;
	margin: -10px 0;
}

/* When nav scrolls and becomes red */
nav.nav-scrolled .logo-colored {
	filter: brightness(0) invert(1);
}

nav.nav-scrolled {
	background: #C41E3A !important;
}

nav.nav-scrolled .absolute {
	display: none;
}

/* Nav links styling */
.gradient-nav .nav-link {
	color: #1F2937;
}

.gradient-nav .nav-link:hover {
	color: #4B5563;
}

/* Nav links styling on scrolled nav */
nav.nav-scrolled .nav-link {
	color: white !important;
}

nav.nav-scrolled .nav-link:hover {
	color: #FEE2E2 !important;
}

/* Phone button styling on scrolled nav */
nav.nav-scrolled .phone-button {
	background-color: white !important;
	color: #C41E3A !important;
	border: 2px solid white;
}

nav.nav-scrolled .phone-button:hover {
	background-color: #FEE2E2 !important;
	transform: scale(1.05);
}


/* Dropdown styles for scrolled nav */
nav.nav-scrolled .dropdown-item {
	color: #1f2937 !important;
}

nav.nav-scrolled .dropdown-item:hover {
	background: linear-gradient(to right, #C41E3A, #991b1b) !important;
	color: white !important;
}

nav.nav-scrolled .dropdown-item:hover p {
	color: #fee2e2 !important;
}

nav.nav-scrolled .dropdown-item:hover svg {
	color: white !important;
}