@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Simple Fade-In Animation */
@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Poppins', sans-serif;
	background: #0E1325;
	color: #ffffff;
	line-height: 1.6;
	overflow-x: hidden;
}

/* Animated Background - Optimized */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 20% 50%, rgba(249, 168, 38, 0.05) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(249, 168, 38, 0.03) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}

/* Navigation */
nav {
	position: fixed;
	top: 0;
	width: 100%;
	background: #F9A826;
	padding: 20px 60px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: padding 0.3s ease;
}

.logo {
	font-size: 1rem;
	font-weight: 800;
	color: #0E1325;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1.2;
	z-index: 1001;
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.logo-main {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: 2px;
}

.logo-sub {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 1px;
	opacity: 0.9;
}

.logo-icon {
	width: 50px;
	height: 50px;
	object-fit: contain;
	flex-shrink: 0;
}

nav .nav-links .language-switcher .lang-divider,
.nav-links .language-switcher .lang-divider {
	color: #0E1325 !important;
}

.nav-links {
	display: flex;
	gap: 35px;
	list-style: none;
	transition: all 0.3s ease;
}

.nav-links a {
	color: #0E1325;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	position: relative;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0%;
	height: 2px;
	background: #0E1325;
	transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
	width: 100%;
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	font-size: 1.8rem;
	color: #0E1325;
	cursor: pointer;
	z-index: 1001;
}

/* Hero Section - Optimized */
.hero {
	padding: 140px 20px 100px;
	text-align: center;
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #0E1325 0%, #1a2344 100%);
	animation: fadeIn 0.6s ease-out;
}

.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background:
		radial-gradient(circle, rgba(249, 168, 38, 0.1) 1px, transparent 1px);
	background-size: 50px 50px;
	opacity: 0.3;
}

.hero h1 {
	font-size: 4rem;
	font-weight: 700;
	color: #F9A826;
	margin-bottom: 20px;
	position: relative;
	text-transform: uppercase;
	letter-spacing: 4px;
}

.hero-line {
	width: 200px;
	height: 4px;
	background: linear-gradient(90deg, transparent, #F9A826, transparent);
	margin: 0 auto;
	position: relative;
}

.container {
	max-width: max-content;
	margin: 0 auto;
	padding: 0 0;
	position: relative;
	z-index: 1;
}

/* Intro Section - Optimized */
.intro-section {
	background: rgba(26, 32, 56, 0.95);
	padding: 60px 40px;
	margin: 40px 20px 60px;
	border-radius: 20px;
	border: 1px solid rgba(249, 168, 38, 0.2);
	border-left: 5px solid #F9A826;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	position: relative;
	overflow: hidden;
	animation: fadeIn 0.6s ease-out 0.1s both;
}

.intro-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at top right, rgba(249, 168, 38, 0.05), transparent);
	pointer-events: none;
}

.intro-section p {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 20px;
	text-align: justify;
	line-height: 1.8;
	position: relative;
}

.intro-section p strong {
	color: #F9A826;
	font-weight: 600;
}

.intro-section p:last-child {
	margin-bottom: 0;
}

/* Progress Tracker - Optimized */
.progress-tracker {
	background: linear-gradient(135deg, #F9A826, #ffd700);
	color: #0E1325;
	padding: 25px 35px;
	border-radius: 20px;
	margin: 40px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 8px 32px rgba(249, 168, 38, 0.4);
	flex-wrap: wrap;
	gap: 15px;
	position: relative;
	overflow: hidden;
	animation: fadeIn 0.6s ease-out 0.2s both;
}

.progress-info {
	display: flex;
	align-items: center;
	gap: 20px;
	position: relative;
}

.progress-icon {
	font-size: 2.5rem;
	animation: bounce 3s ease-in-out infinite;
	will-change: transform;
}

@keyframes bounce {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-5px);
	}
}

.progress-text {
	font-weight: 600;
	font-size: 1.1rem;
}

.progress-count {
	font-size: 1.6rem;
	font-weight: 700;
}

.favorites-btn {
	background: #0E1325;
	color: #F9A826;
	border: none;
	padding: 14px 28px;
	border-radius: 30px;
	cursor: pointer;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 15px rgba(14, 19, 37, 0.5);
	position: relative;
	will-change: transform;
}

.favorites-btn:hover {
	transform: scale(1.05) translateY(-2px);
	box-shadow: 0 8px 25px rgba(14, 19, 37, 0.7);
}

.fav-count {
	background: #F9A826;
	color: #0E1325;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.9rem;
	font-weight: 700;
}

/* HALA Sections */
.hala-section {
	margin: 80px 0;
	padding: 60px 20px;
	background: linear-gradient(180deg, transparent 0%, rgba(26, 32, 56, 0.3) 50%, transparent 100%);
	position: relative;
	animation: fadeIn 0.8s ease-out 0.3s both;
}

.hala-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(249, 168, 38, 0.3), transparent);
}

.hala-title {
	font-size: 3rem;
	font-weight: 700;
	color: #F9A826;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 4px solid #F9A826;
	display: inline-block;
	position: relative;
}

.hala-title::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, #F9A826, #ffd700);
}

.hala-subtitle {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 50px;
	font-weight: 300;
}

/* Topic Cards - Optimized */
.topics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-bottom: 60px;
}

.topic-card {
	background: rgba(26, 32, 56, 0.95);
	border: 2px solid rgba(249, 168, 38, 0.2);
	border-radius: 20px;
	padding: 35px;
	cursor: pointer;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
	will-change: transform;
	animation: fadeIn 0.6s ease-out both;
}

