/* ---------------------------------------------------------------------------------------------

	Theme Name: Björk
    Text Domain: bjork
	Version: 0.2.4
	Description: Björk is a minimal theme for blogs and personal websites. It features a sticky sidebar menu on desktop for quick and easy navigation, and the clean design puts your content front and center. Björk comes with seven different theme styles to choose from, and over 15 different block patterns that you can use to quickly build unique page layouts. Demo: https://andersnoren.se/themes/bjork/
	Tags: blog, portfolio, grid-layout, one-column, two-columns, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, sticky-post, threaded-comments, translation-ready, block-styles, wide-blocks, full-site-editing, left-sidebar
	Author: Anders Norén
	Author URI: https://andersnoren.se
	Theme URI: https://andersnoren.se/teman/bjork-wordpress-theme/
	License: GNU General Public License version 2.0
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Requires PHP: 5.6
	Tested up to: 6.6

	All files, unless otherwise stated, are released under the GNU General Public License
	version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

/* --------------------------------------------------------------------------------------------- */


body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

a { text-underline-offset: 0.2em; }

/* Input styles */

input, textarea, select, button {
	background-color: inherit;
	border-radius: 0;
	font-family: inherit;
	font-size: inherit;
	letter-spacing: inherit;
	margin: 0;
}

input, textarea, select {
	background-color: var( --wp--preset--color--background );
	border: .1rem solid var( --wp--preset--color--tertiary );
	border-radius: .4rem;
	box-sizing: border-box;
	color: var( --wp--preset--color--foreground );
	max-width: 100%;
	padding: .5em;
}

label {
	font-size: var( --wp--preset--font-size--small );
	font-weight: 500;
}

/* Editor Post Title */

.editor-post-title__input { 
	text-align: center;
}

/* Background Padding */

h1.has-background, 
h2.has-background, 
h3.has-background, 
h4.has-background, 
h5.has-background, 
h6.has-background,
p.has-background {
	padding: min( 1em, var( --wp--custom--spacing--small ) );
}

:where(.wp-block-group.has-background) {
	padding: min( 2em, var( --wp--custom--spacing--small ) );
}

/* Alignment Styles */

@media ( max-width: 780px ) {
	.wp-site-blocks > .has-global-padding > .wp-block-columns > .wp-block-column > .wp-block-post-content.has-global-padding > .alignfull {
		margin-left: calc(-1 * var(--wp--style--root--padding-left)) !important;
		margin-right: calc(-1 * var(--wp--style--root--padding-left)) !important;
		width: unset;
	}
}


/* ------------------------------------------- */
/*	Typography
/* ------------------------------------------- */


.has-huge-font-size,
.has-heading-1-font-size,
.has-heading-2-font-size,
.has-heading-3-font-size,
.has-heading-4-font-size,
.has-heading-5-font-size { 
	letter-spacing: var( --wp--custom--typography--letter-spacing--heading );
	line-height: var( --wp--custom--typography--line-height--headings--large ); 
}

.has-gigantic-font-size {
	letter-spacing: var( --wp--custom--typography--letter-spacing--gigantic );
	line-height: var( --wp--custom--typography--line-height--headings--gigantic ); 
}

.has-medium-font-size {
	letter-spacing: var( --wp--custom--typography--letter-spacing--body );
	line-height: var( --wp--custom--typography--line-height--body ); 
}

/* ------------------------------------------- */
/*	Layout
/* ------------------------------------------- */

@media ( min-width: 782px ) {
	:root:not(.editor-styles-wrapper) .site-header { display: none !important; }
}

.site-sidebar {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow-y: auto;
}

.admin-bar .site-sidebar {
	top: 32px;
	height: calc( 100vh - 32px );
}

.site-sidebar > .wp-block-group.is-vertical {
	height: 100%;
	justify-content: space-between;
}

:root:not(.editor-styles-wrapper) .site-sidebar {
	padding: var( --wp--preset--spacing--body-gutter );
}

@media ( max-width: 781px ) {
	:root:not(.editor-styles-wrapper) .site-sidebar-col { display: none !important; }
}

