body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ff0000;
    background-image: url('');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #000000;
    border-bottom: 2px solid #ddd;
}
.header-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
}
.head {
    text-align: center;
    flex-grow: 1;
}
h1, p {
    color: #ffffff;
    margin: 0;
}
#clock {
    font-size: 1.2em;
    color: #ffffff;
    white-space: nowrap; /* Sprječava lomljenje teksta */
}
nav {
    display: flex;
    justify-content: center;
    background-color: #ff0000;
    padding: 10px 0;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    cursor: pointer;
}
nav a:hover {
    text-decoration: underline;
}
#about {
    padding: 40px 20px;
    background-color: #000000;
    color: #ffffff;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#about h2, #about h3 {
    color: #ffffff;
}
 
.property-listings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 30px;
background-color: #ff0000; 
align-items: flex-start;/* Svetla pozadina sekcije */}
.property {
    width: 300px;
    margin: 40px;
}
.property img {
    max-width: 100%; /* Podesite slike da budu responzivne */
    height: auto;
}
@media (max-width: 480px) {
    .property-listings {
    width: 100vw;
    }
    
    .property:nth-of-type(4),
    .property:nth-of-type(5) {
    /*display: none;*/
    }
    }

img {
width: 500px;
height: 500px;
object-fit: cover;
}

.carousel-container {
display: flex;
justify-content: space-between;
}

.carousel {
width: 500px;
margin: 20px;
}

.carousel img {
width: 100%;
height: 300px;
object-fit: cover;
}

.text-block {
width: 800px; /* Dodelite željenu širinu za tekst */
margin-left: 20px; /* Razmak između carousela i teksta */
padding: 20px;
background-color: #ff0000;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-block h2 {
color: #ffffff; /* Promenite boju naslova */
}

.text-block p {
color: #ffffff; /* Tamnija boja za tekst */
font-size: 1.1em;
}

.buttons-container {
display: flex;
justify-content: space-between;
}

.btn {
background-color: rgb(255, 0, 0);
color: #fff;
border: none;
padding: 0.5rem;
cursor: pointer;
width: 49.5%;
}

.btn:hover {
opacity: 0.9;
}

.btn:focus {
outline: none;
}    
.container1 {
display: flex;
width: 100vw;
background-color: #000000;
margin:  0 15px;
border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.panel {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: 80vh;
border-radius: 50px;
color: #fff;
cursor: pointer;
flex: 0.5;
margin: 10px;
position: relative;
-webkit-transition: all 700ms ease-in;
}

.panel h3 {
font-size: 24px;
position: absolute;
bottom: 20px;
left: 20px;
margin: 0;
opacity: 0;
}

.panel.active {
flex: 5;
}

.panel.active h3 {
opacity: 1;
transition: opacity 0.3s ease-in 0.4s;
}

@media (max-width: 480px) {
.container {
width: 100vw;
}

.panel:nth-of-type(4),
.panel:nth-of-type(5) {
display: none;
}
}

footer {
background-color: #ff0000; /* Tamna pozadina */
color: #fff; /* Bijeli tekst */
padding: 20px 0;
}

.footer-container {
display: flex;
justify-content: space-between; /* Razmak između lijevog i desnog bloka */
align-items: flex-start; /* Poravnanje elemenata na vrh */
max-width: 1200px; /* Maksimalna širina sadržaja */
margin: 0 auto; /* Centriranje sadržaja */
padding: 0 20px; /* Unutrašnji razmak */
}

.footer-navigation {
display: flex;
flex-direction: column; /* Vertikalni raspored linkova */
gap: 10px; /* Razmak između linkova */
}

.footer-link {
color: #ffffff; /* Zelena boja linkova */
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
}

.footer-link:hover {
color: #fff; /* Bijela boja prilikom prelaska miša */
}

.footer-info {
font-size: 14px;
line-height: 1.6;
text-align: right; /* Poravnanje teksta na desnu stranu */
}

.footer-info a {
color: #ffffff;
text-decoration: none;
}

.footer-info a:hover {
text-decoration: underline;
}
.social-icons {
margin-top: 10px; /* Razmak iznad ikona */
display: flex;
gap: 15px; /* Razmak između ikona */
justify-content: flex-end; /* Poravnanje na desnu stranu */
}

.social-link {
color: #4caf50; /* Zelena boja ikona */
font-size: 18px; /* Veličina ikona */
text-decoration: none;
transition: color 0.3s ease;
}

.social-link:hover {
color: #fff; /* Promjena boje prilikom prelaska miša */
}

#movingText {
    position: absolute;
    top: none;
    left: 0;
    white-space: nowrap;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff; 
  } 
  .property {
    display: inline-block;
    margin: 20px;
    text-align: center;
}
.property img {
    cursor: pointer;
    width: 200px;
    height: auto;
}
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
    position: relative;
    margin: auto;
    top: 10%;
    width: 80%;
    max-width: 800px;
}
.modal-content img {
    width: 100%;
}
.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    user-select: none;
}
.prev {
    left: 0;
}
.next {
    right: 0;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

#our-services {
    background-color: #f9f9f9;
    padding: 50px 0;
    text-align: center;
}

#our-services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-item {
    background: #000000;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.4;
}
.flags {
    margin-left: auto; /* Guranje ka desnoj strani */
    display: flex;
    gap: 0px; /* Razmak između zastavica */
}

.flag-link img {
    height: 30px;
    width: 20px;
    cursor: pointer; /* Pokazivač miša */
    transition: transform 0.3s ease;
}

.flag-link img:hover {
    transform: scale(1.1); /* Uvećanje slike pri hover-u */
}
