 /* ====== HERO BRANCHES (BASE) ====== */



.hero-branch{
  position: absolute;
  height: auto;
  z-index: 3;                 /* po potrebi: 1 iza, 3 ispred */
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0,0,0);
}

.hero-branch--left{
  left: -150px;
  bottom: -120px;
  max-width: 500px;
}

.hero-branch--right {
    right: -620px;
    bottom: -249px;
    z-index: 9;
}
/* ====== RESPONSIVE OVERRIDES (adjusted to new base) ====== */

/* <= 1670px: malo uvući desnu, zadržati sličnu veličinu kao ranije */
@media (max-width:1670px){
  .hero-branch--right{
    right: -350px;
    bottom: -200px;
    height: 600px;
  }
  .hero-branch--left{
    left: -150px;
    bottom: -120px;
    height: 440px;
  }
}

/* <= 1440px: još uvući desnu */
@media (max-width:1440px){
  .hero-branch--right{
    right: -240px;
    bottom: -170px;
    height: 530px;
  }
  .hero-branch--left{
    left: -210px;
    bottom: -120px;
    height: 400px;
  }
}

/* <= 1200px: levoj kao ranije (-120), desnu približiti */
@media (max-width:1200px){
  .hero-branch--left{
    left: -120px;
    bottom: -170px;
    height: 320px;
  }
  .hero-branch--right{
    right: -170px;
    bottom: -150px;
    height: 480px;
  }
}

/* <= 992px: još bliže, kao ranije logika (-90/-110), ali proporcionalno */
@media (max-width:992px){
    .hero-branch--left{
   display:none;
  }
  .hero-branch--right{
    display:none;
  }
}

/* <= 768px: final kao pre (najbliže) */
@media (max-width:768px){
  .hero-branch--left{
   display:none;
  }
  .hero-branch--right{
    display:none;
  }
}


    .mt20 {
        margin-top:20px !important;
    }
    .white {
        color:#fff !important;
    }
  .product-hero {
    position: relative;
    background: #f3dcc1;
    padding-top:100px;
    padding-bottom: 130px;
}

/* BG SLIKA */
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/proizvodi/bg.jpg') center / cover no-repeat;
    z-index: 0;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 40px 40px 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

@media (max-width: 1580px) {
    .hero-content {
      padding: 80px 40px 40px 180px;
    }
  }

  @media (max-width: 1280px) {
    .hero-content {
      padding: 80px 40px 40px 40px;
    }
  }


  .cista-title{
    font-family: "League Spartan", sans-serif;
    font-weight: 500 !important;
    font-size:65px !important;
  }
  
  .cista-title img {
    max-width: 250px;;
  }

/* TEKST */
.hero-text h1 {
    font-size: 63px;
    line-height: 1.05;
    margin-bottom: 20px;
    color: #1e4a3a;
    font-weight:500;
}

/* .hero-text h1 span {
    font-weight:900;
} */

span.cista-rakija {
    display: block;
    font-size: 40px;
    text-transform: uppercase;
}

.hero-text .lead {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 18px;
    max-width: 520px;
    color:#053829;
    line-height: 1.3;
}

.hero-text .desc {
    font-size: 22px;
    line-height: 1.3;
    max-width: 520px;
    color: #053829;
}

/* 360 */
/* PATCH: 360 layout */
.hero-360{
    position: relative;
    max-width: 520px;
    margin-left: auto;
    text-align: center;

    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.hint-360{
    position:absolute;
    left:55%;
    bottom:-18px;
    transform:translateX(-50%);
    z-index:5;
    pointer-events:none;
    opacity:.9;
}
.hint-360 img{ height:34px; width:auto; display:block; }


.hero-360:active { cursor: grabbing; }

.hero-360 img {
    max-height: 560px;
    user-select: none;
    -webkit-user-drag: none;
    display: inline-block;
}

@media (max-width: 1150px) {
    .hero-360 img {
        max-height: 440px;
    }
} 



/* STRELICE */
.rot-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.15);
    background: rgba(255,255,255,.6);
    cursor: pointer;
    z-index: 5;
}

.rot-arrow.left  { left: 77px; }
.rot-arrow.right { right: 22px; }

