/* ==========================================================================
   Tanjini slatkiši — candy / igrivi stil
   ========================================================================== */
:root {
  /* Paleta */
  --aqua: #A8E6E0;
  --aqua-soft: #D6F2EF;
  --cream: #FCF4E7;
  --purple: #3E2F73;
  --purple-dark: #332663;
  --brown: #6B3F1D;
  --cta: #B0523F;
  --cta-hover: #9A4434;
  --yellow: #FFD76E;
  --pink: #F5A9C6;
  --caramel: #C08A5B;
  --caramel-deep: #7A5C44;
  --white: #FFFFFF;

  /* Tipografija */
  --font-heading: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Oblik i senke */
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-soft: 0 12px 30px -14px rgba(62, 47, 115, 0.35);
  --container-width: 1120px;
  --space-section: clamp(3.5rem, 6vw, 6.5rem);
}

/* ==========================================================================
   Reset & osnove
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--purple);
}
h1 { font-size: clamp(2.1rem, 5vw + 1rem, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw + 1rem, 2.5rem); font-weight: 700; text-align: center; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 720px) { .container { padding: 0 2.5rem; } }

/* Pristupačnost */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--purple);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==========================================================================
   Dugmad
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--cta-hover);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: #fff;
  color: var(--purple);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header / navigacija
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 244, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(192, 138, 91, 0.2);
}
.nav-bar {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
@media (min-width: 720px) { .nav-bar { padding: 1rem 2.5rem; } }

.brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--purple);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  background: var(--aqua);
  cursor: pointer;
}
.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem 1.25rem 1.25rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}
.nav-menu.is-open { max-height: 28rem; opacity: 1; }
.nav-menu li { border-bottom: 1px solid rgba(192, 138, 91, 0.15); }
.nav-menu li:last-child { border-bottom: none; }
.nav-menu a {
  display: block;
  padding: 0.85rem 0.25rem;
  font-weight: 700;
  color: var(--purple);
}
.nav-menu a::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 0.5rem;
  background: var(--pink);
}
.nav-menu li:nth-child(1) a::before { background: var(--yellow); }
.nav-menu li:nth-child(2) a::before { background: var(--pink); }
.nav-menu li:nth-child(3) a::before { background: var(--aqua); }
.nav-menu li:nth-child(4) a::before { background: var(--caramel); }
.nav-menu li:nth-child(5) a::before { background: var(--pink); }
.nav-menu li:nth-child(6) a::before { display: none; }

.nav-cta {
  display: inline-block;
  background: var(--cta);
  color: #fff !important;
  padding: 0.6rem 1.3rem !important;
  border-radius: 999px;
  font-weight: 800 !important;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--cta-hover); }

@media (min-width: 720px) {
  .menu-toggle { display: none; }
  .nav-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    background: none;
    box-shadow: none;
    padding: 0;
    max-height: none;
    opacity: 1;
    overflow: visible;
  }
  .nav-menu li { border-bottom: none; }
  .nav-menu a { padding: 0.3rem 0; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  background: var(--aqua);
  overflow: hidden;
}
.hero-sun {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.85;
}
.hero-sun::after {
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  border: 3px dashed var(--yellow);
}
.hero-dot {
  position: absolute;
  border-radius: 50%;
}
.hero-dot--1 { top: 22%; left: 8%; width: 14px; height: 14px; background: var(--pink); }
.hero-dot--2 { top: 40%; right: 12%; width: 10px; height: 10px; background: var(--purple); opacity: 0.5; }
.hero-dot--3 { bottom: 24%; left: 14%; width: 12px; height: 12px; background: var(--white); opacity: 0.8; }

.hero-content {
  position: relative;
  text-align: center;
  max-width: 46rem;
}
.hero-subhead {
  font-size: 1.15rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
}
.hero-micro {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  color: var(--brown);
  font-weight: 700;
}

/* Ilustracija deserta + bedževi */
.hero-visual {
  position: relative;
  width: min(300px, 82vw);
  margin: 2.5rem auto 0;
}
.hero-medallion {
  display: block;
  width: min(340px, 86vw);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 50%;
  margin: 0 auto;
  border: 7px solid var(--white);
  box-shadow:
    0 0 0 4px var(--caramel),
    0 18px 34px rgba(62, 47, 115, 0.28);
  background: var(--aqua-soft);
}
.sticker {
  position: absolute;
  z-index: 2;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--purple);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}