/* Staggered fade-in for topic cards */
.topic-card:nth-child(1) {
	animation-delay: 0.4s;
}

.topic-card:nth-child(2) {
	animation-delay: 0.5s;
}

.topic-card:nth-child(3) {
	animation-delay: 0.6s;
}

.topic-card:nth-child(4) {
	animation-delay: 0.7s;
}

.topic-card:nth-child(5) {
	animation-delay: 0.8s;
}

.topic-card:nth-child(6) {
	animation-delay: 0.9s;
}

.topic-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, transparent, #F9A826, transparent);
	transform: scaleX(0);
	transition: transform 0.4s ease;
}

.topic-card:hover::before {
	transform: scaleX(1);
}

.topic-card:hover {
	border-color: #F9A826;
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(249, 168, 38, 0.3);
}

.topic-icon {
	font-size: 3rem;
	margin-bottom: 20px;
	position: relative;
	z-index: 1;
}

.topic-title {
	font-size: 1.4rem;
	font-weight: 600;
	color: #F9A826;
	margin-bottom: 12px;
	position: relative;
	z-index: 1;
}

.topic-description {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 20px;
	line-height: 1.7;
	position: relative;
	z-index: 1;
}

.read-more {
	color: #F9A826;
	font-weight: 600;
	font-size: 1rem;
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
	z-index: 1;
}

.read-more::after {
	content: '→';
	transition: transform 0.3s ease;
	will-change: transform;
}

.topic-card:hover .read-more::after {
	transform: translateX(8px);
}

/* Motorcycles Section */
.motorcycles-section {
	margin: 0;
	padding: 80px 20px;
	background: linear-gradient(180deg, #0E1325 0%, #1a2344 50%, #0E1325 100%);
	position: relative;
	animation: fadeIn 0.8s ease-out 0.4s both;
}

.motorcycles-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 30% 20%, rgba(249, 168, 38, 0.03) 0%, transparent 50%),
		radial-gradient(circle at 70% 80%, rgba(249, 168, 38, 0.03) 0%, transparent 50%);
	pointer-events: none;
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
	position: relative;
}

.section-main-title {
	font-size: 3.5rem;
	font-weight: 700;
	color: #F9A826;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 3px;
}

.section-description {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.7);
	max-width: 700px;
	margin: 0 auto;
	line-height: 1.8;
}

/* Search and Sort Bar - Optimized */
.controls-bar {
	display: flex;
	gap: 20px;
	margin: 40px 0;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
}

.search-box {
	flex: 1;
	min-width: 250px;
	max-width: 450px;
	position: relative;
}

.search-box input {
	width: 100%;
	padding: 15px 50px 15px 25px;
	border: 2px solid rgba(249, 168, 38, 0.3);
	border-radius: 30px;
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	background: rgba(26, 32, 56, 0.95);
	color: white;
}

.search-box input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.search-box input:focus {
	outline: none;
	border-color: #F9A826;
	box-shadow: 0 0 20px rgba(249, 168, 38, 0.3);
	background: rgba(26, 32, 56, 0.8);
}

.search-icon {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	color: #F9A826;
	font-size: 1.3rem;
}

.sort-dropdown {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding: 15px 50px 15px 25px;
	border: 1px solid rgba(249, 168, 38, 0.4);
	border-radius: 30px;
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	background-color: rgba(14, 19, 37, 0.8);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F9A826' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 20px center;
	background-size: 16px;
	color: #ffffff;
	min-width: 200px;
	backdrop-filter: blur(10px);
}

.sort-dropdown option {
	background: #0E1325;
	color: #ffffff;
	padding: 12px;
}

.sort-dropdown:focus {
	outline: none;
	border-color: #F9A826;
	background-color: rgba(14, 19, 37, 0.95);
	box-shadow: 0 0 0 3px rgba(249, 168, 38, 0.15);
}