@media ( max-width: 500px ) {
	.theme-credit { display: none !important; }
}

/* ------------------------------------------- */
/*	Blocks
/* ------------------------------------------- */

.wp-block-avatar img {
	border-radius: 50%;
	height: auto;
	width: 100%;
}

#cancel-comment-reply-link {
	font-size: var( --wp--preset--font-size--small );
	font-weight: 500;
	text-decoration: none;
}

#cancel-comment-reply-link:hover {
	text-decoration: underline;
}

.wp-block-file {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
}

:root .wp-block-file__button:not(:only-child) { 
	margin-left: 0;
}

.wp-block-footnotes {
	font-size: var( --wp--preset--font-size--small );
}

.fn {
	font-size: var( --wp--preset--font-size--small );
	font-weight: 500;
}

.fn a {
	font-weight: 600;
	text-decoration: none;
}

.fn a,
.fn a:visited {
	color: var( --wp--preset--color--foreground );
}

.fn a:hover,
.fn a:focus {
	text-decoration: underline;
}

.wp-block-navigation__responsive-container-close svg { transform: scale( 1.25 ); }
.wp-block-navigation__responsive-container-open svg { transform: scale( 1.5, 1.25 ); }

.wp-block-query-pagination-numbers {
	gap: 0.5em;
}

:root .wp-block-query-pagination-numbers:first-child {
	margin-left: 0;
}

:root .wp-block-query-pagination-numbers:last-child {
	margin-right: 0;
}

[class^="wp-block-query-pagination-"][class*="-arrow"] {
	align-items: center;
	display: flex;
	font-weight: 600;
	text-decoration: none;
}

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
	position: relative;
}

.wp-block-query-pagination-previous:before,
.wp-block-query-pagination-next:before {
	background-color: var( --wp--preset--color--tertiary );
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: -1;
}

:root .wp-block-query-pagination-previous:before { left: 0; }
:root .wp-block-query-pagination-next:before { right: 0; }

:root .wp-block-query-pagination-previous-arrow { margin-right: .88em; }
:root .wp-block-query-pagination-next-arrow { margin-left: .88em; }

@media ( max-width: 600px ) {
	.wp-block-query-pagination-numbers:not(:only-child) {
		display: none;
	}
}

.has-drop-cap:not(:focus):first-letter {
	color: var( --wp--preset--color--primary );
	font-size: 4em;
	font-weight: 600;
	line-height: 1;
	margin: 0.1em 0.1em 0 0;
}

ol.wp-block-comment-template {
	list-style: none;
}

.wp-block-post-comments-form input:not([type=submit]), 
.wp-block-post-comments-form textarea {
	width: 100%;
}

.required-field-message,
.logged-in-as {
	font-size: var( --wp--preset--font-size--small );
}

.comment-reply-title {
	font-size: var( --wp--preset--font-size--heading-4 );
	font-weight: 600;
}

.wp-block-post-featured-image img {
	border-radius: 8px;
	height: auto;
	width: 100%;
}

.post-navigation-link-previous a:before { content: "← "; }
.post-navigation-link-next a:after { content: " →"; }

:root .wp-block-pullquote blockquote p {
	font-size: var( --wp--preset--font-size--heading-3 );
	font-weight: 600;
}

:root .wp-block-pullquote.has-text-align-left, 
:root .wp-block-pullquote.has-text-align-right {
	border-left: none;
	border-right: none;
	border-top: 4px solid var( --wp--preset--color--primary );
	padding-left: 0;
	padding-right: 0;
}

.wp-block-query-pagination > .wp-block-query-pagination-next, 
.wp-block-query-pagination > .wp-block-query-pagination-previous {
	flex-grow: 1;
}

.wp-block-query-pagination-next:only-child {
	margin-left: auto;
}

:root hr[class*="is-style-bjork-angled-separator"] {
	border: none;
	height: 2px;
	margin: 0;
	transform: skewY( -1deg );
	width: 50%;
}

:root hr.is-style-bjork-angled-separator-wide { width: 100% !important; }

.wp-block-search {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}

