:root {
  --ink: #15120f;
  --soft-ink: #40362f;
  --paper: #fbfaf7;
  --mist: #eceff0;
  --rose: #c79784;
  --rose-dark: #9c6757;
  --gold: #c99a2d;
  --line: rgba(21, 18, 15, 0.14);
  --shadow: 0 22px 70px rgba(21, 18, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
}



.lepotica-dugme {
  display: flex;          
  justify-content: center; 
  align-items: center;     
  padding: 20px;
}

.lepotica {
  color: rgb(255, 255, 255);
  background-color: #15120f;
  border-radius: 999px;
  padding: 20px;
  outline: none;
  border: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 70px;
  transition: all 220ms ease;
}

.lepotica:hover,
.lepotica:focus-visible {
  background-color: #9c6757;
  box-shadow: 0 14px 34px rgba(21, 18, 15, 0.2);
  transform: translateY(-4px) scale(1.02);
 
}

.Top-Model {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  background-color: white;
  border: 1px solid var(--mist);
  
}

.top-model-tekst {
  padding: 40px;
  max-width: 700px;
  padding-right: 100px;
}

@media (max-width: 768px) {
  .top-model-tekst {
    padding: 15px; 
  }
}

.top-p{
  font-size: 1.2rem;
  line-height: 1.6;
  padding-top: 20px;
  padding-bottom: 20px;
  
}

.amara-slika {
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  transition: transform 300ms ease;
 
}

.amara-slika:hover {
  transform: scale(1.05);
  cursor: pointer;
}



.galerija-kontejner {
  display: flex; 
  justify-content: space-between;
  flex-wrap: wrap; 
  margin: 0 auto;
  padding: 20px;
}

.galerija-naslov h1{
  
  font-size: clamp(2.15rem, 7vw, 5.6rem);
  margin-bottom: 10px;
}

.gallery-filter-container{
  
    padding: 20px;
    margin-top: 50px;
  

}

.izbor-modela {
  margin-bottom: 20px;
}

.izbor-modela select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.prikaz-okvir {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.prikaz-okvir img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* Zadržava iste proporcije da layout ne skače */
  object-fit: cover;
  display: block;
}

.galerija {
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px) 18px;
}

.galerija-kontejner {
  align-items: end;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  max-width: none;
  padding: 0;
  width: 100%;
}

.galerija-naslov {
  max-width: 650px;
}

.galerija-naslov h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.98;
  margin: 0;
  white-space: nowrap;
}

.galerija-naslov p:not(.eyebrow) {
  color: var(--soft-ink);
  line-height: 1.7;
  margin: 18px 0 0;
  max-width: 560px;
}

.gallery-filter-container {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(21, 18, 15, 0.08);
  display: grid;
  gap: 10px;
  margin: 0 0 8px auto;
  min-width: 280px;
  padding: 16px;
}

