/* =====================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ===================================== */
:root {
	--pink-light: #fdf2f8;
	--pink-soft: #fce7f3;
	--pink-medium: #f9a8d4;
	--pink-bright: #ec4899;
	--pink-dark: #be185d;
	--green-soft: #dcfce7;
	--green-medium: #86efac;
	--brown-soft: #fed7aa;
	--brown-medium: #fdba74;
	--purple-dark: #7c3aed;

	/* Text colors */
	--text-primary: #4a5568;
	--text-secondary: #6b7280;

	/* Background colors */
	--bg-primary: linear-gradient(135deg, var(--pink-light) 0%, var(--pink-soft) 100%);
	--bg-secondary: white;
	--bg-nav: rgba(253, 242, 248, 0.95);

	/* Typography */
	--font-primary: 'Nunito', sans-serif;
	--font-heading: 'Georgia', 'Times New Roman' serif;

	/* Spacing */
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 2rem;
	--spacing-lg: 3rem;
	--spacing-xl: 4rem;

	/* Border radius */
	--radius-sm: 15px;
	--radius-md: 20px;
	--radius-lg: 25px;
	--radius-xl: 30px;

	/* Shadows */
	--shadow-sm: 0 4px 15px rgba(236, 72, 153, 0.1);
	--shadow-md: 0 8px 25px rgba(236, 72, 153, 0.1);
	--shadow-lg: 0 10px 30px rgba(236, 72, 153, 0.2);

	/* Transitions */
	--transition-fast: 0.2s ease;
	--transition-normal: 0.3s ease;
	--transition-slow: 0.5s ease;
}

