@font-face {
	font-family: 'Jost';
	src: url('../fonts/Jost/TrueType/Jost-400-Book.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Jost';
	src: url('../fonts/Jost/TrueType/Jost-400-BookItalic.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;
}

@font-face {
	font-family: 'Jost';
	src: url('../fonts/Jost/TrueType/Jost-500-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'Jost';
	src: url('../fonts/Jost/TrueType/Jost-300-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

body {
	font-family: 'Jost', sans-serif;
	background-color: white;
	display: flex;
	min-height: 100vh;
}

.sidebar {
	width: 350px;
	background-color: white;
	padding: 30px 20px;
	position: fixed;
	height: 100vh;
	left: 0;
	top: 0;
}

.sidebar-title-link {
	text-decoration: none;
	color: inherit;
	display: block;
	transition: opacity 0.2s;
}

.sidebar-title-link:hover {
	opacity: 0.7;
}

.sidebar-title {
	font-size: 55px;
	color: #000000;
	margin-bottom: 50px;
	font-weight: 300;
	line-height: 0.8;
}

.sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.nav-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0 0px 0;
	border-bottom: 1px solid #000000;
	cursor: pointer;
	transition: opacity 0.2s;
	text-decoration: none;
	color: inherit;
	line-height: 1;
}

.nav-item:hover {
	opacity: 0.7;
}

.language-switcher:hover {
	opacity: 1;
}

.nav-text {
	font-size: 26px;
	color: #000000;
}

.nav-item:hover .nav-text {
	animation: goItalic 0s 200ms forwards;
}

@keyframes goItalic {
	to {
		font-style: italic;
	}
}

.language-switcher:hover .nav-text {
	font-style: normal;
}

.language-switcher .nav-text:hover {
	font-style: italic;
}

.nav-arrow {
	font-size: 18px;
	color: #000000;
}

.sidebar-copyright {
	position: absolute;
	bottom: 30px;
	left: 20px;
	right: 20px;
	font-size: 10px;
	color: #000000;
	font-weight: 300;
	text-align: left;
	line-height: 1.4;
}

.main-content {
	margin-left: 350px;
	flex: 1;
	background-color: white;
	height: 100vh;
	overflow: hidden;
}

.carousel {
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: flex;
	align-items: stretch;
}

.carousel-track {
	display: flex;
	gap: 0;
	animation: scroll 40s linear infinite;
	padding: 0;
	height: 100%;
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.carousel-item {
	min-width: auto;
	height: 100vh;
	flex-shrink: 0;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

.carousel-item img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: 100%;
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}

.language-switcher {
	margin-top: 30px;
	pointer-events: auto;
}

.language-switcher .nav-text {
	cursor: pointer;
	transition: opacity 0.2s;
}

.language-switcher .nav-text:hover {
	opacity: 0.7;
}

.right-sidebar {
	position: fixed;
	top: 0;
	right: -700px;
	width: 700px;
	height: 100vh;
	/*background-color: #1b3525;*/
	background-color: #508a3a;
	padding: 0px 0px 0px 0px;
	transition: right 0.8s ease;
	z-index: 1000;
	overflow-y: auto;
}

.right-sidebar.open {
	right: 0;
}

.right-sidebar.alt-color {
	background-color: #035008;
}

.close-btn {
	position: absolute;
	top: 30px;
	right: 40px;
	font-size: 18px;
	color: #ffffff;
	cursor: pointer;
	transition: opacity 0.2s;
}

.close-btn:hover {
	opacity: 0.7;
}

.right-sidebar-content {
	display: flex;
	flex-direction: column;
	margin-top: 80px;
}

.sidebar-section-title {
	font-size: 6rem;
	text-transform: uppercase;
	color: #ffffff;
	border-bottom: 1px solid #ffffff;
	font-weight: 300;
	padding-left: 5px;
}

.sidebar-section-title:hover {
	font-style: italic;
}

.sidebar-section {
	display: flex;
	flex-direction: column;
}

.sidebar-text {
	font-size: 18px;
	color: #ffffff;
	letter-spacing: 0.5px;
	padding-left: 5px;
}

.sidebar-contacts {
	display: flex;
	flex-direction: column;
	padding-left: 5px;
}

.contacts-label {
	font-size: 18px;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 30px;
}

.contact-link {
	font-size: 16px;
	color: #ffffff;
	text-decoration: none;
	transition: opacity 0.2s;
}

.contact-link:hover {
	opacity: 0.7;
}

.exhibition-entry {
	display: flex;
	flex-direction: column;
	padding-left: 5px;
}

.exhibition-type {
	font-size: 18px;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.exhibition-detail {
	font-size: 16px;
	color: #ffffff;
}

.portfolio-link {
	font-size: 16px;
	color: #ffffff;
	text-decoration: none;
	text-transform: lowercase;
	transition: opacity 0.2s;
	display: block;
	padding-left: 5px;
}

.portfolio-link:hover {
	opacity: 0.7;
}

/* Exhibitions Page */
.exhibitions-page {
	overflow-y: auto;
	padding: 40px 40px 40px 0;
}

.exhibitions-list {
	display: flex;
	flex-direction: column;
	margin-top: 40px;
}

.exhibition-item {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid #000000;
}

.exhibition-header {
	padding: 40px 0 0px 0;
	cursor: pointer;
}

.exhibition-meta {
	display: flex;
	justify-content: space-between;
	flex-wrap: nowrap;
	margin-bottom: 10px;
	font-size: 14px;
	color: #000000;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.exhibition-title {
	font-size: 180px;
	font-weight: normal;
	color: #000000;
	line-height: 1;
}

.exhibition-header:hover .exhibition-title {
	font-style: italic;
}

.exhibition-content {
	max-height: 0;
	overflow: hidden;
	transition:
		max-height 0.8s ease,
		padding 0.8s ease;
	padding: 0;
}

.exhibition-item.open .exhibition-content {
	max-height: 3000px;
	padding-top: 15px;
}

.exhibition-images {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.exhibition-images img {
	height: 70vh;
	width: auto;
	object-fit: contain;
}

.exhibition-carousel {
	width: 100%;
	overflow: hidden;
	margin-bottom: 40px;
	height: 500px;
}

.exhibition-carousel-track {
	display: flex;
	gap: 0;
	cursor: grab;
}

.exhibition-carousel-track:active {
	cursor: grabbing;
}

.exhibition-carousel-item {
	min-width: auto;
	height: 500px;
	flex-shrink: 0;
	border-radius: 0;
	display: flex;
	align-items: center;
}

.exhibition-carousel-item img {
	height: 100%;
	width: auto;
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}

.exhibition-description {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.description-column p {
	font-size: 14px;
	line-height: 1.6;
	color: #000000;
}

/* Works Page */
.works-page {
	overflow-y: auto;
	padding: 0;
	position: relative;
}

.works-info-bar {
	position: fixed;
	top: 30px;
	left: 380px;
	display: flex;
	gap: 10px;
	font-size: 14px;
	color: #000000;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	z-index: 100;
	background-color: white;
	padding: 5px 0;
}

.works-container {
	display: flex;
	padding: 80px 0 40px 40px;
	gap: 60px;
}

.works-gallery {
	flex: 0 0 50%;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.work-item {
	width: 100%;
	cursor: pointer;
}

img.work-image {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0;
}

.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 40px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #000000;
	background-color: white;
	border: 1px solid #e0e0e0;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease;
	z-index: 100;
}

.back-to-top.visible {
	opacity: 0; /*ugaseno privremeno*/
	visibility: visible;
}

.back-to-top:hover {
	border-color: #000000;
}

.works-filters {
	flex: 1;
	position: sticky;
	top: 80px;
	height: fit-content;
	padding-right: 40px;
}

.filters-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #000000;
	cursor: pointer;
	transition: opacity 0.2s;
	line-height: 1;
}

.filters-header:hover {
	opacity: 0.7;
}

.filters-title {
	font-size: 76px;
	font-weight: normal;
	color: #000000;
}

.filters-arrow {
	font-size: 46px;
	color: #000000;
	transition: transform 0.3s ease;
}

.filters-header.open .filters-arrow {
	transform: rotate(180deg);
}

.filters-dropdown {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease;
}

.filters-header.open + .filters-dropdown {
	max-height: 500px;
}

.filter-section {
	margin: 40px 0px 0px 0px;
	line-height: 0.5;
}

.filter-option {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 30px;
	color: #000000;
	margin-top: 12px;
	cursor: pointer;
	transition: opacity 0.2s;
	line-height: 1;
}

.filter-option:hover {
	opacity: 0.7;
}

.filter-option:hover .filter-text {
	animation: goItalic 0s 200ms forwards;
}

.filter-arrow {
	font-size: 30px;
	color: #000000;
}

.filter-divider {
	height: 1px;
	background-color: #000000;
}

/* Filter active states */
.work-item.filter-hidden {
	display: none;
}

.filter-option.active {
	opacity: 1;
}

.filter-option.active .filter-text {
	font-style: italic;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.filter-option.active .filter-arrow {
	transform: rotate(45deg);
	transition: transform 0.3s ease;
}

.filter-clear {
	display: none;
	margin-top: 20px;
	font-size: 18px;
	color: #000000;
	cursor: pointer;
	opacity: 0.5;
	transition: opacity 0.2s;
}

.filter-clear:hover {
	opacity: 1;
	font-style: italic;
}

.filter-clear.visible {
	display: block;
}

.filters-header.has-active-filters .filters-title::after {
	content: ' •';
}

/* Lightbox / Fullscreen Image Viewer */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.3s ease,
		visibility 0.3s ease;
}

.lightbox.open {
	opacity: 1;
	visibility: visible;
}

.lightbox-close {
	position: absolute;
	top: 30px;
	right: 40px;
	font-size: 16px;
	color: #000000;
	cursor: pointer;
	transition: opacity 0.2s;
	z-index: 10;
}

.lightbox-close:hover {
	opacity: 0.7;
}

.lightbox-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 70%;
	height: 80%;
}

.lightbox-info {
	display: flex;
	gap: 10px;
	font-size: 16px;
	color: #000000;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 20px;
}

.lightbox-image {
	width: 100%;
	flex: 1;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	transform: translateZ(0);
	backface-visibility: hidden;
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
}

.lightbox-image.slide-left {
	animation: slideLeft 0.3s ease;
}

.lightbox-image.slide-right {
	animation: slideRight 0.3s ease;
}

@keyframes slideLeft {
	0% {
		transform: translateX(100%);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideRight {
	0% {
		transform: translateX(-100%);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 40px;
	color: #333;
	cursor: pointer;
	padding: 20px;
	transition: opacity 0.3s ease;
	opacity: 0;
}

.lightbox.arrows-visible .lightbox-nav {
	opacity: 1;
}

.lightbox.arrows-visible .lightbox-nav:hover {
	opacity: 0.7;
}

.lightbox-prev {
	left: 40px;
}

.lightbox-next {
	right: 40px;
}

.work-image {
	cursor: pointer;
}

/* Mobile Header - Hidden on desktop */
.mobile-header {
	display: none;
}

.mobile-menu {
	display: none;
}

.mobile-copyright {
	display: none;
}

.mobile-copyright-home {
	display: none;
}

.mobile-copyright-exhibitions {
	display: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
	/* Hide desktop sidebar */
	.sidebar {
		display: none;
	}

	/* Show mobile header */
	.mobile-header {
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		padding: 10px 10px;
		background-color: white;
		z-index: 100;
	}

	.mobile-title-link {
		text-decoration: none;
		color: inherit;
	}

	.mobile-title {
		display: flex;
		flex-direction: column;
		line-height: 0.85;
	}

	.mobile-title-top,
	.mobile-title-bottom {
		font-size: 62px;
		color: #000000;
		display: block;
	}

	.mobile-menu-trigger {
		font-size: 12px;
		color: #000000;
		cursor: pointer;
		text-transform: uppercase;
		letter-spacing: 0.5px;
	}

	/* Mobile Menu Dropdown */
	.mobile-menu {
		position: fixed;
		top: 95px;
		left: 0;
		right: 0;
		background-color: white;
		z-index: 99;
		flex-direction: column;
		padding: 0 20px;
		max-height: 0;
		overflow: hidden;
		transition:
			max-height 0.4s ease,
			padding 0.4s ease;
		border-bottom: 1px solid transparent;
	}

	.mobile-menu.open {
		display: flex;
		max-height: 400px;
		padding: 65px 20px;
	}

	.mobile-menu-close {
		display: none;
	}

	.mobile-nav {
		display: flex;
		flex-direction: column;
		gap: 15px;
	}

	.mobile-nav-item {
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 24px;
		color: #000000;
		text-decoration: none;
		cursor: pointer;
		transition: opacity 0.2s;
		border-bottom: 1px solid #000000;
		line-height: 1;
	}

	.mobile-nav-item:hover {
		opacity: 0.7;
	}

	.mobile-nav-arrow {
		font-size: 18px;
		color: #000000;
	}

	.mobile-language-switcher {
		display: flex;
		justify-content: space-between;
		margin-top: 15px;
		border-bottom: 1px solid #000000;
		line-height: 1;
	}

	.mobile-lang {
		font-size: 20px;
		color: #000000;
		cursor: pointer;
		transition: opacity 0.2s;
	}

	.mobile-lang:hover {
		opacity: 0.7;
	}

	.mobile-copyright {
		display: none;
	}

	.mobile-copyright-home {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		padding: 15px 0;
		font-size: 10px;
		color: #000000;
		font-weight: 300;
		text-align: center;
		background-color: white;
		z-index: 100;
	}

	.mobile-copyright-exhibitions {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		padding: 15px 0;
		font-size: 10px;
		color: #000000;
		font-weight: 300;
		text-align: center;
		background-color: white;
		z-index: 100;
	}

	/* Main content adjustments */
	.main-content {
		margin-left: 0;
		padding-top: 70px;
	}

	/* Carousel adjustments */
	.carousel {
		margin-top: 120px;
	}

	.carousel-item {
		height: 60vh;
	}

	.carousel-item img {
		height: 60vh;
	}

	/* Right sidebar (Info) adjustments */
	.right-sidebar {
		width: 100%;
		right: -100%;
	}

	.right-sidebar.open {
		right: 0;
	}

	.right-sidebar-content {
		gap: 40px;
		margin-top: 60px;
	}

	.sidebar-section-title {
		font-size: 3.5rem;
	}

	.sidebar-text {
		font-size: 18px;
		color: #ffffff;
	}

	.close-btn {
		top: 20px;
		right: 20px;
	}

	/* Works page adjustments */
	.works-page {
		padding-top: 70px;
	}

	.works-info-bar {
		display: none;
	}

	.works-container {
		flex-direction: column;
		padding: 20px;
		padding-top: 100px;
		gap: 30px;
	}

	.works-gallery {
		flex: 1;
		order: 2;
	}

	.works-filters {
		position: relative;
		top: 0;
		padding-right: 0;
		order: 1;
	}

	.filters-title {
		font-size: 40px;
	}

	.filters-arrow {
		font-size: 30px;
	}

	.filter-option {
		font-size: 20px;
	}

	.filter-clear {
		font-size: 14px;
	}

	.back-to-top {
		right: 20px;
		bottom: 20px;
	}

	/* Exhibitions page adjustments */
	.exhibitions-page {
		padding: 20px;
		padding-top: 80px;
	}

	.exhibition-meta {
		flex-wrap: wrap;
		gap: 5px;
	}

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

	.exhibition-images {
		flex-direction: column;
	}

	.exhibition-images img {
		height: auto;
		width: 100%;
	}

	.exhibition-item.open .exhibition-content {
		max-height: 4000px;
	}

	/* Lightbox adjustments */
	.lightbox-content {
		width: 95%;
		height: 50%;
	}

	.lightbox-info {
		font-size: 10px;
	}

	.lightbox-nav {
		font-size: 30px;
		padding: 10px;
	}

	.lightbox-prev {
		left: 10px;
	}

	.lightbox-next {
		right: 10px;
	}

	.lightbox-close {
		top: 20px;
		right: 20px;
	}
}
