﻿:root {
    --dark-blue: #032366; /* Tamno plava */
    --blue: #0171BB; /*Plava*/
    --light-blue: #ACD0EA; /*Svetlo plava*/
    --white: #FFFFFF; /*Bela*/
    --black: #000000; /*Crna*/
    --red: #FF1010; /*Crvena*/
    --dark-silver: #11101D; /*Tamno Siva*/
    --green: #28A745; /*Zelena*/
    --light-green: #38E860; /*Svetlo Zelena*/
}

/* Resetovanje margina i paddinga */
body, h1, h2, h3, p, ul {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0; /* Uklonite podrazumevani margin */
    overflow: hidden;
}

.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh; /* Visina ekrana */
    z-index: 0;
}

/* Gornja tanka linija */
.top-bar {
    width: 100%;
    height: 7px;
    background-color: var(--dark-blue);
    z-index: 0;
}

/* Header kontejner */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 3px;
    z-index: 10;
}

/* Dugme za meni */
.menu-btn {
    font-size: 40px;
    font-weight: 600;
    color: var(--dark-blue);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

    .header-logo img {
        max-width: 100%; /* Prilagođava se širini ekrana */
        height: auto;
    }

/* Desni deo (izbor jezika i logo) */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px 0px; /* Razmak između jezika i logo-a */
    z-index: 10;
}

.language-selector {
    position: relative;
    width: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    background: transparent;
    color: var(--dark-blue);
    z-index: 10;
}

/* Stilizacija zastavica */
.flag {
    height: auto;
    max-width: 40%;
}

/* Dropdown meni */
.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 2px solid var(--dark-blue);
    border-radius: 5px;
    list-style: none;
    padding: 5px;
    display: none;
    width: max-content;
    z-index: 10;
}

    .language-dropdown li {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 5px;
        cursor: pointer;
    }

        .language-dropdown li a {
            text-decoration: none;
            color: var(--dark-blue);
            font-size: 14px;
        }

        .language-dropdown li img {
            max-height: 30px;
        }

        .language-dropdown li:hover {
            background: #f0f0f0;
        }

/* Prikaz dropdown-a kada je aktivan */
.language-selector.active .language-dropdown {
    display: block;
}

.company-logo {
    height: 70px; /* Prilagodi veličinu po potrebi */
    z-index: 10;
}

/* SIDE MENU */
.side-menu {
    position: fixed;
    top: 0;
    left: -350px; /* Početno skriven */
    width: 300px;
    height: 100%;
    background: var(--dark-blue);
    color: var(--light-blue);
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 1000;
    align-content: center;
}

    /* Kada je menu otvoren */
    .side-menu.open {
        left: 0;
    }

.close-btn {
    background: none;
    border: none;
    color: var(--light-blue);
    font-size: 24px;
    cursor: pointer;
    display: block;
    text-align: right;
    width: 100%;
}

/* Stil navigacije u meniju */
.side-menu nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

    .side-menu nav ul li {
        margin-bottom: 10px;
        text-align: center;
        font-size: 25px;
    }

        .side-menu nav ul li a {
            color: var(--light-blue);
            text-decoration: none;
            font-size: 25px;
            display: block;
            padding: 5px;
            transition: background 0.2s;
        }

            .side-menu nav ul li a:hover {
                transform: scaleX(1.1) scaleY(1.1);
            }

/* OVERLAY za zamagljivanje */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 0;
    display: none;
}

    /* Kada je menu aktivan, overlay se prikazuje */
    .overlay.active {
        display: block;
        z-index: 999;
    }

.content-wrapper {
    flex: 1; /* Omogućava skrol unutar sadržaja */
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
}

footer {
    background: var(--dark-blue);
    color: var(--light-blue);
    padding: 0 0;
    font-size: 12px;
    z-index: 10;
    margin-top: auto;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 5px;
}

.footer-left,
.footer-right {
    flex: 1 1 0;
}

.footer-center {
    flex: 0 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.footer-right {
    justify-content: flex-end;
}

.social-icons, .payment-icons {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.terms-and-conditions {
    color: var(--light-blue);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    top: 15px;
    text-align: center;
    justify-items: center;
    justify-content: center;
    align-content: center;
    align-items: center;
}

    .terms-and-conditions a:hover {
        color: var(--white);
    }

.social-icons img {
    width: 40px;
    height: auto;
}

.payment-icons img {
    width: auto;
    max-height: 30px;
}

.footer-right {
    display: flex;
    gap:10px;
}

.footer-weather {
    display: flex;
    gap:15px;
}

#footer-weather div:nth-child(2) {
    font-size: 20px;
}

.footer-clock{
    text-align:center;
    justify-content:center;
    justify-items:center;
    align-content:center;
    align-items:center;
    font-size:14px;
    font-weight:bold;
}

.footer-left p {
    margin: 0 !important;
}

@media (max-width: 1023px) {
    .footer-clock{
        display:none;
    }
}
    /* 📱 Responzivnost - Sakrij sat i datum na malim ekranima */
    @media (max-width: 768px) {
        .header-logo img {
            max-width: 80%; /* Prilagođava se širini ekrana */
            height: auto;
        }

        .company-logo {
            display: none;
        }

        .language-selector span {
            font-size: 12px;
        }

        .footer-container {
            padding: 0 0;
        }

        .footer-left .footer-info {
            margin: 2px 0;
            text-align: center;
        }

        .footer-right {
            display: none;
        }

        .footer-container {
            flex-direction: column;
            text-align: center;
        }

        .social-icons, .payment-icons {
            justify-content: center;
        }

        .social-icons img{
            width:20px;
            height:auto;
        }
            .payment-icons img {
                width: auto;
                max-height: 20px;
            }

        .side-menu {
            width: 100%;
            display: none;
        }

            .side-menu.open {
                display: block;
            }

        .close-btn {
            width: 95%;
        }
    }
