html {
	scroll-behavior: smooth;
}

body {
	font-family: "Segoe UI", Tahoma, sans-serif;
	margin: 0;
	padding: 0;
	background: #f7f6f4;
	color: #333;
	padding-top: 120px; /* Pomerili 120px ispod navigacije */
}

/* HERO SECTION */
.brodski-hero {
	background-color: #f4f1ee;
	background-size: cover;
	background-position: center;
	text-align: center;
	padding: 80px 20px 60px;
	color: #4b2e1d;
	position: relative;
	box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.1);
	animation: fadeIn 1.5s ease;
	margin-top: 90px;
}

.brodski-title {
	font-size: 42px;
	font-weight: 700;
	color: #4b2e1d;
	margin-bottom: 20px;
	animation: slideDown 1.5s ease;
}

.brodski-quote {
	font-size: 18px;
	color: #777;
	animation: fadeIn 2s ease;
}

/* ANIMACIJE HERO */
@keyframes slideDown {
	0% {
		transform: translateY(-30px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}
@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* NASLOVI SEKCIJA */
.section-title {
	font-size: 32px;
	color: #4b2e1d;
	margin: 50px 0 30px 0;
	text-align: center;
	position: relative;
}

.section-title::after {
	content: "";
	width: 80px;
	height: 4px;
	background: #a0794c;
	display: block;
	margin: 15px auto 0;
	border-radius: 2px;
}

/* KARTICE */
.ponuda-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	padding: 20px;
}

.ponuda-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	width: 240px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 20px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.ponuda-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.ponuda-card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.ponuda-card img:hover {
	transform: scale(1.1);
}

.ponuda-card h3 {
	font-size: 20px;
	color: #4b2e1d;
	margin: 12px 0 6px 0;
	text-align: center;
}

.ponuda-card p {
	font-size: 14px;
	color: #555;
	margin: 0 15px 10px;
	text-align: center;
}

/* Dugme centrirano */
.asortiman-link {
	display: inline-block;
	margin-top: 8px;
	padding: 10px 22px;
	background: linear-gradient(45deg, #4b2e1d, #a0794c);
	color: #fff;
	text-decoration: none;
	border-radius: 30px;
	font-size: 14px;
	transition: 0.3s ease;
	text-align: center;
}

.asortiman-link:hover {
	background: linear-gradient(45deg, #7a5130, #d9b480);
	transform: scale(1.05);
}

.cena {
	font-weight: 700;
	color: #2c1d12;
	font-size: 15px;
}

.asortiman-link {
	display: inline-block;
	margin-top: 10px;
	padding: 10px 20px;
	background: linear-gradient(45deg, #4b2e1d, #a0794c);
	color: #fff;
	text-decoration: none;
	border-radius: 30px;
	font-size: 14px;
	transition: 0.3s ease;
}

.asortiman-link:hover {
	background: linear-gradient(45deg, #7a5130, #d9b480);
	transform: scale(1.05);
}

/* SEKCIJA PREDNOSTI I POSTAVLJANJE */
.brodski-double-section {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
	padding: 70px 20px;
	background: #faf9f7;
}

.brodski-postavljanje,
.brodski-prednosti {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	padding: 30px;
	flex: 1;
	max-width: 500px;
	transition: 0.3s ease;
}

.brodski-postavljanje:hover,
.brodski-prednosti:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-text {
	font-size: 16px;
	line-height: 1.7;
	color: #555;
}

.prednosti-list {
	list-style: none;
	padding-left: 0;
	margin-top: 20px;
}

.prednosti-list li {
	font-size: 16px;
	color: #444;
	margin-bottom: 12px;
	padding-left: 28px;
	position: relative;
}

.prednosti-list li::before {
	content: "✔";
	position: absolute;
	left: 0;
	color: #4b2e1d;
	font-weight: 600;
}

/* SPECIFIKACIJE */
.brodski-specifikacije {
	background: #eae4dd;
	padding: 70px 20px;
}

.specs-table {
	margin: 0 auto;
	width: 100%;
	max-width: 800px;
	border-collapse: collapse;
	font-size: 16px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.specs-table th,
.specs-table td {
	text-align: left;
	padding: 16px;
	border-bottom: 1px solid #ddd;
}

.specs-table th {
	background: #4b2e1d;
	color: #fff;
}

/* RADOVI */
.brodski-radovi {
	background: #fff;
	padding: 80px 20px;
	text-align: center;
}

.radovi-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 35px;
}

.rad-item {
	width: 260px;
	cursor: pointer;
	transition: 0.3s ease;
}

.rad-item img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	transition: transform 0.4s ease;
}

.rad-item:hover img {
	transform: scale(1.08);
}

.rad-item h3 {
	color: #4b2e1d;
	margin-top: 12px;
	font-size: 16px;
}

.contact-info {
	text-align: center;
	margin-top: 40px;
	font-size: 14px;
	color: #0a0a0a;
	text-decoration: none;
	font-weight: bold;
}
.contact-info a {
	color: #e94e77;
	text-decoration: none;
	font-weight: bold;
}
.contact-info a:hover {
	text-decoration: underline;
}
.cena-napomena {
	text-align: center;
	font-size: 14px;
	font-style: italic;
	margin-top: 30px;
	color: #666;
}

/* LIGHTBOX */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	padding: 20px;
}

.lightbox img {
	max-width: 90%;
	max-height: 90%;
	border-radius: 10px;
	box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

@media (max-width: 375px) {
	.brodski-title {
		font-size: 1.4rem;
	}
	.brodski-quote {
		font-size: 0.85rem;
	}
	.section-title {
		font-size: 16px;
	}
	.ponuda-card,
	.rad-item {
		width: 95%;
	}
	.asortiman-link {
		font-size: 11px;
		padding: 6px 12px;
	}
	.section-text,
	.prednosti-list,
	.specs-table {
		font-size: 11px;
	}
	.specs-table th,
	.specs-table td {
		padding: 5px;
	}
}

/* Telefoni standardni (376px - 480px) */
@media (min-width: 376px) and (max-width: 480px) {
	.brodski-title {
		font-size: 1.6rem;
	}
	.brodski-quote {
		font-size: 0.9rem;
	}
	.section-title {
		font-size: 18px;
	}
	.ponuda-grid,
	.radovi-grid {
		flex-direction: column;
		align-items: center;
	}
	.ponuda-card,
	.rad-item {
		width: 95%;
	}
	.asortiman-link {
		font-size: 12px;
		padding: 6px 14px;
	}
	.section-text,
	.prednosti-list,
	.specs-table {
		font-size: 12px;
	}
	.specs-table th,
	.specs-table td {
		padding: 6px;
	}
}

/* Telefoni veći (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
	.brodski-hero {
		height: auto;
		padding: 50px 15px 40px;
	}
	.brodski-title {
		font-size: 2rem;
	}
	.brodski-quote {
		font-size: 1rem;
	}
	.ponuda-card {
		width: 85%;
	}
	.brodski-double-section {
		flex-direction: column;
		align-items: center;
		padding: 40px 15px;
	}
	.brodski-postavljanje,
	.brodski-prednosti {
		width: 100%;
		max-width: 100%;
	}
	.specs-table {
		font-size: 12px;
	}
	.rad-item {
		width: 85%;
		max-width: 280px;
	}
}

/* Tableti (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
	.brodski-title {
		font-size: 2.3rem;
	}
	.brodski-quote {
		font-size: 1.1rem;
	}
	.section-title {
		font-size: 22px;
	}
	.ponuda-card {
		width: 40%;
	}
	.rad-item {
		width: 40%;
	}
	.specs-table {
		font-size: 13px;
	}
}

/* Desktop (1025px i više) */
@media (min-width: 1025px) {
	.brodski-title {
		font-size: 2.5rem;
	}
	.brodski-quote {
		font-size: 16px;
	}
	.section-title {
		font-size: 24px;
	}
}