/* Strelice (ikonica) */
.rot-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    transform: translate(-50%, -50%);
    border-top: 2px solid #1e4a3a;
    border-left: 2px solid #1e4a3a;
}

.rot-arrow.left::before  { transform: translate(-37%, -50%) rotate(-45deg); }
.rot-arrow.right::before { transform: translate(-67%, -50%) rotate(135deg); }


/* Hover efekat */
.hero-360:hover .rot-arrow {
    opacity: 1;
}

.rot-arrow:hover {
    background: #fff;
}

.display-desktop-only {
  display: block;
}
.display-mobile-only {
  display: none;
}


/* Mobile */
@media (max-width: 900px) {
    .rot-arrow.left { left: 10px; }
    .rot-arrow.right { right: 10px; }

    .display-desktop-only {
      display: none;
    }
    .display-mobile-only {
      display: block;
      margin-top: 40px;
    }
}

/* GALERIJA */
.hero-gallery {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 40px auto 0;
    padding-bottom: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
}

.hero-gallery img {
    width: 100%;
    display: block;
    border-radius: 4px;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-gallery {
    padding-bottom:0 !important;
  }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-360 img {
        max-height: 420px;
    }

    .hero-text .lead, .hero-text .desc {
        max-width:100%;
    }

    .hero-360 {
        margin-right:auto;
    }

        .hero-360 img {
        max-height: 500px;}
}



/* Gallery single */
.gallery-single {
    background-color: #f4d8bd;
    margin-top:-100px;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding:0 40px;
}

.gallery-single a{
  /* border:5px solid #fff; */
  display:block;
  box-shadow: -3px 5px 13px rgba(0,0,0,.10);
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
  transform: translateZ(0);
}

.gallery-single a:hover{
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 35px rgba(0,0,0,.18);
}

/* na touch uređajima nema klasičnog hover-a */
@media (hover: none){
  .gallery-single a:hover{ transform:none; box-shadow:-3px 5px 13px rgba(0,0,0,.10); }
}


/* ====== SUGESTIJA ====== */
.sugestija-section{
  position: relative;
  background: #f4d8bd; 
}

.sugestija-topstrip{
  height: 80px;
  background: rgba(255,255,255,.18);
}

/* wrapper */
.sugestija-wrap{
  max-width: 1300px;
  margin: 0 auto;
  padding: 70px 40px 90px;
}

.sugestija-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

/* LEFT */
.sugestija-copy{
  color: #053829;
  max-width: 640px;
}

.sugestija-top{
  font-size: 55px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 6px;
}

.sugestija-title{
  font-size: 55px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 28px;
}

