@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

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

:root {
	--bg: #DCCCB6;
	--bg-rgb: 220, 204, 182;
	--panel: rgba(255, 255, 255, 0.94);
	--panel-opaque: #ffffff;
	--primary-color: #737373;
	--primary-rgb: 115, 115, 115;
	--secondary-color: #5c5c5c;
	--secondary-rgb: 92, 92, 92;
	--on-primary: #ffffff;
	--accent-color: #737373;
	--text-color: #4f4f4f;
	--muted: #737373;
	--white: #737373;
	--border: rgba(115, 115, 115, 0.18);
	--border-hover: rgba(115, 115, 115, 0.36);
	--shadow: 0 10px 30px -12px rgba(115, 115, 115, 0.35);
	--glow-shadow: 0 0 25px rgba(115, 115, 115, 0.12);
	--font-title: 'Outfit', sans-serif;
	--font-body: 'Inter', sans-serif;
}

body {
	font-family: var(--font-body);
	line-height: 1.65;
	color: var(--text-color);
	background-color: var(--bg);
	background-image: 
		radial-gradient(circle at 10% 20%, rgba(var(--primary-rgb), 0.08) 0%, transparent 40%),
		radial-gradient(circle at 90% 80%, rgba(var(--secondary-rgb), 0.08) 0%, transparent 40%);
	background-attachment: fixed;
	overflow-x: hidden;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
	overflow-x: clip;
}

section {
	scroll-margin-top: 80px;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pulseGlow {
	0%, 100% {
		box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
	}
	50% {
		box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.6);
	}
}

/* Scrollbar */
::-webkit-scrollbar {
	width: 10px;
}
::-webkit-scrollbar-track {
	background: var(--bg);
}
::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 5px;
	border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
	background: var(--primary-color);
}

/* Header & Navbar */
.navbar {
	background: var(--panel);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 100;
	transition: all 0.3s ease;
}

.navbar-container {
	max-width: 1320px;
	width: 100%;
	margin: 0 auto;
	padding: 0 28px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 80px;
	column-gap: 24px;
}

.nav-panel {
	display: contents;
}

.navbar-logo {
	grid-column: 2;
	grid-row: 1;
	z-index: 2;
	padding: 0 16px;
}

.navbar-logo a {
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
}

.brand-logo {
	height: 46px;
	width: auto;
	display: block;
}

.hero-logo {
	display: block;
	height: 168px;
	width: auto;
	margin: 0 auto 28px;
}

.logo-text {
	font-family: var(--font-title);
	font-size: 22px;
	font-weight: 800;
	color: #737373;
	letter-spacing: -0.5px;
}

.nav-group {
	display: flex;
	list-style: none;
	gap: 40px;
	align-items: center;
	grid-row: 1;
	min-width: 0;
	width: max-content;
}

.nav-group-left {
	grid-column: 1;
	justify-self: end;
}

.nav-group-right {
	grid-column: 3;
	justify-self: start;
}

.nav-item {
	position: relative;
}

.nav-link {
	color: var(--muted);
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	transition: color 0.25s ease;
	padding: 8px 0;
	display: inline-block;
}

.nav-link:hover {
	color: var(--white);
}

.nav-link::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -2px;
	left: 0;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	transition: width 0.3s ease;
	border-radius: 2px;
}

.nav-link:hover::after {
	width: 100%;
}

.nav-link-btn {
	background: rgba(var(--primary-rgb), 0.08) !important;
	color: var(--white) !important;
	border: 1px solid rgba(var(--primary-rgb), 0.3) !important;
	padding: 10px 24px !important;
	border-radius: 30px !important;
	font-weight: 600 !important;
	transition: all 0.3s ease !important;
}

.nav-link-btn:hover {
	background: rgba(var(--primary-rgb), 0.2) !important;
	border-color: var(--primary-color) !important;
	box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
	transform: translateY(-1px);
}

.nav-link-btn::after {
	display: none !important;
}