.sort-dropdown:hover {
	border-color: #F9A826;
	background-color: rgba(26, 32, 56, 0.9);
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Category Tabs - Optimized */
.category-tabs {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 50px 0;
	flex-wrap: wrap;
	position: relative;
	z-index: 2;
}

.category-tab {
	background: rgba(26, 32, 56, 0.6);
	border: 2px solid rgba(249, 168, 38, 0.3);
	color: rgba(255, 255, 255, 0.8);
	padding: 16px 40px;
	border-radius: 50px;
	cursor: pointer;
	font-family: 'Poppins', sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	will-change: transform;
}

.category-tab:hover {
	border-color: #F9A826;
	color: white;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(249, 168, 38, 0.3);
}

.category-tab.active {
	background: linear-gradient(135deg, #F9A826, #ffd700);
	border-color: #F9A826;
	color: #0E1325;
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(249, 168, 38, 0.5);
}

/* Motorcycle Cards - Optimized */
.motorcycles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 35px;
	margin-top: 50px;
	position: relative;
	z-index: 2;
}

.motorcycle-card {
	background: linear-gradient(145deg, rgba(26, 32, 56, 0.95), rgba(15, 20, 33, 0.98));
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	border: 2px solid rgba(249, 168, 38, 0.2);
	display: flex;
	flex-direction: column;
	position: relative;
	height: 100%;
	min-height: 570px;
	will-change: transform;
	animation: fadeIn 0.6s ease-out both;
}

/* Staggered fade-in for motorcycle cards */
.motorcycle-card:nth-child(n) {
	animation-delay: calc(0.5s + (0.05s * (var(--card-index, 0))));
}

.motorcycle-card:nth-child(1) {
	animation-delay: 0.5s;
}

.motorcycle-card:nth-child(2) {
	animation-delay: 0.55s;
}

.motorcycle-card:nth-child(3) {
	animation-delay: 0.6s;
}

.motorcycle-card:nth-child(4) {
	animation-delay: 0.65s;
}

.motorcycle-card:nth-child(5) {
	animation-delay: 0.7s;
}

.motorcycle-card:nth-child(6) {
	animation-delay: 0.75s;
}

.motorcycle-card:nth-child(7) {
	animation-delay: 0.8s;
}

.motorcycle-card:nth-child(8) {
	animation-delay: 0.85s;
}

.motorcycle-card:nth-child(9) {
	animation-delay: 0.9s;
}

.motorcycle-card:nth-child(10) {
	animation-delay: 0.95s;
}

.motorcycle-card:nth-child(11) {
	animation-delay: 1s;
}

.motorcycle-card:nth-child(12) {
	animation-delay: 1.05s;
}

.motorcycle-card:nth-child(13) {
	animation-delay: 1.1s;
}

.motorcycle-card:nth-child(14) {
	animation-delay: 1.15s;
}

.motorcycle-card:nth-child(15) {
	animation-delay: 1.2s;
}

.motorcycle-card:nth-child(16) {
	animation-delay: 1.25s;
}

.motorcycle-card:nth-child(17) {
	animation-delay: 1.3s;
}

.motorcycle-card:nth-child(18) {
	animation-delay: 1.35s;
}

.motorcycle-card:nth-child(19) {
	animation-delay: 1.4s;
}

.motorcycle-card:nth-child(20) {
	animation-delay: 1.45s;
}

/* Remaining cards appear quickly after the first 20 */
.motorcycle-card:nth-child(n+21) {
	animation-delay: 1.5s;
}

.motorcycle-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, #F9A826, transparent);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.motorcycle-card:hover::before {
	opacity: 1;
}

.motorcycle-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 30px rgba(249, 168, 38, 0.4);
	border-color: rgba(249, 168, 38, 0.6);
}

/* Favorite Heart - Optimized */
.favorite-heart {
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 20;
	background: rgba(14, 19, 37, 0.9);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	border: 2px solid rgba(249, 168, 38, 0.3);
	will-change: transform;
}

.favorite-heart:hover {
	transform: scale(1.15);
	background: rgba(14, 19, 37, 1);
	border-color: #F9A826;
	box-shadow: 0 0 20px rgba(249, 168, 38, 0.5);
}

.favorite-heart.favorited {
	background: linear-gradient(135deg, #F9A826, #ffd700);
	border-color: #F9A826;
	box-shadow: 0 0 30px rgba(249, 168, 38, 0.6);
}

.heart-icon {
	font-size: 1.6rem;
	transition: color 0.3s ease;
}

.favorite-heart:not(.favorited) .heart-icon {
	color: rgba(249, 168, 38, 0.6);
}

.favorite-heart.favorited .heart-icon {
	color: #0E1325;
	animation: heartBeat 0.5s ease;
}

@keyframes heartBeat {

	0%,
	100% {
		transform: scale(1);
	}

	25% {
		transform: scale(1.3);
	}

	50% {
		transform: scale(1.1);
	}
}

/* Card Images - Optimized */
.card-images {
	position: relative;
	width: 100%;
	height: 250px;
	overflow: hidden;
	cursor: pointer;
	border-radius: 15px;
	background: linear-gradient(145deg, rgba(26, 32, 56, 0.6), rgba(15, 20, 33, 0.8));
	border-bottom: 2px solid rgba(249, 168, 38, 0.2);
}

.card-image-slide {
	width: 100%;
	height: 100%;
	display: none;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
	position: absolute;
	top: 0;
	left: 0;
	background: radial-gradient(circle at center, rgba(249, 168, 38, 0.08), transparent);
}

.card-image-slide.active {
	display: flex;
	border-radius: 15px;
}

.card-image-slide img {
	width: 100%;
	height: 100%;
	border-radius: 15px;
	object-fit: contain;
	object-position: center;
	transition: opacity 0.3s ease;
}

.motorcycle-card:hover .card-image-slide img {
	opacity: 0.95;
}

.card-image-slide::after {
	content: '🏍️';
	font-size: 5rem;
	opacity: 0.08;
	border-radius: 15px;
	position: absolute;
}

/* Image Navigation */
.image-nav {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
	background: rgba(14, 19, 37, 0.8);
	padding: 10px 15px;
	border-radius: 25px;
	border: 1px solid rgba(249, 168, 38, 0.3);
}

.image-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: all 0.3s ease;
	will-change: transform;
}

.image-dot:hover {
	background: rgba(249, 168, 38, 0.7);
	transform: scale(1.2);
}

.image-dot.active {
	background: #F9A826;
	width: 35px;
	border-radius: 5px;
	box-shadow: 0 0 15px rgba(249, 168, 38, 0.6);
}

/* Card Badges */
.card-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: linear-gradient(135deg, #F9A826, #ffd700);
	color: #0E1325;
	padding: 8px 18px;
	border-radius: 25px;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	z-index: 5;
	box-shadow: 0 4px 20px rgba(249, 168, 38, 0.5);
}

