body {
    font-family: 'Montserrat', sans-serif;
    background-color: #002443;
    margin: 0;
    height: 100vh;
    overflow:auto;
    color: #333;
}

/* HEADER */
.fixed-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #002443;
    /* boja pozadine */
    color: white;
    z-index: 1000;
    transition: all 0.3s ease;
    /* glatka promena */
}

.fixed-bar:hover {
    background-color: rgba(0, 36, 67, 0.7);
    /* providnost samo pozadine */
}

#header {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

#header img {
    height: 100px;
    transition: height 0.3s ease;
}

 .fixed-bar.shrink {
     padding: 0px 0;
     /* smaller height when scrolled */
 }

.fixed-bar.shrink #header img {
    height: 60px;
    /* logo shrinks too */
}

#logo {
    text-align: left;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 36, 67, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.overlay-content {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    color: #002443;
    animation: fadeIn 0.4s ease;
}

.overlay-content h2 {
    margin-bottom: 15px;
    color: #00B8D9;
}

.overlay-content p {
    font-size: 16px;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    cursor: pointer;
    color: #002443;
    font-weight: bold;
}

.close-btn:hover {
    color: #ff3333;
}

@keyframes fadeIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.centiraj {
    display: flex;
    justify-content: center;
    padding-top: 0px;
}

.container {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    gap: 30px;
    flex-wrap: wrap;
}

.info {
    width: 45%;
    color: #002443;
    font-size: 16px;
    line-height: 1.5;
}

.info h2,
.info h3 {
    color: #123c7a;
    margin-bottom: 12px;
    font-weight: 700;
}

.info p {
    margin: 6px 0;
}

.social a {
    display: flex;
    align-items: center;
    margin: 8px 0;
    color: #123c7a;
    text-decoration: none;
    font-weight: 700;
    gap: 8px;
    transition: color 0.3s;
}

.social a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social a:hover {
    color: #00B8D9;
}

/* Lepša tabela radnog vremena */
.tabela_sazmi {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 16px;
    background-color: #f1f7ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 15px;
    font-size: 15px;
    color: #002443;
}

.tabela_sazmi tr {
    transition: background-color 0.3s ease;
}

.tabela_sazmi tr:hover {
    background-color: #e0f3ff;
}

.tabela_sazmi td {
    padding: 14px 20px;
    border-bottom: 1px solid #cdd8e2;
    font-weight: 500;
}

.tabela_sazmi tr:last-child td {
    border-bottom: none;
}

.tabela_sazmi tr:first-child td:first-child {
    border-top-left-radius: 16px;
}

.tabela_sazmi tr:first-child td:last-child {
    border-top-right-radius: 16px;
}

.tabela_sazmi tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
}

.tabela_sazmi tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
}

/* Forma */
.form {
    width: 30%;
    margin: 0 auto;
    background: #f9faff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.form h2 {
    color: #123c7a;
    margin-bottom: 20px;
    font-weight: 700;
}

.form input,
.form textarea {
    width: 100%;
    padding: 12px 14px;
    margin: 10px 0 18px 0;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

.form input:focus,
.form textarea:focus {
    border-color: #00B8D9;
    outline: none;
    background-color: #e6f7ff;
}

.form label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
}

.form label input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form button {
    width: 100%;
    padding: 14px 0;
    background-color: #00B8D9;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 184, 217, 0.4);
}

.form button:hover {
    background-color: #086c7d;
    box-shadow: 0 6px 16px rgba(8, 108, 125, 0.6);
}

/* Mapa */
.slika_maps {
    width: 500px;
    height: 300px;
    cursor: pointer;
    border-radius: 30px;
    border: 2px solid #123c7a;
}

.buttoni {
    display: flex;
    gap: 10px;
}

.content {
    margin-top: 120px;
    margin-bottom: 80px;
    /* da footer ne preklopi sadržaj */
}

/* FOOTER */
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #002443;
    text-align: center;
    color: white;
    padding: 10px 10px;
    z-index: 1000;
}

th:hover {
    background-color: #011a31;
}

a {

    color: white;
    text-decoration: none;
}

#footer th {
    padding: 0 10px;
}

#footer img {
    vertical-align: middle;
}

.checkbox_klasa {
    justify-content: center;
    display: flex;
    align-items: center;
    vertical-align: bottom;
}

/* Responsive dizajn */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        padding: 20px;
    }

    .info,
    .form {
        width: 100%;
    }

    .info {
        margin-bottom: 30px;
    }

}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #002443;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    z-index: 1001;

    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.dropdown-content a {
    display: block;
    padding: 10px 14px;
    color: white;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #011a31;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    max-height: 500px;
    /* big enough to fit your items */
}