/* Dark mode variables */
.dark-mode {
	--pink-light: #1a0f17;
	--pink-soft: #2e1a29;
	--pink-medium: #9d4b79;
	--pink-bright: #000000;
	--pink-dark: #f0bbd8;
	--green-soft: #132e1a;
	--green-medium: #489c6a;
	--brown-soft: #3d2e1d;
	--brown-medium: #8b5f33;

	/* Text colors */
	--text-primary: #e2e8f0;
	--text-secondary: #a0aec0;

	/* Background colors */
	--bg-primary: linear-gradient(135deg, #150d13 0%, #1f1520 100%);
	--bg-secondary: #2d232c;
	--bg-nav: rgba(29, 17, 25, 0.95);

	/* Shadows */
	--shadow-sm: 0 4px 15px rgba(236, 72, 153, 0.05);
	--shadow-md: 0 8px 25px rgba(236, 72, 153, 0.05);
	--shadow-lg: 0 10px 30px rgba(236, 72, 153, 0.1);
}

/* =====================================
   BASE STYLES
   ===================================== */
* {
	box-sizing: border-box;
}

body {
	font-family: var(--font-primary);
	background: var(--bg-primary);
	min-height: 100vh;
	color: var(--text-primary);
	overflow-x: hidden;
	line-height: 1.6;
}

/* =====================================
   THEME TOGGLE STYLES
   ===================================== */
.theme-toggle {
	display: flex;
	align-items: center;
}

.theme-switch {
	opacity: 0;
	position: absolute;
}

.theme-switch-label {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.25rem;
	width: 60px;
	height: 30px;
	background: linear-gradient(45deg, var(--pink-soft), var(--pink-medium));
	border-radius: 30px;
	cursor: pointer;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: var(--transition-normal);
}

.theme-switch-label:hover {
	transform: scale(1.05);
}

.toggle-circle {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: white;
	transition: var(--transition-normal);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.sun,
.moon {
	font-size: 16px;
	line-height: 1;
	z-index: 1;
}

.sun {
	margin-left: 4px;
}

.moon {
	margin-right: 4px;
}

.theme-switch:checked+.theme-switch-label .toggle-circle {
	transform: translateX(30px);
}

.dark-mode .theme-switch-label {
	background: linear-gradient(45deg, var(--pink-soft), var(--pink-medium));
}

.dark-mode .toggle-circle {
	background: #2d232c;
}

/* =====================================
   FLOATING DECORATIVE ELEMENTS
   ===================================== */
.floating-hearts {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

.heart {
	position: absolute;
	font-size: 1.25rem;
	color: var(--pink-medium);
	opacity: 0.3;
	animation: float 6s ease-in-out infinite;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
	}

	50% {
		transform: translateY(-20px) rotate(5deg);
	}
}

/* =====================================
   NAVIGATION
   ===================================== */
nav {
	position: fixed;
	top: 0;
	width: 100%;
	background: var(--bg-nav);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	/* Safari support */
	padding: var(--spacing-sm) var(--spacing-md);
	z-index: 100;
	border-bottom: 3px solid var(--pink-medium);
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	color: var(--pink-dark);
	text-decoration: none;
	transition: var(--transition-normal);
}

.logo:hover {
	transform: scale(1.05);
}

.nav-links {
	display: flex;
	list-style: none;
	gap: var(--spacing-md);
	margin: 0;
	padding: 0;
}

.nav-links a {
	text-decoration: none;
	color: var(--pink-dark);
	font-weight: 600;
	padding: var(--spacing-xs) var(--spacing-sm);
	border-radius: var(--radius-md);
	transition: var(--transition-normal);
}

.nav-links a:hover {
	background: var(--pink-medium);
	color: white;
	transform: translateY(-2px);
}

/* =====================================
   MAIN CONTENT
   ===================================== */
main {
	margin-top: 80px;
	padding: var(--spacing-md);
}

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

/* =====================================
   HERO SECTION
   ===================================== */
.hero {
	text-align: center;
	padding: var(--spacing-xl) 0;
	background: linear-gradient(135deg, var(--pink-soft), var(--green-soft));
	border-radius: var(--radius-xl);
	margin-bottom: var(--spacing-lg);
	position: relative;
	overflow: hidden;
}

.hero h1 {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5vw, 3rem);
	color: var(--pink-dark);
	margin-bottom: var(--spacing-sm);
}

.hero p {
	font-size: clamp(1.1rem, 2.5vw, 1.3rem);
	color: var(--text-secondary);
	max-width: 600px;
	margin: 0 auto var(--spacing-md);
}

.cta-button {
	display: inline-block;
	background: var(--pink-bright);
	color: white;
	padding: var(--spacing-sm) var(--spacing-md);
	border-radius: var(--radius-lg);
	text-decoration: none;
	font-weight: 700;
	transition: var(--transition-normal);
	box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

/* =====================================
   SECTION STYLES
   ===================================== */
.section {
	margin-bottom: var(--spacing-xl);
	padding: var(--spacing-lg);
	background: var(--bg-secondary);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	border: 3px solid var(--pink-soft);
	position: relative;
	font-weight: 200;
}

.section-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 4vw, 2.5rem);
	color: var(--pink-dark);
	text-align: center;
	margin-top: var(--spacing-md);
	position: relative;
	font-weight: 200;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: var(--pink-medium);
	border-radius: 2px;
	font-weight: 200;
}

/* =====================================
   CARDS GRID
   ===================================== */
.cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--spacing-md);
	margin-top: var(--spacing-lg);
}

.card {
	background: var(--pink-light);
	padding: var(--spacing-md);
	border-radius: var(--radius-md);
	border: 2px solid var(--pink-soft);
	transition: var(--transition-normal);
	position: relative;
	overflow: hidden;
}

.card::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle, var(--pink-medium) 0%, transparent 70%);
	opacity: 0.1;
	transition: var(--transition-normal);
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: var(--pink-medium);
}

.card:hover::before {
	opacity: 0.2;
}

.card h3 {
	font-family: var(--font-heading);
	color: var(--pink-dark);
	margin-bottom: var(--spacing-sm);
	font-size: 1.3rem;
	font-weight: 200;
}

.card p {
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: var(--spacing-sm);
}

.card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-xs);
	margin-top: var(--spacing-sm);
}

.tag {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--pink-medium);
	color: white;
	padding: 0.3rem 0.8rem;
	border-radius: var(--radius-sm);
	font-size: 0.8rem;
	font-weight: 600;
}

/* =====================================
   RESEARCH SECTION
   ===================================== */
.research-card {
	background: linear-gradient(135deg, var(--green-soft), var(--pink-light));
}

.paper-button-container {
	display: flex;
	justify-content: center;
	margin-top: 1.5rem;
}