.special-badge {
	position: absolute;
	top: 65px;
	right: 15px;
	background: linear-gradient(135deg, #e74c3c, #c0392b);
	color: white;
	padding: 8px 18px;
	border-radius: 25px;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	z-index: 5;
	animation: pulse 2s ease-in-out infinite;
	box-shadow: 0 4px 20px rgba(231, 76, 60, 0.5);
	will-change: transform;
}

@keyframes pulse {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}
}

/* Card Content */
.card-content {
	padding: 28px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	min-height: 230px;
}

.card-title {
	font-size: 1.6rem;
	font-weight: 600;
	color: #F9A826;
	margin-bottom: 12px;
	min-height: 45px;
	display: flex;
	align-items: center;
}

.card-description {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 15px;
	height: 100px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 8px;
}

/* Custom Scrollbar */
.card-description::-webkit-scrollbar {
	width: 6px;
}

.card-description::-webkit-scrollbar-track {
	background: rgba(249, 168, 38, 0.1);
	border-radius: 3px;
}

.card-description::-webkit-scrollbar-thumb {
	background: #F9A826;
	border-radius: 3px;
}

.card-description::-webkit-scrollbar-thumb:hover {
	background: #ffd700;
}

/* Card Specs */
.card-specs {
	display: flex;
	gap: 18px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid rgba(249, 168, 38, 0.3);
	flex-wrap: wrap;
	min-height: 45px;
	align-items: center;
}

.spec-item {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.5);
}

.spec-item strong {
	color: #F9A826;
	font-weight: 600;
}

/* Quiz Modal - Optimized */
.quiz-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	animation: fadeIn 0.3s ease;
}

.quiz-modal.active {
	display: flex;
}

