
/* main.css - Custom styles for site */

body {
    font-family: 'Lora', serif;
    background-color: #f5eddb;
}

h1, h2, .navbar-brand {
    font-family: 'Playfair Display', serif;
    color: #c62727;
}

a{
    color: #c62727;
    text-decoration: none;
}

.content-wrap {
    padding: 1rem;
}

@media (min-width: 768px) {
    .content-wrap {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1200px) {
    .content-wrap {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}



#header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.top-line-social img,
.shopping-icons img {
    width: 24px;
    height: auto;
}

.top-line-social p,
.shopping-icons p {
    margin: 0;
    font-size: 0.875rem;
    color: #333;
    text-align: center;
}
/* Header stilovi */
#header.top-line {
    background-color: #c62727;
}

/*Ikonice header*/

#header .top-line .top-line-social li a,
#header .top-line .shopping-icons li a {
    color: white;
}

#header .top-line .top-line-social li p,
#header .top-line .shopping-icons li p {
    color: #d7b56d; /* gold-color */
}
/* Ukloni bullet taÄ?ke */
.top-line-social li,
.shopping-icons li {
    list-style: none;
    text-align: center;
}

/* Ikonice - veÄ‡e */
.top-line-social li img,
.shopping-icons li img {
    width: 40px;
    height: auto;
}

/* Tekst ispod ikonica */
.top-line-social li p,
.shopping-icons li p {
    color: #d7b56d;
    font-weight: 300;
    font-size: 12px;
    margin-top: 4px;
    margin-bottom: 0;
    text-transform: uppercase;
}

/* Uklanjanje underline sa svih linkova u headeru */
#header .top-line a {
    text-decoration: none;
}

/* Glavna struktura ikonica: centrirano i sa razmakom */
.top-line-social,
.shopping-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* razmak izmeÄ‘u ikonica */
    padding: 0;
    margin: 0;
}

/* Svaka ikonica u listi - centriranje sadrÅ¾aja */
.top-line-social li,
.shopping-icons li {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ikonice veÄ‡e */
.top-line-social li img,
.shopping-icons li img {
    width: 40px;
    height: auto;
}

/* Tekst ispod ikonice */
.top-line-social li p,
.shopping-icons li p {
    color: #d7b56d;
    font-weight: 300;
    font-size: 12px;
    margin-top: 4px;
    margin-bottom: 0;
    text-transform: uppercase;
}

/* Hover efekat na ikonice */
.top-line-social li:hover img,
.shopping-icons li:hover img {
    opacity: 0.7;
    cursor: pointer;
}

/* 1. Uklanjanje underline na sve linkove, u svim stanjima */
#header .top-line a,
#header .top-line a:hover,
#header .top-line a:focus,
#header .top-line a:visited {
    text-decoration: none !important;
    color: inherit;
}

/* 2. Razmak izmeÄ‘u ikonica i centriranje */
.top-line-social,
.shopping-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem; /* joÅ¡ malo poveÄ‡an razmak */
    padding: 0;
    margin: 0;
}

/* 3. Stil za svaku ikonicu u listi */
.top-line-social li,
.shopping-icons li {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 4. Ikonice - sada malo manje */
.top-line-social li img,
.shopping-icons li img {
    width: 36px;
    height: auto;
    margin-bottom: 6px; /* viÅ¡e razmaka izmeÄ‘u ikonice i teksta */
}

/* 5. Tekst ispod ikonica */
.top-line-social li p,
.shopping-icons li p {
    color: #d7b56d;
    font-family: 'Trajan Pro Bold', sans-serif;
    font-size: 12px;
    margin: 0;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}



/* 6. Hover efekat samo za slike */
.top-line-social li:hover img,
.shopping-icons li:hover img {
    opacity: 0.7;
    cursor: pointer;
}


/* Transparentna pozadina menija */
.navbar {
    background-color: #fff !important;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

/* Stilizacija linkova u meniju */
.navbar-nav .nav-link {
    color: black !important;
    font-weight: 550 !important; /* tanji tekst */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px; /* manji font */
    padding: 0.6rem 1rem;
    text-align: center;
}

/* Hover efekat */
.navbar-nav .nav-link:hover {
    color: #c62727 !important;
    background-color: transparent;
    text-decoration: none;
}

/* Centriranje stavki i razmak */
.navbar-nav {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

/* Hover aktivira dropdown */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* SpreÄ?ava da klik otvara dropdown (opciono, za Ä?isti hover) */
.nav-item.dropdown > .nav-link {
    pointer-events: none;
}

/* Padding i siva linija izmeÄ‘u stavki */
.dropdown-menu .dropdown-item {
    padding: 0.5rem 1.2rem;
    border-bottom: 1px solid #ccc;
    color: black;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
}

.dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

/* Hover efekat */
.dropdown-menu .dropdown-item:hover {
    background-color: #f5f5f5;
    color: #c62727;
}
/* Padding i siva linija izmeÄ‘u stavki */
.dropdown-menu .dropdown-item {
    padding: 0.5rem 1.2rem;
    border-bottom: 1px solid #ccc;
    color: black;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
}

.dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

/* Hover efekat */
.dropdown-menu .dropdown-item:hover {
    background-color: #f5f5f5;
    color: #c62727;
}

/* Sticky navbar samo */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #fff; /* mora imati pozadinu! */
}

/*SLIDER HOMEPAGE*/


#home-slider {
    overflow: hidden;
    margin-bottom: 2rem;
}

#home-slider .carousel-caption {
    position: absolute;
    top: 30%;
    left: 10%;
    z-index: 2;
    text-align: left;
}

