/* Reset i osnovni stilovi */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #333;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header stilovi */
.header {
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1000;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
}

/* Logo stilovi */
.logo-container {
	display: flex;
	align-items: center;
}

.logo-container a {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.logo {
	height: 40px;
	width: auto;
	margin-right: 10px;
}

.logo-text {
	font-size: 1.5rem;
	font-weight: 600;
	color: #004274;
}

/* Navigacija */
.main-nav {
	margin-left: auto;
}

.nav-list {
	display: flex;
	gap: 30px;
}

.nav-item {
	position: relative;
}

.nav-link {
	font-weight: 500;
	color: #2c3e50;
	padding: 8px 0;
	transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
	color: #004274;
}

.nav-link::after {
	content: "";
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: #004274;
	transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
	width: 100%;
}

/* Login button */
.login-btn-container {
	margin-left: 30px;
}

.login-btn {
	display: inline-block;
	background-color: #004274;
	color: white;
	padding: 10px 20px;
	border-radius: 5px;
	font-weight: 500;
	transition: background-color 0.3s ease;
}

.login-btn:hover {
	background-color: #003056;
}

/* Hero sekcija */
.hero {
	position: relative;
	height: 85vh;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.hero-image-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-content {
	position: relative;
	color: white;
	z-index: 2;
	max-width: 900px;
}

.hero-title {
	font-size: 2.8rem;
	font-weight: 700;
	margin-bottom: 20px;
	line-height: 1.2;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
	font-size: 1.25rem;
	margin-bottom: 30px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	line-height: 1.6;
}

.hero-cta {
	margin-top: 30px;
}

.hero-button {
	display: inline-block;
	background-color: #004274;
	color: white;
	padding: 14px 30px;
	border-radius: 5px;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-button:hover {
	background-color: #003056;
	transform: translateY(-2px);
	box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Dodaj overlay za bolju čitljivost teksta preko slike */
.hero::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
	z-index: 1;
}

/* Download app sekcija */
.download-section {
	background-color: #004274;
	color: white;
	padding: 40px 0;
	text-align: center;
}

.section-title {
	font-size: 2rem;
	margin-bottom: 30px;
	font-weight: 600;
}

.app-download-buttons {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-top: 20px;
}

.app-store-button {
	display: inline-block;
	transition: transform 0.3s ease;
}

.app-store-button:hover {
	transform: translateY(-5px);
}

.store-badge {
	height: 50px;
	width: auto;
}

/* Benefits sekcija */
.benefits-section {
	background-color: #fff;
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.benefits-title {
	color: #004274;
	font-size: 2.2rem;
}

.benefits-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 50px;
}

.benefits-content {
	flex: 1;
}

.benefits-subtitle {
	font-size: 1.8rem;
	color: #004274;
	margin-bottom: 30px;
}

.benefits-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.benefit-item {
	display: flex;
	align-items: flex-start;
	gap: 15px;
}

.check-icon {
	color: #004274;
	font-size: 1.2rem;
	font-weight: bold;
	min-width: 20px;
}

.benefit-item p {
	font-size: 1.1rem;
	line-height: 1.5;
}

.benefits-image {
	flex: 1;
}

.app-screenshot {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	user-drag: none;
	user-select: none;
	pointer-events: none;
}

/* FAQ sekcija */
.faq-section {
	background-color: #004274;
	color: white;
	padding: 80px 0;
}

.faq-content {
	max-width: 900px;
	margin: 0 auto;
}

.faq-title {
	text-align: center;
	margin-bottom: 50px;
	color: white;
}

.faq-cards {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.faq-card {
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
	padding: 20px 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: white;
	color: #333;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.faq-question:hover {
	background-color: #f9f9f9;
}

.faq-question h3 {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0;
}

.faq-toggle {
	font-size: 1.5rem;
	font-weight: bold;
	color: #004274;
}

.faq-answer {
	padding: 0 25px 20px;
	color: #555;
	line-height: 1.6;
}

.faq-answer.hidden {
	display: none;
}

/* Kontakt sekcija */
.contact-section {
	background-color: #f9f9f9;
	padding: 80px 0;
}

.contact-content {
	max-width: 900px;
	margin: 0 auto;
}

.contact-title {
	text-align: center;
	color: #004274;
	margin-bottom: 20px;
}

.contact-description {
	text-align: center;
	margin-bottom: 40px;
	font-size: 1.1rem;
	color: #555;
}

.contact-form-container {
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	padding: 40px;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-group label {
	font-weight: 500;
	color: #333;
	font-size: 1rem;
}

.form-group input,
.form-group textarea {
	padding: 14px 16px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-family: "Montserrat", sans-serif;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #004274;
}

.required {
	color: #e74c3c;
}

.submit-group {
	margin-top: 10px;
}

.submit-btn {
	background-color: #004274;
	color: white;
	border: none;
	padding: 14px 30px;
	border-radius: 5px;
	font-weight: 600;
	font-size: 1.1rem;
	cursor: pointer;
	transition: background-color 0.3s ease;
	align-self: flex-start;
}

.submit-btn:hover {
	background-color: #003056;
}

/* Form notification styles */
.form-notification {
	margin-top: 20px;
	transition: all 0.3s ease;
}

.form-notification.hidden {
	display: none;
}

.notification-message {
	padding: 15px;
	border-radius: 5px;
	margin-bottom: 15px;
}

.notification-message.hidden {
	display: none;
}

.notification-message.success {
	background-color: #e7f5ea;
	border-left: 4px solid #28a745;
	color: #1d7430;
}

.notification-message.error {
	background-color: #f8e7e7;
	border-left: 4px solid #dc3545;
	color: #a71d2a;
}

.notification-message p {
	margin: 0;
	line-height: 1.5;
}

/* Footer */
.footer {
	background-color: #004274;
	color: white;
	padding: 40px 0;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.footer-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.footer-logo a {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.footer-logo-img {
	height: 35px;
	width: auto;
	margin-right: 10px;
}

.footer-logo-text {
	font-size: 1.5rem;
	font-weight: 600;
	color: white;
}

.footer-links {
	flex: 1;
	display: flex;
	justify-content: center;
}

.footer-nav {
	display: flex;
	gap: 30px;
}

.footer-nav a {
	color: white;
	font-weight: 500;
	transition: opacity 0.3s ease;
}

.footer-nav a:hover {
	opacity: 0.8;
}

.footer-download {
	flex: 0 0 auto;
	display: flex;
	gap: 15px;
}

.footer-app-button {
	display: inline-block;
	transition: transform 0.3s ease;
}

.footer-app-button:hover {
	transform: translateY(-3px);
}

.footer-badge {
	height: 35px;
	width: auto;
}

.footer-copyright {
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.legal-links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: underline;
	transition: color 0.3s ease;
}

.legal-links a:hover {
	color: white;
}

/* Mobile Menu */
.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 21px;
	cursor: pointer;
	z-index: 1010;
}

.mobile-menu-toggle span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: #004274;
	border-radius: 3px;
	transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {
	.header {
		padding: 10px 0;
	}

	.header-content {
		flex-wrap: wrap;
		height: auto;
		padding: 5px 0;
		justify-content: space-between;
	}

	.mobile-menu-toggle {
		display: flex;
		order: 2;
		margin-left: auto;
	}

	.logo-container {
		order: 1;
		width: auto;
	}

	.main-nav {
		order: 3;
		width: 100%;
		margin-left: 0;
		height: 0;
		overflow: hidden;
		transition: height 0.3s ease;
	}

	.main-nav.open {
		height: auto;
		margin-top: 15px;
	}

	.nav-list {
		flex-direction: column;
		gap: 15px;
		margin: 10px 0;
		text-align: center;
	}

	.nav-link::after {
		bottom: -3px;
	}

	.login-btn-container {
		display: none;
	}

	.nav-item.mobile-contact {
		display: block;
		margin-top: 10px;
	}

	.mobile-contact a {
		display: inline-block;
		background-color: #004274;
		color: white !important;
		padding: 8px 20px;
		border-radius: 5px;
		font-weight: 500;
		transition: background-color 0.3s ease;
	}

	.mobile-contact a:hover {
		background-color: #003056;
	}

	.mobile-contact a::after {
		display: none;
	}

	/* Adjust main padding for mobile header */
	main {
		padding-top: 60px;
	}

	.hero {
		height: 90vh; /* povećati visinu na mobilnim uređajima zbog više teksta */
		margin-top: -20px;
	}

	.hero-content {
		padding: 0 20px;
		text-align: center;
		margin: 0 auto;
		max-width: 100%;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-subtitle {
		font-size: 1.15rem;
	}

	.app-download-buttons {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.benefits-wrapper {
		flex-direction: column-reverse;
		gap: 40px;
	}

	.benefits-content,
	.benefits-image {
		flex: none;
		width: 100%;
	}

	.benefits-subtitle {
		font-size: 1.5rem;
		text-align: center;
	}

	.section-header {
		margin-bottom: 40px;
	}

	.benefits-title {
		font-size: 1.8rem;
	}

	.faq-question h3 {
		font-size: 1rem;
	}

	.faq-question {
		padding: 15px;
	}

	.faq-answer {
		padding: 0 15px 15px;
	}

	.contact-form-container {
		padding: 25px 15px;
	}

	.form-group input,
	.form-group textarea {
		padding: 12px;
	}

	.submit-btn {
		width: 100%;
		padding: 12px;
	}

	.footer-content {
		flex-direction: column;
		gap: 25px;
	}

	.footer-links {
		order: 2;
	}

	.footer-download {
		order: 3;
	}

	.footer-nav {
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px;
	}

	.copyright-container {
		flex-direction: column;
		gap: 15px;
	}

	.legal-links {
		margin-top: 5px;
	}
}

/* Main content padding to prevent content hiding under fixed header */
main {
	padding-top: 80px;
}

/* Styles for Terms page */
.terms-section {
	background-color: #fff;
	padding: 60px 0;
}

.terms-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 20px;
}

.terms-content h1 {
	color: #004274;
	margin-bottom: 30px;
	font-size: 2.2rem;
}

.terms-content h2 {
	color: #004274;
	margin-top: 40px;
	margin-bottom: 20px;
	font-size: 1.8rem;
}

.terms-content p,
.terms-content ul {
	margin-bottom: 20px;
	line-height: 1.7;
}

.terms-content ul {
	padding-left: 20px;
}

.terms-content li {
	margin-bottom: 10px;
}

.back-link {
	display: inline-block;
	margin-top: 40px;
	color: #004274;
	font-weight: 500;
	transition: color 0.3s;
}

.back-link:hover {
	color: #003056;
}

@media (max-width: 768px) {
	.terms-content h1 {
		font-size: 1.8rem;
	}

	.terms-content h2 {
		font-size: 1.5rem;
	}

	.terms-content {
		padding: 25px 15px;
	}
}

/* Thank You page styles */
.thank-you-section {
	background-color: #fff;
	padding: 60px 0;
}

.thank-you-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 20px;
	text-align: center;
}

.thank-you-content h1 {
	color: #004274;
	margin-bottom: 30px;
	font-size: 2.2rem;
}

.thank-you-content p {
	margin-bottom: 20px;
	line-height: 1.7;
	font-size: 1.1rem;
}

.thank-you-icon {
	font-size: 5rem;
	color: #28a745;
	margin-bottom: 20px;
}

.back-link {
	display: inline-block;
	margin-top: 40px;
	padding: 12px 30px;
	background-color: #004274;
	color: white;
	border-radius: 5px;
	font-weight: 500;
	transition: background-color 0.3s;
	text-decoration: none;
}

.back-link:hover {
	background-color: #003056;
}

.thank-you-back-link {
	display: inline-block;
	margin-top: 40px;
	padding: 12px 30px;
	background-color: #004274;
	color: white;
	border-radius: 5px;
	font-weight: 500;
	transition: background-color 0.3s;
	text-decoration: none;
}

.thank-you-back-link:hover {
	background-color: #003056;
}

@media (max-width: 768px) {
	.thank-you-content h1 {
		font-size: 1.8rem;
	}

	.thank-you-content {
		padding: 25px 15px;
	}

	.thank-you-icon {
		font-size: 4rem;
	}
}

.nav-item.mobile-contact {
	display: none;
}