.quiz-container {
	background: linear-gradient(145deg, rgba(26, 32, 56, 0.95), rgba(15, 20, 33, 0.98));
	border: 2px solid rgba(249, 168, 38, 0.3);
	border-radius: 25px;
	max-width: 700px;
	width: 100%;
	max-height: 80vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(249, 168, 38, 0.4);
	animation: slideUp 0.4s ease;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.quiz-header {
	background: linear-gradient(135deg, #F9A826, #ffd700);
	padding: 35px;
	border-radius: 25px 25px 0 0;
	text-align: center;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 4px 20px rgba(249, 168, 38, 0.3);
}

.quiz-header h2 {
	font-size: 2.2rem;
	color: #0E1325;
	margin-bottom: 10px;
	font-weight: 700;
}

.quiz-header p {
	color: #0E1325;
	font-size: 1.1rem;
	opacity: 0.9;
	font-weight: 500;
}

.quiz-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(14, 19, 37, 0.85);
	border: 2px solid rgba(255, 255, 255, 0.9);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 1.8rem;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
	color: #FFFFFF;
	will-change: transform;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.quiz-close:hover {
	background: rgba(14, 19, 37, 0.95);
	transform: rotate(90deg) scale(1.1);
	border-color: #F9A826;
}

.quiz-close:focus {
	outline: 3px solid #F9A826;
	outline-offset: 2px;
}

.quiz-progress {
	padding: 25px 35px;
	background: rgba(26, 32, 56, 0.5);
	border-bottom: 2px solid rgba(249, 168, 38, 0.3);
}

.progress-bar-container {
	background: rgba(249, 168, 38, 0.2);
	height: 10px;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 12px;
}

.progress-bar-fill {
	background: linear-gradient(90deg, #F9A826, #ffd700);
	height: 100%;
	width: 0%;
	transition: width 0.3s ease;
	box-shadow: 0 0 20px rgba(249, 168, 38, 0.6);
}

.progress-text-info {
	display: flex;
	justify-content: space-between;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.7);
	font-weight: 600;
}

.quiz-body {
	padding: 35px;
}

.question-container {
	display: none;
}

.question-container.active {
	display: block;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.question-image {
	width: 100%;
	height: 220px;
	object-fit: contain;
	background: linear-gradient(135deg, rgba(26, 32, 56, 0.5), rgba(15, 20, 33, 0.7));
	border-radius: 15px;
	margin-bottom: 25px;
	border: 2px solid rgba(249, 168, 38, 0.2);
}

.question-text {
	font-size: 1.4rem;
	font-weight: 600;
	color: #F9A826;
	margin-bottom: 15px;
}

.question-difficulty {
	display: inline-block;
	padding: 6px 18px;
	border-radius: 25px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 25px;
}

.difficulty-easy {
	background: rgba(40, 167, 69, 0.2);
	color: #4ade80;
	border: 1px solid rgba(40, 167, 69, 0.4);
}

.difficulty-medium {
	background: rgba(255, 193, 7, 0.2);
	color: #fbbf24;
	border: 1px solid rgba(255, 193, 7, 0.4);
}

.difficulty-hard {
	background: rgba(220, 53, 69, 0.2);
	color: #f87171;
	border: 1px solid rgba(220, 53, 69, 0.4);
}

/* Slovenian Difficulty Badges Mapping */
.difficulty-lahko {
	background: rgba(40, 167, 69, 0.2);
	color: #4ade80;
	border: 1px solid rgba(40, 167, 69, 0.4);
}

.difficulty-srednje {
	background: rgba(255, 193, 7, 0.2);
	color: #fbbf24;
	border: 1px solid rgba(255, 193, 7, 0.4);
}

.difficulty-težko {
	background: rgba(220, 53, 69, 0.2);
	color: #f87171;
	border: 1px solid rgba(220, 53, 69, 0.4);
}

.question-timer {
	text-align: center;
	margin-bottom: 25px;
}

.timer-circle {
	display: inline-block;
	font-size: 2.2rem;
	font-weight: 700;
	color: #F9A826;
	min-width: 60px;
}

.timer-circle.warning {
	color: #e74c3c;
	animation: pulseTimer 1s ease-in-out infinite;
	will-change: transform;
}

@keyframes pulseTimer {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}
}

.answer-options {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.answer-option {
	background: rgba(26, 32, 56, 0.5);
	border: 2px solid rgba(249, 168, 38, 0.3);
	padding: 22px;
	border-radius: 15px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.9);
	will-change: transform;
}

.answer-option:hover {
	border-color: #F9A826;
	background: rgba(26, 32, 56, 0.8);
	transform: translateX(8px);
	box-shadow: 0 4px 20px rgba(249, 168, 38, 0.3);
}

.answer-option.selected {
	background: linear-gradient(135deg, #F9A826, #ffd700);
	border-color: #F9A826;
	color: #0E1325;
	font-weight: 600;
}

.answer-option.correct {
	background: linear-gradient(135deg, #28a745, #20c997);
	border-color: #28a745;
	color: white;
	font-weight: 600;
}

.answer-option.incorrect {
	background: linear-gradient(135deg, #dc3545, #c0392b);
	border-color: #dc3545;
	color: white;
	font-weight: 600;
}

.answer-option.disabled {
	pointer-events: none;
	opacity: 0.6;
}

.quiz-navigation {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 35px;
}

.quiz-btn {
	background: linear-gradient(135deg, #F9A826, #ffd700);
	color: #0E1325;
	border: none;
	padding: 16px 45px;
	border-radius: 30px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 1.05rem;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 4px 20px rgba(249, 168, 38, 0.4);
	will-change: transform;
}

.quiz-btn:hover {
	transform: scale(1.05) translateY(-2px);
	box-shadow: 0 6px 30px rgba(249, 168, 38, 0.6);
}

.quiz-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* Results Modal */
.results-container {
	text-align: center;
	padding: 45px 35px;
}

.results-icon {
	font-size: 5rem;
	margin-bottom: 25px;
	animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
	0% {
		transform: scale(0);
	}

	50% {
		transform: scale(1.2);
	}

	100% {
		transform: scale(1);
	}
}

.results-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #F9A826;
	margin-bottom: 20px;
}

.results-score {
	font-size: 3.5rem;
	font-weight: 700;
	color: #F9A826;
	margin-bottom: 25px;
}

.results-message {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 35px;
	line-height: 1.8;
}

.qr-code-container {
	background: rgba(26, 32, 56, 0.5);
	padding: 35px;
	border-radius: 20px;
	margin: 35px 0;
	border: 3px dashed #F9A826;
	box-shadow: 0 0 40px rgba(249, 168, 38, 0.2);
}

.qr-code-container img {
	width: 250px;
	height: 250px;
	margin: 0 auto;
	display: block;
}

.qr-placeholder {
	width: 250px;
	height: 250px;
	background: rgba(26, 32, 56, 0.8);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
	border-radius: 15px;
	border: 2px solid rgba(249, 168, 38, 0.3);
}

.qr-instructions {
	font-size: 1.1rem;
	color: #F9A826;
	font-weight: 600;
	margin-top: 25px;
}

.fail-encouragement {
	background: rgba(255, 193, 7, 0.15);
	padding: 25px;
	border-radius: 15px;
	border-left: 5px solid #ffc107;
	margin-top: 25px;
}

.score-breakdown {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 18px;
	margin: 35px 0;
}

.score-stat {
	background: rgba(26, 32, 56, 0.5);
	padding: 25px;
	border-radius: 15px;
	border: 2px solid rgba(249, 168, 38, 0.3);
}

.score-stat-value {
	font-size: 2.2rem;
	font-weight: 700;
	color: #F9A826;
}

.score-stat-label {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.6);
	margin-top: 8px;
}

/* Lightbox - Optimized */
.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.97);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.lightbox.active {
	display: flex;
}

.lightbox-content {
	max-width: 90%;
	max-height: 90%;
	position: relative;
}

.lightbox-content img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
}

.lightbox-close {
	position: absolute;
	top: -50px;
	right: 0;
	color: white;
	font-size: 2.5rem;
	cursor: pointer;
	background: rgba(249, 168, 38, 0.2);
	border: 2px solid rgba(249, 168, 38, 0.5);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	will-change: transform;
}

.lightbox-close:hover {
	background: #F9A826;
	color: #0E1325;
	transform: rotate(90deg);
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(249, 168, 38, 0.8);
	color: #0E1325;
	border: none;
	padding: 18px 24px;
	font-size: 1.8rem;
	cursor: pointer;
	border-radius: 10px;
	transition: all 0.3s ease;
	font-weight: 700;
	will-change: transform;
}

.lightbox-nav:hover {
	background: #F9A826;
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 8px 30px rgba(249, 168, 38, 0.5);
}

.lightbox-prev {
	left: 30px;
}

.lightbox-next {
	right: 30px;
}

/* Scroll to Top - Optimized */
.scroll-to-top {
	position: fixed;
	bottom: 35px;
	right: 35px;
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #F9A826, #ffd700);
	color: #0E1325;
	border: none;
	border-radius: 50%;
	font-size: 1.8rem;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 25px rgba(249, 168, 38, 0.5);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	z-index: 1000;
	will-change: transform;
}

.scroll-to-top.visible {
	display: flex;
}

.scroll-to-top:hover {
	transform: translateY(-8px) scale(1.1);
	box-shadow: 0 10px 40px rgba(249, 168, 38, 0.7);
}

/* No Results */
.no-results {
	text-align: center;
	padding: 80px 20px;
	color: rgba(255, 255, 255, 0.6);
}

.no-results-icon {
	font-size: 5rem;
	margin-bottom: 25px;
	opacity: 0.4;
}

.no-results h3 {
	font-size: 2rem;
	margin-bottom: 15px;
	color: #F9A826;
}

.no-results p {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.5);
}

/* Footer - Optimized */
footer {
	background: #0E1325;
	color: white;
	padding: 80px 60px 30px;
	border-top: 2px solid #F9A826;
	position: relative;
	overflow: hidden;
}

footer::before {
	content: '';
	position: absolute;
	top: -100px;
	right: -100px;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(249, 168, 38, 0.1) 0%, transparent 70%);
	border-radius: 50%;
}

