*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,sans-serif;
}

body{
background:#101820;
color:white;
}

 /* FLEXBOX*/
header{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px;
background:#111;
position:sticky;
top:0;
z-index:100;
}

.logo{
font-size:24px;
font-weight:bold;
}

nav a{
color:white;
text-decoration:none;
margin:10px;
}

.slider img{
width:100%;
height:400px;
object-fit:cover;
}

.hero{
text-align:center;
padding:40px;
}

.naslov{
text-align:center;
padding:30px;
}

 /* FLEX WRAP */
.cards{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:20px;
padding:20px;
}

 /* BORDER RADIUS + SHADOW */
.card{
width:250px;
background:#1e293b;
padding:15px;
border-radius:15px;
box-shadow:0 0 10px black;
position:relative;
transition:0.3s;
}

 /* HOVER + TRANSFORM */
.card:hover{
transform:scale(1.05);
}

.badge{
position:absolute;
top:10px;
right:10px;
background:red;
padding:5px;
border-radius:10px;
}

button{
padding:10px;
border:none;
border-radius:10px;
background:orange;
cursor:pointer;
}

button:hover{
opacity:0.8;
}

form{
display:flex;
flex-direction:column;
gap:10px;
max-width:400px;
margin:auto;
padding:20px;
}

input{
padding:10px;
}

.gallery{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:10px;
padding:20px;
}

.gallery img{
width:300px;
border-radius:10px;
}

iframe{
width:100%;
height:300px;
border:none;
margin-top:20px;
}

footer{
text-align:center;
padding:20px;
}

/* RESPONSIVE */
@media(max-width:768px){

header{
flex-direction:column;
}

.cards{
flex-direction:column;
align-items:center;
}

.slider img{
height:250px;
}

}