@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

:root {
	--dirt: #1a1f16;
	--brown: #2d241a;
	--forest-white: #fdfbf7;
	--accent: #6b8e23;
	--akcio: #e63946;
	--gold: #c2a371;
	--card-bg: rgba(45, 58, 39, 0.4);
	--transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	background: linear-gradient(
		135deg,
		#121510 0%,
		#1a1f16 25%,
		#2d241a 50%,
		#1a1f16 75%,
		#121510 100%
	);
	background-attachment: fixed;
	color: var(--forest-white);
	font-family: "Inter", sans-serif;
	overflow-x: hidden;
	cursor: none;
}

.noise {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	pointer-events: none;
	opacity: 0.05;
	background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://w3.org"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
}

/* Cursors */
#cursor {
	position: fixed;
	width: 12px;
	height: 12px;
	background: var(--accent);
	border-radius: 50%;
	pointer-events: none;
	z-index: 10000;
	transition: transform 0.1s ease-out;
}
#cursor-follower {
	position: fixed;
	width: 40px;
	height: 40px;
	border: 1px solid var(--accent);
	border-radius: 50%;
	pointer-events: none;
	z-index: 9999;
	transition: transform 0.25s ease-out;
	opacity: 0.3;
}

#cursor,
#cursor-follower {
	position: fixed;
	pointer-events: none;
	z-index: 999999 !important;
	mix-blend-mode: normal;
}

/* Nav */
nav {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 1.5rem 5%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 1000;
	background: rgba(18, 21, 16, 0.85);
	backdrop-filter: blur(15px);
	border-bottom: 1px solid rgba(253, 251, 247, 0.05);
}

.logo {
	font-family: "Playfair Display";
	font-weight: 900;
	font-size: 1.6rem;
	letter-spacing: 4px;
	color: var(--forest-white);
}

.nav-links a {
	margin-left: 2rem;
	text-decoration: none;
	color: var(--forest-white);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 600;
	transition: var(--transition);
	opacity: 0.6;
}
.nav-links a:hover {
	opacity: 1;
	color: var(--accent);
}

.hero {
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 10%;
}
.blob {
	position: absolute;
	width: 600px;
	height: 600px;
	background: radial-gradient(
		circle,
		rgba(107, 142, 35, 0.15) 0%,
		transparent 70%
	);
	filter: blur(80px);
	z-index: -1;
	top: 10%;
	right: -5%;
	animation: move 25s infinite alternate;
}
@keyframes move {
	from {
		transform: translate(0, 0);
	}
	to {
		transform: translate(-10%, 10%);
	}
}

h1 {
	font-family: "Playfair Display";
	font-size: clamp(3.5rem, 10vw, 8rem);
	line-height: 0.9;
	text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
h1 i {
	display: block;
	font-style: italic;
}
.tagline {
	margin-top: 2.5rem;
	font-size: clamp(1rem, 1.5vw, 1.3rem);
	max-width: 600px;
	color: var(--accent);
	border-left: 3px solid var(--gold);
	padding-left: 2rem;
}

section {
	padding: 15vh 10%;
	position: relative;
}
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 40px;
}

.card {
	padding: 3rem 2rem;
	background: rgba(45, 58, 39, 0.25);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(253, 251, 247, 0.05);
	color: var(--forest-white);
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}

.card:hover {
	transform: translateY(-15px);
	background: rgba(65, 78, 59, 0.4);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
	border-color: var(--accent);
}

.card-num {
	position: absolute;
	bottom: -10px;
	right: 10px;
	font-family: "Playfair Display";
	font-size: 8rem;
	color: var(--forest-white);
	opacity: 0.05;
	transition: var(--transition);
	z-index: 0;
}
.card:hover .card-num {
	opacity: 0.15;
	transform: scale(1.1);
}

.card h3 {
	font-family: "Playfair Display";
	font-size: 2rem;
	margin-bottom: 1.5rem;
	position: relative;
	z-index: 1;
}
.card p {
	position: relative;
	z-index: 1;
	opacity: 0.8;
}

#bunozok {
	background: #121510;
	border-top: 2px solid var(--akcio);
}
#bunozok h2 {
	font-family: "Playfair Display";
	color: var(--akcio);
	margin-bottom: 3rem;
	font-size: 3rem;
}
.card.danger {
	background: rgba(36, 42, 32, 0.6);
	border-color: rgba(139, 38, 38, 0.2);
}
.card.danger:hover {
	border-color: var(--akcio);
	background: rgba(139, 38, 38, 0.1);
}

#mitologia {
	background: linear-gradient(to bottom, #1a1f16, #0d0f0b);
	text-align: center;
	color: var(--gold);
}
#mitologia h2 {
	color: var(--forest-white);
	font-size: 3.5rem;
	margin-bottom: 2rem;
}
.mito-text {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1.3rem;
	font-style: italic;
	line-height: 1.8;
}

.btn {
	display: inline-block;
	margin-top: 3rem;
	padding: 1.2rem 3rem;
	background: transparent;
	color: var(--forest-white);
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 2px;
	font-size: 0.8rem;
	transition: var(--transition);
	border: 1px solid var(--forest-white);
}

.btn:hover {
	background: var(--accent);
	color: var(--dirt);
	transform: translateY(-5px);
}

.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: 1.2s var(--transition);
}
.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

.card .btn {
	opacity: 0.8;
	border-width: 1px;
	margin-top: 1.5rem;
}

.card:hover .btn {
	opacity: 1;
	background: var(--accent);
	border-color: var(--accent);
	color: var(--dirt);
}

:focus {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.sr-only:focus {
	position: static;
	width: auto;
	height: auto;
	background: var(--accent);
	color: var(--dirt);
	padding: 1rem;
	z-index: 10001;
}