.lang-toggle-btn {
	background: rgba(115, 115, 115, 0.06) !important;
	color: #737373 !important;
	border: 1px solid rgba(115, 115, 115, 0.22) !important;
	padding: 10px 18px !important;
	border-radius: 30px !important;
	font-weight: 600 !important;
	cursor: pointer;
	font-family: var(--font-body);
	font-size: 14px;
	transition: all 0.3s ease !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.lang-toggle-btn:hover {
	background: rgba(115, 115, 115, 0.12) !important;
	border-color: rgba(115, 115, 115, 0.4) !important;
	transform: translateY(-1px);
}

.lang-icon {
	opacity: 0.8;
	transition: transform 0.3s ease;
}

.lang-toggle-btn:hover .lang-icon {
	transform: rotate(15deg);
}

.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 5px;
}

.hamburger span {
	width: 24px;
	height: 2px;
	background: var(--text-color);
	transition: all 0.3s ease;
	border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
	position: relative;
	padding: 130px 24px 100px;
	text-align: center;
	min-height: calc(100vh - 76px);
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at top, rgba(var(--primary-rgb), 0.12) 0%, transparent 60%);
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 20%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.08) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}

.hero-content {
	max-width: 850px;
	z-index: 1;
	animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
	font-family: var(--font-title);
	font-size: 56px;
	font-weight: 900;
	line-height: 1.15;
	margin-bottom: 24px;
	letter-spacing: -1.5px;
	color: #737373;
}

.hero-content p {
	font-size: 20px;
	margin-bottom: 12px;
	color: var(--text-color);
	font-weight: 400;
}

.hero-subtitle {
	font-size: 16px;
	margin-bottom: 40px;
	color: var(--muted) !important;
}

.hero-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.cta-button {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: var(--on-primary);
	text-decoration: none;
	padding: 16px 72px;
	min-width: 340px;
	font-size: 16px;
	border: none;
	border-radius: 30px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.cta-button::after {
	content: '';
	position: absolute;
	top: 0;
	left: -50%;
	width: 200%;
	height: 100%;
	background: linear-gradient(
		to right,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.25) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: skewX(-25deg);
	transition: 0.75s;
	opacity: 0;
}

.cta-button:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.4), 0 0 15px rgba(var(--secondary-rgb), 0.2), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.cta-button:hover::after {
	left: 125%;
	opacity: 1;
	transition: all 0.75s ease-in-out;
}

.cta-icon {
	transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cta-button:hover .cta-icon {
	transform: translateX(4px);
}

/* Sections - General spacing */
.products-preview {
	max-width: 1200px;
	margin: 100px auto;
	padding: 0 24px;
}

.products-preview h2 {
	text-align: center;
	font-family: var(--font-title);
	font-size: 38px;
	font-weight: 800;
	margin-bottom: 16px;
	letter-spacing: -0.5px;
	color: var(--white);
}

.portfolio-preview h2 {
	margin-bottom: 8px;
}

.portfolio-hint {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

.portfolio-preview .products-grid {
	margin-top: 28px;
}

/* Grid & Cards (Shared by Services, Pricing, Portfolio) */
.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 28px;
	margin-top: 40px;
}

.product-card {
	background: var(--panel);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 20px;
	padding: 36px 28px;
	text-align: center;
	box-shadow: var(--shadow);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	border: 1px solid var(--border);
	position: relative;
	overflow: hidden;
}

.product-card:hover {
	transform: translateY(-6px);
	border-color: rgba(var(--primary-rgb), 0.3);
	box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(var(--primary-rgb), 0.15);
}

.product-image {
	font-size: 32px;
	width: 68px;
	height: 68px;
	margin: 0 auto 24px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.04);
}

.product-card:hover .product-image {
	background: rgba(var(--primary-rgb), 0.1);
	border-color: rgba(var(--primary-rgb), 0.3);
	transform: scale(1.08);
}

.product-card h3 {
	font-family: var(--font-title);
	color: var(--white);
	margin-bottom: 12px;
	font-size: 22px;
	font-weight: 700;
}

.product-card p {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}

/* Pricing Specializations */
.pricing h2 {
	margin-bottom: 8px;
}

.pricing-subtitle {
	text-align: center;
	color: var(--muted);
	font-size: 16px;
	margin-bottom: 40px;
}

.pricing .price {
	font-family: var(--font-title);
	font-size: 28px;
	font-weight: 800;
	color: #737373;
	margin: 16px 0 24px;
}

