/* ====================================
   CSS Variables
   ==================================== */
:root {
	--color-gray-light: #f5f5f5;
	--color-gray: #999;
	--color-gray-dark: #333;
	--accent-color: rgb(219, 197, 91);

	--font-primary: 'Outfit', 'Helvetica Neue', Roboto, Arial, sans-serif;

	--spacing-xs: 8px;
	--spacing-sm: 16px;
	--spacing-md: 24px;
	--spacing-lg: 48px;
	--spacing-xl: 64px;

	--transition: 300ms ease;

	--max-width: 1400px;
}

/* ====================================
   Reset & Base Styles
   ==================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-primary);
	background-color: #fff;
	color: #000;
	line-height: 1.6;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	/*
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
	*/
}

video {
	/* Hide video controls for autoplay experience */
	outline: none;
}

video::-webkit-media-controls {
	display: none!important;
}

video::-webkit-media-controls-enclosure {
	display: none!important;
}

video::-webkit-media-controls-panel {
	display: none!important;
}

video::-moz-media-controls {
	display: none!important;
}

a {
	color: #333;
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--color-gray-dark);
}

/* ====================================
   Typography
   ==================================== */
h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	line-height: 1.2;
	margin-bottom: var(--spacing-md);
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: var(--spacing-sm);
}

/* ====================================
   Layout
   ==================================== */
#main {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

.content {
	flex: 1;
	padding-top: 65px; /* Space for fixed header */
}

.page {
	padding: 0 0 60px;
	min-height: 60vh;
}

/* ====================================
   Header & Navigation
   ==================================== */
.header {
	background: linear-gradient(#fffd, #fff8);
	backdrop-filter: blur(8px);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	transition: padding 300ms ease;
	padding: 10px 0;
	will-change: transform;
}

.header.scrolled {
	padding: 4px 0;
}

.main-nav {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

.nav-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--spacing-md);
}

.nav-logo {
	display: block;
	height: 45px;
	flex-shrink: 0;
	margin-left: var(--spacing-md);
	transition: opacity 300ms ease;
}

.nav-logo h6 {
	font-size: 40px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 40px;
	padding: 0;
	margin: 0;

	transition: font-size 450ms ease, line-height 450ms ease;

	background: linear-gradient(
		120deg,
		#000 0%,
		#000 40%,
		#fff 50%,
		#000 60%,
		#000 100%
	);

	background-size: 200% 100%;
	background-position: 100% 0;
	-webkit-background-clip: text;
	background-clip: text;
	color: #000;
}

.nav-logo:hover h6 {
	-webkit-text-fill-color: transparent;
	color: transparent;
	animation: nav-logo-shine 1.5s ease forwards;
}

@keyframes nav-logo-shine {
	0% { background-position: 100% 0; }
	100% { background-position: -20% 0; }
}

.header.scrolled .nav-logo h6 {
	font-size: 20px;
	line-height: 20px;
}

.header.scrolled .nav-logo {
	height: 20px;
}

.nav-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-md);
	align-items: center;
	margin-left: auto;
}

.nav-list li {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 400;
}

.nav-list li a {
	text-decoration: none;
}

.nav-list li.active a {
	font-weight: 600;
	color: #000;
}

.nav-list a {
	position: relative;
	display: inline-block;
	padding: 8px 0;
}

.nav-list a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	height: 1px;
	background-color: #333;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 300ms ease;
}

.nav-list li.active a::after {
	background-color: #000;
	height: 2px;
}

.nav-list a:hover::after {
	transform: scaleX(1);
}

.nav-list .lang-switch {
	border-left: 1px solid rgba(0, 0, 0, 0.2);
	padding-left: var(--spacing-md);
}

/* Hamburger Menu */
.nav-hamburger {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	z-index: 1001;
}

.nav-hamburger span {
	display: block;
	width: 25px;
	height: 2px;
	background-color: #000;
	transition: all 300ms ease;
}

.nav-hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.nav-hamburger.active span:nth-child(2) {
	opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/* ====================================
   Breadcrumb
   ==================================== */
.breadcrumb {
	background-color: var(--color-gray-light);
	padding: var(--spacing-sm) 0;
	font-size: 0.875rem;
}

.breadcrumb-list {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--spacing-md);
	list-style: none;
	display: flex;
	gap: var(--spacing-xs);
	flex-wrap: wrap;
}