.wp-block-search .wp-block-search__label {
	font-size: var( --wp--preset--font-size--small );
	font-weight: 500;
}

.wp-block-search__input {
	flex-grow: 1;
	min-width: 200px;
}

.wp-block-search__button-inside .wp-block-search__inside-wrapper,
.wp-block-search__button-inside .wp-block-search__inside-wrapper .wp-block-search__input {
	border-radius: 999px;
}

.wp-block-search__button { 
	border-radius: 999px;
}

/* ------------------------------------------- */
/*	Modern Interactive Styles
/* ------------------------------------------- */

/* Hero Section Styles */
.hero-section {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	opacity: 0.3;
	animation: float 20s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0px) rotate(0deg); }
	50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem;
}

/* Emoji Welcome Animation */
.emoji-welcome {
	animation: bounce 2s ease-in-out infinite;
	display: inline-block;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
	40% { transform: translateY(-10px); }
	60% { transform: translateY(-5px); }
}

/* Main Title with Typewriter Effect */
.main-title {
	font-size: clamp(3rem, 8vw, 6rem);
	font-weight: 700;
	margin: 1rem 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	position: relative;
}

.main-title .highlight {
	color: var(--wp--preset--color--primary);
	-webkit-text-fill-color: var(--wp--preset--color--primary);
	position: relative;
}

.main-title .highlight::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--wp--preset--color--primary);
	border-radius: 2px;
	transform: scaleX(0);
	animation: underline 2s ease-in-out infinite;
}

@keyframes underline {
	0%, 100% { transform: scaleX(0); }
	50% { transform: scaleX(1); }
}

/* Subtitle Styles */
.subtitle {
	font-size: clamp(1.2rem, 3vw, 1.8rem);
	font-weight: 400;
	margin: 1rem 0 2rem 0;
	opacity: 0.9;
}

/* Hero Description */
.hero-description {
	font-size: clamp(1rem, 2.5vw, 1.3rem);
	line-height: 1.6;
	margin: 2rem 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	opacity: 0.8;
}

/* Interactive Buttons */
.hero-buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin: 3rem 0;
}

.primary-btn .wp-block-button__link,
.secondary-btn .wp-block-button__link,
.gallery-btn .wp-block-button__link {
	padding: 1rem 2rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1.1rem;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.primary-btn .wp-block-button__link {
	background: var(--wp--preset--color--primary);
	color: white;
	box-shadow: 0 10px 30px rgba(88, 87, 255, 0.3);
}

.primary-btn .wp-block-button__link:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 40px rgba(88, 87, 255, 0.4);
}

.secondary-btn .wp-block-button__link,
.gallery-btn .wp-block-button__link {
	background: transparent;
	border: 2px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}

.secondary-btn .wp-block-button__link:hover,
.gallery-btn .wp-block-button__link:hover {
	background: var(--wp--preset--color--primary);
	color: white;
	transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	animation: pulse 2s ease-in-out infinite;
}

.scroll-text {
	font-size: 0.9rem;
	opacity: 0.7;
	margin: 0;
}

@keyframes pulse {
	0%, 100% { opacity: 0.7; transform: translateX(-50%) translateY(0); }
	50% { opacity: 1; transform: translateX(-50%) translateY(-10px); }
}

/* Skills Section */
.skills-section {
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	padding: 6rem 0;
}

.section-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	margin-bottom: 4rem;
	text-align: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.skill-column {
	background: white;
	padding: 2rem;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	text-align: center;
}

.skill-column:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.skill-category {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: var(--wp--preset--color--primary);
}

.skill-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.skill-list li {
	padding: 0.5rem 0;
	font-size: 1rem;
	color: var(--wp--preset--color--secondary);
	transition: color 0.3s ease;
}

.skill-list li:hover {
	color: var(--wp--preset--color--primary);
}

/* Projects Preview */
.projects-preview {
	background: white;
	padding: 6rem 0;
}

.project-card {
	background: white;
	padding: 2.5rem;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-title {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--wp--preset--color--foreground);
}

