html, body {
    height: 100%;
    margin: 0;
    font-family: 'arkhip', Arial;
    background-color: #000000;
    color: #d4af37;
}

header {
    background: #000000;
    padding: 20px 0;
    width: calc(100% - 600px);
    position: absolute;
    top: 0;
    left: 300px;
    z-index: 10;
    border-bottom: 2px solid #d4af37;
}

.topmenu {
    background: #000000;
    color: #d4af37;
}

.reklama-container {
    display: flex;
    justify-content: center;
    align-items: center;
	flex-wrap: wrap;
    margin: 20px auto;
}

.scrolling-wrapper {
    display: flex;
    width: calc(200px * 2 + 50px); /* širina 2 reklame + razmak */
    animation: scroll 20s linear infinite;
}

.reklama.scrolling-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px; /* smanjeno sa 600px na 400px */
    height: 100px;
    border: 2px dashed #d4af37;
    background-color: #000;
    margin-right: 50px; /* razmak između reklama */
}

.image-wrapper {
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reklama.scrolling-ad img {
    display: block;
    width: 100%;
    height: auto;
}

.ad-image.scrolling-ad-image {
    max-width: 50%;
    max-height: 100%;
    object-fit: contain;
}

.reklama.horizontal-ad {
    flex: 1 1 calc(50% - 10px);
    max-width: 600px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #d4af37;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.ad-image.horizontal-ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}


.topmenu .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.underline {
    border: 0;
    height: 1px; /* Smanjena debljina linije */
    background-color: #d4af37; /* Boja linije */
    margin: 5px auto; /* Razmak između linije i teksta */
    width: 20%; /* Smanjena širina linije */
}

.topmenu .row {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.phone, .address {
    flex: 1;
    display: flex;
    align-items: center;
}

.address {
    text-align: right;
}

.phone i, .address i {
    margin-right: 5px;
}

.topmenu i, .topmenu .phone div, .topmenu .address div {
    color: #d4af37;
}

.email-container {
    display: flex;
    justify-content: flex-end; /* Poravnaj sadržaj desno */
    align-items: center; /* Vertikalno centriranje */
    width: 100%; /* Širina 100% */
    padding-right: 20px; /* Opcionalno: dodaj padding sa desne strane */
}

.email-link {
    color: #d4af37;
    text-decoration: none;
    margin-left: auto; /* Pomera email link skroz desno */
}

.email-link:hover {
    text-decoration: underline; /* Promenjen hover efekat za bolju vidljivost */
}

.advertisement {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 250px;
    background-color: #000000;
    color: #ffffff;
    padding: 10px;
    box-sizing: border-box;
    z-index: 5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-ad {
    left: 0;
}

.right-ad {
    right: 0;
}

.map-container {
    position: relative;
    text-align: center;
    margin-top: 5px;
}

.map-container img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 1100px;
    height: auto;
}



/* Stilizovanje za labele regija */
.region-label {
    position: absolute;
    color: #d4af37;
    text-decoration: none;
    font-size: 14px; /* Možda ćeš hteti da povećaš za desktop */
    text-align: center;
    border: 1px solid transparent; /* Da bi se lakše pozicionirale */
    transition: all 0.3s ease;
}


.region-label:hover {
    border: 1px solid #d4af37; /* Prikazuje granicu kada je regija izabrana */
}

.region-label.bijeljina { top: 20%; left: 69%; }
.region-label.region-label-1 { top: 48%; left: 65%; }
.region-label.trebinje { top: 88%; left: 58%; }
.region-label.mostar { top: 63%; left: 55%; }
.region-label.zhercegovina { top: 52%; left: 41%; }
.region-label.zenica { top: 41%; left: 51%; }
.region-label.doboj { top: 25%; left: 51%; }
.region-label.banjaluka { top: 23%; left: 42%; }
.region-label.bihac { top: 16%; left: 26%; }
.region-label.prijedor { top: 8%; left: 37%; }
.region-label.gradiska { top: 8%; left: 45%; }
.region-label.brcko { top: 12%; left: 59%; }
.region-label.tuzla { top: 28%; left: 60%; }

.advertisement img.ad-image {
    position: absolute;
    width: 80%;
    height: 80%;
    object-fit: cover;
    animation-timing-function: linear;
}

.left-ad img.left-ad-image {
    animation: slideUp 10s infinite;
}

.right-ad img.right-ad-image {
    animation: slideDown 10s infinite;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(-100%); }
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(100%); }
}

.main-content {
    margin-left: 270px;
    margin-right: 270px;
    padding: 20px;
    padding-top: 140px;
    box-sizing: border-box;
    background-color: #000000;
    color: #d4af37;
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    margin-top: 60px;
}

.logo img.flip-logo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
	text-align: center; /* Centriranje teksta */
    font-size: 24px;
    color: #d4af37;
    margin-bottom: 10px;
}