.breadcrumb-list li::after {
	content: '›';
	margin-left: var(--spacing-xs);
	color: var(--color-gray);
}

.breadcrumb-list li:last-child::after {
	content: '';
}

.breadcrumb-list li.active {
	color: var(--color-gray);
}

/* ====================================
   Home Page
   ==================================== */
.home {
	margin: 0;
	padding-top: 0!important; /* Override default content padding for full-height hero */
}

.home-hero {
	position: relative;
	height: 100vh;
	width: 100%;
	overflow: hidden;
}

/* Homepage Carousel */
.home-carousel {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.carousel-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
	opacity: 1;
}

.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.home-content {
	text-align: center;
	color: #fff;
	padding: var(--spacing-md);
}

.home-title {
	font-size: 4rem;
	font-weight: 300;
	margin-bottom: var(--spacing-sm);
	text-transform: uppercase;
	letter-spacing: 4px;
}

.home-subtitle {
	font-size: 1.25rem;
	font-weight: 300;
	letter-spacing: 2px;
}

.home-text-block {
	padding: 60px 20px;
	background: var(--background-color);
}

.home-text-block .container {
	max-width: 900px;
	margin: 0 auto;
	line-height: 1.8;
}

.home-text-block p {
	margin-bottom: 1em;
}

.home-text-block h2,
.home-text-block h3 {
	margin-top: 1.5em;
	margin-bottom: 0.75em;
}

/* Home Exhibitions Section */
.home-exhibitions {
	padding: 60px 20px;
	background: var(--color-gray-light);
}

.home-exhibitions__title {
	font-size: 1.5rem;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-align: center;
	margin: 0 0 40px 0;
}

.home-exhibitions__list {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.home-exhibition-card {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	background: #fff;
	padding: 24px;
}

.home-exhibition-card__image {
	flex: 0 0 140px;
	width: 140px;
	border-radius: 5px;
	aspect-ratio: 1;
	overflow: hidden;
}

.home-exhibition-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-exhibition-card__content {
	flex: 1;
	min-width: 0;
}

.home-exhibition-card__title {
	font-size: 18px;
	font-weight: 600;
	margin: 6px 0 8px 0;
	line-height: 1.3;
}

.home-exhibition-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	font-size: 13px;
	color: var(--color-gray);
}

.home-exhibition-card__meta span:not(:last-child)::after {
	content: " · ";
	margin: 0 2px;
}

.home-exhibitions__action {
	text-align: center;
	margin-top: 40px;
}

.home-exhibitions__btn {
	display: inline-block;
	padding: 14px 32px;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	color: #000;
	border: 1px solid #000;
	transition: all 0.3s ease;
}

.home-exhibitions__btn:hover {
	background: #000;
	color: #fff;
}

@media (max-width: 767px) {
	.home-exhibitions {
		padding: 40px 16px;
	}

	.home-exhibitions__title {
		font-size: 1.25rem;
		margin-bottom: 24px;
	}

	.home-exhibition-card {
		gap: 16px;
		padding: 16px;
	}

	.home-exhibition-card__image {
		flex: 0 0 100px;
		width: 100px;
	}

	.home-exhibition-card__title {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.home-exhibition-card {
		flex-direction: column;
		gap: 12px;
	}

	.home-exhibition-card__image {
		flex: none;
		width: 100%;
		max-width: 160px;
	}
}

/* ====================================
   Projects Page
   ==================================== */
.page-title {
	margin: var(--spacing-lg) 0 var(--spacing-md);
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 300;
}

/* Collection Hero Image */
.collection-hero {
	position: relative;
	width: 100%;
	height: 35vh;
	overflow: hidden;
}

.collection-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.collection-hero__gradient {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40%;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	pointer-events: none;
}

/* Page Hero (listing & static pages) — gradient to white */
.page-hero {
	position: relative;
	width: 100%;
	height: 35vh;
	overflow: hidden;
	background: #fff;
}

.page-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.page-hero__gradient {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 32%;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	pointer-events: none;
}

/* Collection Page Intro */
.collection-intro {
	max-width: 720px;
	margin: 0 auto var(--spacing-lg);
	text-align: justify;
	-webkit-hyphens: auto; /* Safari/Chrome */
	-ms-hyphens: auto;     /* IE/Edge */
	hyphens: auto;
	font-size: 16px;
	line-height: 1.8;
	color: #555;
}

.collection-intro p {
	margin: 0 0 12px 0;
}

.projects-filters {
	margin-bottom: var(--spacing-lg);
}

.filter-group {
	margin-bottom: var(--spacing-md);
}

.filter-group:last-child {
	margin-bottom: 0;
}

.filter-label {
	display: block;
	margin-bottom: var(--spacing-sm);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
}

.filter-buttons {
	display: block;
	text-align: center;
}

.filter-btn {
	padding: 0 0 3px 0;
	background-color: #fff;
	border: none;
	color: #999;
	cursor: pointer;
	transition: all var(--transition);
	font-size: 0.55rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
	border-bottom: thin solid #fff;
	margin: 0 10px;
}

.filter-btn:hover,
.filter-btn.active {
	border-bottom: thin solid #000;
	color: #000;
}

.projects-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-md);
	margin-bottom: var(--spacing-lg);
}

