/**
 * MK Tax & Accounting - Main Stylesheet
 *
 * Custom styles that supplement Tailwind CSS.
 *
 * @package mkbm
 * @since 1.0.0
 */

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-gradient {
	background: linear-gradient(135deg, rgba(10, 25, 41, 0.85) 0%, rgba(26, 54, 93, 0.8) 40%, rgba(36, 59, 83, 0.85) 100%),
		url('https://images.unsplash.com/photo-1545194445-dddb8f4487c6?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

/* ==========================================================================
   Glass Morphism (Navbar on scroll)
   ========================================================================== */

.glass {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

/* ==========================================================================
   Gradient Text
   ========================================================================== */

.gradient-text {
	background: linear-gradient(135deg, #1a365d 0%, #2d6a4f 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* ==========================================================================
   Card Hover Effect
   ========================================================================== */

.card-hover {
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
	transform: translateY(-8px);
	box-shadow: 0 25px 50px -12px rgba(26, 54, 93, 0.15);
}

/* ==========================================================================
   Scroll Fade-In Animation
   ========================================================================== */

.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================================
   Line Accent (decorative underline)
   ========================================================================== */

.line-accent::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #c9a84c, #e8c45c);
	margin-top: 1rem;
}

.line-accent-center::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #c9a84c, #e8c45c);
	margin: 1rem auto 0;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
	* {
		-webkit-print-color-adjust: exact !important;
		print-color-adjust: exact !important;
		color-adjust: exact !important;
	}

	.fade-in {
		opacity: 1 !important;
		transform: none !important;
	}

	section,
	footer {
		page-break-before: always;
		break-before: always;
		page-break-inside: avoid;
		break-inside: avoid;
	}

	section:first-of-type {
		page-break-before: avoid;
		break-before: avoid;
	}

	.hero-gradient {
		min-height: auto !important;
		height: auto !important;
		padding-top: 80px;
		padding-bottom: 120px;
	}

	.card-hover,
	.grid > div {
		page-break-inside: avoid;
		break-inside: avoid;
	}

	nav {
		position: relative !important;
	}
}
