html { scroll-behavior: smooth; }

.content-width {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-modern {
  width: 100%;
  padding: 6rem 2rem;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero-modern-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-left h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1.5rem;
}

.hero-left p {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #333;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-modern-buttons .hero-main-btn {
  display: inline-block;
  background: #ff6600;
  padding: 1rem 2.4rem;
  border-radius: 0;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-modern-buttons .hero-main-btn:hover {
  background: #e35a00;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 102, 0, 0.22);
}

.hero-right img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
}

.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.tab-nav a {
  color: #ff6600;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.3s;
}

.tab-nav a:hover { border-color: #ff6600; }

.alt-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 5rem 2rem;
  border-bottom: 1px solid #eee;
}

.alt-section img {
  width: 45%;
  border-radius: 0;
}

#btl.alt-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

#njegaplus.alt-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.alt-section .text {
  width: 50%;
}

.alt-section:nth-child(even) {
  flex-direction: row-reverse;
}

.product-btn {
  display: inline-block;
  margin-top: 1rem;
  background-color: #ff6600;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.product-btn:hover {
  background-color: #e35a00;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 102, 0, 0.22);
}

.img-njega { transform: scale(0.60); }
.img-softmed { transform: scale(0.75); }
.img-specijalistika { transform: scale(0.75); }
.img-btl { transform: scale(1.7); max-height: 160px; }
.img-patronaza { transform: scale(0.70); }
.img-portal { transform: scale(0.70); }
.img-nod { transform: scale(0.60); }

.hero-modern-buttons .hero-main-btn {
  -webkit-tap-highlight-color: transparent;
}

.hero-modern-buttons .hero-main-btn:active,
.hero-modern-buttons .hero-main-btn:focus {
  background: #ff6600;
  box-shadow: none;
  outline: none;
  transform: none;
}

.alt-section .product-img-link {
  width: 45%;
  display: flex;
  align-items: center;
}

/* img se ponaša normalno */
.alt-section .product-img-link img {
  width: 100%;
  height: auto;
}

/* ukloni default link stil */
.product-img-link,
.product-title-link {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 768px) {
  .hero-modern-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-left h1 {
    font-size: 2.2rem;
  }

  .hero-modern-buttons .hero-main-btn {
    background: #ff6600;
    color: #fff;
    border-radius: 0;
    padding: 0.9rem 2.2rem;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
  }

  .hero-modern-buttons .hero-main-btn:hover {
    background: #e65c00;
    transform: none;
  }

  .hero-left p {
    font-size: 1.05rem;
  }

  .hero-right {
    display: none; /* ili ostavi ako želiš */
  }
  .hero-modern {
    padding: 3.5rem 1.5rem;
  }

  .tab-nav {
    display: none;
  }

  .hero-fade {
    display: none;
  }

  .img-btl {
    transform: none;        /* makni scale */
    max-width: 220px;       /* kontrolirana veličina */
    width: 100%;
    margin: 0 auto;         /* centriraj */
    display: block;
  }

}