@media (min-width: 700px) {

	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.projects-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.project-card {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	background-color: #fff;
	transition: all var(--transition);
	border-radius: 8px;
}

.project-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition);
	will-change: transform;
}

.project-card:hover img {
	transform: scale(1.25);
	opacity: .85;
}

.project-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: var(--spacing-md);
	background: linear-gradient(to top, #fff 30%, transparent 100%);
	color: #000;
	transform: translateY(100%);
	transition: transform var(--transition);
}

.project-card:hover .project-card-overlay {
	transform: translateY(0);
}

.project-card-title {
	font-size: 1.2rem;
	margin-bottom: var(--spacing-xs);
	font-weight: 600;
	color: #000;
	text-shadow: 0 0 3px #fff;
}

.project-card-meta {
	font-size: 0.875rem;
	font-weight: 300;
	color: #333;
}

.loading {
	text-align: center;
	padding: var(--spacing-xl) 0;
	color: var(--color-gray);
}

.no-results {
	text-align: center;
	padding: var(--spacing-xl) 0;
	color: var(--color-gray);
}

/* ====================================
   Single Project Page
   ==================================== */
.project-meta {
	margin-bottom: var(--spacing-lg);
}

.project-description {
	margin-bottom: var(--spacing-md);
	line-height: 1.8;
}


/* ====================================
   Contact Page
   ==================================== */
.contact-intro {
	text-align: center;
	margin-bottom: var(--spacing-lg);
}

.contact-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-lg);
	margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
	.contact-container {
		grid-template-columns: 3fr 2fr;
	}
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-label {
	margin-bottom: var(--spacing-xs);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.required {
	color: var(--color-gray);
}

.form-input,
.form-textarea {
	padding: var(--spacing-sm);
	border: 1px solid var(--color-gray);
	font-family: inherit;
	font-size: 1rem;
	transition: all var(--transition);
	border-radius: 5px;
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: #000;
	box-shadow: 5px 5px 15px #ccc;
}

.btn-submit {
	padding: var(--spacing-sm) var(--spacing-md);
	background-color: var(--accent-color);
	color: #fff;
	border: none;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 1rem;
	transition: all var(--transition);
	border-radius: 5px;
	font-weight: 600;
}

.btn-submit:hover {
	box-shadow: 5px 5px 15px #ccc;
}

.form-message {
	padding: var(--spacing-sm);
	border-radius: 2px;
	font-size: 0.875rem;
}

.form-message.success {
	background-color: #d4edda;
	color: #155724;
}

.form-message.error {
	background-color: #f8d7da;
	color: #721c24;
}

/* ====================================
   Common Components
   ==================================== */

/* Page Intro */
.page-intro {
	max-width: 800px;
	margin: 0 auto 64px;
	text-align: center;
	font-size: 18px;
	line-height: 1.6;
	color: #555; /* Improved contrast from #666 */
}

.page-intro p {
	margin-bottom: 16px;
}

/* Empty State */
.empty-state {
	text-align: center;
	padding: 80px 20px;
	color: #999;
	font-size: 18px;
}

/* ====================================
   Lightbox
   ==================================== */
.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 10000;
	opacity: 0;
	transition: opacity 300ms ease;
}

.lightbox.active {
	display: block;
	animation: lightboxFadeIn 300ms ease forwards;
}

.lightbox.closing {
	animation: lightboxFadeOut 300ms ease forwards;
}

@keyframes lightboxFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes lightboxFadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

/* Lightbox scroll track */
.lightbox-track {
	display: flex;
	width: 100%;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
}