.paper-button {
	display: inline-block;
	padding: 0.6rem 1.2rem;
	background: linear-gradient(135deg, var(--pink-bright) 0%, var(--pink-dark) 100%);
	color: white;
	border-radius: 2rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 4px 10px rgba(201, 122, 199, 0.3);
	transition: all 0.3s ease;
	border: none;
	font-size: 0.9rem;
}

.paper-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 7px 15px rgba(201, 122, 199, 0.5);
}

.paper-button:active {
	transform: translateY(-1px);
}

/* Ensure proper dark mode styling */
.dark-mode .paper-button {
	background: linear-gradient(135deg, var(--pink-medium) 0%, var(--purple-dark) 100%);
	color: white;
}

.research-modal-content {
	padding: 1.5em;
	font-family: 'Nunito', sans-serif;
	color: #222;
	background: #fff;
	border-radius: 12px;
	max-width: 1000px;
	margin: 0 auto;
}

.research-modal-header {
	display: flex;
	justify-content: center;
}

.research-modal-abstract h2 {
	margin-top: 0;
}

.research-modal-figure {
	text-align: center;
}

.figure-caption {
	font-size: 0.95em;
	color: #555;
	margin-top: 0.5em;
}

.research-modal-summary h4 {
	margin-bottom: 0.5em;
}

.research-modal-summary ul {
	margin: 0 0 0 1.2em;
	padding: 0;
}

@media (max-width: 700px) {
	.research-modal-content {
		padding: 0.5em;
		max-width: 98vw;
	}
}

/* =====================================
   HOBBIES SECTION
   ===================================== */
.hobbies-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-top: var(--spacing-md);
}

.hobby-card {
	background: var(--brown-soft);
	padding: 1.5rem;
	border-radius: var(--radius-sm);
	text-align: center;
	border: 2px solid var(--brown-medium);
	transition: var(--transition-normal);
}

.hobby-card:hover {
	transform: scale(1.05);
}

.hobby-icon {
	font-size: 3rem;
	margin-bottom: var(--spacing-sm);
}

.hobby-card h3 {
	font-family: var(--font-heading);
	color: var(--pink-dark);
	margin-bottom: var(--spacing-xs);
}

.hobby-card p {
	color: var(--text-secondary);
	font-size: 0.9rem;
}

/* =====================================
   BLOG SECTION
   ===================================== */
.blog-preview {
	background: linear-gradient(135deg, var(--pink-soft), var(--green-soft));
	padding: var(--spacing-md);
	border-radius: var(--radius-md);
	text-align: center;
	margin-top: var(--spacing-md);
}

.blog-preview h3 {
	font-family: var(--font-heading);
	color: var(--pink-dark);
	margin-bottom: var(--spacing-sm);
}

.blog-preview p {
	color: var(--text-secondary);
	line-height: 1.6;
}

/* =====================================
   CONTACT SECTION
   ===================================== */
.contact-links {
	display: flex;
	justify-content: center;
	gap: var(--spacing-md);
	margin-top: var(--spacing-md);
	flex-wrap: wrap;
}

.contact-link {
	display: flex;
	align-items: center;
	gap: var(--spacing-xs);
	padding: var(--spacing-sm) var(--spacing-md);
	background: var(--pink-bright);
	color: white;
	text-decoration: none;
	border-radius: var(--radius-lg);
	font-weight: 600;
	transition: var(--transition-normal);
}

.contact-link:hover {
	background: var(--pink-dark);
	transform: translateY(-2px);
}

/* =====================================
   FOOTER
   ===================================== */
footer {
	background: var(--pink-dark);
	color: white;
	text-align: center;
	padding: var(--spacing-md);
	margin-top: var(--spacing-xl);
}

/* Add this rule to fix the footer text color in dark mode */
.dark-mode footer {
	color: var(--pink-soft);
	/* This sets the text to a darker color in dark mode */
}

footer p {
	margin: 0;
}

/* =====================================
   RESPONSIVE DESIGN
   ===================================== */