.project-description {
	color: var(--wp--preset--color--secondary);
	line-height: 1.6;
	margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 6rem 0;
	text-align: center;
}

.cta-title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	margin-bottom: 2rem;
	color: white;
}

.cta-description {
	font-size: 1.2rem;
	line-height: 1.6;
	margin-bottom: 3rem;
	opacity: 0.9;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.cta-primary .wp-block-button__link,
.cta-secondary .wp-block-button__link {
	padding: 1rem 2rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1.1rem;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.cta-primary .wp-block-button__link {
	background: white;
	color: var(--wp--preset--color--primary);
}

.cta-primary .wp-block-button__link:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta-secondary .wp-block-button__link {
	background: transparent;
	border: 2px solid white;
	color: white;
}

.cta-secondary .wp-block-button__link:hover {
	background: white;
	color: var(--wp--preset--color--primary);
	transform: translateY(-3px);
}

/* Navigation Styles */
.main-navigation {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border-radius: 15px;
	padding: 1rem;
	margin: 1rem 0;
}

.main-navigation .wp-block-navigation-item {
	margin: 0.5rem 0;
}

.main-navigation .wp-block-navigation-item a {
	padding: 0.75rem 1rem;
	border-radius: 10px;
	transition: all 0.3s ease;
	display: block;
	text-decoration: none;
}

.main-navigation .wp-block-navigation-item a:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateX(5px);
}

/* About Page Styles */
.about-hero {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	position: relative;
	overflow: hidden;
}

.about-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	opacity: 0.3;
	animation: float 20s ease-in-out infinite;
}

.about-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem;
}

.about-emoji {
	font-size: 4rem;
	margin-bottom: 1rem;
	animation: bounce 2s ease-in-out infinite;
}

.about-title {
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 700;
	margin: 1rem 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.about-subtitle {
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	color: rgba(255, 255, 255, 0.9);
	margin: 1rem 0;
}

.about-content {
	background: white;
}

.section-heading {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 600;
	margin-bottom: 2rem;
	color: var(--wp--preset--color--foreground);
	position: relative;
}

.section-heading::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 60px;
	height: 3px;
	background: var(--wp--preset--color--primary);
	border-radius: 2px;
}

.about-text {
	font-size: 1.1rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
	color: var(--wp--preset--color--secondary);
}

.about-list {
	list-style: none;
	padding: 0;
	margin: 2rem 0;
}

.about-list li {
	padding: 0.75rem 0;
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--wp--preset--color--secondary);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.sidebar-heading {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 2rem;
	color: var(--wp--preset--color--foreground);
	text-align: center;
}

.fact-card {
	background: white;
	padding: 1.5rem;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	margin-bottom: 1.5rem;
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.fact-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.fact-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--primary);
}

.fact-content {
	font-size: 1rem;
	color: var(--wp--preset--color--secondary);
	margin: 0;
}

.about-skills {
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.skill-category-card {
	background: white;
	padding: 2rem;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	text-align: left;
}

.skill-category-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.skill-category-title {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: var(--wp--preset--color--primary);
	text-align: center;
}

.skill-list-detailed {
	list-style: none;
	padding: 0;
	margin: 0;
}

.skill-list-detailed li {
	padding: 0.75rem 0;
	font-size: 1rem;
	color: var(--wp--preset--color--secondary);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	transition: color 0.3s ease;
}

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

.skill-list-detailed li:hover {
	color: var(--wp--preset--color--primary);
}

.about-cta {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	text-align: center;
}

/* Work Page Styles */
.work-hero {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	position: relative;
	overflow: hidden;
}

.work-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	opacity: 0.3;
	animation: float 20s ease-in-out infinite;
}

.work-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem;
}

.work-emoji {
	font-size: 4rem;
	margin-bottom: 1rem;
	animation: bounce 2s ease-in-out infinite;
}