.gallery-filter-container label {
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-filter-container select {
  appearance: none;
  background-color: var(--paper);
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 46px;
  padding: 0 42px 0 14px;
  width: 100%;
}

.gallery-filter-container select:hover,
.gallery-filter-container select:focus {
  border-color: rgba(156, 103, 87, 0.55);
  box-shadow: 0 0 0 4px rgba(156, 103, 87, 0.1);
  outline: none;
}

@media (max-width: 900px) {
  .galerija-kontejner {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-filter-container {
    margin: 0;
    min-width: 0;
    width: 100%;
  }
}

.contact-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.contact-page main {
  display: flex;
  flex: 1;
}

.contact-page .contact-layout {
  width: 100%;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes imageFloatIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

main {
  animation: pageFadeIn 700ms ease both;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="image"] {
  transform: translateY(24px) scale(0.98);
}

[data-reveal="image"].is-visible {
  transform: translateY(0) scale(1);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 54px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: flex;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0;
}

.brand img {
  border-radius: 50%;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 10px;
}

.main-nav a {
  border-radius: 999px;
  color: var(--soft-ink);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 16px;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.main-nav a.active,
.main-nav a:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
  transition: background 220ms ease, transform 220ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(21, 18, 15, 0.08);
  border-radius: 8px;
  transform: translateY(-2px) scale(1.04);
}

.menu-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 100%;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 84px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  min-height: calc(100vh - 78px);
  padding: clamp(42px, 7vw, 90px) clamp(18px, 5vw, 72px);
}

.hero-copy,
.page-hero,
.contact-copy {
  max-width: 650px;
}

.hero-copy {
  animation: pageFadeIn 760ms ease both;
}

.eyebrow {
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3rem, 9vw, 7.8rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--soft-ink);
  line-height: 1.7;
}

.hero-text {
  font-size: clamp(1.06rem, 2vw, 1.3rem);
  margin: 22px 0 30px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease, transform 220ms ease;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 14px 34px rgba(21, 18, 15, 0.2);
  transform: translateY(-4px) scale(1.02);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: #fff;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 0.72fr 0.48fr;
  gap: 18px;
  min-height: 560px;
}

.hero-showcase img,
.product-tile img,
.gallery-item img,
.contact-copy img{
  background: var(--mist);
  object-fit: cover;
  width: 100%;
}

.showcase-main {
  align-self: stretch;
  animation: imageFloatIn 800ms 220ms ease both;
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: 100%;
}

.showcase-side {
  align-self: end;
  animation: imageFloatIn 800ms 360ms ease both;
  border-radius: 8px;
  height: 72%;
}

.intro-section,
.preview-section,
.feature-grid,
.gallery-grid,
.contact-layout,
.Top-Model {
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.intro-section {
  align-items: center;
  background: #fff;
  border-block: 1px solid var(--line);
  display: flex;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
}

.intro-section > div {
  flex: 1;
  text-align: center;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  padding-bottom: 10px;
  transition: all 0.18s ease;
}

.feature-card:hover {
  background: #fff;
  border-color: var(--rose-dark);
  box-shadow: 0 18px 44px rgba(21, 18, 15, 0.13);
  transform: translateY(-10px) scale(1.015);
  cursor: pointer;

 
}

.feature-card:hover span {
  color: var(--rose-dark);
}

.feature-card span {
  color: var(--rose-dark);
  display: block;
  font-weight: 800;
  margin-bottom: 24px;
}

.section-heading {
  margin-bottom: 26px;
}

.preview-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phone-carousel {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 52px minmax(260px, 390px) 52px;
  justify-content: center;
  margin-inline: auto;
  max-width: 620px;
  position: relative;
}

.phone-viewport {
  background: #16120f;
  border: 10px solid #16120f;
  border-radius: 34px;
  box-shadow: 0 30px 80px rgba(21, 18, 15, 0.24);
  overflow: hidden;
  position: relative;
}

.phone-viewport::before {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  content: "";
  height: 5px;
  left: 50%;
  position: absolute;
  top: 10px;
  transform: translateX(-50%);
  width: 58px;
  z-index: 2;
}

.phone-track {
  display: flex;
  transform: translateX(0);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.phone-slide {
  border: 0;
  border-radius: 24px;
  flex: 0 0 100%;
  min-width: 100%;
}

.phone-slide img {
  aspect-ratio: 9 / 12.4;
  border-radius: 22px 22px 0 0;
  padding: 14px;
}

.phone-slide span {
  border-radius: 0 0 22px 22px;
  font-size: 1.08rem;
  padding: 16px;
}

.carousel-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(21, 18, 15, 0.12);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 2.2rem;
  height: 52px;
  justify-content: center;
  line-height: 1;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  width: 52px;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: var(--ink);
  box-shadow: 0 18px 44px rgba(21, 18, 15, 0.2);
  color: #fff;
  transform: translateY(-4px) scale(1.06);
}

.carousel-dots {
  display: flex;
  gap: 9px;
  grid-column: 1 / -1;
  justify-content: center;
}

.carousel-dots button {
  background: rgba(21, 18, 15, 0.25);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 10px;
  padding: 0;
  transition: background 180ms ease, transform 180ms ease, width 180ms ease;
  width: 10px;
}

.carousel-dots button.active,
.carousel-dots button:hover,
.carousel-dots button:focus-visible {
  background: var(--rose-dark);
  transform: translateY(-2px);
  width: 26px;
}

.product-tile,
.gallery-item {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.product-tile {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.product-tile img {
  aspect-ratio: 4 / 4.65;
  background: linear-gradient(180deg, #f6f3ef 0%, #ebe8e3 100%);
  flex: 0 0 auto;
  padding: 12px;
  object-fit: contain;
  transition: none;
}

.product-tile span,
.gallery-item span {
  background: rgba(21, 18, 15, 0.76);
  border-radius: 999px;
  bottom: 14px;
  color: #fff;
  font-weight: 800;
  left: 14px;
  padding: 9px 14px;
  position: absolute;
}

.product-tile span {
  background: #fff;
  border-top: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  display: block;
  font-size: 1rem;
  left: auto;
  padding: 14px 16px;
  position: static;
  text-align: center;
}

.product-tile:hover,
.product-tile:focus-visible,
.gallery-item:hover,
.gallery-item:focus-visible {
  border-color: rgba(201, 154, 45, 0.46);
  box-shadow: 0 18px 44px rgba(21, 18, 15, 0.13);
  transform: translateY(-8px);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.page-hero {
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px) 20px;
}

.page-hero.compact h1 {
  font-size: clamp(2.15rem, 7vw, 5.6rem);
  white-space: nowrap;
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 24px;
}

.gallery-item img {
  aspect-ratio: 4 / 5;
  transition: transform 300ms ease;
}

.lightbox {
  align-items: center;
  background: rgba(10, 8, 7, 0.86);
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 24px;
  position: fixed;
  z-index: 50;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  align-items: center;
  display: grid;
  justify-items: center;
  max-width: min(92vw, 760px);
}

.lightbox img {
  border-radius: 8px;
  max-height: 74vh;
  object-fit: contain;
  width: auto;
}

.lightbox p {
  color: #fff;
  font-weight: 800;
  margin: 0;
}

.lightbox-info {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 14px;
  width: min(100%, 620px);
}

.lightbox-info p,
.order-model-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.order-model-button {
  min-height: 44px;
}

.lightbox-close {
  background: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  height: 46px;
  position: absolute;
  right: 22px;
  top: 22px;
  width: 46px;
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--rose-dark);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px) scale(1.06);
}

.lightbox-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 3rem;
  height: 58px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 6px;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  width: 58px;
  z-index: 52;
}

.lightbox-prev {
  left: clamp(14px, 4vw, 42px);
}

.lightbox-next {
  right: clamp(14px, 4vw, 42px);
}

.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  background: var(--rose-dark);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.contact-layout {
  align-items: start;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
}

.contact-copy {
  display: grid;
  gap: 18px;
}

@media (min-width: 769px) {
  .contact-copy {
    margin-left: 100px;
  }
}

.contact-copy h1 {
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  max-width: 720px;
}

.contact-copy > p:not(.eyebrow) {
  font-size: 1.03rem;
  margin: 0;
  max-width: 640px;
  margin-bottom: -10px;
  margin-top: 12px;
}

.contact-note {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid rgb(151, 69, 93);
  border-radius: 8px;
  margin: 0;
  max-width: 420px;
  padding: 16px 18px;
}

.contact-note strong,
.contact-note span {
  display: block;
}

.contact-note span {
  color: var(--soft-ink);
  margin-top: 6px;
}

.contact-image-frame {
  background: linear-gradient(180deg, #f6f3ef 0%, #ebe8e3 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  margin-top: 4px;
  max-width: 520px;
  min-height: 360px;
  padding: 18px;
  place-items: center;
}

.contact-image-frame img {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  height: min(430px, 58vw);
  object-fit: contain;
  width: 100%;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 30px);
  transition: box-shadow 240ms ease, transform 240ms ease;
}

.contact-form:hover {
  box-shadow: 0 28px 80px rgba(21, 18, 15, 0.18);
  transform: translateY(-4px);
}

.contact-form label {
  color: var(--ink);
  display: grid;
  font-weight: 800;
  gap: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.bag-picker {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 150px;
}

.bag-picker-fields {
  display: grid;
  gap: 16px;
}

.bag-preview {
  align-self: stretch;
  background: linear-gradient(180deg, #f6f3ef 0%, #ebe8e3 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 10px;
  place-items: center;
}

.bag-preview img {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  max-height: 170px;
  object-fit: cover;
  width: 100%;
}

.bag-preview figcaption {
  color: var(--soft-ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.form-status {
  font-weight: 700;
  margin: 0;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: #fff;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 72px);
  
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 14px;
}

.footer-brand img {
  border-radius: 50%;
  height: 44px;
  object-fit: cover;
  width: 44px;
}

.footer-brand p,
.footer-brand span {
  color: #fff;
  margin: 0;
}

.footer-brand span {
  opacity: 0.76;
}

.footer-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.footer-icon,
.top-link {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  display: inline-flex;
  justify-content: center;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.footer-icon {
  border-radius: 50%;
  height: 42px;
  width: 42px;
}

.footer-icon svg {
  fill: currentColor;
  height: 21px;
  width: 21px;
}

.top-link {
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  min-height: 42px;
  padding: 0 16px;
}

.footer-icon:hover,
.footer-icon:focus-visible,
.top-link:hover,
.top-link:focus-visible {
  background: #fff;
  color: var(--ink);
  transform: translateY(-3px) scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    left: 0;
    padding: 12px 18px 18px;
    position: absolute;
    right: 0;
    top: 77px;
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    border-radius: 8px;
  }




  .hero,
  .intro-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-showcase {
    min-height: 430px;
  }

  .feature-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .phone-carousel {
    grid-template-columns: 44px minmax(220px, 340px) 44px;
    max-width: 100%;
  }

  .carousel-button {
    font-size: 1.8rem;
    height: 44px;
    width: 44px;
  }
}

/* NAJTRAZENIJI MODELI */

.best-sellers-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
margin-top: 40px;
}

.best-seller-card {
background: #fff;
border: 1px solid var(--line);
border-radius: 12px;
overflow: hidden;
text-decoration: none;
color: inherit;
box-shadow: 0 12px 30px rgba(21, 18, 15, 0.08);
transition: all 0.3s ease;
}

.best-seller-card:hover {
transform: translateY(-10px);
box-shadow: 0 24px 50px rgba(21, 18, 15, 0.15);
border-color: rgba(201, 154, 45, 0.5);
}

.best-seller-card img {
width: 100%;
aspect-ratio: 4 / 5;
object-fit: cover;
display: block;
}

.best-seller-info {
padding: 18px;
text-align: center;
}

.best-seller-info h3 {
margin: 0;
font-size: 1.15rem;
font-weight: 700;
color: var(--ink);
}

.preview-section {
background: linear-gradient(
180deg,
var(--paper) 0%,
#ffffff 50%,
var(--paper) 100%
);
}

.preview-section .section-heading {
text-align: center;
margin-bottom: 50px;
}

.preview-section .section-heading h2 {
margin-top: 10px;
}

.home-slider {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 52px minmax(260px, 720px) 52px;
  justify-content: center;
  margin: 0 auto;
}

.home-slider-window {
  min-height: clamp(360px, 52vw, 580px);
  overflow: visible;
  position: relative;
}

.home-slider-track {
  height: 100%;
  position: absolute;
  inset: 0;
}

.home-slider-track img {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(21, 18, 15, 0.2);
  height: min(100%, 560px);
  left: 50%;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 520ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  width: min(58vw, 390px);
  z-index: 1;
}

.home-slider-track img.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
  z-index: 3;
}

.home-slider-track img.is-prev {
  opacity: 0.92;
  transform: translate(calc(-50% - 150px), calc(-50% + 30px)) rotate(-8deg) scale(0.86);
  z-index: 2;
}

.home-slider-track img.is-next {
  opacity: 0.92;
  transform: translate(calc(-50% + 150px), calc(-50% + 30px)) rotate(8deg) scale(0.86);
  z-index: 2;
}

.home-slider-arrow {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(21, 18, 15, 0.12);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 2.2rem;
  height: 52px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 5px;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  width: 52px;
}

.home-slider-arrow:hover,
.home-slider-arrow:focus-visible {
  background: var(--ink);
  box-shadow: 0 18px 44px rgba(21, 18, 15, 0.2);
  color: #fff;
  transform: translateY(-4px) scale(1.06);
}

@media (max-width: 900px) {
.best-sellers-grid {
grid-template-columns: repeat(2, 1fr);
}

.home-slider {
  grid-template-columns: 44px minmax(220px, 1fr) 44px;
}

.home-slider-window {
  min-height: 480px;
}

.home-slider-track img {
  width: min(62vw, 340px);
}

.home-slider-track img.is-prev {
  transform: translate(calc(-50% - 112px), calc(-50% + 26px)) rotate(-8deg) scale(0.84);
}

.home-slider-track img.is-next {
  transform: translate(calc(-50% + 112px), calc(-50% + 26px)) rotate(8deg) scale(0.84);
}

.home-slider-arrow {
  font-size: 1.9rem;
  height: 44px;
  width: 44px;
}
}

@media (max-width: 600px) {
.best-sellers-grid {
grid-template-columns: 1fr;
}

.home-slider {
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.home-slider-window {
  grid-column: 1 / -1;
  min-height: 390px;
  order: 1;
}

.home-slider-track img {
  width: min(72vw, 270px);
}

.home-slider-track img.is-prev {
  transform: translate(calc(-50% - 62px), calc(-50% + 34px)) rotate(-7deg) scale(0.82);
}

.home-slider-track img.is-next {
  transform: translate(calc(-50% + 62px), calc(-50% + 34px)) rotate(7deg) scale(0.82);
}

.home-slider-arrow {
  justify-self: center;
  order: 2;
}
}


@media (max-width: 560px) {
  .brand span {
    font-size: 0.95rem;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .showcase-main,
  .showcase-side {
    height: auto;
  }

  .showcase-side {
    display: none;
  }

  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .phone-carousel {
    gap: 10px;
    grid-template-columns: 1fr 1fr;
  }

  .phone-viewport {
    grid-column: 1 / -1;
    order: 1;
  }

  .carousel-button {
    justify-self: center;
    order: 2;
  }

  .carousel-dots {
    order: 3;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand,
  .footer-actions {
    justify-content: center;
  }

  .bag-picker {
    grid-template-columns: 1fr;
  }

  .bag-preview img {
    max-height: 230px;
  }

  .lightbox {
    padding: 18px 14px 92px;
  }

  .lightbox img {
    max-height: 66vh;
  }

  .lightbox-info {
    gap: 10px;
  }

  .lightbox-arrow {
    bottom: 22px;
    font-size: 2.4rem;
    height: 50px;
    top: auto;
    transform: none;
    width: 50px;
  }

  .lightbox-prev {
    left: calc(50% - 62px);
  }

  .lightbox-next {
    right: calc(50% - 62px);
  }

  .lightbox-arrow:hover,
  .lightbox-arrow:focus-visible {
    transform: scale(1.06);
  }
}
/* --- ANIMACIJA ZA FILTRIRANJE SLIKA --- */

/* Početno stanje grida - spreman za glatku tranziciju */
.gallery-grid {
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
  will-change: opacity, transform;
}

/* Klasa koju JS dodaje na trenutak: grid bledi i skuplja se */
.gallery-grid.is-filtering {
  opacity: 0;
  transform: scale(0.98); /* Blagi efekat uvlačenja unutra */
}