.price-features {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: var(--muted);
	font-size: 15px;
	text-align: left;
	border-top: 1px solid var(--border);
	padding-top: 24px;
}

.price-features li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.price-features li::before {
	content: '✓';
	color: var(--primary-color);
	font-weight: bold;
	font-size: 14px;
}

.pricing-note {
	text-align: center;
	color: var(--muted);
	font-size: 14px;
	margin-top: 32px;
}

/* Popular pricing highlight */
.product-card.popular {
	border-color: rgba(var(--primary-rgb), 0.4);
	box-shadow: 0 15px 35px -10px rgba(var(--primary-rgb), 0.2), var(--shadow);
}

.product-card.popular::before {
	content: 'NÉPSZERŰ';
	position: absolute;
	top: 16px;
	right: 16px;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: var(--on-primary);
	font-size: 10px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
	letter-spacing: 0.5px;
}

/* About Section */
.about-section {
	max-width: 800px;
	margin: 100px auto;
	padding: 0 24px;
	scroll-margin-top: 80px;
}

.about-container {
	display: block;
}

.about-text-content h2 {
	font-family: var(--font-title);
	font-size: 38px;
	font-weight: 800;
	color: var(--white);
	margin-bottom: 24px;
	position: relative;
	display: inline-block;
}

.about-text-content h2::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	border-radius: 2px;
}

.about-text-content p {
	font-size: 16px;
	color: var(--muted);
	line-height: 1.8;
	margin-bottom: 20px;
}

.about-text-content .about-lead {
	font-family: var(--font-title);
	font-size: 20px;
	font-weight: 600;
	color: var(--white);
	margin-bottom: 22px;
}

.about-text-content .about-tagline {
	color: var(--text-color);
	font-weight: 600;
}

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

/* Contact Section */
.contact-section {
	max-width: 1200px;
	margin: 100px auto;
	padding: 0 24px;
	scroll-margin-top: 80px;
}

.contact-container {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 50px;
	background: var(--panel);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 56px;
	box-shadow: var(--shadow);
}

.contact-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.contact-info h2 {
	font-family: var(--font-title);
	font-size: 38px;
	font-weight: 800;
	color: var(--white);
	margin-bottom: 16px;
	text-align: left;
}

.contact-description {
	color: var(--muted);
	font-size: 16px;
	margin-bottom: 36px;
	line-height: 1.65;
}

.contact-details {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 16px;
}

.contact-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(var(--primary-rgb), 0.08);
	border: 1px solid rgba(var(--primary-rgb), 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}

.contact-item h4 {
	color: var(--white);
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

.contact-item a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
	font-size: 15px;
}

.contact-item a:hover {
	color: var(--white);
}

.contact-form-container {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 36px;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-group label {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-color);
}

.form-group input,
.form-group textarea {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 14px 16px;
	color: var(--white);
	font-family: var(--font-body);
	font-size: 14px;
	transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	background: rgba(var(--primary-rgb), 0.02);
	box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.15);
}

.submit-button {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: var(--on-primary);
	border: none;
	border-radius: 10px;
	padding: 16px 20px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 8px;
	box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.2);
}

.submit-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
}

/* Footer Section */
.footer {
	background: var(--panel-opaque);
	border-top: 1px solid var(--border);
	padding: 40px 24px;
	margin-top: 100px;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}

.footer-legal {
	display: flex;
	gap: 24px;
}

.footer-link {
	color: var(--muted);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.25s ease;
	font-weight: 500;
}

.footer-link:hover {
	color: var(--white);
}

.footer-content p {
	color: var(--muted);
	font-size: 14px;
	text-align: center;
	flex: 1;
}

.social-links {
	display: flex;
	gap: 16px;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.02);
	font-size: 20px;
	text-decoration: none;
	transition: all 0.3s ease;
	border: 1px solid var(--border);
}

.social-link:hover {
	background: rgba(var(--primary-rgb), 0.1);
	border-color: rgba(var(--primary-rgb), 0.3);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.15);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
	.about-container {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.about-text-content {
		text-align: center;
	}

	.about-text-content h2::after {
		left: 50%;
		transform: translateX(-50%);
	}
}