.lightbox-track::-webkit-scrollbar {
	display: none; /* Chrome/Safari */
}

.lightbox-slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.lightbox-slide img,
.lightbox-slide video {
	max-width: 90%;
	max-height: 90vh;
	object-fit: contain;
}

.lightbox-close {
	position: fixed;
	top: 20px;
	right: 30px;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 50px;
	cursor: pointer;
	z-index: 10001;
	padding: 0;
	width: 50px;
	height: 50px;
	line-height: 40px;
	transition: opacity 300ms ease, transform 0.2s ease;
}

.lightbox-close:hover {
	opacity: 0.6;
	transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: #fff;
	font-size: 60px;
	cursor: pointer;
	z-index: 10001;
	padding: 20px;
	transition: opacity 300ms ease, transform 0.2s ease;
}

.lightbox-prev {
	left: 20px;
}

.lightbox-next {
	right: 20px;
}

.lightbox-prev:hover {
	opacity: 0.6;
	transform: translateY(-50%) translateX(-5px);
}

.lightbox-next:hover {
	opacity: 0.6;
	transform: translateY(-50%) translateX(5px);
}

.lightbox-counter {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 16px;
	background: rgba(0, 0, 0, 0.7);
	padding: 8px 16px;
	border-radius: 20px;
	z-index: 10001;
}

/* ====================================
   Exhibitions Page
   ==================================== */
.exhibitions-list {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.exhibition-item {
	display: flex;
	gap: 32px;
	align-items: flex-start;
}

.exhibition-image {
	flex: 0 0 200px;
	width: 200px;
	border-radius: 6px;
	aspect-ratio: 1;
	overflow: hidden;
}

.exhibition-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.exhibition-content {
	flex: 1;
	min-width: 0;
}

.exhibition-type-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 10px;
	border-radius: 3px;
	margin-bottom: 8px;
	background: var(--color-gray-light);
	color: var(--color-gray-dark);
}

.exhibition-type-solo { background: var(--color-gray-light); color: #000; }
.exhibition-type-group { background: var(--color-gray-light); color: #000; }
.exhibition-type-fair { background: var(--color-gray-light); color: #000; }
.exhibition-type-news { background: var(--color-gray-light); color: #000; }

.exhibition-title {
	font-size: 22px;
	font-weight: 600;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.exhibition-seo-link {
	color: inherit;
	text-decoration: none;
	pointer-events: none;
}

.exhibition-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	font-size: 14px;
	color: var(--color-gray);
	margin-bottom: 12px;
}

.exhibition-meta span:not(:last-child)::after {
	content: " · ";
	margin: 0 2px;
}

.exhibition-description {
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-gray-dark);
}

.exhibition-description p {
	margin: 0;
}

@media (max-width: 767px) {
	.exhibition-item {
		gap: 20px;
	}

	.exhibition-image {
		flex: 0 0 120px;
		width: 120px;
	}

	.exhibition-title {
		font-size: 18px;
	}

	.exhibition-meta {
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.exhibition-item {
		flex-direction: column;
		gap: 16px;
	}

	.exhibition-image {
		flex: none;
		width: 100%;
		max-width: 200px;
	}
}

/* ====================================
   Exhibition Detail Page
   ==================================== */
.exhibition-detail {
	max-width: 800px;
	margin: 0 auto;
}

.exhibition-detail__image {
	margin-bottom: 40px;
}

.exhibition-detail__image img {
	width: 100%;
	height: auto;
	max-width: 450px;
	margin: 50px auto;
	display: block;
	box-shadow: 15px 15px 25px #ddd;
	border-radius: 35px;
}

.exhibition-detail__title {
	font-size: 32px;
	font-weight: 600;
	margin: 0 0 16px 0;
	line-height: 1.2;
}

.exhibition-detail__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	font-size: 16px;
	color: #666;
	font-weight: 500;
	margin-bottom: 32px;
}

.exhibition-detail__meta span:not(:last-child)::after {
	content: " · ";
	margin: 0 4px;
}

.exhibition-detail__description {
	font-size: 18px;
	line-height: 1.5;
	color: var(--color-gray-dark);
}

.exhibition-detail__description p {
	margin: 0 0 1em 0;
}

.exhibition-detail__description p:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.exhibition-detail__title {
		font-size: 24px;
	}

	.exhibition-detail__image {
		margin-bottom: 24px;
	}

	.exhibition-detail__meta {
		font-size: 14px;
		margin-bottom: 24px;
	}
}


/* ====================================
   Project Detail Page
   ==================================== */


/* Hero Section - 1/3 of viewport height */
.project-hero {
	position: relative;
	width: 100%;
	height: 35vh;
	overflow: hidden;
	background: #fff;
}

.project-hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0;
	-webkit-user-select: none;
	user-select: none;
}

.project-hero-image.fade-in {
	animation: heroFadeIn 1.5s ease forwards;
}

.project-hero__gradient {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40%;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
	pointer-events: none;
}

@keyframes heroFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}