@media (max-width: 768px) {
	.nav-links {
		display: none;
	}

	.section {
		padding: var(--spacing-md) 1.5rem;
	}

	.contact-links {
		flex-direction: column;
		align-items: center;
	}

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

	.hobbies-grid {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}

	.theme-toggle {
		position: absolute;
		top: 1rem;
		right: 1rem;
	}

	.hero {
		padding: 40px 20px;
		/* Reduce overall padding */
		min-height: auto;
		/* Let content determine height instead of fixed height */
	}

	.hero h1 {
		margin-bottom: 15px;
		/* Reduce space after heading */
		font-size: 2rem;
		/* Slightly smaller heading on mobile */
	}

	.hero p {
		margin-bottom: 20px;
		/* Reduce space after paragraph */
		font-size: 1rem;
		/* Ensure paragraph text is readable but not too large */
	}

	.cta-button {
		margin-top: 15px;
		/* Less space before button */
	}

	/* If you have a container div around your text, target that too */
	.hero-content {
		gap: 15px;
		/* If using flexbox with gap */
	}

	.gallery-slide {
		height: 350px;
	}

	.modal-content {
		width: 95%;
		padding: var(--spacing-md);
	}

	#music-gallery-slides .gallery-slide video {
		max-height: 50vh;
	}

	.gallery-modal .prev-btn,
	.gallery-modal .next-btn {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.work-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.work-date {
		margin-top: 0.5rem;
	}

	/* --- Fix bullet alignment for desktop --- */
	.work-bullets {
		margin: 0.5rem 0 0 1.5rem;
		/* or 1.25rem, adjust as needed */
		padding-left: 0;
		/* Remove padding */
		list-style: disc outside;
		/* Use outside bullets */
	}

	.work-bullets li {
		padding-left: 0;
		/* Remove extra padding */
		text-indent: 0;
		/* No text indent */
		margin-bottom: 0.35rem;
		line-height: 1.6;
		font-size: 1rem;
		color: var(--text-primary);
		position: relative;
	}

}

@media (max-width: 480px) {
	:root {
		--spacing-sm: 0.75rem;
		--spacing-md: 1.5rem;
		--spacing-lg: 2rem;
		--spacing-xl: 2.5rem;
	}

	/* Hero section fixes */
	.hero {
		flex-direction: column;
		padding: 1.5rem 1rem;
		text-align: center;
	}

	.hero h1 {
		font-size: 1.8rem;
		margin-bottom: 0.5rem;
	}

	.hero p {
		font-size: 0.9rem;
		margin-bottom: 0.75rem;
	}

	.cta-button {
		width: auto;
		max-width: 90%;
		margin: 0.5rem auto 0;
	}

	/* Combine hero-content styles */
	.hero-content {
		flex: 1;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	/* Combine hero-image styles */
	.hero-image {
		flex: 0 0 220px;
		margin-top: 1rem;
		width: 100%;
		max-width: 200px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.hero-image img {
		width: 200px;
		height: 200px;
		border-radius: 50%;
		object-fit: cover;
		border: 4px solid var(--pink-medium);
	}

	.section {
		padding: var(--spacing-md) var(--spacing-sm);
	}

	.nav-container {
		padding: 0 var(--spacing-sm);
	}

	.gallery-slide {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, 1fr);
		gap: 20px;
		min-width: 100%;
		align-items: center;
		justify-items: center;
		padding: 20px;
		/* Add padding inside the slide */
		box-sizing: border-box;
		/* Ensure padding doesn't expand slide size */
	}

	.gallery-container {
		height: auto;
		max-height: none;
		overflow: visible;
	}

	/* Fix gallery view to remove height restrictions */
	.gallery-view {
		overflow: visible;
		height: auto;
	}

	/* Allow slides container to expand vertically */
	.gallery-slides {
		height: auto;
	}

	/* Ensure modal content expands properly */
	.modal-content {
		max-height: none;
		overflow-y: visible;
		padding-bottom: 60px;
		/* Space for navigation buttons */
	}

	.gallery-slide img {
		width: 100%;
		height: auto;
		/* Change to auto to maintain aspect ratio */
		max-height: 300px;
		/* Limit maximum height */
		object-fit: contain;
		border-radius: var(--radius-sm);
		box-shadow: var(--shadow-md);
	}

	/* Junimo adjustments */
	.large-junimo img {
		width: 50px;
		height: 50px;
	}

	/* Navigation buttons */
	.prev-btn,
	.next-btn {
		width: 30px;
		height: 30px;
		font-size: 1rem;
	}

	/* Keep music gallery as is */
	#music-gallery-slides .gallery-slide video {
		max-height: 40vh;
	}

	.gallery-modal .prev-btn,
	.gallery-modal .next-btn {
		width: 36px;
		height: 36px;
		font-size: 18px;
	}

	.gallery-modal .prev-btn {
		left: 10px;
	}

	.gallery-modal .next-btn {
		right: 10px;
	}

	.parallax-cat,
	.pixelbabycat-img,
	.large-junimo {
		display: none !important;
		/* Use !important to override any other display rules */
	}

	/* --- Fix bullet alignment for desktop --- */
	.work-bullets {
		margin: 0.5rem 0 0 1.5rem;
		/* or 1.25rem, adjust as needed */
		padding-left: 0;
		/* Remove padding */
		list-style: disc outside;
		/* Use outside bullets */
	}

	.work-bullets li {
		padding-left: 0;
		/* Remove extra padding */
		text-indent: 0;
		/* No text indent */
		margin-bottom: 0.35rem;
		line-height: 1.6;
		font-size: 1rem;
		color: var(--text-primary);
		position: relative;
	}
}

