/* ==========================================================================
hero sekcja
========================================================================== */

/* --- układ główny --- */
.home-page {
	width: 100%;
	height: 100vh; 
	background-color: #ffffff;
	overflow: hidden;
	padding-top: 136px;
}

.gallery-layout {
	display: flex; 
	width: 100%;
	height: 100%;
}

/* --- lewa kolumna --- */
.left-col {
	width: 25%;
	display: flex;
	align-items: flex-end;
	padding-left: 0; 
	padding-bottom: 0;
}

.left-img-container {
	position: relative; 
	width: 100%;
	max-width: 400px;
}

.slide-number {
	position: absolute;
	right: 0; 
	bottom: calc(100% + 6rem); 
	color: var(--font-color-2);
	font-weight: 400;
	line-height: 1;
}

.img-small {
	width: 100%;
	height: 50vh;
}

/* --- srodkowa kolumna --- */
.center-col {
	width: 25%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	padding-bottom: 50px; 
	position: relative; 
}

.vertical-title {
	writing-mode: vertical-rl;
	text-align: center;
	line-height: 1.1;
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(180deg);
}

/* --- prawa kolumna --- */
.right-col {
	width: 50%;
	height: 100%;
	position: relative;
}

.img-large {
	width: 100%;
	height: 100%;
}

.info-box {
	position: absolute;
	top: 50%;
	transform: translateY(-50%); 
	left: -120px; 
	background: #ffffff;
	padding: 50px 40px;
	width: 350px;
	z-index: 10;
}

/* --- nawigacja globalna --- */
.global-nav-container {
	position: absolute;
	bottom: 50px; 
	left: 37.5%; 
	transform: translateX(-50%);
	z-index: 50; 
	display: flex;
	align-items: center;
	gap: 40px; 
}

.slider-nav {
	display: flex;
	gap: 15px; 
}

.swiper-button-prev, .swiper-button-next {
	position: static;
	width: 5.2rem;
	height: 5.2rem;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 1px solid rgba(0, 0, 0, 0.08); 
	border-radius: 50%;
	transition: all 0.3s ease;
}

.swiper-button-prev::after, .swiper-button-next::after {
	content: none;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
	background-color: var(--color-1);
}

.swiper-button-prev:hover svg path, .swiper-button-next:hover svg path {
	stroke: #ffffff; 
}

.slider-nav svg {
	height: 8px;
	display: block;
	fill: transparent;
}

.flip-svg svg {
	transform: rotate(180deg);
}

.slider-nav svg path {
	stroke: var(--font-color-1);
	transition: .3s ease;
}

/* --- pasek postepu --- */
.slider-progress {
	display: flex;
	align-items: center;
	gap: 20px; 
	font-size: 1.4rem;
	font-weight: 500;
	color: var(--font-color-1);
}

.current-num, .total-num {
	font-variant-numeric: tabular-nums;
	min-width: 20px;
	text-align: center;
	color: var(--font-color-1);
}

.total-num {
	color: var(--font-color-3);
}

.progress-bar-container {
	width: 100px; 
	height: 2px;
	background: rgba(0, 0, 0, 0.15);
	position: relative;
}

.progress-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: var(--font-color-1);
	width: 0%; 
	transition: width 0.5s ease-in-out; 
}

/* --- animacje --- */
.img-wrapper {
	position: relative;
	overflow: hidden;
}

.img-wrapper a {
	display: block;
	width: 100%;
	height: 100%;
}

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

.img-wrapper::after {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: #ffffff;
	z-index: 5;
	transform: scaleX(1);
	transform-origin: left;
	transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.swiper-slide-active .img-wrapper::after {
	transform: scaleX(0);
	transform-origin: right;
	transition-delay: 0.3s;
}

.swiper-slide-prev .img-wrapper::after,
.swiper-slide-next .img-wrapper::after {
	transform: scaleX(1);
	transform-origin: left;
	transition-delay: 0s;
}