/* Project Detail Layout */
.project-detail {
	background: #fff;
}

.project-layout {
	display: flex;
	min-height: 100vh;
}

/* Photo Gallery - 2/3 width */
.project-photos {
	width: 65%;
	padding-top: 60px;
	display: flex;
	flex-direction: column;
}

.project-photo-item {
	width: 100%;
	cursor: pointer;
	overflow: hidden;
	margin-bottom: 30px;
}

.project-photo-item img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 300ms ease;
	-webkit-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
}

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

.project-no-photos {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	color: #999;
	font-size: 18px;
}

/* Project Info - 1/3 width, sticky */
.project-info-sticky {
	width: 35%;
	height: 100vh;
	position: sticky;
	top: 0;
	overflow-y: auto;
}

.project-info-content {
	padding: 60px 40px 25px;
	display: flex;
	flex-direction: column;
}

/* Collection Name (above work title) */
.work-collection-name {

}

.work-collection-name .collection-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #888;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.3s ease;
}

a.collection-label:hover {
	color: #000;
}

.project-title {
	font-size: 32px;
	font-weight: 400;
	margin: 0 0 5px 0;
	line-height: 1.2;
	color: #000;
}

.project-meta {
	margin-bottom: 20px;
	color: #ddd;
	font-weight: 100;
	text-align: left;
}

.meta-value {
	font-size: 12px;
	font-weight: 300;
	color: #999;
}

.project-description {
	font-size: 15px;
	line-height: 1.6;
	color: #333;
	flex: 1;
}

.project-description p {
	margin: 0 0 14px 0;
}

.collection-section-title {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #888;
	font-weight: 500;
	margin: 0 0 16px 0;
}

/* Video Player Styles */
.project-video {
	width: 100%;
	height: auto;
	display: block;
	background-color: #000;
	border: none;
	outline: none;
}

.project-video:focus {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.project-video-item {
	cursor: default;
}

/* ====================================
   Project Navigation
   ==================================== */
.project-navigation {
	width: 100%;
	padding: 40px 0;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 20px;
	align-items: center;
}

.project-nav-left {
	justify-self: start;
}

.project-nav-center {
	justify-self: center;
}

.project-nav-right {
	justify-self: end;
}

.project-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	color: #000000;
	text-decoration: none;
	position: relative;
}

.project-nav-link::after {
	content: '';
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 8px;
	height: 1px;
	background-color: #000000;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 300ms ease;
}

.project-nav-link:hover {
	color: #000000;
}

.project-nav-link:hover::after {
	transform: scaleX(1);
}

.project-nav-link.project-nav-all {
	font-weight: 300;
	font-size: 0.875rem;
}

.project-nav-arrow {
	font-size: 20px;
	line-height: 1;
}

.project-nav-label {
	font-size: 14px;
}

@media (max-width: 767px) {
	.project-navigation {
		grid-template-columns: 1fr;
		gap: 16px;
		text-align: center;
	}

	.project-nav-left,
	.project-nav-center,
	.project-nav-right {
		justify-self: center;
	}
}

/* ====================================
   Footer
   ==================================== */
.footer {
	background-color: #eee;
	color: #333;
	padding: var(--spacing-lg) 0 var(--spacing-md);
	margin-top: var(--spacing-xl);
}

.footer-content {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--spacing-md);
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-lg);
}

@media (min-width: 768px) {
	.footer-content {
		grid-template-columns: repeat(3, 1fr);
	}
}

.footer-title {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: var(--spacing-sm);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.footer-text {
	font-size: 0.875rem;
	opacity: 0.8;
}

.footer a {
	color: #fff;
}

.social-links {
	display: flex;
	gap: var(--spacing-sm);
	margin-top: var(--spacing-xs);
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--accent-color);
	opacity: .9;
	transition: all 300ms ease;
}