.sticker--yellow { background: var(--yellow); top: 4%; left: -12%; transform: rotate(-7deg); }
.sticker--pink { background: var(--pink); top: 14%; right: -14%; transform: rotate(5deg); }
.sticker--caramel { background: var(--caramel); color: #fff; bottom: 30%; left: -16%; transform: rotate(4deg); }
.sticker--blue { background: var(--white); bottom: 12%; right: -10%; transform: rotate(-5deg); }

/* ==========================================================================
   Talas (prelaz sekcija)
   ========================================================================== */
.wave { display: block; line-height: 0; background: var(--aqua); }
.wave svg { display: block; width: 100%; height: 90px; }

/* ==========================================================================
   Trust traka
   ========================================================================== */
.trust-bar {
  background: var(--aqua);
  padding: 1.5rem 0 2.25rem;
}
.trust-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: center;
}
.trust-list li {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: var(--purple);
  box-shadow: var(--shadow-soft);
}
.trust-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}
@media (min-width: 720px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   O Tanji
   ========================================================================== */
.about { padding: var(--space-section) 0; }
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--aqua), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}
.about-photo-label {
  color: var(--purple);
  font-weight: 700;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.about-text h2 { text-align: left; }
.about-text p:last-child { margin-bottom: 0; }
@media (min-width: 720px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
}

/* ==========================================================================
   Ponuda (kartice)
   ========================================================================== */
.offer { padding: var(--space-section) 0; background: var(--cream); }
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.card {
  background: var(--white);
  border-top: 5px solid var(--caramel);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:nth-child(2) { border-top-color: var(--pink); }
.card:nth-child(3) { border-top-color: var(--yellow); }
.card:nth-child(4) { border-top-color: var(--aqua); }
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px -16px rgba(62, 47, 115, 0.4);
}
.card h3 { margin-bottom: 0.2em; }
.card p { margin: 0; font-weight: 600; color: var(--caramel-deep); }

/* Placeholder za sliku u kartici */
.card-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  overflow: hidden;
}
.card:nth-child(1) .card-img { background: linear-gradient(160deg, #F5D5D9, #F5A9C6); }
.card:nth-child(2) .card-img { background: linear-gradient(160deg, #FFD76E, #FFC94D); }
.card:nth-child(3) .card-img { background: linear-gradient(160deg, #D6F2EF, #A8E6E0); }
.card:nth-child(4) .card-img { background: linear-gradient(160deg, #E8C9A0, #C08A5B); }
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Prilike
   ========================================================================== */
.occasions { padding: var(--space-section) 0; background: var(--aqua-soft); }
.occasions-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}
.occasions-list li {
  background: var(--white);
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font-weight: 700;
  color: var(--purple);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 720px) { .occasions-list { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Koraci
   ========================================================================== */
.steps { padding: var(--space-section) 0; background: var(--cream); }
.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step-number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--caramel);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}
.step p { margin: 0; padding-top: 0.45rem; }
.step p strong { color: var(--purple); }
@media (min-width: 720px) {
  .steps-list { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; text-align: center; align-items: center; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: var(--space-section) 0; background: var(--cream); }
.faq-list { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.9rem; max-width: 46rem; margin-inline: auto; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(192, 138, 91, 0.3);
  border-radius: var(--radius-md);
  padding: 0.3rem 1.3rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.75rem 1rem 0;
  font-weight: 700;
  color: var(--purple);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--caramel);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 1.1rem; margin: 0; color: var(--brown); }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact {
  padding: var(--space-section) 0;
  background: var(--purple);
  color: #fff;
  border-radius: 40px 40px 0 0;
}
.contact h2 { color: #fff; }
.contact-content { text-align: center; }
.contact-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 30rem;
  margin: 0 auto;
  text-align: left;
}
.contact-list a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #fff;
  font-weight: 700;
}
@media (min-width: 600px) {
  .contact-list { grid-template-columns: repeat(2, 1fr); }
}

/* Društvene mreže (zvanične ikonice) */
.social-row {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.7rem;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-icon:hover,
.social-icon:focus-visible {
  background: #fff;
  color: var(--purple);
  transform: translateY(-3px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--purple-dark);
  color: #fff;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer p { margin: 0; }

/* ==========================================================================
   Scroll reveal (progressive enhancement)
   ========================================================================== */
.reveal { opacity: 1; transform: none; }
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
  .btn-primary:hover, .card:hover, .btn-secondary:hover { transform: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}