#home-slider .carousel-caption img {
    max-width: 200px;
    height: auto;
}

#home-slider .object-fit-cover {
    object-fit: cover;
    height: 100%;
}
/* VeÄ‡a overlay slika na levoj slici */
#home-slider .carousel-caption.left-overlay img {
    max-width: 300px;
}

/* Overlay pozicioniran u donji desni ugao na desnoj slici */
#home-slider .carousel-caption.right-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    margin: 0;
    padding: 0;
}

#home-slider .carousel-caption.right-overlay img {
    max-width: 180px;
    height: auto;
    display: block;
}

/*hover efekat slider*/

/* Omotac slike treba da bude relative */
#home-slider .col-md-7,
#home-slider .col-md-5 {
    overflow: hidden;
}

/* Hover efekat na linkovanoj slici */
#home-slider a img {
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* Efekat na hover */
#home-slider a:hover img {
    transform: scale(1.05);
}
/*Homepage katalog*/

.web-shop-banner {
    height: 150px; /* ili viÅ¡e ako Å¾eliÅ¡ */
    background-image: url('../img/bg-1.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/*dugme*/

.web-shop-banner .btn-primary {
    background-color: rgba(215, 181, 109, 0.9); /* providna zlatna */
    border: 1px solid #fff; /* beli border */
    color: #000;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0.6rem 2.2rem;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
    box-shadow: none;
}

/* Hover efekat */
.web-shop-banner .btn-primary:hover {
    background-color: #d7b56d;
    color: #c62727;
    border-color: #fff; /* ostaje beli border na hover */
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/*newsletter*/


.newsletter-section {
    margin-top: 50px;
    padding-top: 2rem;
    padding-bottom: 3rem;
    background-color: #f8f9fa;

    /* Gradijent umesto border-top */
    position: relative;
    z-index: 1;
}

.newsletter-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 30px; /* veÄ‡i prelaz */
    width: 100%;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    z-index: 2;
}



.newsletter-title {
    font-size: 25px;
    text-transform: uppercase;
    color: #c62727;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.newsletter-subtitle {
    font-size: 16px;
    color: #333;
}

.newsletter-form {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 0.6rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-newsletter {
    background-color: #c62727;
    color: #fff;
    border: 2px solid #c62727;
    padding: 0.6rem 1.8rem;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
}

.btn-newsletter:hover {
    background-color: #fff;
    color: #c62727;
    border-color: #c62727;
}

/* Input polje - smanjeno i zaobljeno s leva */
.form-control-newsletter {
    border: 2px solid #ced4da;
    border-radius: 30px 0 0 30px;
    font-size: 16px;
    padding: 0.4rem 1rem;
    height: 45px;
}

.newsletter-form .input-group {
    width: 100%;
    max-width: 480px; /* poveÄ‡ano za ~20% */
}

/* PoveÄ‡an input */
.form-control-newsletter {
    flex: 1 1 0%;
    width: 240px; /* poveÄ‡ano sa 200px */
    border: 2px solid #ced4da;
    border-radius: 30px 0 0 30px;
    font-size: 16px;
    padding: 0.4rem 1rem;
    height: 45px;
}


/* Dugme ostaje isto */
.btn-newsletter {
    border-radius: 0 30px 30px 0;
    padding-left: 30px;
    padding-right: 30px;
    background-color: #c62727;
    border-color: #c62727;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    height: 45px;
    text-transform: uppercase;
}


/*footer*/

.site-footer {
    background-color: #ebd9b5;
    color: #333;
    padding: 3rem 1rem 2rem;
    position: relative;
    border-top: 4px solid #d7b56d;
}

.footer-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-repeat: repeat;
    z-index: 0;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-block {
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-title {
    color: #c62727;
    font-size: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li a {
    display: block;
    color: #333;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #c62727;
}

.footer-social {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-social li a {
    color: #333;
    font-size: 24px;
    transition: color 0.3s;
}

.footer-social li a:hover {
    color: #c62727;
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    font-size: 14px;
    color: #666;
}

.footer-credit a {
    color: #c62727;
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}


/*Standardni artikli*/

.custom-category-section {
    padding: 60px 0;
    background-color: #fdfdfb;
}

.category-title-wrapper {
    margin-bottom: 30px;
    text-align: left;
}

.category-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem; /* joÅ¡ manji font */
    color: #222;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px; /* manji razmak */
}

.category-underline {
    width: 60px;
    height: 3px;
    background-color: #c62727; /* crvena linija */
    border-radius: 2px;
}

.category-title-icon {
    position: absolute;
    right: -50px;
    top: 0;
}

.gilet-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.gilet-item {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 10px;
    transition: transform 0.3s ease;
    border-radius: 6px;
    text-align: center;
}

.gilet-item img {
    border-radius: 4px;
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
}

.gilet-label {
    margin-top: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
}

.gilet-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/*Modal*/
.custom-modal {
    display: none; /* default zatvoren */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); /* tamna pozadina */
}

.custom-modal-content {
    background-color: #fff;
    margin: 3% auto;           /* spuÅ¡teno sa 10% */
    padding: 2rem;
    width: 80%;                /* sa recimo 90% Å¡irine */
    max-width: 1000px;         /* poveÄ‡ano sa 500px */
    border-radius: 8px;
    position: relative;
    text-align: center;
}

.custom-modal-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #222;
    text-transform: uppercase;
}

.custom-modal-subtitle {
    font-size: 1rem;
    color: #555;
}

.custom-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-weight: bold;
}

.custom-modal-close:hover {
    color: #c62727;
}

.custom-modal-close-btn {

    padding: 0.6rem 2rem;
    background-color: #c62727;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-modal-close-btn:hover {
    background-color: #a91f1f;
}

/*zoom*/
.zoom-wrapper {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.zoom-img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

#kontakt .btn{
    background-color: #c62727;
    border: none;
    padding: 10px 0;
    color: #d7b56d;
    border-radius: 0;
}

#kontakt .btn:hover{
    background-color: #d7b56d;
    color: #c62727;
}

.title-bg{
    background-color: #c62727;
    color: #d7b56d;
}

.category-title-side h1,
.category-title-side h2 {
    background-color: #c62727;
    color: #d7b56d;
    padding: 8px 12px; /* dodaje malo prostora za izgled */
    margin-bottom: 10px;
    font-weight: bold;
}

.category-title-side a {
    color: #333333; /* tamno siva */
    text-decoration: none; /* uklanja podvu?enost */
}

.category-title-side a:hover {
    text-decoration: underline; 
}

/* nove stranice*/
img:hover {
    cursor: pointer;
}

p.productTitle {
    text-align: center;
    margin-top: 15px;
}

/* index stranice stranice*/


.btn-custom {
  border: 2px solid #c62727;
  background-color: #fff;
  color: #c62727;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  box-shadow: 3px 3px 8px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  font-size: 1.5rem;   /* veći font */
  letter-spacing: 1px; /* malo razmaknuta slova */
}

/* hover osnovni efekat */
.btn-custom:hover {
  background-color: #c62727;
  color: #fff;
}

/* flash efekat */
.btn-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-25deg);
}

