/* GLOBAL STILOVI */
body {
    margin: 0;
    padding: 0;
    background-color: #efeffe;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* sprečava horizontalni scroll */
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

#naslov {
    width: 60%;
    max-width: 250px;
    height: auto;
}

/* Tablet */
@media (min-width: 768px) {
    #naslov {
        width: 40%;
        max-width: 220px;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    #naslov {
        width: 25%;
        max-width: 180px;
    }
}

nav {
    flex-shrink: 0;
}

.glcontair, .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    text-align: center;
    font-size: 1rem;
}

h3 {
    text-align: center;
}

footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: auto;
    flex-shrink: 0;
}

footer > p {
    font-size: 15px;
}

/* MENU TABS */
#menuTabs {
    background-color: #efeffe;
    border-bottom-color: #e2a224;
    position: sticky;
    top: 0;
    z-index: 1000;
}

#menuTabs > li > a {
    color: #000;
    border: none;
    border-radius: 0;
}

#menuTabs > li > a.active {
    background-color: #e2a224;
    border-radius: 0;
}

/* GRID STILOVI ZA MENU */
.grid-container {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 20px;
    padding: 20px;
}

.grid-item {
    display: grid;
    grid-template-columns: 3fr 2fr; 
    align-items: center;
    padding: 10px;
}

.grid-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.text-container {
    padding-left: 10px;
    text-align: left;
}

#sun, #mon {
    margin-top: -10px;
    color: red;
}

#day {
    margin-bottom: 20px;
}

.und-line {
    text-decoration: underline;
}

/* RESPONSIVE MAPA FULL WIDTH */
.map-container {
    width: 100vw; 
    margin-left: calc(-50vw + 50%); 
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* automatska visina */
    border: 0;
    display: block;
}

/* Grid za tablet/desktop */
@media (min-width: 768px) {
    .map-container iframe {
        aspect-ratio: 16 / 9;
    }
}

@media (min-width: 1200px) {
    .map-container iframe {
        aspect-ratio: 16 / 9;
    }
}

/* FOOTER I MAIN FLEX */
main {
    flex: 1; /* gura footer dole */
}