
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	/* Use Inter for body; fallback to system sans-serif */
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
:root{
	/* Dark theme palette */
	--bg: #333333; /* page background */
	--surface: #414141; /* main surface */
	--card: #686868; /* card backgrounds */
	--text: #e6f0f6; /* primary text */
	--muted-text: #9fb4c3; /* secondary text */
	--accent: #8d0505; /* bright accent (cyan) */
	--accent-strong: #ca1103;
	--positive: #34d399; /* green */
	--shadow: rgba(2,6,23,0.6);
}

body {
	background-color: var(--bg);
	color: var(--text);
	line-height: 1.6;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
header {
	background-color: var(--surface);
	box-shadow: 0 6px 20px var(--shadow);
	padding: 10px 0;
	position: sticky;
	top: 0;
	z-index: 100;
}
.logo {
	font-size: 24px;
	font-weight: 700;
	color: #2c3e50;
	/* Use Poppins for logo/headings */
	font-family: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Headings use Poppins for a modern, clean look */
h1, h2, h3 {
	font-family: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	color: #ffffff;
}

h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 600; }
/* Navbar */
.header-inner{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:1rem;
}
.main-nav ul{
	list-style:none;
	display:flex;
	gap:1rem;
	align-items:center;
}
.main-nav a{
	color: var(--text);
	text-decoration:none;
	padding:8px 12px;
	border-radius:6px;
	transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus{
	background: rgba(56,189,248,0.08);
	color: var(--accent);
}
.nav-toggle{
	display: none; /* shown at mobile breakpoint */
	background: transparent;
	border: 0;
	cursor: pointer;
	width: 44px; /* touch target */
	height: 44px;
	padding: 8px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
}

.nav-toggle:focus{
	outline: 2px solid rgba(255,255,255,0.12);
	box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.nav-toggle .hamburger{
	position: relative;
	width: 22px;
	height: 2px;
	background: var(--text);
	display: block;
	transition: background 200ms ease, transform 250ms ease;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after{
	content: '';
	position: absolute;
	left: 0;
	width: 22px;
	height: 2px;
	background: var(--text);
	transition: transform 250ms ease, top 250ms ease, opacity 200ms ease;
}
.nav-toggle .hamburger::before{ top: -7px; }
.nav-toggle .hamburger::after{ top: 7px; }

/* When menu is open (button's aria-expanded is set to true by the script), morph into an X */
.nav-toggle[aria-expanded="true"] .hamburger{
	background: transparent; /* hide middle bar */
}
.nav-toggle[aria-expanded="true"] .hamburger::before{
	transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after{
	transform: translateY(-7px) rotate(-45deg);
}

/* Slight hover/tap feedback */
.nav-toggle:hover .hamburger::before,
.nav-toggle:hover .hamburger::after,
.nav-toggle:hover .hamburger{
	opacity: 0.95;
}

/* Smooth scrolling for in-page links */
html{
	scroll-behavior: smooth;
}
.hero {
	position: relative;
	color: var(--text);
	text-align: center;
	padding: 120px 20px;
	/* Use viewport-based minimum height so the hero is larger on most screens */
	min-height: 65vh; /* ~65% of viewport height */
	/* Fallback background color while video loads */
	background-color: var(--surface);
	overflow: hidden;
	display: flex;
	align-items: center;
}

/* Video element that sits behind the hero content */
.hero-video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 120%; /* slightly more than 100% to cover tall aspect ratios */
	height: 120%;
	transform: translate(-50%, -50%);
	object-fit: cover;
	z-index: 0;
	pointer-events: none; /* prevent interactions */
}

.hero-video img {
	display: none; /* hide image fallback inside video tag if present */
}

.hero-content {
	position: relative;
	z-index: 1; /* above the video */
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 20px;
	border-radius: 8px;
}
.hero h1 {
	font-size: 2.5rem;
	margin-bottom: 20px;
}
.hero p {
	font-size: 1.2rem;
	max-width: 800px;
	margin: 0 auto;
}
section {
	padding: 60px 0;
}
.section-title {
	text-align: center;
	margin-bottom: 40px;
	color: var(--text);
	position: relative;
}
.section-title:after {
	content: '';
	display: block;
	width: 80px;
	height: 3px;
	background: var(--accent);
	margin: 15px auto;
}
.features {
	background-color: transparent;
}
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}
.feature-card {
	background: var(--card);
	border-radius: 8px;
	padding: 30px;
	text-align: center;
	box-shadow: 0 8px 20px rgba(2,6,23,0.5);
	transition: transform 0.3s ease, box-shadow 0.18s ease;
}
.feature-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(2,6,23,0.6);
}
.feature-icon {
	font-size: 2.5rem;
	color: var(--accent);
	margin-bottom: 20px;
}
.feature-card h3 {
	margin-bottom: 15px;
	color: var(--text);
}
.about {
	background-color: transparent;
}
.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}
.about-image {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(2,6,23,0.45);
}
.about-image img {
	width: 100%;
	height: auto;
	display: block;
}
.products {
	background-color: transparent;
}
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}
.product-card {
	background: var(--card);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(2,6,23,0.5);
}
.product-image {
	height: 200px;
	overflow: hidden;
}
.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.product-card:hover .product-image img {
	transform: scale(1.05);
}
.product-info {
	padding: 20px;
}
.color-swatches{
	display:flex;
	gap:8px;
	margin:12px 0 8px;
	align-items:center;
}
.swatch{
	width:20px;
	height:20px;
	border-radius:4px;
	border: 1px solid rgba(255,255,255,0.06);
	box-shadow: 0 2px 6px rgba(2,6,23,0.6);
}
.swatch-purple{ background: #7c3aed; }
.swatch-orange{ background: #f97316; }
.swatch-green{ background: #10b981; }
.swatch-blue{ background: #3b82f6; }
.swatch-white{ background: #ffffff; border:1px solid rgba(0,0,0,0.12); }
.swatch-yellow{ background: #facc15; }

/* visually hidden helper for screen readers */
.sr-only{
	position:absolute;
	width:1px;
	height:1px;
	padding:0;
	margin:-1px;
	overflow:hidden;
	clip:rect(0,0,0,0);
	white-space:nowrap;
	border:0;
}
.btn {
	display: inline-block;
	background: linear-gradient(90deg,var(--accent),var(--accent-strong));
	color: #012026;
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	margin-top: 15px;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(14,165,201,0.12);
}
.applications {
	background-color: transparent;
}
.applications-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}
.application-item {
	background: var(--card);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(2,6,23,0.45);
	text-align: center;
}
.gallery {
	background-color: transparent;
}
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 15px;
}
.gallery-item {
	height: 400px;
	overflow: hidden;
	border-radius: 8px;
	position: relative;
}
.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.gallery-item:hover img {
	transform: scale(1.1);
}
/* Kontakt */
.contact-container {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
}
.contact-info {
	flex: 1;
	min-width: 300px;
	background-color: var(--card);
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(2,6,23,0.45);
}

.map-wrapper{
	width: 100%;
	height: 220px;
	overflow: hidden;
	border-radius: 8px;
	margin-bottom: 1rem;
	border: 1px solid rgba(255,255,255,0.04);
}
.map-wrapper iframe{
	width:100%;
	height:100%;
	display:block;
	border:0;
}

.contact-info h3 {
	color: white;
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
}
.contact-details {
	margin-bottom: 2rem;
}
.contact-details p {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.8rem;
}
.contact-details i {
	color: var(--accent-strong);
	font-size: 1.2rem;
	width: 25px;
}
.social-media {
	display: flex;
	gap: 1rem;
	margin-top: 2rem;
}
.social-media a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: rgba(255,255,255,0.03);
	color: var(--text);
	border-radius: 50%;
	transition: all 0.3s;
}
.social-media a:hover {
	background-color: rgba(56,189,248,0.12);
	transform: translateY(-3px);
}

/* Floating language selector (FAB) */
.lang-fab{
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 2000;
	font-family: inherit;
}
.lang-fab-btn{
	background: linear-gradient(180deg,var(--accent),var(--accent-strong));
	color: #012026;
	border: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	box-shadow: 0 10px 30px rgba(2,6,23,0.5);
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.lang-fab-btn:focus{ outline: 3px solid rgba(255,255,255,0.12); }
.lang-fab-panel{
	margin-bottom: 10px;
	margin-right: 6px;
	display: none;
	max-height: 320px;
	width: 120px;
	overflow: auto;
	background: rgba(6,16,24,0.98);
	border-radius: 10px;
	padding: 8px;
	box-shadow: 0 12px 40px rgba(2,6,23,0.6);
}
.lang-fab-panel[aria-hidden="false"]{ display: block; }
.lang-list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:6px; }
.lang-list li a{ display:flex; flex-direction:column; align-items:center; gap:4px; text-decoration:none; color:var(--text); font-size:12px; padding:6px; border-radius:6px; }
.lang-list li a img{ width:20px; height:auto; display:block; }
.lang-list li a:hover{ background: rgba(255,255,255,0.03); color: var(--accent); }
.lang-list li a.active{ background: rgba(255,255,255,0.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02); }

@media (max-width:420px){
	.lang-fab-panel{ right: 10px; left: auto; width: 110px; max-height: 260px; }
	.lang-fab{ right: 12px; bottom: 12px; }
}
.contact-form {
	flex: 1;
	min-width: 300px;
	background-color: var(--card);
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(2,6,23,0.45);
}
.contact-form h3 {
	color: white;
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
}
.form-group {
	margin-bottom: 1.5rem;
}
.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--text);
	font-weight: 500;
}
.form-group input, .form-group textarea, .form-group select {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid rgba(255,255,255,0.06);
	background: rgba(255,255,255,0.02);
	color: var(--text);
	border-radius: 5px;
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 6px 20px rgba(14,165,201,0.08);
}
.form-group textarea {
	min-height: 150px;
	resize: vertical;
}
.submit-btn {
	background: linear-gradient(90deg,var(--accent),var(--accent-strong));
	color: #012026;
	border: none;
	padding: 0.8rem 1.8rem;
	border-radius: 30px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(14,165,201,0.12);
}
footer {
	background-color: #061018;
	color: var(--muted-text);
	text-align: center;
	padding: 20px 0;
}
@media (max-width: 768px) {
.about-content, .contact-container {
	grid-template-columns: 1fr;
}
.hero h1 {
	font-size: 2rem;
}
.hero p {
	font-size: 1rem;
}
	/* Mobile nav: hide full menu and show toggle */
	.main-nav ul{ display:none; flex-direction:column; gap:0; }
	.nav-toggle{ display:inline-flex; margin-left: auto; }
	.main-nav.open ul{ display:flex; background:white; position:absolute; right:20px; top:64px; padding:10px; border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,0.15); }
	.main-nav.open ul a{ display:block; padding:10px 16px; color:#2c3e50; }
	header{ padding:10px 0; }
}
