/**
 * Kezdőlap: hero, gombok, szekciók, statisztika, támogatás kártyák.
 *
 * @package duna_group_web
 */

/* Hero */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	color: var(--white);
	display: flex;
	align-items: stretch;
	overflow: visible;
}

.hero-media {
	position: absolute;
	inset: 0;
	background: #FFF;
}

.hero-poster,
.hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.hero-poster {
	z-index: 1;
	opacity: 1;
	transition: opacity 0.6s ease;
}

.hero-poster.hide {
	opacity: 0;
	pointer-events: none;
}

.hero-video {
	z-index: 2;
	opacity: 0;
	transition: opacity 0.8s ease, transform 1.2s ease;
	transform: scale(1.02);
}

.hero-video.ready {
	opacity: 1;
	transform: scale(1);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 3;
	background:
		linear-gradient(90deg, rgba(12, 16, 21, 0.40) 0%, rgba(12, 16, 21, 0.14) 46%, rgba(12, 16, 21, 0.32) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.14) 40%, rgba(0, 0, 0, 0.24) 100%);
}

.hero-content {
	position: relative;
	z-index: 4;
	width: 100%;
	display: flex;
	align-items: flex-end;
	padding-top: 160px;
	padding-bottom: 110px;
}

.hero-layout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	min-height: calc(100vh - 270px);
	min-height: calc(100svh - 270px);
}

.hero-main {
	flex: 1 1 auto;
	max-width: 100%;
}

.hero-slider {
	display: flex;
	align-items: center;
	gap: 24px;
}

.hero-slides {
	position: relative;
	flex: 1 1 auto;
	min-height: 260px;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.55s ease, transform 0.55s ease;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
}

.hero-slide.active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.hero-slide h2 {
	font-size: clamp(1.9rem, 4.7vw, 2.5rem);
	line-height: 1.25;
	font-weight: bold;
	margin-bottom: 10px;
	letter-spacing: 0.02em;
	text-transform: none;
	font-weight: 400;
}

.hero-slide p {
	font-size: clamp(1.1rem, 1.75vw, 1.6rem);
	line-height: 1.4;
	font-weight: 400;
	margin-bottom: 0;
	text-transform: none;
	opacity: 0.95;
}

.hero-slide .hero-btn {
	margin-top: 28px;
	text-transform: none;
}

.hero-arrow {
	width: 56px;
	height: 56px;
	min-width: 56px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(6px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background var(--transition), border-color var(--transition), transform var(--transition);
	position: absolute;
	border-radius: 5px;
}

.hero-arrow:hover {
	background: #235fbe;
	border-color: rgba(255, 255, 255, 0.7);
}

.hero-arrow span {
	display: block;
	width: 12px;
	height: 12px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}

.hero-arrow-prev {
	left: 40px;
}

.hero-arrow-next {
	right: 40px;
}

.hero-arrow-prev span {
	transform: rotate(-135deg);
	margin-left: 4px;
}

.hero-arrow-next span {
	transform: rotate(45deg);
	margin-right: 4px;
}

.hero-card-box {
	position: relative;
	opacity: 1;
	z-index: 99;
}

.hero-card-box .container {
	position: relative;
}

.hero-card {
	width: min(100%, 700px);
	background: rgba(47, 111, 213, 0.96);
	padding: 40px;
	position: absolute;
	right: 0;
	bottom: -150px;
	z-index: 6;
}

.hero-card-overlap {
	transform: none;
}

.hero-card h2 {
	font-size: clamp(1.25rem, 2.2vw, 2rem);
	line-height: 1.08;
	margin-bottom: 15px;
	font-weight: 400;
	text-transform: uppercase;
	color: #FFF
}

.hero-card p {
	font-size: 0.9rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.94);
	margin-bottom: 15px;
}

.hero-card-text {
	margin-bottom: 15px;
	font-size: 0.9rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.94);
}

.hero-card .hero-card-text p,
.hero-card .hero-card-text ul,
.hero-card .hero-card-text ol {
	margin-bottom: 0.75em;
}

.hero-card .hero-card-text p:last-child,
.hero-card .hero-card-text ul:last-child,
.hero-card .hero-card-text ol:last-child {
	margin-bottom: 0;
}

.hero-card-text a {
	color: #fff;
	text-decoration: underline;
}

.hero-card-text strong,
.section-text strong {
	font-weight: 700;
}

.hero-card-text em,
.section-text em {
	font-style: italic;
}

.hero-card-text u,
.section-text u {
	text-decoration: underline;
}

.hero-card-text ul,
.section-text ul {
	list-style: disc;
}

.hero-card-text ol,
.section-text ol {
	list-style: decimal;
}

.hero-card-text ul,
.hero-card-text ol,
.section-text ul,
.section-text ol {
	margin-top: 0;
	padding-left: 1.25em;
}

.section-text p:first-child {
	margin-top: 0;
}

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

