body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
}

#adContainer{
    width: 650px;
    height: 366px;
    margin: 0 auto;
    position: relative;
    top: 50px;
    background-image: url('images/background.webp');
    background-repeat: repeat-x;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px
}

#navBar {
    background-image: url("images/nav-background.webp");
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px
}

#videoPlayer{
    position: inherit;
    max-height: 450px;
}



.nav-icons {
    display: flex;
    gap: 10px;
}

.icon {
    width: 30px;
    height: 30px;
}

.logo img {
    height: 30px;
}


.header-title{
    margin: 0 auto;
    text-align: center;
    position: relative;
    top: 25px;
}

.panel {
    text-align: center;
    /* padding: 50px; */
}

.hidden {
    display: none !important;
}

.product-list {
    display: flex;
    justify-content: left;
    gap: 15px;
    padding: 20px;
    position: relative;
    top: 30px;
}

.product {
    cursor: pointer;
    /* background: linear-gradient(to bottom, #8B5A2B, #3E2723); */
    padding: 5px;
    border-radius: 5px;
}

.product-name{
    font-weight: bold;
    font-size: 14px;
}

.product img {
    width: 130px;   
}

.image-hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-hover-effect:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(90%);
}

#productImage {
    width: 200px;
}

.buttons button {
    margin: 10px;
    padding: 10px;
}

#adVideo {
    width: 100%;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    max-height: 450px;
}

#productTitle{
    position: relative;
    top:10px;
}

#productPanel {
    display: flex;
    flex-direction: column; /* Menjamo direction u column */
    align-items: center; /* Centriramo sve elemente */
    justify-content: center;
    padding: 20px;
    position: relative;
    width: 90%;
    max-width: 650px;
    margin: 20px auto;
    border-radius: 10px;
}

/* Naslov ZENIUS centriran iznad sadržaja */
.product-single-title {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

/* Kontejner za sliku i dugmad */
.product-content {
    display: flex;
    flex-direction: row; /* Redosled ostaje kao pre */
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Slika aparata na levoj strani */
.product-img {
    /* flex: 1; */
    display: flex;
    justify-content: left;
    align-items: start;
    padding: 10px;
    /* width: 250px; */
}

.product-img img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
}

/* Dugmad na desnoj strani */
.buttons {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* gap: 10px; */
    position: relative;
    /* right: 20px; */
}

.buttons button {
    /* width: 60%;  */
    padding: 10px 8px;
    font-size: 12px;
    border: none;
    background-color: #8B5A2B;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.buttons button:hover {
    background-color: #6f4e37;
}

/* Dugme za povratak */
#goBack, #goBackToSubProductList {
    position: absolute;
    align-items: center;
    top: 2px;
    left: 0px;
    background: none;
    border: none;
    color: #8B5A2B;
    font-size: 12px;
    cursor: pointer;
}

#goBack svg, #goBackToSubProductList svg {
    width: 20px; /* Prilagodi veličinu strelice */
    height: 20px;
    stroke: #8B5A2B !important; /* Boja strelice */
    position: relative;
    top: 0px;
}


#goBackToProduct {
    display: flex;
    align-items: center; /* Poravnava strelicu i tekst */
    gap: 8px; /* Razmak između strelice i teksta */
    font-size: 12px; /* Prilagodi veličinu teksta po potrebi */
    color: #8B5A2B; /* Boja teksta */
    background: none; /* Uklanja default dugme stil */
    border: none;
    cursor: pointer;
    position: relative;
    bottom: 45px;
    left: 20px;
}

#goBackToProduct svg {
    width: 20px; /* Prilagodi veličinu strelice */
    height: 20px;
    stroke: #8B5A2B !important; /* Boja strelice */
}

#subProductPanel{
    position: relative; 
    top: 30px;
}

#skipIntroBtn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    z-index: 9999;
}

#skipIntroBtn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


#subProductList {
    display: flex;
    flex-wrap: wrap;
    justify-content: left; 
    align-items: center;
    gap: 10px; 
    max-width: 100%; 
}

.sub-products .sub-product {
    display: flex;
    flex-direction: column;
    width: 120px;
    align-items: center;
    text-align: center;
    padding-bottom: 30px;
    width: 26.7661%;
    height: 55.2414%;
    left: 10.731%;
    top: 36.5362%;
    position: relative;

}

.sub-products .sub-product img {
    width: 120px; 
    height: auto;
}


#feedbackPanel {
    position: absolute; /* Može i fixed ako želiš da prekriva ceo ekran */
    background-image: url('images/feedback_background.webp');
    top: 14%;
    left: 0;
    width: 100%;
    height: 86%;
    /* background: rgba(0, 0, 0, 0.8);  */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* z-index: 9999; */
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    background-color: #000;
}

#feedbackContent {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 400px;
}

#feedbackPanel h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}


.feedback-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.feedback-buttons button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: #8B5A2B;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}



.feedback-buttons button:hover {
    background-color: #6f4e37;
}

#feedbackThanks {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin-top: 10px;
}

#feedbackForm {
    margin-top: 15px;
}

#feedbackForm h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

#feedbackText {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

#feedbackForm button {
    margin-top: 10px;
    padding: 8px 15px;
    font-size: 14px;
    border: none;
    background-color: #8B5A2B;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#feedbackForm button:hover {
    background-color: #6f4e37;
}