/* Hero Section - Mobile First */

/* Base styles - Mobile */
.hero-section {
	position: relative;
	height: 85vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	overflow: hidden;
	padding-bottom: 40px; /* Mobile: more padding */
	max-width: 100vw;
	width: 100%;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	clip-path: inset(35%);
}

.hero-background video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	object-fit: cover;
	z-index: 1;
}

/* Fallback dla przeglądarek bez wsparcia video */
.video-fallback {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--hero-gradient);
	z-index: 1;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--hero-gradient);
	z-index: 2;
}

.hero-content {
	position: relative;
	z-index: 3;
	text-align: center;
/* 	color: ; */
	width: 100%;
}

/* Hero Typography - Mobile */
.hero-title-line-1 {
	font-family: var(--font-family-primary);
	font-weight: 500;
	font-size: clamp(16px, calc(9.6px + 1vw), 85px);
	line-height: 110%;
	letter-spacing: -1%;
	text-align: center;
	margin-bottom: var(--spacing-sm);
	text-wrap: nowrap;
}

.hero-title-line-2 {
	font-family: var(--font-family-primary);
	font-weight: 700;
	font-size: clamp(16px, calc(9.6px + 1.5vw), 85px);
	line-height: 110%;
	letter-spacing: -1%;
	text-align: center;
	margin-bottom: var(--spacing-xl);
	display: block;
	text-wrap: nowrap;
}

.hero-cta {
	margin-top: var(--spacing-lg);
}

.cta-button.large {
	padding: 1rem 2rem; /* Mobile: smaller padding */
	font-size: 1rem; /* Mobile: smaller font */
	background: var(--white-primary);
	color: var(--primary-violet-dark);
	text-decoration: none;
	font-weight: 600;
	transition: background 0.35s ease, color 0.35s ease;
	white-space: nowrap;
	display: inline-block;
	position: relative;
	border-radius: 4px;
	border: none;
}

.cta-button.large::before {
	content: '';
	position: absolute;
	top: -0.5px;
	left: -0.5px;
	right: -0.5px;
	bottom: -1px;
	background: var(--white-primary);
	border-radius: 4px;
	z-index: -1;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.35s ease;
	mask: linear-gradient(90deg, black 0%, transparent 100%);
	-webkit-mask: linear-gradient(90deg, black 0%, transparent 100%);
}

.cta-button.large:active {
	background: var(--cta-button-hover-gradient);
	color: var(--white-primary);
}

.cta-button.large:active::before {
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
	.cta-button.large:hover {
		background: var(--cta-button-hover-gradient);
		color: var(--white-primary);
		cursor: pointer;
	}

	.cta-button.large:hover::before {
		opacity: 1;
	}
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	.hero-section {
		height: 100vh;
	}

	.cta-button.large {
		padding: 1.125rem 2.25rem;
		font-size: 1.05rem;
	}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.hero-section {
		height: 100vh;
		padding-bottom: 3rem; /* Desktop: less padding */
	}
	
	.hero-content {
		transform: translateY(10%);
	}

	.hero-cta {
		margin-top: var(--spacing-xl);
	}

	.cta-button.large {
		padding: 1.25rem 2.5rem;
		font-size: 1.1rem;
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.hero-section {
		height: 100vh;
	}

	.cta-button.large {
		padding: 16px 56px;
		font-size: 20px;
		text-align: center;
	}

	.hero-title-line-1 {
		font-size: 54px;
	}

	.hero-title-line-2 {
		font-size: 54px;
	}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.hero-section {
		height: 100vh;
	}
}