/* Footer Brand Logo */
.footer-brand-logo {
	text-align: center;
	margin: 0 auto 40px;
	max-width: 1400px;
	position: relative;
	z-index: 2;
	opacity: 0.95;
}

.footer-brand-logo img {
	width: 50px;
	height: 50px;
	object-fit: contain;
	filter: drop-shadow(0 2px 8px rgba(249, 168, 38, 0.2));
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
}

.footer-brand-logo img:hover {
	transform: scale(1.1);
	filter: drop-shadow(0 4px 12px rgba(249, 168, 38, 0.4));
	opacity: 1;
}

.footer-content {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
	gap: 50px;
	margin-bottom: 40px;
	position: relative;
	z-index: 2;
}

.footer-section h3 {
	color: #F9A826;
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.footer-logo {
	font-size: 1.5rem;
	font-weight: 800;
	color: #F9A826;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 15px;
	line-height: 1.3;
}

.footer-description {
	margin-bottom: 20px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	line-height: 1.6;
}

/* Social Links */
.social-links {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.social-link {
	width: 45px;
	height: 45px;
	background: rgba(249, 168, 38, 0.1);
	border: 2px solid rgba(249, 168, 38, 0.3);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #F9A826;
	transition: all 0.3s ease;
	text-decoration: none;
	will-change: transform;
}

.social-link:hover {
	background: #F9A826;
	color: #0E1325;
	transform: translateY(-5px) scale(1.1);
	box-shadow: 0 8px 20px rgba(249, 168, 38, 0.4);
}

.social-link svg {
	width: 20px;
	height: 20px;
}

/* Contact Section */
.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 20px;
}

.contact-icon {
	color: #F9A826;
	font-size: 1.2rem;
	margin-top: 3px;
	flex-shrink: 0;
}

.contact-info {
	flex: 1;
}

.contact-info strong {
	color: white;
	display: block;
	margin-bottom: 5px;
	font-size: 0.95rem;
	font-weight: 600;
}

.contact-info p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0;
}

/* Working Hours */
.working-hours-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.working-hours-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid rgba(249, 168, 38, 0.1);
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.9rem;
}

.working-hours-list li:last-child {
	border-bottom: none;
}

.day {
	font-weight: 600;
	color: white;
}

.time {
	color: #3FCFED;
	font-weight: 600;
}

/* Quick Links */
.quick-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.quick-links li {
	margin-bottom: 12px;
}

.quick-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.95rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.quick-links a::before {
	content: '→';
	color: #F9A826;
	transition: transform 0.3s ease;
}

.quick-links a:hover {
	color: #F9A826;
	transform: translateX(5px);
}

.quick-links a:hover::before {
	transform: translateX(5px);
}

/* Footer Bottom */
.footer-bottom {
	border-top: 1px solid rgba(249, 168, 38, 0.2);
	padding-top: 30px;
	text-align: center;
	position: relative;
	z-index: 2;
	max-width: 1400px;
	margin: 0 auto;
}

.footer-bottom p {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
	margin-bottom: 15px;
}

.footer-credits {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 15px;
}

.footer-credits a {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.85rem;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-credits a:hover {
	color: #F9A826;
}

.footer-divider {
	color: rgba(249, 168, 255, 0.3);
}

/* PDF Viewer Modal - Optimized */
.pdf-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	animation: fadeIn 0.3s ease;
}

.pdf-modal.active {
	display: flex;
}

.pdf-container {
	background: white;
	border-radius: 20px;
	width: 100%;
	max-width: 1200px;
	height: 90vh;
	max-height: 900px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 60px rgba(249, 168, 38, 0.3);
	animation: slideUp 0.4s ease;
	position: relative;
	overflow: hidden;
}

.pdf-modal.fullscreen .pdf-container {
	max-width: 100%;
	max-height: 100vh;
	height: 100vh;
	border-radius: 0;
	padding-top: 0;
}

.pdf-modal.fullscreen {
	padding: 0;
}

