html,body {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	overflow-x: hidden;
	}

body {
	font-family: 'Lato', sans-serif;
	color: #444;
	font-size: 20px;
	}
	
a {
	text-decoration: none;
	color: #005A9C;
	}

a:hover {
	color: #000;
	text-decoration: underline;
	}

h1,h2,h3,h4,h5,h6 {
	font-family: 'Montserrat', sans-serif;
	}
	
#main {
	padding: 50px 0;
}

#main p {
	line-height: 32px;
	}

/* navbar */
.navbar {
	background: #fff;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	min-height: 60px !important;
	}
	
.nav-link {
	display: block;
	text-decoration: none;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 18px;
	color: #333;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
	}
	
.nav-link:hover, .nav-link:focus {
	color: #2166C2;
	text-decoration: none;
	}
	
.navbar-brand {
	font-family: 'Montserrat', sans-serif;
	color: #333;
	font-weight: 400;
	text-decoration: none;
	}
	
.navbar-brand:hover, .navbar-brand:focus {
	color: #333;
	}
	
.navbar-text {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	color: #333;
	font-weight: 400;
	}
	
.navbar-text a, .navbar-text a:hover, .navbar-text a:focus {
	color: #333;
	}
	
.navbar-toggler {
	line-height: 1;
	color: #333;
	}
	
.navbar-toggler:hover {
	text-decoration: none;
	}
	
.navbar-toggler-icon {
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	border: 0px;
	}

/* hero section */
#hero {
    position: relative;              /* KLJUČNO */
    min-height: 75vh;
    padding: 40px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.20); /* tamni overlay */
    z-index: 1;
}

#hero .container {
    position: relative; /* H1 iznad overlay-a */
    z-index: 2;
}

/* Desktop */
#hero h1 {
    margin: 0 auto;
    max-width: 900px;
    font-size: 70px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-shadow: #333 5px 0 10px;
    text-transform: uppercase;
}

/* Tablet */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 40px;
        max-width: 95%;
    }
}

/* Mobiteli */
@media (max-width: 576px) {
    #hero h1 {
        font-size: 32px;
        padding: 0 20px;    /* ključna linija za udaljenost od rubova */
        max-width: 100%;
        line-height: 1.2;
    }
}

/* sections - sve osim hero */
section:not(#hero) {
    padding: 40px 0 70px 0;
    overflow: hidden;
}

	
.section-header {
	text-align: center;
	padding-bottom: 20px;
	}
	
.section-header h2 {
	font-size: 38px;
	font-weight: 700;
	position: relative;
	color: #2e3135;
	text-align: center;
	}
	
.section-header p {
	margin: 0 auto 0 auto;
	}
	
	section h2,section h3,section h4 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
	
#homepage p, #fotografije p, #snimanje p, #tisak p, #fotokopiranje p, #kontakt p {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	}
	
	section ul {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
	list-style-type: disc;
    list-style-position: inside;
}

section h3 {
    max-width: 900px;
    margin: 30px auto 15px auto;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

#usluge {
    padding: 100px 0;
}

@media (max-width: 768px) {
    #usluge {
        padding: 60px 0;
    }
}

.service-box {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
	margin-bottom: 30px;
}

.service-box img {
    border-radius: 4px;
    margin-bottom: 15px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.service-box:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

/* kontakt section */
#kontakt h3 {
	font-size: 20px;
	color: #6c757d;
	font-weight: 700;
	margin: 10px 0;
	}
	
	#kontakt iframe {
    border: 0;
}
	
/* footer */
.footer {
	background-color: #28282B;
	color: #f5f5f5;
	margin-top: 3px;
	} 
	
.footer p {
    margin: 0;
}

.footer a {color: #fff;}

.footer a:hover {
	text-decoration: underline;
	} 