/* =====================================
   ACCESSIBILITY IMPROVEMENTS
   ===================================== */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.floating-hearts {
		display: none;
	}
}

/* Focus styles for better accessibility */
a:focus,
button:focus {
	outline: 2px solid var(--pink-bright);
	outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
	:root {
		--pink-light: #f8f9fa;
		--pink-soft: #e9ecef;
		--pink-medium: #6f42c1;
		--pink-bright: #495057;
		--pink-dark: #212529;
	}

	.dark-mode {
		--pink-light: #000;
		--pink-soft: #111;
		--pink-medium: #6f42c1;
		--pink-bright: #e9ecef;
		--pink-dark: #f8f9fa;
	}
}


/* Parallax scrolling cat image */
.parallax-cat {
	position: fixed;
	bottom: 40px;
	left: 70px;
	z-index: 50;
	width: 130px;
	height: 130px;
	transition: transform 3s ease-out;
	display: none;
	cursor: pointer;
}

.parallax-cat img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.2s ease-out;
}

.parallax-cat:hover img {
	transform: scale(1.1);
	/* Slightly increase size on hover */
}

/* Only show on larger screens */
@media screen and (min-width: 768px) {

	.parallax-cat,
	.pixelbabycat-img,
	.large-junimo {
		display: block !important;
	}
}

/* =====================================
   JUNIMO ANIMATIONS
   ===================================== */
/*.junimos {*/
/*	position: fixed;*/
/*	top: 0;*/
/*	left: 0;*/
/*	width: 100%;*/
/*	height: 100%;*/
/*	pointer-events: none;*/
/*	z-index: 2;*/
/*}*/

/*.junimo {*/
/*	position: absolute;*/
/*	font-size: 2.75rem;*/
/*	opacity: 0.7;*/
/*	animation: slide-down 9s linear forwards;*/
/*}*/

/*.junimo-left {*/
/*	left: 5%;*/
/*}*/

/*.junimo-right {*/
/*	right: 5%;*/
/*}*/

.large-junimo {
	position: absolute;
	top: 10px;
	right: 20px;
	z-index: 10;
}

.large-junimo img {
	width: 140px;
	height: 140px;
	animation: bounce 3s ease-in-out infinite;
}



@keyframes bounce {

	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-10px) rotate(5deg);
	}
}

/* Make sure the hero section has position: relative */
/*.hero {*/
/*	position: relative;*/
/*	!* your existing styles *!*/
/*}*/


@keyframes slide-down {
	0% {
		transform: translateY(-50px) rotate(0deg);
		opacity: 0;
	}

	10% {
		opacity: 0.7;
	}

	90% {
		opacity: 0.7;
	}

	100% {
		transform: translateY(calc(100vh + 50px)) rotate(360deg);
		opacity: 0;
	}
}

/* Make Junimos visible near the hero section */
.junimo-left:nth-child(1) {
	left: 5%;
}

.junimo-left:nth-child(2) {
	left: 8%;
}

.junimo-left:nth-child(3) {
	left: 3%;
}

.junimo-right:nth-child(4) {
	right: 5%;
}

.junimo-right:nth-child(5) {
	right: 8%;
}

.junimo-right:nth-child(6) {
	right: 3%;
}

/* Add support for dark mode */
.dark-mode .junimo {
	filter: brightness(0.85);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
	.junimos {
		display: none;
	}
}

