/* style.css */
body {
    margin: 0;
    padding: 0 0 100px; /* Dodajemo prostor za footer */
    font-family: 'Arial', sans-serif;
    background: url('pozadina.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    min-height: 100vh;
    position: relative;
}

header {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.8rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.description {
    font-size: 1.2rem;
    opacity: 0.9;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.oktava-grupa {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.oktava-grupa h2 {
    color: #00eaff;
    margin-top: 0;
    border-bottom: 2px solid #00ffcc;
    padding-bottom: 10px;
}

.tonovi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.tonovi button {
    background: linear-gradient(145deg, #2dabff, #4000ff);
    border: none;
    padding: 12px;
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.tonovi button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgb(0, 208, 255);
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popup img {
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 10px;
    border: 3px solid #00ffee;
}

.close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #00eaff;
}

#naziv-tona {
    position: absolute;
    bottom: 20px;
    color: #fff;
    font-size: 24px;
    text-align: center;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}

footer p {
    margin: 5px 0;
    font-size: 1.1rem;
    color: #fcfcfc;
}

@media (max-width: 768px) {
    .tonovi {
        grid-template-columns: repeat(3, 1fr);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .popup img {
        max-width: 95%;
    }
}