/* =========================================================
   RESET & OSNOVNI STILOVI (IDENTIČNO KAO NA OSTALIM STRANICAMA)
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", "Inter", sans-serif;
  color: #ffffff;
  background: #E1C485;
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  width: 95%;
  max-width: 1180px;
  margin: 0 auto;
}

/* =========================================================
   HEADER (IDENTIČAN OSTALIM STRANICAMA)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  background: #E1C485;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  z-index: 30;
  font-family: "Inter", sans-serif;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.logo img {
  height: 4vw;
  min-height: 30px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(12px, 1.5vw, 15px);
  font-weight: 600;
  padding: 6px 8px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

/* =========================================================
   UVODNA SEKCIJA
   ========================================================= */
.intro-section {
  padding: 48px 0 28px;
  text-align: center;
}

.page-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.page-title .amp {
  font-size: 0.45em;
  align-self: center;
}

.page-title .script-sub {
  font-family: "Alex Brush", cursive;
  font-weight: 400;
  font-size: clamp(54px, 7.5vw, 100px);
  line-height: 0.9;
}

.page-subtitle {
  max-width: 740px;
  margin: 0 auto;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(15.5px, 1.35vw, 18.5px);
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   TELEFON GALERIJA KARTICA (PO UZORU NA DIZAJN_POZIVNICA6.JPG)
   ========================================================= */
.gallery-section {
  padding: 20px 0 40px;
}

.phone-gallery-card {
  position: relative;
  max-width: 1060px;
  margin: 24px auto 0;
  padding-top: 22px;
}

/* Slojeviti zaobljeni vrhovi kartice */
.card-stack-bg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 32px 32px 0 0;
  pointer-events: none;
}

.card-stack-bg.layer-1 {
  top: 0;
  width: 90%;
  height: 40px;
  background: rgba(255, 255, 255, 0.48);
  z-index: 1;
}

.card-stack-bg.layer-2 {
  top: 10px;
  width: 95%;
  height: 40px;
  background: rgba(255, 255, 255, 0.75);
  z-index: 2;
}

.phone-gallery-body {
  position: relative;
  z-index: 3;
  background: #ffffff;
  color: #1c1c1e;
  border-radius: 34px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  padding-bottom: 34px;
}

/* Gornje zaglavlje unutar bele kartice */
.phone-gallery-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 34px 24px;
  border-bottom: 1px solid #e5e5ea;
  gap: 16px;
}

.pg-header-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.pg-brand-thumb {
  width: 112px;
  height: 112px;
  border-radius: 22px;
  background: #E1C485;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(225, 196, 133, 0.45);
  padding: 12px;
  text-align: center;
}

.pg-brand-thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pg-brand-thumb span {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  color: #fff;
  font-size: 16px;
  letter-spacing: 1.5px;
}

.pg-brand-thumb em {
  font-family: "Alex Brush", cursive;
  font-size: 24px;
  font-weight: 400;
}

.pg-header-info h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(22px, 2.6vw, 31px);
  font-weight: 700;
  color: #1c1c1e;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.pg-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6e6e73;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 14px;
}

.pg-collection-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pg-pill {
  appearance: none;
  border: 1px solid #d1d1d6;
  background: #f2f2f7;
  color: #1c1c1e;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.pg-pill span {
  color: #8e8e93;
  font-size: 16px;
  line-height: 1;
}

.pg-pill:hover {
  background: #e5e5ea;
}

.pg-pill.active {
  background: #E1C485;
  border-color: #d1b16e;
  color: #ffffff;
}

.pg-pill.active span {
  color: #ffffff;
}

.pg-reset-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #d1d1d6;
  color: #636366;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pg-reset-btn:hover {
  background: #aeaeb2;
  transform: scale(1.06);
}

/* =========================================================
   GRID POZIVNICA UNUTAR GALERIJE
   ========================================================= */
.phone-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 24px;
  padding: 28px 34px 10px;
}

.pg-photo-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.pg-photo-card:hover {
  transform: translateY(-6px);
}

.pg-card-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.2;
  border-radius: 22px;
  overflow: hidden;
  background: #f5f5f7;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.09);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.pg-card-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.pg-photo-card:hover .pg-card-media {
  transform: scale(1.04);
}

/* Bedž u gornjem levom uglu svake kartice */
.pg-live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(28, 28, 30, 0.72);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 3;
}

/* Plava kvačica u donjem desnom uglu */
.pg-check-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2b83be;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
  border: 2px solid #ffffff;
  z-index: 3;
  transition: transform 0.25s ease, background 0.25s ease;
}

.pg-photo-card:hover .pg-check-badge {
  transform: scale(1.15);
  background: #1d70a8;
}

/* Hover preklop za otvaranje prikaza */
.pg-card-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}

