* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #171a17;
  color: #f3f4f0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  background: #111311;
  border-bottom: 1px solid #2b2f2a;
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  height: 64px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
}

.logo {
  text-align: center;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.icon-btn {
  background: none;
  border: none;
  color: #f3f4f0;
  font-size: 29px;
  cursor: pointer;
}

.search-box {
  display: none;
  padding: 14px 4%;
  background: #111311;
  border-top: 1px solid #2b2f2a;
}

.search-box.active {
  display: block;
}

.search-box input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid #3a4038;
  background: #1d211d;
  color: #fff;
  font-size: 16px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 18px 4%;
  background: #111311;
  border-top: 1px solid #2b2f2a;
}

.mobile-menu.active {
  display: flex;
}

.hero {
  background: linear-gradient(135deg, #24281f, #1a1d18);
  padding: 24px 0 24px;
}

.eyebrow {
  display: inline-block;
  color: #9bbf79;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  max-width: 420px;
}

.btn {
  display: inline-block;
  text-align: center;
  padding: 13px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
}

.btn.primary {
  background: #7a9f45;
  color: #10120f;
}

.btn.secondary {
  border: 1px solid #7a9f45;
  color: #b9d889;
}

.center-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 34px;
}

.center-title h2 {
  color: #ffffff;
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.center-title p {
  color: #c9cfc4;
  font-size: 15px;
}

.categories {
  background: #20241d;
  padding: 50px 0;
}

.category-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-card,
.benefit-card,
.product-card {
  background: #141714;
  border: 1px solid #2b2f2a;
  border-radius: 16px;
  padding: 18px;
}

.card-image,
.product-image {
  height: 160px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3a3327, #5a4b34);
  margin-bottom: 14px;
}

.category-card h2,
.benefit-card h3,
.product-card h3 {
  color: #ffffff;
  margin-bottom: 6px;
}

.category-card p,
.benefit-card p,
.product-card p {
  color: #c9cfc4;
}

.section {
  padding: 60px 0;
  background: #171a17;
}

.section.alt {
  background: #111311;
}

.product-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.product-slider::-webkit-scrollbar {
  display: none;
}

.product-card {
  min-width: 240px;
  scroll-snap-align: start;
}

.product-card p {
  color: #9bbf79;
  font-weight: 800;
}

.contact-cta {
  background: #20241d;
  padding: 60px 0;
}

.contact-box {
  text-align: center;
  max-width: 680px;
}

.contact-box h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.contact-box p {
  color: #c9cfc4;
  margin-bottom: 24px;
}

.footer {
  background: #111311;
  padding: 42px 0 20px;
  border-top: 1px solid #2b2f2a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer h3,
.footer h4 {
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 390px;
}

.footer p,
.footer a {
  color: #aeb5aa;
  margin-bottom: 7px;
}

.footer a {
  display: block;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-btn {
  width: 100%;
  max-width: 190px;
  padding: 10px 12px;
  background: #1d211d;
  border: 1px solid #2b2f2a;
  border-radius: 10px;
  color: #f3f4f0 !important;
  font-weight: 700;
}

.contact-btn:hover {
  border-color: #7a9f45;
  color: #b9d889 !important;
}

.copyright {
  text-align: center;
  color: #7d857a;
  font-size: 13px;
  margin-top: 30px;
}

@media (max-width: 850px) {
  .hero {
    padding: 34px 0 44px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-buttons {
    max-width: 100%;
  }

  .btn {
    flex: 1;
    padding: 12px 10px;
  }

  .category-grid,
  .benefit-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .categories,
  .section,
  .contact-cta {
    padding: 48px 0;
  }

  .center-title {
    margin-bottom: 26px;
  }

  .center-title h2,
  .contact-box h2 {
    font-size: 27px;
  }

  .product-card {
    min-width: 78%;
  }

  .contact-btn {
    max-width: 100%;
  }
}

/* CATEGORY PAGE */

.category-hero {
  background: linear-gradient(135deg, #24281f, #1a1d18);
  padding: 42px 0 54px;
}

.back-link {
  display: inline-block;
  color: #9bbf79;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 14px;
}

.category-hero h1 {
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1;
  color: #ffffff;
  margin-bottom: 16px;
}

.category-hero p {
  max-width: 680px;
  color: #c9cfc4;
  font-size: 16px;
  margin-bottom: 24px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.catalog-card {
  background: #141714;
  border: 1px solid #2b2f2a;
  border-radius: 16px;
  padding: 18px;
}

.catalog-card h3 {
  color: #ffffff;
  margin-bottom: 6px;
}

.product-desc {
  color: #c9cfc4;
  font-size: 14px;
  margin-bottom: 8px;
}

.product-price {
  color: #9bbf79;
  font-weight: 900;
  margin-bottom: 10px;
}

.product-status {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.product-status.available {
  background: #1e3a2a;
  color: #9bbf79;
}

.product-status.order {
  background: #3a3327;
  color: #d7b46a;
}

.product-status.unavailable {
  background: #3a2424;
  color: #e08a8a;
}

.small-btn {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #1d211d;
  border: 1px solid #7a9f45;
  color: #b9d889;
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 1000px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .category-hero {
    padding: 34px 0 44px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }
}
/* SOFTER BUTTON ANIMATIONS */

.btn,
.icon-btn,
.mobile-menu a,
.footer a,
.contact-btn,
.category-card,
.product-card,
.small-btn {
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.btn:hover,
.contact-btn:hover,
.small-btn:hover {
  transform: translateY(-1px);
}

.btn:active,
.icon-btn:active,
.contact-btn:active,
.small-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.mobile-menu a:hover,
.footer a:hover {
  color: #b9d889;
}

/* SLIDER ACTION BUTTONS */

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.product-actions a {
  flex: 1;
  text-align: center;
  padding: 9px 8px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}

.product-actions .call {
  background: #1d211d;
  border: 1px solid #2b2f2a;
  color: #f3f4f0;
}

.product-actions .message {
  background: #7a9f45;
  color: #10120f;
}

/* CATEGORY STICKY CONTACT BAR */

.sticky-contact {
  position: sticky;
  bottom: 0;
  z-index: 30;
  background: #111311;
  border-top: 1px solid #2b2f2a;
  padding: 10px 4%;
  display: flex;
  gap: 8px;
}

.sticky-contact a {
  flex: 1;
  text-align: center;
  padding: 11px 8px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
}

.sticky-contact .viber,
.sticky-contact .call {
  background: #1d211d;
  border: 1px solid #2b2f2a;
  color: #f3f4f0;
}

.sticky-contact .whatsapp {
  background: #7a9f45;
  color: #10120f;
}

@media (min-width: 851px) {
  .sticky-contact {
    max-width: 460px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #2b2f2a;
    border-bottom: none;
    border-radius: 14px 14px 0 0;
  }
}
.product-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.product-slider::-webkit-scrollbar {
  display: none;
}

.product-card {
  min-width: 240px;
  scroll-snap-align: start;
}

@media (max-width: 850px) {
  .product-card {
    min-width: 78%;
  }
}

.product-image,
.card-image {
  aspect-ratio: 1 / 1;
  height: auto;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.catalog-card .product-image {
  aspect-ratio: 1 / 1;
  height: auto;
}

.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.image-modal.active {
  display: flex;
}

.image-modal img {
  max-width: 95%;
  max-height: 85%;
  border-radius: 14px;
}

.close-modal {
  position: fixed;
  top: 18px;
  right: 24px;
  color: white;
  font-size: 38px;
  cursor: pointer;
}
/* HOW TO ORDER */

.how-order {
  background: #20241d;
  padding: 60px 0;
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.order-step {
  background: #141714;
  border: 1px solid #2b2f2a;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.order-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #7a9f45;
  color: #10120f;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 12px;
}

.order-step h3 {
  color: #fff;
  margin-bottom: 8px;
}

.order-step p {
  color: #c9cfc4;
}

@media (max-width: 850px) {
  .order-steps {
    grid-template-columns: 1fr;
  }
}
.contact-page-buttons {
  max-width: 320px;
  margin: 0 auto;
}
/* FINAL HERO + TITLE ADJUSTMENTS */

.hero-content {
  text-align: center;
}

.hero h1 {
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  margin: 40px auto 0;
}

.center-title h2 {
  font-size: 31px;
}

.center-title p {
  font-size: 16px;
  margin-top: -4px;
}

@media (max-width: 800px) {
  .center-title h2 {
    font-size: 28px;
  }

  .center-title p {
    font-size: 16px;
  }
}
/* FIX GAP BETWEEN HERO AND KATALOG */

.categories {
  padding-top: 20px !important;
}

.center-title {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}
.hero {
  padding-bottom: 10px !important;
}
/* ===== GLOBAL BALANCE FIX ===== */

/* HEADER malo kompaktniji */
.nav {
  height: 60px;
}

.logo {
  font-size: 20px;
}

/* HERO smanjujemo */
.hero {
  padding: 26px 0 18px;
}

.hero h1 {
  font-size: clamp(30px, 4.8vw, 50px);
  max-width: 620px;
  margin: 0 auto 18px;
  line-height: 1.08;
}

/* Dugmad malo niže i bliže katalogu */
.hero-buttons {
  display: flex;
  justify-content: center; /* centriranje */
  gap: 10px;
  margin-top: 14px;
}



/* KATALOG bolje “ulazi” posle hero */
.categories {
  padding: 36px 0 48px;
}

/* Naslov kataloga */
.categories .center-title h2 {
  font-size: 28px;
  margin-bottom: 6px;
}

.categories .center-title p {
  font-size: 15px;
  margin-bottom: 20px;
}

/* ===== MOBILE ===== */

@media (max-width: 850px) {
  .nav {
    height: 56px;
  }

  .hero {
    padding: 22px 0 16px;
  }

  .hero h1 {
    font-size: 30px;
    max-width: 95%;
    margin-bottom: 16px;
  }

  .hero-buttons {
    margin-top: 12px;
  }

  .categories {
    padding: 30px 0 42px;
  }

  .categories .center-title h2 {
    font-size: 26px;
  }
}
.price-box {
  margin-top: 10px;
  font-size: 14px;
  color: #c9cfc4;
}

.price-box p {
  margin: 4px 0;
}

.price-box strong {
  color: #9bbf79;
}
/* SLIDER CONTACT BAR */

.slider-contact {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.slider-contact a {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
}

.slider-contact .viber,
.slider-contact .call {
  background: #1d211d;
  border: 1px solid #2b2f2a;
  color: #f3f4f0;
}

.slider-contact .whatsapp {
  background: #7a9f45;
  color: #10120f;
}

@media (max-width: 850px) {
  .slider-contact {
    flex-direction: row;
  }
}
/* MODERN CONTACT BUTTONS */

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 16px;
  border-radius: 12px;

  font-weight: 800;
  font-size: 14px;

  transition: all 0.2s ease;
}

.contact-btn img {
  width: 26px;
  height: 26px;
}

.contact-btn span {
  line-height: 1;
}

/* COLORS */

.contact-btn.viber,
.contact-btn.call {
  background: #1d211d;
  border: 1px solid #2b2f2a;
  color: #f3f4f0;
}

.contact-btn.whatsapp {
  background: #1d211d;
  border: 1px solid #2b2f2a;
  color: #f3f4f0;
}

/* HOVER */

.contact-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.contact-btn:active {
  transform: scale(0.97);
}

/* MOBILE - opcija samo ikonice */

@media (max-width: 500px) {
  .contact-btn span {
    display: none;
  }

  .contact-btn {
    padding: 12px;
  }
}
.contact-btn img {
  filter: brightness(1.2);
}
.slider-contact {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.slider-contact a {
  flex: 1;
}