/* Portfolio Inline Styles - Tailwind Replacement */
/* Generated to eliminate external CDN dependency for strict CSP */

/* CSS Reset & Base */
*,
::before,
::after {
	box-sizing: border-box;
	border-width: 0;
	border-style: solid;
	border-color: #e5e7eb;
}

html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	tab-size: 4;
	font-family:
		-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
		Arial, sans-serif;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	line-height: inherit;
}

/* Dark mode */
.dark {
	color-scheme: dark;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: inherit;
}

a {
	color: inherit;
	text-decoration: inherit;
}

button {
	font-family: inherit;
	font-size: 100%;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
	padding: 0;
	background-color: transparent;
	background-image: none;
}

/* Display utilities */
.hidden {
	display: none;
}
.block {
	display: block;
}
.inline-block {
	display: inline-block;
}
.inline {
	display: inline;
}
.flex {
	display: flex;
}
.inline-flex {
	display: inline-flex;
}
.grid {
	display: grid;
}

/* Flexbox utilities */
.flex-row {
	flex-direction: row;
}
.flex-col {
	flex-direction: column;
}
.flex-wrap {
	flex-wrap: wrap;
}
.flex-grow {
	flex-grow: 1;
}
.items-center {
	align-items: center;
}
.items-baseline {
	align-items: baseline;
}
.justify-center {
	justify-content: center;
}
.justify-between {
	justify-content: space-between;
}
.gap-1 {
	gap: 0.25rem;
}
.gap-2 {
	gap: 0.5rem;
}
.gap-3 {
	gap: 0.75rem;
}
.gap-4 {
	gap: 1rem;
}
.gap-6 {
	gap: 1.5rem;
}
.gap-8 {
	gap: 2rem;
}
.gap-x-8 {
	column-gap: 2rem;
}
.gap-x-12 {
	column-gap: 3rem;
}
.gap-y-2 {
	row-gap: 0.5rem;
}
.gap-y-8 {
	row-gap: 2rem;
}

/* Grid utilities */
.grid-cols-1 {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
	.md\:grid-cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.md\:flex {
		display: flex;
	}
	.md\:hidden {
		display: none;
	}
}

