/* //HC */

:root {
	--primary-color: #00012D;
	--secondary-text-color: #00012dcc;
	--tertiary-text-color: #00012d99;
	--secondary-color: #C78500;
	--accent-color: #FFFFFF;
	--background-color: #F8F8F8;
	--background-black-color: #000000;
	--max-width: 1200px;
}

.inter-regular {
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

.inter-medium {
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
}

.inter-semi-bold {
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
}

.inter-bold {
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
}

.manrope {
	font-family: "Manrope", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-weight: 500;
}

.manrope-bold {
	font-family: "Manrope", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
}

html {
	scroll-behavior: smooth;
}

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

body {
	font-family: Inter, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: #FFFFFF;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

.full-width {
	position: relative;
}

.page-container {
	width: 100%;
	overflow-x: hidden;
}

.content-wrapper {
	width: 100%;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 20px;
}

.section-container {
	position: relative;
	max-width: 1000px;
	margin: 40px auto;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn {
	padding: 14px 24px;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s;
	border: none;
	background: var(--secondary-color);
	color: var(--accent-color);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.btn-secondary {
	padding: 14px 24px;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s;
	border: 1px solid var(--secondary-color);
	background: var(--accent-color);
	color: var(--primary-color);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.btn-tertiary {
	padding: 14px 24px;
	border-radius: 5px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s;
	border: 1px solid var(--secondary-color);
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(3px);
	--webkit-backdrop-filter: blur(3px);
	color: var(--accent-color);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.btn:hover:not(.zaunarten-btn-container .btn) {
	background: var(--accent-color);
	color: var(--background-black-color);
	outline: 1px solid var(--secondary-color);
}

.btn-secondary:hover {
	background: var(--secondary-color);
	color: var(--accent-color);
}

.btn-large {
	padding: 12px 24px;
	font-size: 1.1rem;
}

.btn-accent {
	background: var(--accent-color);
	color: white;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.hidden {
	display: none !important;
}

.kosten-section{
  padding: 60px 0;
  background: #fff;
}

.kosten-hero{
  text-align: center;
  margin-bottom: 40px;
}

.kosten-hero h1{
  font-size: 44px;
  margin: 0 0 12px;
}

.kosten-subtitle{
  font-size: 24px;
  margin: 10px 10px 24px !important;
}

.kosten-subtitle strong {
    color: #c58a00;   /* ista boja kao button */
}

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

.card-image {
    width: 100%;
    height: 180px;           /* možeš povećati na 200px ako želiš */
    overflow: hidden;
    border-radius: 8px;
    margin: 15px 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* KLJUČNO */
    display: block;
}


/* ✅ OVO JE KLJUČ: grid za kartice */
.kosten-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}

/* kartica */
.kosten-card{
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  padding: 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.kosten-card h3{
  font-size: 20px;
  margin: 8px 0 6px;
}

.kosten-card p{
  margin: 6px 0;
  line-height: 1.5;
}

.kosten-card .muted{
  opacity: 0.7;
  text-align: center;
}

/* slika u kartici */
.kosten-card-img{
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.kosten-card-img img{
  max-height: 140px;
  max-width: 100%;
  object-fit: contain;
}

/* dugme na dno kartice */
.kosten-card-btn{
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
}

/* responsive */
@media (max-width: 1100px){
  .kosten-cards{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px){
  .kosten-cards{ grid-template-columns: 1fr; }
  .kosten-card{ min-height: auto; }
}

.kosten-detail-section {
    padding: 80px 0;
    background: #f8f8f8;
}

.kosten-detail-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.kosten-detail-section h2 {
    margin-top: 40px;
    font-size: 22px;
}

.kosten-detail-section p {
    margin: 10px 0;
    line-height: 1.6;
}

.kosten-detail-section ul {
    margin: 15px 0 15px 20px;
}

.kosten-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
}

.kosten-table th,
.kosten-table td {
    padding: 12px 15px;
    border: 1px solid #e5e5e5;
    text-align: left;
}

.kosten-table th {
    background: #c58a00;
    color: white;
}

.kosten-detail-section ul {
    list-style: disc;
    padding-left: 20px;
}

/* ===== Projects Grid ===== */
.projects-section{
  padding: 70px 0;
  background: #f7f7f7;
}

.projects-title{
  text-align: center;
  font-size: 32px;
  margin: 0 0 35px;
}

.projects-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.project-card{
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.project-img-btn{
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.project-img-btn img{
  width: 100%;
  height: 160px;
  object-fit: cover;
  image-rendering: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.project-body{
  padding: 14px 16px 18px;
}

.project-heading{
  font-size: 14px;
  line-height: 1.35;
  margin: 0 0 10px;
  font-weight: 800; /* “velikim slovima” u smislu “bold”, ne CAPS */
}

/* ako baš hoćeš CAPS */
.project-heading.caps{
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.project-meta{
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
  color: #333;
}

.project-meta li{
  margin: 6px 0;
}

.project-meta span{
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1100px){
  .projects-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 850px){
  .projects-grid{ grid-template-columns: repeat(2, 1fr); }
  .project-img-btn img{ height: 180px; }
}
@media (max-width: 520px){
  .projects-grid{ grid-template-columns: 1fr; }
}

/* ===== Lightbox ===== */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox.is-open{
  display: block;
}

.lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

.lightbox-content{
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-image{
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  background: #000;
}

.lightbox-close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 28px;
  line-height: 44px;
}

.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 34px;
  line-height: 54px;
}

.lightbox-prev{ left: 18px; }
.lightbox-next{ right: 18px; }

.lightbox-counter{
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .kosten-detail-section h1 {
    font-size: 26px;
    line-height: 1.3;
  }
}

.hero-content-title-container {
    text-align: center;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 20px auto 0;
    display: inline-block;
    text-align: left;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    justify-content: flex-start;
}

.check-icon {
    color: #4CAF50;
    font-weight: bold;
    font-size: 16px;
}

/* MOBILE OPTIMIZACIJA */
@media (max-width: 768px) {
  .hero-content-title-container h1.inter-bold.manrope-bold {
    font-size: 28px !important;
    line-height: 1.15 !important;
    padding: 0 14px !important;
    margin: 0 auto !important;
    word-break: break-word;
  }

  .hero-content-title-container .subtitle {
    font-size: 15px !important;
    padding: 0 16px !important;
  }

  .hero-content-title-container .hero-benefits li {
    font-size: 14px !important;
    padding: 0 16px !important;
  }
}

@media (max-width: 480px) {
  .hero-content-title-container h1.inter-bold.manrope-bold {
    font-size: 24px !important;
  }
}