.pg-card-hover-overlay span {
  background: rgba(255, 255, 255, 0.94);
  color: #1c1c1e;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transform: translateY(8px);
  transition: transform 0.25s ease;
}

.pg-photo-card:hover .pg-card-hover-overlay {
  opacity: 1;
}

.pg-photo-card:hover .pg-card-hover-overlay span {
  transform: translateY(0);
}

.pg-card-caption {
  padding: 0 6px;
}

.pg-card-caption h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1c1c1e;
  margin-bottom: 2px;
}

.pg-card-caption p {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  color: #6e6e73;
}

/* =========================================================
   FULLSCREEN MODAL ZA SLIKE I VIDEO (BEZ EFEKATA NA SLIKAMA)
   ========================================================= */
.anim-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px 14px;
}

.anim-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.anim-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 12, 0.86);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.anim-modal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Gornja traka u modalu */
.anim-modal-topbar {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 9px 13px;
  font-family: "Inter", sans-serif;
}

.anim-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}

.anim-progress-fill {
  height: 100%;
  width: 0%;
  background: #E1C485;
}

.anim-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.anim-user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.anim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E1C485;
  box-shadow: 0 0 10px #E1C485;
  flex-shrink: 0;
}

.anim-user-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.anim-user-text strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.anim-user-text small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.anim-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.anim-replay-btn,
.anim-close-btn {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease;
}

.anim-close-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.anim-replay-btn:hover,
.anim-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Okvir u kojem se prikazuje uvećana slika ili video */
.anim-stage-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.anim-phone-frame {
  position: relative;
  width: auto;
  max-width: 100%;
  max-height: 70vh;
  border-radius: 22px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  border: 3px solid rgba(225, 196, 133, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-card-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-media {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(70vh - 6px); /* Oduzima 6px zbog debljine zlatnog okvira (border 3px gore i dole) */
  object-fit: contain;
}
/* Strelice za prebacivanje napred/nazad */
.anim-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.anim-nav-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.anim-nav-btn.prev { left: -6px; }
.anim-nav-btn.next { right: -6px; }

/* Donja traka: samo centrirano dugme/link ka kontakt formi */
.anim-modal-footer {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Inter", sans-serif;
}

.anim-order-link {
  color: #E1C485;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.anim-order-link:hover {
  text-decoration: underline;
}

/* =========================================================
   CTA BOX & FOOTER (IDENTIČNO KAO NA OSTALIM STRANICAMA)
   ========================================================= */
.cta-box {
  margin-top: 64px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  padding: 36px 24px;
  text-align: center;
  font-family: "Inter", sans-serif;
}

.cta-box h3 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 10px;
}

.cta-box p {
  margin-bottom: 20px;
  font-size: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #E1C485;
  height: 46px;
  padding: 0 26px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  background: #f3f3f3;
  transform: translateY(-2px);
}

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  padding: 24px 0;
  margin-top: 56px;
  background: #E1C485;
  font-family: "Inter", sans-serif;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

/* =========================================================
   MOBILNI PRIKAZ (ISPOD 900px)
   ========================================================= */
@media (max-width: 900px) {
  .container {
    width: 93%;
  }

  .intro-section {
    padding: 32px 0 18px;
  }

  .phone-gallery-header {
    padding: 20px 18px 18px;
  }

  .pg-header-left {
    gap: 14px;
    align-items: flex-start;
  }

  .pg-brand-thumb {
    width: 78px;
    height: 78px;
    border-radius: 18px;
  }

  .pg-location {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .pg-pill {
    font-size: 12px;
    padding: 6px 12px;
  }

  .phone-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .pg-card-inner {
    border-radius: 16px;
  }

  .pg-card-caption h3 {
    font-size: 13px;
  }

  .pg-card-caption p {
    font-size: 11.5px;
  }

  .anim-modal {
    padding: 12px 10px;
  }

  .anim-modal-container {
    max-width: 340px;
    gap: 8px;
  }

  .anim-user-text strong {
    font-size: 12px;
  }

  .anim-user-text small {
    font-size: 10.5px;
  }

  .anim-replay-btn {
    padding: 5px 9px;
    font-size: 11px;
  }

  .anim-phone-frame {
    max-width: 86vw;
    max-height: 64vh;
    border-radius: 20px;
  }

  .stage-media {
    max-height: calc(64vh - 6px);
  }
  .anim-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .anim-nav-btn.prev { left: 0px; }
  .anim-nav-btn.next { right: 0px; }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .pg-header-left {
    flex-direction: column;
  }
  
  .phone-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .anim-phone-frame {
    max-width: 84vw;
    max-height: 60vh;
  }

  .stage-media {
    max-height: calc(60vh - 6px);
  }