/* Spacing utilities */
.m-0 {
	margin: 0;
}
.mx-auto {
	margin-left: auto;
	margin-right: auto;
}
.mx-4 {
	margin-left: 1rem;
	margin-right: 1rem;
}
.my-8 {
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.my-16 {
	margin-top: 4rem;
	margin-bottom: 4rem;
}
.mt-2 {
	margin-top: 0.5rem;
}
.mt-4 {
	margin-top: 1rem;
}
.mt-6 {
	margin-top: 1.5rem;
}
.mt-8 {
	margin-top: 2rem;
}
.mt-16 {
	margin-top: 4rem;
}
.mb-1 {
	margin-bottom: 0.25rem;
}
.mb-2 {
	margin-bottom: 0.5rem;
}
.mb-3 {
	margin-bottom: 0.75rem;
}
.mb-4 {
	margin-bottom: 1rem;
}
.mb-6 {
	margin-bottom: 1.5rem;
}
.mb-8 {
	margin-bottom: 2rem;
}
.mb-16 {
	margin-bottom: 4rem;
}
.p-2 {
	padding: 0.5rem;
}
.p-6 {
	padding: 1.5rem;
}
.p-8 {
	padding: 2rem;
}
.px-2 {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}
.px-3 {
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}
.px-4 {
	padding-left: 1rem;
	padding-right: 1rem;
}
.px-6 {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
.py-1 {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}
.py-2 {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
.py-8 {
	padding-top: 2rem;
	padding-bottom: 2rem;
}
.pt-20 {
	padding-top: 5rem;
}
.pt-40 {
	padding-top: 10rem;
}
.pb-8 {
	padding-bottom: 2rem;
}

/* Width & Height */
.w-8 {
	width: 2rem;
}
.w-64 {
	width: 16rem;
}
.w-fit {
	width: fit-content;
}
.h-8 {
	height: 2rem;
}
.h-full {
	height: 100%;
}
.min-h-screen {
	min-height: 100vh;
}
.max-w-4xl {
	max-width: 56rem;
}

/* Position */
.fixed {
	position: fixed;
}
.relative {
	position: relative;
}
.top-0 {
	top: 0;
}
.top-4 {
	top: 1rem;
}
.left-0 {
	left: 0;
}
.left-4 {
	left: 1rem;
}
.right-4 {
	right: 1rem;
}
.left-1\/2 {
	left: 50%;
}
.-translate-x-1\/2 {
	transform: translateX(-50%);
}
.-translate-x-full {
	transform: translateX(-100%);
}
.z-50 {
	z-index: 50;
}
.z-\[60\] {
	z-index: 60;
}

/* Text utilities */
.text-xs {
	font-size: 0.75rem;
	line-height: 1rem;
}
.text-sm {
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.text-base {
	font-size: 1rem;
	line-height: 1.5rem;
}
.text-lg {
	font-size: 1.125rem;
	line-height: 1.75rem;
}
.text-xl {
	font-size: 1.25rem;
	line-height: 1.75rem;
}
.text-2xl {
	font-size: 1.5rem;
	line-height: 2rem;
}
.text-3xl {
	font-size: 1.875rem;
	line-height: 2.5rem;
}
.text-4xl {
	font-size: 2.25rem;
	line-height: 2.5rem;
}
.text-5xl {
	font-size: 3rem;
	line-height: 3.5rem;
}
.font-medium {
	font-weight: 500;
}
.font-bold {
	font-weight: 700;
}
.font-mono {
	font-family: ui-monospace, monospace;
}
.font-space-grotesk {
	font-family:
		-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
		Arial, sans-serif;
}
.text-center {
	text-align: center;
}
.leading-relaxed {
	line-height: 1.625;
}
.tracking-wider {
	letter-spacing: 0.05em;
}
.antialiased {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.underline {
	text-decoration-line: underline;
}
.whitespace-pre-wrap {
	white-space: pre-wrap;
}

/* Colors - Light mode */
.text-white {
	color: #fff;
}
.text-black {
	color: #000;
}
.text-gray-500 {
	color: #737373;
}
.text-gray-600 {
	color: #525252;
}
.text-gray-700 {
	color: #404040;
}
.text-gray-800 {
	color: #262626;
}
.text-gray-900 {
	color: #181818;
}
.text-red-500 {
	color: #ef4444;
}

.bg-white {
	background-color: #fff;
}
.bg-gray-100 {
	background-color: #f5f5f5;
}
.bg-gray-200 {
	background-color: #e5e5e5;
}
.bg-gray-800 {
	background-color: #262626;
}
.bg-gray-800\/80 {
	background-color: rgba(38, 38, 38, 0.8);
}
.bg-white\/70 {
	background-color: rgba(255, 255, 255, 0.7);
}

/* Colors - Dark mode */
.dark .dark\:text-white {
	color: #fff;
}
.dark .dark\:text-gray-300 {
	color: #d4d4d4;
}
.dark .dark\:text-gray-400 {
	color: #a3a3a3;
}
.dark .dark\:text-gray-500 {
	color: #737373;
}
.dark .dark\:text-gray-600 {
	color: #525252;
}
.dark .dark\:text-gray-800 {
	color: #262626;
}
.dark .dark\:bg-\[\#18181b\] {
	background-color: #18181b;
}
.dark .dark\:bg-gray-700 {
	background-color: #404040;
}
.dark .dark\:bg-gray-800 {
	background-color: #262626;
}
.dark .dark\:bg-gray-900 {
	background-color: #181818;
}
.dark .dark\:bg-gray-200\/80 {
	background-color: rgba(229, 229, 229, 0.8);
}
.dark .dark\:bg-gray-800\/70 {
	background-color: rgba(38, 38, 38, 0.7);
}

/* Border utilities */
.border {
	border-width: 1px;
}
.border-t {
	border-top-width: 1px;
}
.border-gray-300 {
	border-color: #d4d4d4;
}
.border-gray-600 {
	border-color: #525252;
}
.dark .dark\:border-gray-600 {
	border-color: #525252;
}
.dark .dark\:border-gray-700 {
	border-color: #404040;
}

.rounded {
	border-radius: 0.25rem;
}
.rounded-md {
	border-radius: 0.375rem;
}
.rounded-full {
	border-radius: 9999px;
}

/* Shadow utilities */
.shadow-lg {
	box-shadow:
		0 10px 15px -3px rgb(0 0 0 / 0.1),
		0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Backdrop utilities */
.backdrop-blur-sm {
	backdrop-filter: blur(4px);
}

/* Transitions */
.transition-colors {
	transition-property: color, background-color, border-color;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
}
.transition-transform {
	transition-property: transform;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
}
.duration-300 {
	transition-duration: 300ms;
}

/* Hover states */
.hover\:text-gray-900:hover {
	color: #181818;
}
.hover\:bg-gray-100:hover {
	background-color: #f5f5f5;
}
.hover\:bg-gray-200:hover {
	background-color: #e5e5e5;
}
.dark .dark\:hover\:text-white:hover {
	color: #fff;
}
.dark .dark\:hover\:bg-gray-700:hover {
	background-color: #404040;
}
.dark .dark\:hover\:bg-gray-800:hover {
	background-color: #262626;
}

/* Animations */
@keyframes blurIn {
	0% {
		filter: blur(5px);
		opacity: 0;
	}
	100% {
		filter: blur(0);
		opacity: 1;
	}
}

.animate-blur-in {
	animation: blurIn 0.7s ease-out forwards;
}

/* Contact SVG color inheritance for light/dark mode */
.contact-svg-link svg text {
	fill: #525252; /* gray-600 */
}

.dark .contact-svg-link svg text {
	fill: #a3a3a3; /* gray-400 */
}

.contact-svg-link:hover svg text {
	fill: #181818; /* gray-900 */
}

.dark .contact-svg-link:hover svg text {
	fill: #fff; /* white */
}

/* Custom utilities */
.scroll-smooth {
	scroll-behavior: smooth;
}

/* Responsive utilities */
@media (min-width: 768px) {
	.md\:flex {
		display: flex;
	}
	.md\:hidden {
		display: none;
	}
}

/* ARIA & Focus utilities */
[role="dialog"][aria-hidden="true"] {
	pointer-events: none;
}

button:focus {
	outline: 2px solid transparent;
	outline-offset: 2px;
}

button:focus-visible {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
}