.social-links a:hover {
	opacity: 1;
	transform: scale(1.15);
	box-shadow: 5px 5px 15px #ccc;
}

.social-links svg {
	width: 20px;
	height: 20px;
}

.footer-legal {
	text-align: center;
	font-size: 0.75rem;
	opacity: 0.6;
}

@media (min-width: 768px) {
	.footer-legal {
		grid-column: 1 / -1;
	}
}

/* Newsletter form in footer */
.newsletter-form__hidden {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.newsletter-form__row {
	display: flex;
	gap: 8px;
	margin-top: var(--spacing-sm);
}

.newsletter-form__input {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid #999;
	border-radius: 5px;
	font-size: 0.875rem;
	font-family: inherit;
	background: #fff;
	color: #000;
	min-width: 0;
}

.newsletter-form__input:focus {
	outline: none;
	border-color: #000;
	box-shadow: 0 0 0 1px #000;
}

.newsletter-form__btn {
	padding: 10px 18px;
	background-color: var(--accent-color);
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 0.875rem;
	font-family: inherit;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: opacity 0.3s ease;
	white-space: nowrap;
}

.newsletter-form__btn:hover {
	opacity: 0.85;
}

.newsletter-form__btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.newsletter-form__message {
	display: none;
	margin-top: var(--spacing-sm);
	font-size: 0.875rem;
	font-weight: 700;
	color: #000;
}

.newsletter-form__message.success,
.newsletter-form__message.error {
	display: block;
}

/* ====================================
   Error Page
   ==================================== */
.error-page {
	padding: var(--spacing-xl) 0;
	text-align: center;
}

.error-title {
	font-size: 8rem;
	font-weight: 300;
	opacity: 0.2;
}

.error-subtitle {
	margin-bottom: var(--spacing-md);
}

.btn-home {
	display: inline-block;
	margin-top: var(--spacing-md);
	padding: var(--spacing-sm) var(--spacing-md);
	border: 1px solid #000;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 0.875rem;
}

/* ====================================
   Utilities
   ==================================== */
.text-center {
	text-align: center;
}

.hidden {
	display: none!important;
}

/* No select utility */
.no-select {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

/* Lazy loading placeholder */
img[loading="lazy"] {
	background-color: var(--color-gray-light);
}

/* Focus visible for accessibility */
*:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
	position: absolute;
	top: -40px;
	left: 0;
	background: #000;
	color: #fff;
	padding: 8px 16px;
	text-decoration: none;
	z-index: 10000;
}

.skip-to-content:focus {
	top: 0;
}

/* ====================================
   Skeleton Loading Screens
   ==================================== */
.skeleton-card {
	background: linear-gradient(
		90deg,
		var(--color-gray-light) 25%,
		#e0e0e0 50%,
		var(--color-gray-light) 75%
	);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
	border-radius: 0;
	pointer-events: none;
}

@keyframes shimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

/* Skeleton for project cards */
.project-card.skeleton-card {
	aspect-ratio: 1;
	position: relative;
	overflow: hidden;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
	.skeleton-card {
		animation: none;
		background: var(--color-gray-light);
	}

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

/* ====================================
   Responsive Adjustments
   ==================================== */

/* Tablet and below - Show hamburger menu */
@media (max-width: 1000px) {
	/* Show hamburger menu */
	.nav-hamburger {
		display: flex;
	}

	/* Hide desktop menu by default */
	.nav-list {
		position: fixed;
		top: 0;
		right: -100%;
		width: 280px;
		height: 100vh;
		background-color: #fff;
		flex-direction: column;
		align-items: flex-start;
		padding: 80px 24px 24px;
		gap: 0;
		margin: 0;
		box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
		transition: right 300ms ease;
		overflow-y: auto;
	}

	.nav-list.active {
		right: 0;
	}

	.nav-list li {
		width: 100%;
		padding: 10px 0;
		font-size: 14px;
	}

	.nav-list li a {
		display: block;
		width: 100%;
	}

	.nav-list .lang-switch {
		border-left: none;
		border-top: 1px solid #ccc;
		padding-left: 0;
		padding-top: 16px;
		margin-top: 16px;
	}

	/* Overlay when menu is open */
	.nav-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		opacity: 0;
		visibility: hidden;
		z-index: 999;
	}

	.nav-overlay.active {
		opacity: 1;
		visibility: visible;
	}
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
	:root {
		--spacing-lg: 32px;
		--spacing-xl: 48px;
	}

	h1 {
		font-size: 2rem;
	}

	.home-title {
		font-size: 2.5rem;
	}

	.page-title {
		font-size: 32px;
		margin-bottom: 32px;
	}

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

	.header {
		padding: 12px 0;
	}

	.header.scrolled {
		padding: 8px 0;
	}

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

	.nav-logo {
		height: 20px;
		margin-left: 0;
	}

	.nav-logo h6 {
		font-size: 20px;
		line-height: 20px;
	}

	.header.scrolled .nav-logo {
		height: 20px;
	}

	.content {
		padding-top: 54px;
	}

	.home-hero {
		height: 60vh;
	}
	/* Page Hero Responsive */
	.page-hero,
	.collection-hero {
		height: 25vh;
	}

	/* Project Hero Responsive */
	.project-hero {
		height: 25vh;
	}

	/* Project Detail Responsive */
	.project-layout {
		flex-direction: column;
	}

	.project-photos,
	.project-info-sticky {
		width: 100%;
	}

	.project-info-sticky {
		position: relative;
		height: auto;
		order: -1; /* Place text before images on mobile */
	}

	.project-photos {
		order: 1; /* Place images after text on mobile */
	}

	.project-info-content {
		padding: 40px 20px;
		min-height: auto;
	}

	.project-title {
		font-size: 24px;
		margin: 0 0 20px 0;
	}

	/* Lightbox Responsive */
	.lightbox-slide img,
	.lightbox-slide video {
		max-width: 95%;
	}

	.lightbox-prev {
		left: 10px;
		padding: 10px;
		font-size: 40px;
	}

	.lightbox-next {
		right: 10px;
		padding: 10px;
		font-size: 40px;
	}

	.lightbox-close {
		top: 10px;
		right: 15px;
		font-size: 40px;
	}

	.lightbox-counter {
		bottom: 20px;
		font-size: 14px;
		padding: 6px 12px;
	}

}

/* ====================================
   Page Blocks (Frontend)
   ==================================== */
.page-content {
	padding: var(--spacing-xl) 0;
	min-height: 60vh;
}

.page-title {
	font-size: 2.5rem;
	font-weight: 300;
	margin-bottom: var(--spacing-lg);
	text-align: center;
}

.page-blocks {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 var(--spacing-md);
}

/* Block Heading */
.block-heading {
	font-weight: 300;
	margin: var(--spacing-lg) 0 var(--spacing-md);
	line-height: 1.3;
}

.block-heading:first-child {
	margin-top: 0;
}

/* Block WYSIWYG */
.block-wysiwyg {
	margin: var(--spacing-md) 0;
}

.wysiwyg-content {
	line-height: 1.8;
	font-size: 1.05rem;
}

.wysiwyg-content p {
	margin: var(--spacing-sm) 0;
}

.wysiwyg-content ul,
.wysiwyg-content ol {
	margin: var(--spacing-sm) 0;
	padding-left: var(--spacing-lg);
}

.wysiwyg-content li {
	margin: var(--spacing-xs) 0;
}

.wysiwyg-content a {
	color: #000;
	text-decoration: underline;
	transition: opacity var(--transition);
}

.wysiwyg-content a:hover {
	opacity: 0.7;
}

.wysiwyg-content strong {
	font-weight: 600;
}

.wysiwyg-content em {
	font-style: italic;
}

.wysiwyg-content h2,
.wysiwyg-content h3,
.wysiwyg-content h4 {
	font-weight: 500;
	margin: var(--spacing-md) 0 var(--spacing-sm);
}

.wysiwyg-content h2 {
	font-size: 1.8rem;
}

.wysiwyg-content h3 {
	font-size: 1.5rem;
}

.wysiwyg-content h4 {
	font-size: 1.3rem;
}

/* Block Image */
.block-image {
	margin: var(--spacing-lg) 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.block-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: opacity var(--transition);
}

.block-image img:hover {
	opacity: 0.95;
}

.block-image figcaption {
	margin-top: var(--spacing-sm);
	font-size: 0.9rem;
	color: var(--color-gray);
	text-align: center;
	font-style: italic;
}

/* Image Sizes */
.block-image.small {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.block-image.medium {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.block-image.large {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.block-image.full {
	max-width: 100%;
}

/* Block Video */
.block-video {
	margin: var(--spacing-lg) 0;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.block-video video {
	width: 100%;
	height: auto;
	display: block;
	background-color: #000;
}

.video-embed {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
}

.video-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.video-caption {
	margin-top: var(--spacing-sm);
	font-size: 0.9rem;
	color: var(--color-gray);
	text-align: center;
	font-style: italic;
}

/* Footer Navigation */
.footer-nav {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-sm);
	justify-content: center;
	margin-top: var(--spacing-sm);
	padding: 0;
}

.footer-nav li {
	margin: 0;
}

.footer-nav a {
	color: #fff;
	text-decoration: none;
	font-size: 0.9rem;
	opacity: 0.7;
	transition: opacity var(--transition);
}

.footer-nav a:hover {
	opacity: 1;
	text-decoration: underline;
}

/* Responsive Adjustments for Blocks */
@media (max-width: 768px) {
	.page-title {
		font-size: 2rem;
	}

	.page-blocks {
		padding: 0 var(--spacing-sm);
	}

	.block-heading {
		font-size: 1.5rem;
		margin: var(--spacing-md) 0 var(--spacing-sm);
	}

	.wysiwyg-content {
		font-size: 1rem;
	}

	.wysiwyg-content h2 {
		font-size: 1.5rem;
	}

	.wysiwyg-content h3 {
		font-size: 1.3rem;
	}

	.wysiwyg-content h4 {
		font-size: 1.1rem;
	}

	.block-image.small,
	.block-image.medium,
	.block-image.large {
		max-width: 100%;
	}

	.footer-nav {
		flex-direction: column;
		align-items: center;
	}
}

/* ===========================
   SCROLL REVEAL ANIMATIONS
   =========================== */

.scroll-reveal {
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
	opacity: 1;
	transform: translateY(0);
}

/* Section title styling */
.section-title {
	font-size: 32px;
	font-weight: 400;
	margin-bottom: 40px;
	text-align: center;
	color: #000000;
}

@media (max-width: 767px) {
	.section-title {
		font-size: 24px;
		margin-bottom: 30px;
	}
}

/* ====================================
   About Page - Two Sections Layout
   ==================================== */

.about-page {
	padding: 60px 0 80px;
}

.about-section {
	margin-bottom: 80px;
}

.about-section:last-child {
	margin-bottom: 0;
}

.about-section-layout {
	display: flex;
	gap: 60px;
	align-items: flex-start;
}

/* Section 1: Photo left (~25%), Text right (reste) */
.about-section-1 .about-section-photo,
.about-section-2 .about-section-photo {
	flex: 0 0 25%;
	min-width: 0;
}

.about-section-1 .about-section-content,
.about-section-2 .about-section-content {
	flex: 1;
	min-width: 0;
}

/* Section 2: Text left, Photo right */
.about-section-layout.reverse {
	flex-direction: row;
}

/* Full width when no image */
.about-section-content.full-width {
	flex: 0 0 100%;
	max-width: 100%;
}

/* Photo styling */
.about-section-photo img {
	width: 100%;
	height: auto;
	display: block;
}

/* Content styling */
.about-section-title {
	font-size: 28px;
	font-weight: 400;
	margin: 0 0 24px 0;
	color: #000;
	letter-spacing: -0.02em;
}

.about-section-text {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}

.about-section-text p {
	margin-bottom: 1.2em;
}

.about-section-text p:last-child {
	margin-bottom: 0;
}

/* Mobile responsive */
@media (max-width: 900px) {
	.about-section-layout {
		gap: 40px;
	}

	.about-section-1 .about-section-photo,
	.about-section-2 .about-section-photo {
		flex: 0 0 30%;
	}

	.about-section-1 .about-section-content,
	.about-section-2 .about-section-content {
		flex: 1;
	}
}

@media (max-width: 767px) {
	.about-page {
		padding: 40px 0 60px;
	}

	.about-section {
		margin-bottom: 60px;
	}

	.about-section-layout {
		flex-direction: column;
		gap: 30px;
	}

	/* On mobile, photo always first */
	.about-section-layout.reverse {
		flex-direction: column;
	}

	.about-section-layout.reverse .about-section-photo {
		order: -1;
	}

	.about-section-1 .about-section-photo,
	.about-section-2 .about-section-photo,
	.about-section-1 .about-section-content,
	.about-section-2 .about-section-content {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.about-section-title {
		font-size: 24px;
		margin-bottom: 16px;
	}

	.about-section-text {
		font-size: 15px;
		line-height: 1.7;
	}
}