.bottom-section {
    background-color: #000000;
    color: #d4af37;
    text-align: center;
    position: relative;
    z-index: 1;
}

.bottom-images {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-bottom: 50px;
}

.bottom-images a {
    text-decoration: none;
}

.bottom-image {
    width: 300px;
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bottom-image:hover {
    transform: scale(1.05);
}

.slika1-text {
    margin-top: 30px;
    font-size: 24px;
    color: #d4af37;
    margin-bottom: 30px;
}

.footer {
    margin-left: 450px;
    margin-top: 260px;
    text-align: left;
    font-size: 14px;
    color: #d4af37;
}

.footerlink, .footerlink2 {
    color: #d4af37;
}

.footerlink:hover, .footerlink2:hover {
    color: white;
}

a:hover {
    color: white;
}

@font-face {
    font-family: 'arkhip';
    src: url('../fonts/Arkhip_font.woff2') format('woff2'),
         url('../fonts/Arkhip_font.woff') format('woff'),
         url('../fonts/Arkhip_font.ttf') format('truetype'),
         url('../fonts/Arkhip_font.otf') format('opentype');
}

.address-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.social-icon {
    font-size: 24px;
    color: #d4af37;
    margin: 0 3px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ffffff;
}

.phone {
    flex: 1;
    text-align: left; /* Poravnanje levo */
}

.bottom-image-container {
    position: relative;
    display: inline-block;
    text-align: center;
}

.bottom-image-description {
    margin-top: -10px;
}

.line {
    border-top: 1px solid #d4af37;
    margin: 0 auto;
    width: 60%;
}

.description-text {
    margin-top: 5px;
    font-size: 14px;
    color: #d4af37;
    line-height: 1.2;
}

.description-text span {
    display: block;
}

.content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

@media (max-width: 992px) {
    header {
        width: 100%;
        left: 0;
    }
	
	.region-label {
        font-size: 10px;
        padding: 2px;
    }

    .main-content {
        margin-left: 0;
        margin-right: 0;
        padding-top: 100px;
    }

    .bottom-images {
        gap: 50px;
        flex-wrap: wrap;
    }

    .phone, .address {
        width: 100%;
        text-align: center;
    }

    .bottom-images a {
        margin: 0 10px;
    }

    .bottom-image {
        width: 250px;
        height: 250px;
    }

    .footer {
        margin-left: 0;
        text-align: center;
    }

    .logo img.flip-logo {
        width: 200px;
        height: 200px;
    }
}

/* Stilovi za iPhone 12 u portret režimu */
@media only screen and (max-width: 390px) {
    .region-label.bijeljina { top: 15%; left: 75%; }
    .region-label.region-label-1 { top: 45%; left: 60%; }
    .region-label.trebinje { top: 80%; left: 65%; }
    .region-label.mostar { top: 55%; left: 50%; }
    .region-label.zhercegovina { top: 45%; left: 35%; }
    .region-label.zenica { top: 35%; left: 50%; }
    .region-label.doboj { top: 20%; left: 50%; }
    .region-label.banjaluka { top: 20%; left: 40%; }
    .region-label.bihac { top: 15%; left: 30%; }
    .region-label.prijedor { top: 10%; left: 38%; }
    .region-label.gradiska { top: 10%; left: 50%; }
    .region-label.brcko { top: 12%; left: 60%; }
    .region-label.tuzla { top: 28%; left: 58%; }
}

@media (max-width: 768px) {
	
    .image-collection {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important; /* Smanjen razmak između slika */
    }

    .image-container {
        width: 100% !important;
        height: auto !important;
        margin-bottom: 20px !important; /* Još manji razmak ispod svake slike */
        padding: 0 !important; /* Uklonjen padding */
    }

    .column {
        margin: 0 !important; /* Uklonjen dodatni razmak između kolona */
    }

    .image-text {
        font-size: 16px !important; /* Smanjen font na mobilnim uređajima */
        height: auto !important;
    }
	
    .image-item {
        width: 100% !important;
        height: auto !important; /* Prilagodljiva visina slike */
    }
    .contact-info {
        flex-direction: column;
        text-align: center;
    }
	
    .bottom-images {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .bottom-image-container {
        width: 90%;
        margin: 0 auto;
    }

    .bottom-image {
        width: 100%;
        height: auto;
    }
	
	.underline {
    	width: 80%; /* Smanjena širina linije */
	}


    .slika1-text {
        font-size: 18px;
        text-align: center;
        margin-bottom: 10px;
    }

    .description-text {
        font-size: 14px;
        text-align: center;
    }

    .logo-text {
        font-size: 16px;
        line-height: 1.4;
        margin-top: 10px;
        text-align: center;
    }

    .topmenu .container {
        flex-direction: column;
        align-items: center;
    }
	
	    .email-container {
        flex-direction: column; /* Postavljanje elemenata u kolonu */
        text-align: center; /* Centriranje svih elemenata */
    }
	
	.reklama-container {
        flex-direction: column; /* Reklame idu jedna ispod druge */
        align-items: center; /* Centriranje reklama */
    }

    .reklama.horizontal-ad {
        width: 90%; /* Smanjuje širinu reklama na mobilnim uređajima */
        max-width: 320px; /* Ograničavanje širine */
        max-height: 80px; /* Smanjena visina */
        margin: 10px 0; /* Razmak između reklama */
    }

    .ad-image.horizontal-ad-image {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Prilagođava sliku bez sečenja */
    }
    
    .phone, .email-link, .address {
        width: 100%; /* Širina 100% za svaki element */
        margin: 5px 0; /* Margina između elemenata */
    }
	
	
	.footer, .footer2 {
        text-align: center;
		font-size: 12px;
    }
	
	.phone {
        font-size: 10px; /* Smanjite veličinu fonta na mobilnim uređajima */
    }

    .email-link {
        font-size: 10px; /* Smanjite veličinu fonta na mobilnim uređajima */
    }

    .social-icon {
        font-size: 18px; /* Smanjite veličinu ikona na mobilnim uređajima */
    }
	
	.left-ad,
    .right-ad {
        display: none; /* Sakrijte reklame na mobilnim uređajima */
    }
	
    .region-label {
        font-size: 8px;
        padding: 1px;
    }
	
    .region-label.bijeljina { top: 21% !important; left: 82% !important; }
    .region-label.region-label-1 { top: 48% !important; left: 65% !important; }
    .region-label.trebinje { top: 88% !important; left: 65% !important; }
    .region-label.mostar { top: 63% !important; left: 55% !important; }
    .region-label.zhercegovina { top: 52% !important; left: 41% !important; }
    .region-label.zenica { top: 41% !important; left: 51% !important; }
    .region-label.doboj { top: 25% !important; left: 51% !important; }
    .region-label.banjaluka { top: 23% !important; left: 37% !important; }
    .region-label.bihac { top: 16% !important; left: 12% !important; }
    .region-label.prijedor { top: 8% !important; left: 28% !important; }
    .region-label.gradiska { top: 10% !important; left: 43% !important; }
    .region-label.brcko { top: 12% !important; left: 66% !important; }
    .region-label.tuzla { top: 28% !important; left: 70% !important; }

}

@media screen and (max-width: 1280px) and (min-height: 1024px) {
    .advertisement {
        width: 100px !important; /* smanjena širina za 1280x1024 rezoluciju */
    }
}

@media (max-width: 480px) {
    /* Za telefone - dodatno smanjenje veličine teksta i pozicioniranje regija */
    .region-label {
        font-size: 6px; /* Smanjiti veličinu teksta za mobilne uređaje */
        padding: 0.5px;
    }
	
    .overlay .text-top {
        font-size: 11px; /* Dodatno smanjeno za tekstove u overlay-u */
    }

    .overlay .numbers div {
        font-size: 8px; /* Dodatno smanjeno za brojeve */
    }

    .footer,
    .footer2 {
        text-align: center;
        font-size: 10px; /* Dodatno smanjeno za footer */
    }

    /* Preciznije pozicioniranje regija na manjim ekranima */
    .region-label.bijeljina { top: 22% !important; left: 80% !important; }
    .region-label.region-label-1 { top: 50% !important; left: 64% !important; }
    .region-label.trebinje { top: 90% !important; left: 64% !important; }
    .region-label.mostar { top: 65% !important; left: 54% !important; }
    .region-label.zhercegovina { top: 53% !important; left: 40% !important; }
    .region-label.zenica { top: 43% !important; left: 50% !important; }
    .region-label.doboj { top: 27% !important; left: 50% !important; }
    .region-label.banjaluka { top: 25% !important; left: 35% !important; }
    .region-label.bihac { top: 18% !important; left: 10% !important; }
    .region-label.prijedor { top: 10% !important; left: 26% !important; }
    .region-label.gradiska { top: 12% !important; left: 42% !important; }
    .region-label.brcko { top: 14% !important; left: 65% !important; }
    .region-label.tuzla { top: 30% !important; left: 68% !important; }
}