.work-title {
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 700;
	margin: 1rem 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.work-subtitle {
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	color: rgba(255, 255, 255, 0.9);
	margin: 1rem 0;
}

/* Project Filters */
.project-filters {
	background: white;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-buttons {
	flex-wrap: wrap;
}

.filter-btn .wp-block-button__link {
	padding: 0.75rem 1.5rem;
	border-radius: 25px;
	font-weight: 500;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.filter-btn.active .wp-block-button__link {
	background: var(--wp--preset--color--primary);
	color: white;
	border-color: var(--wp--preset--color--primary);
}

.filter-btn:not(.active) .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
}

.filter-btn:not(.active) .wp-block-button__link:hover {
	background: var(--wp--preset--color--primary);
	color: white;
	transform: translateY(-2px);
}

/* Projects Grid */
.projects-grid {
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.project-item {
	transition: all 0.3s ease;
}

.project-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.05);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.project-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
	margin: 0;
	overflow: hidden;
}

.project-image img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
	transform: scale(1.05);
}

.project-content {
	padding: 2rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.project-title {
	font-size: 1.4rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--wp--preset--color--foreground);
}

.project-description {
	color: var(--wp--preset--color--secondary);
	line-height: 1.6;
	margin-bottom: 1.5rem;
	flex-grow: 1;
}

.project-tech {
	margin-bottom: 1.5rem;
}

.tech-tags {
	font-size: 0.85rem;
	color: var(--wp--preset--color--primary);
	font-weight: 500;
	margin: 0;
	opacity: 0.8;
}

.project-content .wp-block-buttons {
	margin-top: auto;
}

.project-content .wp-block-button__link {
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	border-radius: 20px;
	transition: all 0.3s ease;
}

.project-content .wp-block-button__link:hover {
	transform: translateY(-2px);
}

/* Work CTA */
.work-cta {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	text-align: center;
}

/* Gallery Page Styles */
.gallery-hero {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	position: relative;
	overflow: hidden;
}

.gallery-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	opacity: 0.3;
	animation: float 20s ease-in-out infinite;
}

.gallery-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem;
}

.gallery-emoji {
	font-size: 4rem;
	margin-bottom: 1rem;
	animation: bounce 2s ease-in-out infinite;
}

.gallery-title {
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 700;
	margin: 1rem 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.gallery-subtitle {
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	color: rgba(255, 255, 255, 0.9);
	margin: 1rem 0;
}

/* Gallery Container */
.gallery-container {
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.gallery-controls {
	background: white;
	padding: 2rem;
	border-radius: 20px;
	margin-bottom: 2rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-btn .wp-block-button__link {
	padding: 0.75rem 1.5rem;
	border-radius: 25px;
	font-weight: 500;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.gallery-btn .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 3D Scene Container */
.scene-container {
	position: relative;
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	min-height: 600px;
}

#threejs-container {
	width: 100%;
	height: 600px;
	position: relative;
	cursor: grab;
}

#threejs-container:active {
	cursor: grabbing;
}

/* Loading Indicator */
.loading-indicator {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(255, 255, 255, 0.9);
	padding: 2rem;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	z-index: 10;
}

.loading-text {
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--wp--preset--color--primary);
	margin: 0;
	text-align: center;
}

/* Gallery Info Panel */
.gallery-info {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	padding: 1.5rem;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	max-width: 300px;
	z-index: 5;
}

.info-title {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--wp--preset--color--foreground);
}

.info-description {
	font-size: 0.9rem;
	line-height: 1.5;
	margin-bottom: 1rem;
	color: var(--wp--preset--color--secondary);
}

.info-instructions {
	list-style: none;
	padding: 0;
	margin: 0;
}

.info-instructions li {
	padding: 0.5rem 0;
	font-size: 0.85rem;
	color: var(--wp--preset--color--secondary);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-instructions li:last-child {
	border-bottom: none;
}

/* Item Details Modal */
.item-details {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 2rem;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	max-width: 90vw;
	max-height: 90vh;
	overflow-y: auto;
}

.item-details h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--wp--preset--color--foreground);
}

.item-details iframe,
.item-details img {
	width: 100%;
	max-width: 600px;
	height: auto;
	border-radius: 10px;
	margin-bottom: 1rem;
}

