/* ĆAF rođendaonica: boje iz logoa (plavo Ć, žuto A, roze F) na toploj krem pozadini */
:root {
  --papir: #FFF8EE;
  --papir-2: #FCEBD6;
  --ink: #1B2340;
  --ink-2: #252E52;
  --muted: #555B70;
  --line: rgba(27, 35, 64, 0.12);
  --plava: #2B66CC;
  --zuta: #FFC93C;
  --roze: #E8457E;
  --roze-tekst: #C42A63;
  --zelena: #9BD14B;
  --r: 24px;
  --shadow: 0 1px 0 rgba(27, 35, 64, 0.06), 0 14px 30px -18px rgba(27, 35, 64, 0.35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head: "Unbounded", system-ui, sans-serif;
  --body: "Onest", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papir); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(28px, 4.2vw, 46px); }
h3 { font-size: 20px; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--plava); outline-offset: 3px; border-radius: 6px; }

/* dugmad */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--plava); background: var(--plava); color: #fff; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; box-shadow: 0 6px 0 -2px rgba(27, 35, 64, 0.25); position: relative; overflow: hidden; touch-action: manipulation; }
.btn:hover { transform: translateY(-2px); background: #2259B8; }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 -1px rgba(27, 35, 64, 0.25); }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); color: var(--papir); }
.btn--light { background: var(--zuta); border-color: var(--zuta); color: var(--ink); box-shadow: 0 6px 0 -2px rgba(0, 0, 0, 0.3); }
.btn--light:hover { background: #FFD666; }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, 0.45); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: var(--papir); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 20px -18px rgba(27, 35, 64, 0.5); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.logo__word { font: 800 30px/1 var(--head); letter-spacing: -0.03em; padding-top: 4px; }
.logo__sub { font-size: 13px; line-height: 1.2; color: var(--muted); max-width: 9.5em; }
.l1 { color: var(--plava); }
.l2 { color: #F2A900; }
.l3 { color: var(--roze); }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 0; background: linear-gradient(var(--roze), var(--roze)) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease); }
.nav a:hover { background-size: 100% 2px; }
.burger { display: none; width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* hero */
.hero { padding: 40px 0 56px; position: relative; overflow-x: clip; }
.hero__grid { display: grid; gap: 36px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--roze); }
.hero__title { font-size: clamp(40px, 7.4vw, 82px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.hero__lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); max-width: 34em; color: #2E3554; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.proof { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--muted); }
.proof a { text-decoration: none; border-bottom: 1px solid var(--line); }
.proof a:hover { border-color: var(--ink); }
.proof b { font-family: var(--head); color: var(--ink); font-size: 18px; margin-right: 4px; }
.hero__media { margin: 0; position: relative; }
.hero__media::before { content: ""; position: absolute; inset: 8% -4% -6% 10%; background: var(--zuta); border-radius: 40px; transform: rotate(3deg); z-index: -1; }
.hero__media img { width: 100%; aspect-ratio: 1198 / 870; object-fit: cover; border-radius: 32px; border: 4px solid #fff; box-shadow: var(--shadow); }
.hero__badge { position: absolute; left: 16px; bottom: -18px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--zelena); box-shadow: 0 0 0 4px rgba(155, 209, 75, 0.3); }
.hero__in { animation: up .7s var(--ease) both; animation-delay: var(--d, 0s); }
.hero__media.hero__in img { animation: settle 1.1s var(--ease) both; animation-delay: .15s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { transform: scale(1.04); } }

.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }
.steps__n { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 18px/1 var(--head); color: #fff; background: var(--plava); }
.steps li:nth-child(2) .steps__n { background: #F2A900; color: var(--ink); }
.steps li:nth-child(3) .steps__n { background: var(--roze); }
.steps b { font-size: 17px; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 2px; }

/* akcija */
.akcija { background: var(--zuta); padding: 72px 0; position: relative; overflow: hidden; }
.akcija::before, .akcija::after { content: ""; position: absolute; border-radius: 50%; border: 18px solid rgba(255, 255, 255, 0.35); pointer-events: none; }
.akcija::before { width: 340px; height: 340px; right: -120px; top: -140px; }
.akcija::after { width: 220px; height: 220px; left: -90px; bottom: -110px; }
.akcija__head { max-width: 720px; position: relative; }
.akcija__head p:last-child { margin-top: 14px; font-size: 18px; }
.tag { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--zuta); padding: 7px 12px; border-radius: 999px; margin-bottom: 16px; }
.tag--light { background: var(--zuta); color: var(--ink); }
.gifts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; position: relative; }
.gift { background: var(--papir); border-radius: 22px; padding: 20px 18px; display: flex; flex-direction: column; gap: 2px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.gift svg { width: 42px; height: 42px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.gift:nth-child(1) svg { stroke: var(--plava); }
.gift:nth-child(2) svg { stroke: var(--roze-tekst); }
.gift:nth-child(4) svg { stroke: var(--plava); }
.gift b { font-family: var(--head); font-size: 16px; line-height: 1.25; }
.gift span { font-size: 15px; color: var(--muted); }
.akcija__note { margin-top: 26px; font-weight: 500; position: relative; }
.akcija__note a { font-weight: 700; }

/* sekcije */
.section { padding: 84px 0; }
.section--light { background: var(--papir); }
.section--warm { background: var(--papir-2); }
.section--dark { background: var(--ink); color: var(--papir); --muted: #BCC2D6; --line: rgba(255, 248, 238, 0.14); }
.head { display: grid; gap: 14px; margin-bottom: 36px; }
.head p:not(.tag) { color: var(--muted); max-width: 40em; }
.head--right { justify-items: end; text-align: right; }
.head--right .tag { margin-bottom: 0; }
.head-cta { margin-top: 32px; }
.big { font: 800 34px/1 var(--head); color: var(--ink); margin-right: 6px; vertical-align: -4px; }

.worries { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.worries li { background: #fff; border-radius: 20px; padding: 22px 22px 22px 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.worries li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--plava); }
.worries li:nth-child(3n+2)::before { background: #F2A900; }
.worries li:nth-child(3n)::before { background: var(--roze); }
.worries .q { font-family: var(--head); font-weight: 500; font-size: 17px; margin-bottom: 8px; line-height: 1.3; }
.worries p:not(.q) { color: var(--muted); font-size: 16px; }

/* kartice prostora */
.feat { display: grid; gap: 16px; }
.card { background: var(--ink-2); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 20px 22px 24px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: 16px; }
.help { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px; border-radius: var(--r); border: 2px dashed rgba(255, 201, 60, 0.6); }
.help p { max-width: 40em; }

/* proslava */
.proslava { display: grid; gap: 36px; align-items: start; }
.proslava__media img { width: 100%; aspect-ratio: 1100 / 829; object-fit: cover; border-radius: 32px; border: 4px solid #fff; box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: t; display: grid; gap: 4px; }
.timeline li { counter-increment: t; position: relative; padding: 0 0 22px 58px; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font: 700 16px/1 var(--head); background: var(--papir); z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline b { font-family: var(--head); font-weight: 500; font-size: 18px; }
.timeline p { color: var(--muted); margin-top: 4px; }
.dogovor { margin-top: 18px; background: #fff; border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow); }
.dogovor__h { font-family: var(--head); font-weight: 700; margin-bottom: 10px; }
.dogovor ul { margin: 0; padding-left: 20px; color: var(--muted); columns: 2; column-gap: 28px; }
.dogovor li { margin: 3px 0; break-inside: avoid; }

/* utisci */
.reviews { display: grid; gap: 14px; }
.review { margin: 0; background: #fff; border-radius: 22px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.review p { font-size: 18px; line-height: 1.5; }
.review--big { background: var(--plava); color: #fff; }
.review--big p { font-family: var(--head); font-weight: 500; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.35; }
.review footer { font-weight: 600; font-size: 15px; }
.review footer span { font-weight: 400; color: var(--muted); }
.review--big footer span { color: rgba(255, 255, 255, 0.85); }
#utisci .head a { font-weight: 600; }

/* pitanja */
.faq-grid { display: grid; gap: 28px; }
.faq-grid .head { align-content: start; }
.faq-grid .head .btn { justify-self: start; margin-top: 6px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-family: var(--head); font-weight: 500; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--zuta) center / 12px 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%231B2340' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 22px 0; }
.faq a { color: var(--zuta); }

/* rezervacija */
.rez { display: grid; gap: 28px; align-items: start; }
.rez__form { background: #fff; border-radius: 28px; padding: 26px 20px; box-shadow: var(--shadow); }
.rez__form .head { margin-bottom: 24px; }
.f-row { display: grid; gap: 0 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); }
.field input { min-height: 52px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--papir); font: 400 17px/1 var(--body); color: var(--ink); transition: border-color .2s; width: 100%; }
.field input:focus { border-color: var(--plava); outline: none; }
.field input[aria-invalid="true"] { border-color: var(--roze-tekst); }
.err { color: var(--roze-tekst); font-size: 14px; }
.err:empty { display: none; }
.f-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.f-hint { font-size: 14px; color: var(--muted); margin-top: 12px; }
.rez__info { display: grid; gap: 16px; }
.call { display: grid; gap: 4px; background: var(--ink); color: var(--papir); text-decoration: none; border-radius: 24px; padding: 22px 24px; transition: transform .2s var(--ease); }
.call:hover { transform: translateY(-3px); }
.call span { font-size: 15px; color: #BCC2D6; }
.call b { font: 800 clamp(28px, 4vw, 38px)/1.1 var(--head); color: var(--zuta); }
.info { margin: 0; display: grid; background: #fff; border-radius: 22px; padding: 6px 22px; box-shadow: var(--shadow); }
.info div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info div:last-child { border-bottom: 0; }
.info dt { color: var(--muted); font-size: 15px; }
.info dd { margin: 0; font-weight: 600; text-align: right; }
.find { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; }
.find img { width: 110px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; }
.find p { font-size: 15px; color: var(--muted); }
.map { margin-top: 28px; border-radius: 28px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ps { margin-top: 24px; font-size: 16px; color: var(--muted); max-width: 46em; }
.ps b { color: var(--roze-tekst); }

/* futer */
.footer { background: var(--ink); color: var(--papir); padding-top: 56px; overflow: hidden; }
.footer__top { display: grid; gap: 24px; font-size: 16px; color: #BCC2D6; }
.footer__h { font-family: var(--head); font-weight: 700; color: var(--papir); margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__word { margin: 32px 0 0; text-align: center; font: 800 clamp(120px, 34vw, 420px)/0.86 var(--head); letter-spacing: -0.05em; padding-top: .1em; user-select: none; }
.footer__word span { display: inline-block; }
.footer__word .l1 { color: #5B8FE6; }
.footer__word .l2 { color: var(--zuta); }
.footer__word .l3 { color: var(--roze); }
.footer__line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0 96px; font-size: 14px; color: #BCC2D6; border-top: 1px solid rgba(255, 248, 238, 0.14); }
.footer__line a { display: inline-flex; align-items: center; min-height: 44px; }

/* traka na telefonu */
.mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; background: var(--ink); border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5); transform: translateY(140%); transition: transform .35s var(--ease); }
.mbar.is-on { transform: none; }
.mbar a { min-height: 48px; display: grid; place-items: center; border-radius: 999px; text-decoration: none; font-weight: 700; }
.mbar__call { color: var(--papir); border: 2px solid rgba(255, 248, 238, 0.4); }
.mbar__book { background: var(--zuta); color: var(--ink); }

.toast { position: fixed; left: 50%; bottom: 96px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--papir); padding: 14px 20px; border-radius: 14px; font-weight: 600; transition: .3s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* pojavljivanje */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
html [data-tilt].is-tilting { transition: transform 120ms linear, opacity .5s ease; }

/* reč u futeru: slova iskaču jedno za drugim */
.js .footer__word span { transform: translateY(60%) scale(.8); opacity: 0; transition: transform .7s cubic-bezier(.3, 1.6, .5, 1), opacity .4s; transition-delay: calc(var(--i, 0) * 110ms); }
.js .footer__word.is-visible span { transform: none; opacity: 1; }
.js .footer__word.is-done span:hover { transform: translateY(-6%) rotate(-4deg); transition-delay: 0s; transition-duration: .3s; }

/* raspored za veće ekrane */
@media (min-width: 640px) {
  .gifts { grid-template-columns: repeat(4, 1fr); }
  .worries { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .review--big { grid-column: 1 / -1; }
  .f-row { grid-template-columns: 1fr 1fr; }
  .rez__form { padding: 36px; }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .feat { grid-template-columns: repeat(3, 1fr); }
  .card--wide { grid-column: 1 / -1; flex-direction: row; }
  .card--wide .card__img { flex: 1.3; aspect-ratio: auto; min-height: 340px; }
  .card--wide .card__body { flex: 1; align-self: center; padding: 36px; }
  .card--wide h3 { font-size: 28px; }
  .worries { grid-template-columns: repeat(3, 1fr); }
  .head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; }
  .proslava { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .proslava__media { position: sticky; top: 110px; }
  .reviews { grid-template-columns: repeat(4, 1fr); }
  .review--big { grid-column: span 2; grid-row: span 2; }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; }
  .rez { grid-template-columns: 1.25fr 1fr; gap: 36px; }
  .section { padding: 112px 0; }
  .akcija { padding: 96px 0; }
}
@media (min-width: 1024px) {
  .hero { padding: 56px 0 72px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .mbar { display: none; }
  .footer__line { padding-bottom: 24px; }
}
@media (max-width: 1079px) {
  .burger { display: block; }
  .header__tel { display: none; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--papir); padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(27, 35, 64, 0.4); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); background: none; }
}
@media (max-width: 420px) {
  .logo__sub { display: none; }
  .hero__cta .btn { width: 100%; }
  .dogovor ul { columns: 1; }
  .head--right { justify-items: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .footer__word span { opacity: 1; transform: none; }
}
