body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    width: 100%;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.naslov {
    font-family: "Fira Code", monospace;
    font-size: 40px;
    margin-bottom: 40px;
    color: #cfd8dc;
    text-shadow: 0 0 6px rgba(100, 181, 246, 0.6);
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.text-box {
    flex: 1 1 55%;
    text-align: left;
    line-height: 1.8;
    font-size: 17px;
    color: #e0e0e0;
}

.text-box p {
    margin-bottom: 20px;
}

/* ====== Slike ====== */
.image-box {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    height: 100%;
}

a{
    color: white;
    text-decoraiton: none;
}

.image-box img {
    max-width: 320px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    padding: 6px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.image-box img:hover {
    transform: scale(1.04);
    box-shadow: 0 0 18px rgba(100, 181, 246, 0.6);
}



.button-box {
    margin-top: 40px;
}

/* ====== RESPONSIVNOST ====== */
@media (max-width: 1024px) {
    .naslov {
        font-size: 34px;
    }
    .text-box {
        font-size: 16px;
    }
    .image-box img {
        max-width: 350px;
        height: 220px;
    }
}

@media (max-width: 700px) {
    html, body {
        background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
        background-attachment: fixed;
        overflow-x: hidden;
    }

    body {
        display: block;
        min-height: 100vh; /* da se opet pokrije cijeli ekran */
        padding-top: 30px;
    }
    
    .container {
        padding: 25px;
        width: 85%;
    }

    .content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-box {
        flex: 1 1 100%;
        text-align: justify;
        font-size: 15px;
    }

    .image-box {
        flex: 1 1 100%;
        align-items: center;
    }

    .image-box img {
        width: 90%;
        max-width: 300px;
        height: 200px;
    }

    .naslov {
        font-size: 28px;
    }
}
