* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	height: 100%;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	overflow: hidden;
}

/* BACKGROUND + CINEMATIC ZOOM */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("/img/background.webp") center center / cover no-repeat;
    transform: scale(1);
    animation: bgZoom 30s ease-in-out infinite alternate;
    z-index: -3;

    /* světlejší fotka, původní kontrast */
    filter: none;
}


/* JEMNÁ SVĚTELNÁ VRSTVA */
body::after {
	content: "";
	position: fixed;
	inset: -20%;
	background:
		radial-gradient(circle at 30% 40%, rgba(255,255,255,0.04), transparent 45%),
		radial-gradient(circle at 70% 60%, rgba(255,255,255,0.03), transparent 50%),
		radial-gradient(circle at 50% 80%, rgba(255,255,255,0.02), transparent 55%);
	animation: lightMove 18s ease-in-out infinite;
	z-index: -2;
}

.overlay {
	min-height: 100vh;
	background: rgba(0, 0, 0, 0);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	text-align: center;
}

.content {
    max-width: 820px;
    color: #ffffff;

    /* rámeček */
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    padding: 2.5rem 3rem;
    border-radius: 18px;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255,255,255,0.05);

    /* animace zůstávají */
    opacity: 0;
    transform: translateY(25px);
    animation: contentFade 1.4s ease-out forwards;
    animation-delay: 0.4s;
}


.logo {
	margin-bottom: 2rem;
	opacity: 0;
	transform: translateY(-15px) scale(0.97);
	animation: logoFade 1.6s ease-out forwards;
	animation-delay: 0.8s;
}

.logo img {
	max-width: 260px;
	width: 100%;
	height: auto;
}

h1 {
	font-size: clamp(2rem, 5vw, 3.2rem);
	margin-bottom: 1rem;
	letter-spacing: 0.08em;
}

p {
	font-size: clamp(1.1rem, 2.5vw, 1.4rem);
	margin-bottom: 2rem;
	line-height: 1.6;
}

.contact {
	font-size: clamp(1.2rem, 3vw, 1.6rem);
	font-weight: 600;
}

.contact a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	color: #ffffff;
	text-decoration: none;
	margin-top: 0.8rem;
	transition: opacity 0.3s ease;
}

.contact a:hover {
	opacity: 0.85;
}

h1, p, .contact, .logo {
	text-shadow: 0 3px 14px rgba(0,0,0,0.9);
}

/* ANIMACE */
@keyframes contentFade {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes logoFade {
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes bgZoom {
	0%   { transform: scale(1); }
	100% { transform: scale(1.08); }
}

@keyframes lightMove {
	0%   { transform: translate(0, 0); }
	50%  { transform: translate(-3%, -2%); }
	100% { transform: translate(2%, 3%); }
}

/* PŘÍSTUPNOST */
@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
	}
}

@media (max-width: 600px) {
    .content {
        padding: 2rem 1.5rem;
        border-radius: 14px;
    }
}