.junimo img {
	width: 30px;
	height: 30px;
}





/* Sound button styling */
.sound-button {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.2rem;
	margin-left: 10px;
	padding: 5px;
	border-radius: 50%;
	transition: transform 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sound-button:hover {
	transform: scale(1.1);
	background-color: rgba(255, 255, 255, 0.2);
}

/* About Panel Styles */
.about-panel {
	position: fixed;
	top: 0;
	left: -350px;
	/* Start off-screen */
	width: 350px;
	height: 100vh;
	background-color: rgba(253, 242, 248, 0.9);
	/* Light pink with transparency */
	z-index: 1000;
	transition: transform var(--transition-normal);
	box-shadow: var(--shadow-lg);
	overflow-y: auto;
}

.dark-mode .about-panel {
	background-color: rgba(46, 26, 41, 0.9);
	/* Dark mode background */
}

.about-panel.active {
	transform: translateX(350px);
}

.back-arrow {
	position: absolute;
	top: 40px;
	left: 40px;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--pink-dark);
	transition: var(--transition-fast);
}

.back-arrow:hover {
	transform: scale(1.1);
}

.about-content {
	padding: 60px 25px 25px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.profile-picture-container {
	width: 270px;
	height: 270px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 25px;
	border: 3px solid var(--pink-medium);
	box-shadow: var(--shadow-md);
}

.profile-picture {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-content h2 {
	font-family: var(--font-heading);
	color: var(--pink-dark);
	margin-bottom: 0px;
}

.about-content p {
	color: var(--text-primary);
	margin-bottom: 5px;
	text-align: center;
}

.download-resume {
	display: block;
	width: fit-content;
	margin: 20px auto 0;
	padding: 10px 20px;
	background-color: var(--pink-dark);
	color: white;
	text-decoration: none;
	border-radius: 30px;
	font-weight: 600;
	transition: var(--transition-fast);
	text-align: center;
	box-shadow: var(--shadow-sm);
}

.download-resume:hover {
	background-color: var(--pink-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.dark-mode .download-resume {
	background-color: var(--pink-medium);
}

.dark-mode .download-resume:hover {
	background-color: var(--pink-medium);
}

.github-icon,
.linkedin-icon,
.email-icon,
.resume-icon {
	width: 20px;
	height: 20px;
	fill: white;
	margin-right: 4px;
	transition: var(--transition-fast);
}

.contact-link:hover .github-icon,
.contact-link:hover .linkedin-icon,
.contact-link:hover .email-icon,
.contact-link:hover .resume-icon {
	transform: scale(1.1);
}


/* Art Gallery Modal */
.art-gallery-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 1001;
	overflow-y: auto;
}

.modal-content {
	position: relative;
	background: var(--bg-secondary);
	margin: 50px auto;
	padding: var(--spacing-lg);
	width: 90%;
	max-width: 900px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	border: 3px solid var(--pink-medium);
}

.close-modal {
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 2rem;
	background: none;
	border: none;
	color: var(--pink-dark);
	cursor: pointer;
	transition: var(--transition-fast);
}

.close-modal:hover {
	transform: scale(1.1);
	color: var(--pink-bright);
}

.modal-content h2 {
	font-family: var(--font-heading);
	color: var(--pink-dark);
	text-align: center;
	margin-bottom: var(--spacing-md);
}

.gallery-container {
	width: 100%;
	margin: var(--spacing-md) 0;
}

.gallery-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.gallery-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 1001;
	overflow-y: auto;
}

.prev-btn,
.next-btn {
	background: var(--pink-medium);
	color: white;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	cursor: pointer;
	transition: var(--transition-fast);
}

.prev-btn:hover,
.next-btn:hover {
	background: var(--pink-dark);
	transform: scale(1.1);
}

.gallery-view {
	flex: 1;
	overflow: hidden;
	margin: 0 var(--spacing-sm);
}

.gallery-slides {
	display: flex;
	transition: transform var(--transition-normal);
}

/* Grid layout for gallery slides */
.gallery-slide {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 20px;
	min-width: 100%;
	align-items: center;
	justify-items: center;
}

.gallery-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-md);
	max-width: 350px;
	max-height: 350px;
}

/* Ensure video fills the slide in the gallery modal */
.gallery-slide video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* Ensures the whole video is visible */
	border-radius: var(--radius-sm);
}