.section-text a {
	color: var(--dg-blue);
	text-decoration: underline;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {

}

.btn-primary {
	background: #2f6fd5;
	color: #fff;
	border: 0;
}

.btn-primary:hover {
	background: #235fbe;
}

.btn-dark-blue {
	background: #0d3f86;
	color: #fff;
	border: 0;
}

.btn-dark-blue:hover {
	background: #09356f;
}

.hero-btn,
.hero-card-btn {
	position: relative;
    padding-left: 15px;
    padding-right: 15px;
    min-height: 40px;
    border-radius: 5px;
    line-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
	font-weight: 400;;
}

.hero-btn::before,
.hero-card-btn::before {
	content: "›";
    font-size: 2.25rem;
    line-height: 1;
    margin-right: 10px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -5px;
}

.hero-card-btn {
	display: inline-flex;
}

.hero-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: rgba(255, 255, 255, 0.12);
	z-index: 7;
	overflow: hidden;
}

.hero-progress-bar {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--blue);
	transform: scaleX(0);
	transform-origin: left center;
}

.hero-progress-bar.is-running {
	animation-name: hero-progress-fill;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

.hero-progress-bar.is-paused {
	animation-play-state: paused;
}

@keyframes hero-progress-fill {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

.hero-scroll {
	position: absolute;
	z-index: 7;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(6px);
	transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.hero-scroll:hover {
	background-color: #235fbe;
}

.hero-scroll span {
	display: block;
	width: 10px;
	height: 10px;
	margin: 0 auto;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg);
}

/* Szekciók */
.section {
	padding: 70px 0;
}

.section-about {
	background: #fff;
}

.section-about .container .inner-container {
    width: calc(100% - 700px);
    padding-right: 40px;
}

.section-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
}

.section-arrow {
	color: #306aca;
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -10px;
}

#fenntarthatosag .section-arrow {
	color: green;
}

.section-heading h1,
.section-heading h2,
.mohacs-copy > h2:first-child {
	font-size: clamp(1.8rem, 2.4vw, 2.1rem);
	font-weight: 400;
	color: #374047;
	text-transform: uppercase;
	letter-spacing: -0.02em;
}

.section-text {
	color: #1e282e;
	font-size: 0.9rem;
	line-height: 1.5;
}

.section-text.narrow {
	max-width: 900px;
}

/* Statisztika */
.stats {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	isolation: isolate;
}

.stats-bg {
	position: absolute;
	inset: -8% 0;
	will-change: transform;
	transform: translate3d(0, 0, 0) scale(1.08);
}

.stats-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	filter: saturate(1.02) contrast(1.02);
}

.stats-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(7, 17, 31, 0.24) 5%, rgba(7, 17, 31, 0.10) 95%, rgba(7, 17, 31, 0.18) 100%),
  		radial-gradient(circle at center, rgba(33, 106, 206, 0.08) 0%, rgba(6, 16, 30, 0.14) 68%, rgba(6, 16, 30, 0.30) 100%)
}

.stats-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
	text-align: center;
	color: #fff;
	padding: 96px 40px;
	width: 100%;
}

.stat-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 250px;
    margin: 0 auto;
}

.stat-item strong {
	display: block;
	font-size: clamp(2.25rem, 2.5vw, 4.25rem);
	line-height: 1;
	font-weight: 500;
	letter-spacing: -0.03em;
	margin-bottom: 14px;
}

.stat-item span {
	display: block;
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Hírek */
.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.support-card {
	position: relative;
	min-height: 300px;
	overflow: hidden;
	background: #dbe3ea;
}

.support-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform 0.8s ease;
}

.support-card:hover img {
	transform: scale(1.06);
}

.support-content {
	position: absolute;
	inset: auto 24px 22px 24px;
	z-index: 2;
	color: #fff;
}

.support-content {
	font-size: 1.2rem;
	line-height: 1.3;
	font-weight: 600;
	text-transform: uppercase;
}

/* Támogatás */
.support-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.section-support .section-text-support {
    max-width: 100%;
    margin-bottom: 20px;
}

.support-card-link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	color: #fff;
}

.support-media-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.support-card img {
	height: 100%;
}

.support-card .card-button {
	display: none !important;
	margin: 0 auto;
}

.news-card:hover h3,
.support-card:hover h3 {
	font-size: 1rem;
}

.support-card:hover .card-button {
	display: flex !important;
}

.support-content h3 {
	font-size: 1.3rem;
	line-height: 1.45;
	font-weight: 400;
	text-transform: uppercase;
}

.support-content h3 {
    font-size: 1.75rem;
    line-height: 1;
}

.card-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-width: 136px;
	min-height: 44px;
	padding: 0 20px;
	background: var(--blue);
	color: #fff;
	border-radius: 5px;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition: transform var(--transition), background var(--transition), opacity var(--transition);
}

.support-card:hover .card-button {
	background: var(--blue-dark);
}

section.section.section-support {
    padding-top: 0;
}

.section-support .section-text-support {
	max-width: 100%;
	margin-bottom: 28px;
}

.support-grid {
	margin-top: 22px;
}

.support-card {
	min-height: 360px;
}

.support-content {
	display: flex;
	flex-direction: column;
	gap: 18px;
	justify-content: center;
	align-items: center;
	height: 100%;
    inset: 0 0 0 0;
}

.support-content .card-button {
	opacity: 1;
	align-self: center;
}