@media (max-width: 1100px) {
	html {
		scroll-padding-top: calc(70px + env(safe-area-inset-top));
	}

	.navbar {
		padding-top: env(safe-area-inset-top);
	}

	.navbar-container {
		display: flex;
		justify-content: center;
		height: 70px;
		padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
	}

	.navbar-logo {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		padding: 0;
	}

	.hamburger {
		position: absolute;
		right: max(8px, env(safe-area-inset-right));
		top: 50%;
		transform: translateY(-50%);
		z-index: 3;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
	}

	.nav-panel {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--panel-opaque);
		width: 100%;
		text-align: center;
		gap: 2px;
		padding: 12px max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left));
		box-shadow: var(--shadow);
		border-bottom: 1px solid var(--border);
		max-height: calc(100dvh - 70px - env(safe-area-inset-top));
		overflow-y: auto;
		z-index: 250;
		visibility: hidden;
		pointer-events: none;
	}

	.nav-panel.active {
		visibility: visible;
		pointer-events: auto;
	}

	.nav-group {
		flex-direction: column;
		width: 100%;
		gap: 2px;
		justify-content: flex-start;
	}

	.nav-item {
		padding: 2px 0;
		width: 100%;
	}

	.nav-link {
		display: block;
		padding: 12px 8px;
	}

	.nav-link::after {
		display: none;
	}

	.nav-link-btn {
		display: inline-block;
	}

	.lang-toggle-btn {
		padding: 12px 28px !important;
		font-size: 15px;
	}

	.hamburger {
		display: flex;
	}

	.hero {
		padding-top: 100px;
	}

	.hero-content h1 {
		font-size: 38px;
	}

	.hero-logo {
		height: 120px;
	}

	.hero-content p {
		font-size: 16px;
	}

	.products-preview {
		margin: 60px auto;
	}

	.products-preview h2,
	.about-text-content h2 {
		font-size: 30px;
	}

	.products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.product-card,
	.contact-container,
	.contact-form-container {
		min-width: 0;
	}

	.price-features li {
		align-items: flex-start;
	}

	.contact-container {
		grid-template-columns: 1fr;
		padding: 36px 24px;
		gap: 36px;
	}

	.contact-info h2 {
		font-size: 30px;
	}

	.footer-content {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.footer-legal {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px;
	}

	.footer-content p {
		flex: none;
		order: 2;
	}

	.social-links {
		justify-content: center;
		order: 3;
	}

	.footer {
		padding-bottom: max(40px, calc(24px + env(safe-area-inset-bottom)));
	}
}

@media (max-width: 1100px) and (min-width: 900px) {
	.contact-container {
		grid-template-columns: 1fr 1.1fr;
		padding: 40px 28px;
		gap: 28px;
	}
}

@media (max-width: 700px) {
	.products-grid {
		grid-template-columns: 1fr;
	}

	.form-group input,
	.form-group textarea {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.hero {
		padding: 88px 16px 72px;
	}

	.hero-content h1 {
		font-size: 30px;
	}

	.hero-logo {
		height: 104px;
		margin-bottom: 20px;
	}

	.hero-buttons {
		flex-direction: column;
		gap: 12px;
	}

	.cta-button {
		width: 100%;
		min-width: 0;
		padding: 14px 24px;
	}

	.products-preview,
	.about-section,
	.contact-section {
		padding-left: 16px;
		padding-right: 16px;
	}

	.product-card {
		padding: 28px 18px;
	}

	.contact-container {
		padding: 24px 16px;
	}

	.contact-form-container {
		padding: 24px 16px;
	}

	.contact-item a,
	.footer-content p,
	.footer-link {
		overflow-wrap: anywhere;
	}
}

@media (max-width: 900px) and (max-height: 500px) {
	.hero {
		min-height: 0;
		padding: 36px 20px;
	}

	.hero-logo {
		height: 72px;
		margin-bottom: 12px;
	}

	.hero-subtitle {
		margin-bottom: 20px;
	}
}

.product-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.hero-content h1,
.pricing .price,
.blog-header h1 {
	background: none;
	-webkit-text-fill-color: #737373;
	color: #737373;
}