.item-details button {
	background: var(--wp--preset--color--primary);
	color: white;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 25px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.item-details button:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Gallery Content */
.gallery-content {
	background: white;
}

.content-category {
	background: white;
	padding: 2rem;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	text-align: center;
}

.content-category:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-title {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: var(--wp--preset--color--primary);
}

.content-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.content-list li {
	padding: 0.5rem 0;
	font-size: 1rem;
	color: var(--wp--preset--color--secondary);
	transition: color 0.3s ease;
}

.content-list li:hover {
	color: var(--wp--preset--color--primary);
}

/* Gallery CTA */
.gallery-cta {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	text-align: center;
}

/* Blog Page Styles */
.blog-hero {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	position: relative;
	overflow: hidden;
}

.blog-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	opacity: 0.3;
	animation: float 20s ease-in-out infinite;
}

.blog-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem;
}

.blog-emoji {
	font-size: 4rem;
	margin-bottom: 1rem;
	animation: bounce 2s ease-in-out infinite;
}

.blog-title {
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 700;
	margin: 1rem 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.blog-subtitle {
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	color: rgba(255, 255, 255, 0.9);
	margin: 1rem 0;
}

/* Blog Content */
.blog-content {
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Featured Post */
.featured-post {
	margin-bottom: 4rem;
}

.featured-post-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.featured-post-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured-post-image {
	margin: 0;
	overflow: hidden;
}

.featured-post-image img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.featured-post-card:hover .featured-post-image img {
	transform: scale(1.05);
}

.featured-post-content {
	padding: 2.5rem;
}

.featured-post-title {
	font-size: 1.8rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--wp--preset--color--foreground);
}

.featured-post-excerpt {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	color: var(--wp--preset--color--secondary);
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}

.post-date,
.post-category,
.read-time {
	font-size: 0.9rem;
	color: var(--wp--preset--color--primary);
	font-weight: 500;
	margin: 0;
}

.read-more-btn .wp-block-button__link {
	padding: 1rem 2rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1.1rem;
	background: var(--wp--preset--color--primary);
	color: white;
	transition: all 0.3s ease;
}

.read-more-btn .wp-block-button__link:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(88, 87, 255, 0.3);
}

/* Recent Posts */
.recent-posts {
	margin-bottom: 4rem;
}

.post-item {
	margin-bottom: 2rem;
}

.post-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.05);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.post-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.post-image {
	margin: 0;
	overflow: hidden;
}

.post-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
	transform: scale(1.05);
}

.post-content {
	padding: 1.5rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.post-title {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--wp--preset--color--foreground);
	line-height: 1.4;
}

.post-excerpt {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	color: var(--wp--preset--color--secondary);
	flex-grow: 1;
}

.post-meta-small {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
}

.post-date-small,
.read-time-small {
	font-size: 0.8rem;
	color: var(--wp--preset--color--primary);
	font-weight: 500;
	margin: 0;
}

/* Newsletter Signup */
.newsletter-signup {
	background: white;
	padding: 3rem;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	text-align: center;
	margin-bottom: 4rem;
}

.newsletter-title {
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--wp--preset--color--foreground);
}