.sugestija-copy h3{
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sugestija-text p{
  margin: 0 0 22px;
  font-size: 22px;
  line-height: 1.65;
  max-width: 580px;
  color: rgba(5,56,41,.92);
}

.sugestija-text ul{
  margin: 0;
  padding-left: 0px;
  max-width: 520px;
}

.sugestija-text li{
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.3;
  color: rgba(5,56,41,.92);
}

/* DESNO */
.sugestija-media{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sugestija-bottle{
  max-width: 610px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(-6px 10px 20px rgba(0,0,0,.10));
}

/* Responsive */
@media (max-width: 980px){
  .sugestija-wrap{ padding: 55px 22px 70px; }
  .sugestija-grid{
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: left;
  }
  .sugestija-bottle{ max-width: 560px; }
}

@media (max-width: 560px){
  .sugestija-top{ font-size: 38px; }
  .sugestija-title{ font-size: 34px; }
  .sugestija-topstrip{ height: 60px; }
}





.next-section{
  background:#f4d8bd;
  padding: 50px 0 150px 0;
  position: relative;
}

.values-wrap{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.values-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 120px;
  row-gap: 70px;
  text-align: center;
}

.value-top{
  font-family: "Jost", sans-serif;
  font-weight: 300;           /* Jost Light */
  color:#053829;
  font-size: 46px;
  line-height: 1.05;
  margin-bottom: 10px;
}

.value-title{
  font-family: "Jost", sans-serif;
  font-weight: 700;           /* Jost Bold */
  color:#053829;
  font-size: 59px;            /* na 1920 */
  line-height: 1.0;
  margin-bottom: 26px;
}

.value-text{
  font-family: "Jost", sans-serif;
  font-weight: 300;           /* Jost Light */
  color:#053829;
  font-size: 24px;
  line-height: 1.3;
  opacity: 1;
}

/* Responsive */
@media (max-width: 1400px){
  .values-wrap{ padding: 0 40px; }
  .values-grid{ column-gap: 70px; }
  .value-top{ font-size: 40px; }
  .value-title{ font-size: 52px; }
  .value-text{ font-size: 26px; }

    .savest-deco--right {
      max-width: 130px;
    }
}

@media (max-width: 1320px){
  .value-top{ font-size: 35px; }
  .value-title{ font-size: 42px; }
  .value-text{ font-size: 21px; }

.hero-bg {
    background: url('../img/proizvodi/bg-mob.jpg') center / cover no-repeat;
}

}

@media (max-width: 1050px){
  .value-top{ font-size: 31px; }
  .value-title{ font-size: 35px; }
  .value-text{ font-size: 19px; }
}

@media (max-width: 992px){
  .values-wrap {
    padding-top:70px;
  }
  .next-section{ padding: 90px 0 85px;margin-top:-1px; }
  .values-grid{
    grid-template-columns: 1fr;
    row-gap: 85px;
  }
  .value-top{ font-size: 38px; }
  .value-title{ font-size: 50px; }
  .value-text{ font-size: 26px; }
}

@media (max-width: 480px){
  .values-wrap{ padding: 0 18px; }
  .value-top{ font-size: 32px; }
  .value-title{ font-size: 42px; }
  .value-text{ font-size: 22px; }
}



.ponuda-section{
  position: relative;
  background: #f4d8bd;
  overflow: hidden;
  padding: 80px 0 100px;
}

.ponuda-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.ponuda-title{
  text-align: center;
  margin: 0 0 48px;
  color: #053829;
  font-size: 37px;
  font-weight: 400;
  letter-spacing: 1px;
}

/* grid */
.ponuda-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

/* card */
.ponuda-card{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  height: 200px;
}

/* pill */
.ponuda-pill{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: start;
  width: 290px;
  height: 86px;
  border-radius: 18px;
  background: #ba8d62;
  box-shadow: -3px 5px 13px rgba(0, 0, 0, 0.10);
border:3px solid #886038;
}

.ponuda-pill.dark{
  background: rgba(145, 105, 60, .55);
}

.ponuda-pill-text{
  color: #372a2a;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 2px;
  font-weight: 800;
  text-align: left;
  padding-left: 35px;

}

.ponuda-bottle {
    position: absolute;
    right: 6%;
    top: 46%;
    transform: translate(-50%, -56%);
    height: 200px;
    width: auto;
    transition: transform .25s ease;
    pointer-events: none;
    filter: drop-shadow(-3px 5px 13px rgba(243, 220, 193, 0.86));

}

/* hover */
.ponuda-card:hover .ponuda-bottle{
  transform: translate(-50%, -60%);
}


@media (max-width: 767px) {
    .hero-content {
        padding:20px;
        display:block;
    }

        .hero-360{
            position: relative;
            overflow: hidden;   /* bitno */
        }

        .hero-360 img{
            position: relative; /* ili absolute ako hoćeš */
            left: 49%;
            transform: translateX(-50%);
            display: block;
            margin: 0;          /* skloni margin:auto */
            max-height: 440px;
            height: auto;
            width: auto;
        }
        .hint-360 {
            left:51%;
        }
        .hint-360 img{
            height:25px !important;
            top:-20px;
        }

        .ponuda-section {
            padding: 50px 0 0px;
        }
}


/* responsive */
@media (max-width: 980px){
  .ponuda-grid{ grid-template-columns: 1fr; gap: 28px; }
  .ponuda-card{ height: 190px; }
  .ponuda-wrap{ padding: 0 22px; }
  .ponuda-rock{ width: 200px; }

  .ponuda-pill {
    width: 100%;
  }
}

  img.hero-branch-sljiva {
      position: absolute;
      bottom: -60px;
      left: -16%;
  }

  
@media (max-width: 767px) {
    img.hero-branch-sljiva {
        display:none;
    }
}