/* Globalni stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* HEADER & NAVIGACIJA */
header {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger-menu {
    font-size: 35px;
    cursor: pointer;
    color: white;
    transition: transform 0.3s ease-in-out;
}

.hamburger-menu:hover {
    transform: scale(1.2);
}

/* NAVIGACIONI MENI */
nav ul {
    list-style: none;
    background: rgba(52, 73, 94, 0.95);
    position: absolute;
    top: 70px;
    left: -260px;
    width: 240px;
    transition: left 0.4s ease-in-out;
    padding: 15px 0;
    border-radius: 10px;
}

nav ul.show {
    left: 10px;
}

nav ul li {
    text-align: center;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 12px 20px;
    display: block;
    transition: background 0.3s ease, transform 0.2s;
}

nav ul li a:hover {
    background: #208b8b;
    transform: scale(1.05);
}

/* TABELA */
.table-section {
    text-align: center;
    padding: 80px 20px;
    animation: fadeIn 1.5s ease-in-out;
}

table {
    width: 90%;
    max-width: 900px;
    margin: 20px auto;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: slideIn 1.5s ease-in-out;
}

th, td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

th {
    background: #0078D4;
    color: white;
}

tr:hover {
    background: #f1f1f1;
    transition: 0.3s;
}

/* Dugmad za navigaciju */
#pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#pagination button {
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    border: none;
    background-color: #2c3e50; /* Tamna nijansa koja se poklapa sa sajtom */
    color: white;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

#pagination button:hover {
    background-color: #34495e; /* Svi hover efekti koriste svetliju tamnu nijansu */
}

#pagination button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
}

/* ANIMACIJE */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
