*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom,#111111,#151B54);
    color:white;
}

header{
    background:#111111;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.logo{
    width:80px;
    margin-right:20px;
}

header h1{
    font-size:40px;
}

nav{
    background:#52595D;
    padding:15px;
}

nav ul{
    list-style:none;
    display:flex;
    justify-content:center;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

nav a:hover{
    color:#16E2F5;
}

.product-container{
    max-width:1400px;
    margin:50px auto;
    display:flex;
    gap:50px;
    padding:30px;
    align-items:flex-start;
}

.gallery{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.gallery img{
    width:100%;
    border-radius:15px;
    transition:0.3s;
    border:2px solid transparent;
}

.gallery img:hover{
    transform:scale(1.02);
    border-color:#16E2F5;
}

.product-info{
    flex:1;
    background:rgba(255,255,255,0.05);
    padding:30px;
    border-radius:15px;
}

.product-info h2{
    font-size:36px;
    margin-bottom:20px;
}

.product-info p{
    line-height:1.8;
    margin-bottom:25px;
}

.product-info ul{
    line-height:2;
    margin-left:20px;
}

.price{
    font-size:42px;
    color:#16E2F5;
    margin:30px 0;
    font-weight:bold;
}

.buy-btn{
    display:inline-block;
    padding:15px 40px;
    background:#0020C2;
    color:white;
    text-decoration:none;
    border-radius:10px;
    font-weight:bold;
    transition:0.3s;
}

.buy-btn:hover{
    background:#16E2F5;
    color:black;
}

footer{
    background:#111111;
    text-align:center;
    padding:15px;
    margin-top:50px;
}

@media(max-width:900px){

    .product-container{
        flex-direction:column;
    }

    .product-info{
        width:100%;
    }
}

/* Popup slika */

#overlay{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.85);
    z-index:999;
}

#photo-popup{
    display:none;
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    z-index:1000;
    justify-content:center;
    align-items:center;
}

#popup-img{
    max-width:90vw;
    max-height:90vh;
    border-radius:15px;
    border:3px solid #16E2F5;
}

.close-btn{
    position:absolute;
    top:-15px;
    right:-15px;
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:#16E2F5;
    color:black;
    font-size:22px;
    font-weight:bold;
    cursor:pointer;
}

.close-btn:hover{
    transform:scale(1.1);
}

.gallery img{
    cursor:pointer;
}