.newsletter-description {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 2rem;
	color: var(--wp--preset--color--secondary);
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.newsletter-btn .wp-block-button__link,
.rss-btn .wp-block-button__link {
	padding: 1rem 2rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.newsletter-btn .wp-block-button__link {
	background: var(--wp--preset--color--primary);
	color: white;
}

.newsletter-btn .wp-block-button__link:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(88, 87, 255, 0.3);
}

.rss-btn .wp-block-button__link {
	background: transparent;
	border: 2px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}

.rss-btn .wp-block-button__link:hover {
	background: var(--wp--preset--color--primary);
	color: white;
	transform: translateY(-3px);
}

/* Blog CTA */
.blog-cta {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero-content {
		padding: 1rem;
	}
	
	.hero-buttons {
		flex-direction: column;
		align-items: center;
	}
	
	.skill-column,
	.skill-column .skill-column,
	.project-card {
		margin-bottom: 2rem;
	}
	
	.main-navigation {
		margin: 0.5rem 0;
	}
	
	.about-hero-content {
		padding: 1rem;
	}
	
	.fact-card {
		margin-bottom: 1rem;
	}
	
	.skill-category-card {
		margin-bottom: 2rem;
	}
	
	.work-hero-content {
		padding: 1rem;
	}
	
	.filter-buttons {
		flex-direction: column;
		align-items: center;
	}
	
	.project-item {
		margin-bottom: 2rem;
	}
	
	.gallery-hero-content {
		padding: 1rem;
	}
	
	.gallery-controls {
		padding: 1rem;
	}
	
	#threejs-container {
		height: 400px;
	}
	
	.gallery-info {
		position: relative;
		top: auto;
		right: auto;
		max-width: none;
		margin: 1rem;
	}
	
	.content-category {
		margin-bottom: 2rem;
	}
	
	.blog-hero-content {
		padding: 1rem;
	}
	
	.featured-post-content {
		padding: 1.5rem;
	}
	
	.featured-post-title {
		font-size: 1.5rem;
	}
	
	.post-meta {
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.newsletter-signup {
		padding: 2rem 1rem;
	}
	
	.newsletter-title {
		font-size: 1.5rem;
	}
}

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

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

.hero-content > * {
	animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
.hero-content > *:nth-child(6) { animation-delay: 0.6s; }

/* AI Stats Counter */
.ai-stats {
	text-align: center;
	margin: 2rem 0;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-counter {
	font-size: 1.3rem;
	font-weight: 500;
	color: var(--wp--preset--color--foreground);
	margin: 0 0 0.5rem 0;
}

.highlight-text {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 600;
}

.counter {
	font-size: 2rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	text-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.stats-years {
	font-size: 1rem;
	color: var(--wp--preset--color--secondary);
	margin: 0;
	opacity: 0.8;
}

/* AI Chat Widget */
.ai-chat-widget {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 1000;
	font-family: inherit;
}

.chat-toggle {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	cursor: pointer;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	animation: pulse 2s infinite;
}

.chat-toggle:hover {
	transform: scale(1.1);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.chat-container {
	position: absolute;
	bottom: 80px;
	right: 0;
	width: 350px;
	height: 500px;
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	display: none;
	flex-direction: column;
	overflow: hidden;
}

.chat-container.active {
	display: flex;
	animation: slideIn 0.3s ease;
}

.chat-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.chat-header h3 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
}

.chat-close {
	background: none;
	border: none;
	color: white;
	font-size: 20px;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background-color 0.2s;
}

.chat-close:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.chat-messages {
	flex: 1;
	padding: 1rem;
	overflow-y: auto;
	background: #f8f9fa;
}

.message {
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
	border-radius: 15px;
	max-width: 80%;
	word-wrap: break-word;
}

.message.bot {
	background: white;
	border: 1px solid #e9ecef;
	margin-right: auto;
}

.message.user {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	margin-left: auto;
}

.message p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.4;
}

.chat-input {
	padding: 1rem;
	background: white;
	border-top: 1px solid #e9ecef;
	display: flex;
	gap: 0.5rem;
}

.chat-input input {
	flex: 1;
	padding: 0.75rem;
	border: 1px solid #e9ecef;
	border-radius: 25px;
	font-size: 0.9rem;
	outline: none;
	transition: border-color 0.2s;
}

.chat-input input:focus {
	border-color: #667eea;
}

.chat-input button {
	padding: 0.75rem 1.5rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	border-radius: 25px;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.chat-input button:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

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

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

/* Responsive Design for AI Features */
@media (max-width: 768px) {
	.ai-stats {
		margin: 1.5rem 0;
		padding: 1rem;
	}
	
	.stats-counter {
		font-size: 1.1rem;
	}
	
	.counter {
		font-size: 1.5rem;
	}
	
	.chat-container {
		width: 300px;
		height: 400px;
		bottom: 70px;
		right: 10px;
	}
	
	.chat-toggle {
		width: 50px;
		height: 50px;
		font-size: 20px;
		bottom: 20px;
		right: 20px;
	}
}