.btn-custom:hover::before {
  animation: flash 0.6s forwards;
}

/* arrow efekat */
.btn-custom::after {
  content: "";
  margin-left: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.btn-custom:hover::after {
  content: " →";
  margin-left: 10px;
  opacity: 1;
}

/* animacija flash */
@keyframes flash {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}


/* Osnovni stil za tvoje dugme na stranica ma kolekcije */
button.btn {
  background-color: #c62727 !important;
  color: #fff !important;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  animation: wave 2s infinite ease-in-out;
}

/* Animacija "vijorenja zastave" */
@keyframes wave {
  0% { transform: rotate(0deg) translateX(0); }
  25% { transform: rotate(3deg) translateX(1px); }
  50% { transform: rotate(-3deg) translateX(-1px); }
  75% { transform: rotate(2deg) translateX(1px); }
  100% { transform: rotate(0deg) translateX(0); }
}

/* Hover efekat */
button.btn:hover {
  background-color: #a81f1f !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transform: scale(1.1);
  animation: none; /* zaustavi vijorenje kad hoveruje */
}

/* Menja "I" u ikonicu hand-pointer */
button.btn:hover strong {
  visibility: hidden;
}

button.btn:hover strong::before {
  content: "\f25a"; /* FA ikonica: hand-pointer */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.3rem;
  position: absolute;
  visibility: visible;
}

                /* Sticky sidebar samo na ≥992px (desktop/tablet landscape) */
@media (min-width: 992px) {
  .sticky-lg {
    position: sticky;
    top: 100px;      /* razmak od vrha da ne udari u header/nav */
    align-self: flex-start; /* da se ponaša kako treba u Bootstrap gridu */
  }
}

/* Lepše skrolovanje do ankora */
html {
  scroll-behavior: smooth;
}

/* Da naslovi/sekcije ne “uđu” ispod headera kad skroluješ na anchor */
[id] {
  scroll-margin-top: 120px; /* uskladi sa top: iz sticky-ja + visina headera */
}


/* sidebar*/
h4 {
    font-size: 20px;
  background-color: #c62727 !important;
  color: #fff !important;
  padding: 2px 10px;
    width:60%;
    font-weight: bold;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
 box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.75);
-webkit-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.75);
}

div.sticky-lg{

    background-color:rgba(255,255,255,0.4);
    padding:25px;
    -webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
 box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.75);
-webkit-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.75);
  
}

div.sticky-lg ul{
   margin: 15px;
}
div.sticky-lg ul li{
    font-weight:bold;
    font-size: 16px;
}

div.folder-items-holder{
    padding: 20px !important;
}