.gallery-title {
	text-align: center;
	color: var(--text-primary);
	margin-top: var(--spacing-md);
	font-size: 1.2rem;
	font-weight: 600;
	min-height: 2rem;
}

/* Dark mode specific styling */
.dark-mode .gallery-slide img {
	box-shadow: var(--shadow-sm);
}

@media (min-width: 1024px) {
	.modal-content {
		max-width: 1200px;
		width: 95%;
		max-height: 90vh;
		overflow-y: auto;
	}

}

@media screen and (min-width: 1200px) {
	.parallax-cat {
		bottom: 10px;
		left: 40px;
		width: 120px;
		height: 120px;
	}

	.pixelbabycat-img {
		bottom: 50px;
		right: 80px;
		width: 150px;
		height: 150px;
	}


}


@media (max-width: 600px) {
	.modal-content {
		padding: 6px;
		max-width: 100vw;
		max-height: 100vh;
	}

	.gallery-slide {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(4, 1fr);
		gap: 8px;
		padding: 4px 0;
	}

	.gallery-slide img {
		max-width: 95vw;
		height: auto;
	}

	.prev-btn,
	.next-btn {
		font-size: 1.5rem;
		top: unset;
		bottom: 12px;
		transform: none;
		border-radius: 8px;
		box-shadow: none;
		background: #eee;
	}

	.prev-btn {
		left: 20%;
	}

	.next-btn {
		right: 20%;
	}

	.section {
		padding: 1rem 0.5rem;
	}

	.container {
		padding: 0 0.5rem;
	}

	.work-card,
	.card {
		padding: 1rem 0.7rem;
		margin: 0.5rem 0;
	}

	.work-card,
	.card {
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		border-radius: 10px;
	}

	body {
		font-size: 1.05rem;
		line-height: 1.7;
	}

	.work-bullets {
		margin-left: 0 !important;
		padding-left: 0 !important;
		list-style-position: inside;
	}

	.work-bullets li {
		padding-left: 0 !important;
		text-indent: 0 !important;
	}

	.work-header h3,
	.card h3 {
		font-size: 1.1rem;
		margin-bottom: 0.5em;
		word-break: break-word;
	}

	.work-tools {
		font-size: 0.95rem;
		display: block;
		margin-bottom: 0.5em;
		word-break: break-word;
	}
}

/* =====================================
   MUSIC GALLERY STYLES
   ===================================== */
.music-gallery-container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

/* For music gallery, we want only one video per slide */
#music-gallery-slides .gallery-slide {
	display: flex;
	flex-direction: column;
	/* Changed to column to stack elements vertically */
	align-items: center;
	justify-content: center;
	min-width: 100%;
	height: auto;
	padding: 10px;
}

/* Style the video container specifically for music gallery */
#music-gallery-slides .gallery-slide video {
	max-width: 100%;
	max-height: 70vh;
	box-shadow: var(--shadow-lg);
	border-radius: var(--radius-md);
}

/* Fix button positioning for music gallery */
.gallery-modal .prev-btn,
.gallery-modal .next-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 50px;
	height: 50px;
	background: var(--pink-medium);
	color: white;
	border: none;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	transition: var(--transition-fast);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery-modal .prev-btn {
	left: 20px;
}

.gallery-modal .next-btn {
	right: 20px;
}

.gallery-modal .prev-btn:hover,
.gallery-modal .next-btn:hover {
	background: var(--pink-dark);
	transform: translateY(-50%) scale(1.1);
}

.pixelbabycat-img {
	position: fixed;
	bottom: 40px;
	right: 70px;
	z-index: 50;
	width: 130px;
	height: 130px;
	background: transparent;
	/* subtle light background */
	border-radius: 0px;
	transition: box-shadow 0.2s, background 0.2s;
}

/* Updated to use the .dark-mode class */
.dark-mode .pixelbabycat-img {
	background: rgba(255, 255, 255, 0.15);
	/* Subtle light background for dark mode */
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
	/* Soft outline for dark mode */
}

.work-experience-container {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}

.work-card {
	background-color: var(--bg-primary);
	border-radius: 15px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 1.5rem 2rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	width: 100%;
	border-left: 4px solid var(--pink-medium);
}