/* PDF Header */
.pdf-header {
	background: linear-gradient(135deg, #F9A826, #ffd700);
	padding: 25px 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 20px 20px 0 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pdf-modal.fullscreen .pdf-header {
	border-radius: 0;
}

.pdf-title-section {
	display: flex;
	align-items: center;
	gap: 15px;
}

.pdf-icon {
	font-size: 2rem;
	animation: bounce 2s ease-in-out infinite;
	will-change: transform;
}

.pdf-title {
	font-size: 1.6rem;
	font-weight: 700;
	color: #0E1325;
	margin: 0;
}

.pdf-subtitle {
	font-size: 0.9rem;
	color: #0E1325;
	opacity: 0.7;
	margin-top: 3px;
}

.pdf-controls {
	display: flex;
	gap: 10px;
}

.pdf-control-btn {
	background: rgba(14, 19, 37, 0.1);
	border: 2px solid transparent;
	color: #0E1325;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	position: relative;
	will-change: transform;
}

.pdf-control-btn:hover {
	background: #0E1325;
	color: #F9A826;
	transform: scale(1.1);
	border-color: #0E1325;
}

.pdf-control-btn:active {
	transform: scale(0.95);
}

.pdf-control-btn::before {
	content: attr(data-tooltip);
	position: absolute;
	bottom: -35px;
	left: 50%;
	transform: translateX(-50%);
	background: #0E1325;
	color: white;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 0.75rem;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.pdf-control-btn:hover::before {
	opacity: 1;
}

.pdf-close-btn {
	background: rgba(231, 76, 60, 0.1);
}

.pdf-close-btn:hover {
	background: #e74c3c;
	color: white;
}

/* PDF Content */
.pdf-content {
	flex: 1;
	background: #f5f5f5;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pdf-iframe {
	width: 100%;
	height: 100%;
	border: none;
	background: white;
}

.pdf-loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	z-index: 1;
}

.loading-spinner {
	width: 60px;
	height: 60px;
	border: 5px solid #e0e0e0;
	border-top: 5px solid #F9A826;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.loading-text {
	font-size: 1.1rem;
	color: #666;
	font-weight: 600;
}

/* PDF Footer */
.pdf-footer {
	background: #f8f9fa;
	padding: 15px 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 2px solid #e0e0e0;
}

.pdf-info {
	color: #666;
	font-size: 0.9rem;
}

.pdf-info strong {
	color: #0E1325;
}

.pdf-actions {
	display: flex;
	gap: 10px;
}

.pdf-action-btn {
	background: #F9A826;
	color: #0E1325;
	border: none;
	padding: 10px 20px;
	border-radius: 20px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	will-change: transform;
}

.pdf-action-btn:hover {
	background: #0E1325;
	color: #F9A826;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(249, 168, 38, 0.3);
}

.pdf-action-btn:active {
	transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
	.footer-content {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}
}

@media (max-width: 968px) {
	nav {
		padding: 15px 30px;
	}

	.mobile-menu-btn {
		display: block;
	}

	.nav-links {
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		max-width: 300px;
		height: 100vh;
		background: rgba(249, 168, 38, 0.98);
		flex-direction: column;
		padding: 80px 30px 30px;
		gap: 25px;
		box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
		transition: right 0.3s ease;
	}

	.nav-links.active {
		right: 0;
	}

	.hero h1 {
		font-size: 2.8rem;
	}

	.hala-title {
		font-size: 2.2rem;
	}

	.section-main-title {
		font-size: 2.5rem;
	}

	.motorcycles-grid {
		grid-template-columns: 1fr;
	}

	.topics-grid {
		grid-template-columns: 1fr;
	}

	footer {
		padding: 60px 30px 30px;
	}

	.footer-content {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}

	.pdf-container {
		height: 95vh;
		border-radius: 10px;
	}

	.pdf-header {
		padding: 20px;
		border-radius: 10px 10px 0 0;
		flex-direction: column;
		gap: 15px;
		align-items: flex-start;
	}

	.pdf-title {
		font-size: 1.3rem;
	}

	.pdf-controls {
		width: 100%;
		justify-content: flex-end;
	}

	.pdf-footer {
		padding: 12px 20px;
		flex-direction: column;
		gap: 12px;
	}

	.pdf-actions {
		width: 100%;
		justify-content: center;
	}

	.pdf-action-btn {
		flex: 1;
		justify-content: center;
	}

	.pdf-control-btn::before {
		display: none;
	}
}

@media (max-width: 768px) {
	.hero h1 {
		font-size: 2.2rem;
		letter-spacing: 2px;
	}

	.intro-section {
		padding: 40px 25px;
		margin: 30px 15px 50px;
	}

	.category-tabs {
		flex-direction: column;
	}

	.category-tab {
		width: 100%;
		text-align: center;
	}

	.controls-bar {
		flex-direction: column;
	}

	.search-box {
		max-width: 100%;
	}

	.progress-tracker {
		flex-direction: column;
		text-align: center;
		padding: 20px;
	}

	.progress-info {
		flex-direction: column;
	}

	.quiz-container {
		max-width: 95%;
	}

	.quiz-header h2 {
		font-size: 1.6rem;
	}

	.results-title {
		font-size: 2rem;
	}

	.results-score {
		font-size: 2.5rem;
	}

	footer {
		padding: 50px 25px 30px;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.footer-brand-logo img {
		width: 45px;
		height: 45px;
	}
}

@media (max-width: 480px) {
	nav {
		padding: 12px 20px;
	}

	.logo {
		font-size: 1rem;
	}

	.hero {
		padding: 120px 15px 80px;
	}

	.hero h1 {
		font-size: 1.8rem;
	}

	.motorcycles-section {
		padding: 60px 15px;
	}

	.section-main-title {
		font-size: 2rem;
	}

	.card-title {
		font-size: 1.3rem;
	}

	footer {
		padding: 50px 20px 30px;
	}

	.footer-brand-logo {
		margin-bottom: 35px;
	}

	.footer-brand-logo img {
		width: 40px;
		height: 40px;
	}

	.footer-content {
		text-align: center;
	}

	.contact-item {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.social-links {
		justify-content: center;
	}

	.working-hours-list li {
		flex-direction: column;
		text-align: center;
		gap: 5px;
		padding: 15px 0;
	}

	.quick-links {
		text-align: center;
	}

	.footer-credits {
		flex-direction: column;
		gap: 10px;
	}

	.footer-divider {
		display: none;
	}

	.pdf-modal {
		padding: 10px;
	}

	.pdf-container {
		border-radius: 0;
	}

	.pdf-header {
		border-radius: 0;
	}

	.pdf-title {
		font-size: 1.1rem;
	}

	.pdf-subtitle {
		font-size: 0.8rem;
	}

	.pdf-control-btn {
		width: 40px;
		height: 40px;
		font-size: 1.1rem;
	}
}

/* Print styles */
@media print {
	.pdf-modal {
		background: white;
	}

	.pdf-header,
	.pdf-footer {
		display: none;
	}

	.pdf-container {
		box-shadow: none;
		max-width: 100%;
		max-height: 100%;
	}
}

/* Mobile Responsive */
@media (max-width: 968px) {
	nav {
		padding: 15px 30px;
	}

	.mobile-menu-btn {
		display: block;
	}

	.nav-links {
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		max-width: 300px;
		height: 100vh;
		background: #F9A826;
		flex-direction: column;
		padding: 80px 30px 30px;
		gap: 25px;
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
	}

	.nav-links.active {
		right: 0;
	}
}

/* Performance Optimizations */
* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	/* Show all elements immediately without animations */
	.hala-section,
	.motorcycles-section,
	.controls-bar,
	.category-tabs,
	.topic-card,
	.motorcycle-card {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* Skip to Content Link for Accessibility */
.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: #F9A826;
	color: #1a1a1a;
	padding: 8px 16px;
	text-decoration: none;
	font-weight: 600;
	z-index: 100000;
	border-radius: 0 0 4px 0;
}

.skip-link:focus {
	top: 0;
}


/* CTA Primary Button */
.cta-primary {
	background: #F9A826;
	color: #0E1325;
	padding: 16px 32px;
	border: none;
	border-radius: 30px;
	font-family: 'Poppins', sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 4px 15px rgba(249, 168, 38, 0.3);
}

.cta-primary:hover {
	background: #ffb74d;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(249, 168, 38, 0.5);
}

.cta-primary:active {
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(249, 168, 38, 0.3);
}

/* Mobile Quiz Layout Overrides */
@media (max-width: 768px) {
	.quiz-modal {
		z-index: 2147483647 !important;
		/* Max Z-Index to cover menu */
		padding: 10px;
	}

	.quiz-container {
		max-height: 85vh;
		width: 90%;
		margin: auto;
		border-radius: 25px;
	}

	.quiz-header {
		padding: 15px 20px;
	}

	.quiz-header h2 {
		font-size: 1.5rem;
	}

	.quiz-close {
		position: absolute;
		top: 10px;
		right: 10px;
		z-index: 101;
		background: rgba(14, 19, 37, 0.95);
		border: 2px solid #F9A826;
		color: #F9A826;
		width: 52px;
		height: 52px;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
		display: flex !important;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		font-size: 2rem;
	}

	.quiz-close:active {
		transform: scale(0.95);
	}

	.quiz-body {
		padding: 15px 20px;
	}

	.quiz-progress {
		padding: 10px 20px;
	}

	.question-image {
		height: 120px;
		margin-bottom: 15px;
	}

	.question-text {
		font-size: 1.15rem;
		margin-bottom: 15px;
	}

	.answer-option {
		padding: 12px 15px;
		font-size: 0.95rem;
	}

	.answer-options {
		gap: 10px;
	}

	.question-timer {
		margin-bottom: 15px;
	}

	.timer-circle {
		font-size: 1.5rem;
		min-width: 45px;
	}

	/* Results Screen Fixes */
	.qr-code-container {
		padding: 15px;
		border-width: 2px;
		max-width: 100%;
		margin: 20px 0;
	}

	.qr-code-container img {
		width: 160px;
		height: 160px;
		max-width: 100%;
	}

	.qr-placeholder {
		width: 160px;
		height: 160px;
		font-size: 2.5rem;
	}

	.results-container {
		padding: 25px 20px;
	}

	.results-title {
		font-size: 1.8rem;
	}

	.results-score {
		font-size: 2.5rem;
		margin-bottom: 15px;
	}

	.results-icon {
		font-size: 3.5rem;
		margin-bottom: 15px;
	}
}

/* Tablet-specific close button sizing */
@media (min-width: 769px) and (max-width: 1024px) {
	.quiz-close {
		width: 48px;
		height: 48px;
		font-size: 1.8rem;
	}
}

/* Forced Slovenian Difficulty Badges */
.difficulty-lahko {
	background: rgba(40, 167, 69, 0.2) !important;
	color: #4ade80 !important;
	border: 1px solid rgba(40, 167, 69, 0.4) !important;
}

.difficulty-srednje {
	background: rgba(255, 193, 7, 0.2) !important;
	color: #fbbf24 !important;
	border: 1px solid rgba(255, 193, 7, 0.4) !important;
}

.difficulty-težko {
	background: rgba(220, 53, 69, 0.2) !important;
	color: #f87171 !important;
	border: 1px solid rgba(220, 53, 69, 0.4) !important;
}