.work-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.work-header {
	display: flex;
	font-size: 1.1rem;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 0rem;
	flex-wrap: wrap;
}

.work-date {
	color: var(--text-secondary);
	font-style: italic;
	font-size: 1.1rem;
}

.work-content p {
	margin-bottom: 0px;
}



.workplace-link {
	color: var(--pink-dark);
	text-decoration: none;
	font-weight: 500;
	transition: color var(--transition-normal);
	font-size: 1.1rem;
	margin-top: 0px;
	display: block;
}

.workplace-link:hover {
	color: var(--pink-bright);
	text-decoration: underline;
}

.title-workplace {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.work-project {
	background: var(--pink-light);
	border-radius: 12px;
	border: none
		/*1.5px solid var(--pink-light)*/
	;
	margin-bottom: 1.2rem;
	padding: 1.1rem 1.3rem 1.1rem 1.3rem;
	box-shadow: 0 2px 8px rgba(236, 72, 153, 0.04);
	transition: box-shadow 0.2s;
}

.work-project:last-child {
	margin-bottom: 0;
}

.dark-mode .work-project {
	background: var(--bg-secondary);
	border-color: var(--pink-medium);
}

.work-project h4 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	color: var(--pink-dark);
	font-size: 1.13rem;
	font-weight: 700;
}

.work-tools {
	font-size: 0.97rem;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
	font-style: italic;
}

/* --- Fix bullet alignment for desktop --- */
.work-bullets {
	margin: 0.5rem 0 0 1.5rem;
	/* or 1.25rem, adjust as needed */
	padding-left: 0;
	/* Remove padding */
	list-style: disc outside;
	/* Use outside bullets */
}

.work-bullets li {
	padding-left: 0;
	/* Remove extra padding */
	text-indent: 0;
	/* No text indent */
	margin-bottom: 0.35rem;
	line-height: 1.6;
	font-size: 1rem;
	color: var(--text-primary);
	position: relative;
}

.work-bullets li::marker {
	color: var(--pink-medium);
	font-size: 1.1em;
}

.dark-mode .work-bullets li {
	color: var(--text-primary);
}

.dark-mode .work-bullets li::marker {
	color: var(--pink-dark);
}

/* ...existing code... */
.collapsible-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background: none !important;
	border: none !important;
	outline: none;
	cursor: pointer;
	padding: 0;
	font: inherit;
	color: inherit;
	margin-bottom: 0.3rem;
	transition: color 0.2s;
	box-shadow: none !important;
}

.collapsible-header h4 {
	margin: 0;
	font-size: 1.13rem;
	font-weight: 700;
	flex: 1;
	text-align: left;
}

/* Remove focus outline from collapsible-header button */
.collapsible-header:focus {
	outline: none !important;
	box-shadow: none !important;
}

.collapsible-icon {
	font-size: 1.3em;
	margin-left: 0.5em;
	transition: transform 0.2s;
}

.collapsible[open] .collapsible-icon,
.collapsible-header[aria-expanded="true"] .collapsible-icon {
	transform: rotate(45deg);
}

.collapsible-content {
	animation: fadeIn 0.2s;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* ...existing code... */
/* Photography Gallery Styles - Masonry Layout */
#photography-modal {
	display: none;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	overflow-y: auto;
}

#photography-modal .modal-content {
	background-color: var(--bg-secondary);
	margin: 20px auto;
	padding: 20px;
	width: 90%;
	max-width: 1200px;
	border-radius: var(--radius-lg);
	position: relative;
}

#photography-gallery-grid {
	column-count: 4;
	/* 4 columns on desktop */
	column-gap: 10px;
	padding: 0 4px;
}

.photo-item {
	break-inside: avoid;
	/* Prevents images from breaking across columns */
	margin-bottom: 10px;
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background-color: var(--bg-primary);
}

.photo-item img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

.photo-item:hover img {
	transform: scale(1.05);
}

/* Remove photo captions as requested */
.photo-caption {
	display: none;
}

/* Responsive layout adjustments */
@media screen and (max-width: 992px) {
	#photography-gallery-grid {
		column-count: 3;
	}
}

@media screen and (max-width: 768px) {
	#photography-gallery-grid {
		column-count: 2;
	}
}

@media screen and (max-width: 480px) {
	#photography-gallery-grid {
		column-count: 1;
	}
}