/* ============================================================
   ŽIVIM — Statičke utility klase (zamjena za Tailwind CDN)
   Sadrži samo klase koje stranica stvarno koristi.
   ============================================================ */

/* --- Mini reset (preflight) --- */
*, ::before, ::after { box-sizing: border-box; border: 0 solid; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-size: inherit; font-weight: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { vertical-align: middle; }
button { margin: 0; padding: 0; font: inherit; color: inherit; background: transparent; cursor: pointer; }
strong, b { font-weight: 700; }

/* --- Display --- */
.flex { display: flex; }
.grid { display: grid; }
.inline { display: inline; }
.hidden { display: none; }

/* --- Font family --- */
.font-sans { font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }

/* --- Position --- */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-20 { top: 5rem; }
.bottom-20 { bottom: 5rem; }
.bottom-8 { bottom: 2rem; }
.left-0 { left: 0; }
.left-10 { left: 2.5rem; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.right-10 { right: 2.5rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* --- Flexbox / Grid --- */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* --- Container --- */
.container { width: 100%; }
@media (min-width: 640px)  { .container { max-width: 640px; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

/* --- Margin --- */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.ml-2 { margin-left: 0.5rem; }

/* --- Padding --- */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-16 { padding-top: 4rem; }

/* --- Space between (vertical) --- */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* --- Scroll margin --- */
.scroll-mt-20 { scroll-margin-top: 5rem; }

/* --- Sizing --- */
.w-1\.5 { width: 0.375rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-64 { width: 16rem; }
.w-96 { width: 24rem; }
.w-auto { width: auto; }
.h-3 { height: 0.75rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.h-64 { height: 16rem; }
.h-96 { height: 24rem; }
.min-h-screen { min-height: 100vh; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

/* --- Typography --- */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.break-all { word-break: break-all; }

/* --- Text colors --- */
.text-white { color: #fff; }
.text-navy { color: #252C62; }
.text-teal { color: #00B9AD; }
.text-teal-light { color: #2ad9cd; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-800 { color: #1f2937; }
.text-amber-700 { color: #b45309; }
.text-blue-600 { color: #2563eb; }
.text-pink-600 { color: #db2777; }
.text-white\/40 { color: rgba(255, 255, 255, 0.4); }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-white\/85 { color: rgba(255, 255, 255, 0.85); }

/* --- Background colors --- */
.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-navy-dark { background-color: #1a1f49; }
.bg-teal { background-color: #00B9AD; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-pink-50 { background-color: #fdf2f8; }
.bg-navy\/10 { background-color: rgba(37, 44, 98, 0.1); }
.bg-teal\/10 { background-color: rgba(0, 185, 173, 0.1); }
.bg-teal\/5 { background-color: rgba(0, 185, 173, 0.05); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/70 { background-color: rgba(255, 255, 255, 0.7); }

/* --- Gradients --- */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-navy { --tw-gradient-from: #252C62; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 44, 98, 0)); }
.from-purple-600 { --tw-gradient-from: #9333ea; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(147, 51, 234, 0)); }
.to-navy-light { --tw-gradient-to: #353f80; }
.to-pink-500 { --tw-gradient-to: #ec4899; }

/* --- Borders --- */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-teal { border-color: #00B9AD; }
.border-amber-200 { border-color: #fde68a; }
.border-teal\/20 { border-color: rgba(0, 185, 173, 0.2); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-white\/50 { border-color: rgba(255, 255, 255, 0.5); }

/* --- Border radius --- */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* --- Effects --- */
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.overflow-hidden { overflow: hidden; }
.object-contain { object-fit: contain; }
.blur-3xl { filter: blur(64px); }

/* brightness-0 + invert (footer logo → bijela silueta) */
.brightness-0 { --tw-brightness: brightness(0); }
.invert { --tw-invert: invert(100%); }
.brightness-0, .invert { filter: var(--tw-brightness, brightness(1)) var(--tw-invert, invert(0)); }

/* --- Transitions --- */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* --- Transforms --- */
.-translate-x-1\/2 { --tw-translate-x: -50%; }
.-translate-y-32 { --tw-translate-y: -8rem; }
.translate-x-32 { --tw-translate-x: 8rem; }
.-translate-x-1\/2, .-translate-y-32, .translate-x-32 { transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)); }

/* --- Animation --- */
@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}
.animate-bounce { animation: bounce 1s infinite; }

/* --- Hover --- */
.hover\:bg-teal-dark:hover { background-color: #00938a; }
.hover\:text-teal-light:hover { color: #2ad9cd; }

/* --- Group hover --- */
.group:hover .group-hover\:bg-teal { background-color: #00B9AD; }
.group:hover .group-hover\:bg-blue-600 { background-color: #2563eb; }
.group:hover .group-hover\:text-white { color: #fff; }
.group:hover .group-hover\:bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.group:hover .group-hover\:from-purple-600 { --tw-gradient-from: #9333ea; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(147, 51, 234, 0)); }
.group:hover .group-hover\:to-pink-500 { --tw-gradient-to: #ec4899; }

/* --- Responsive: sm (≥640px) --- */
@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:h-28 { height: 7rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}

/* --- Responsive: md (≥768px) --- */
@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* --- Responsive: lg (≥1024px) --- */
@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:h-12 { height: 3rem; }
  .lg\:h-20 { height: 5rem; }
  .lg\:h-32 { height: 8rem; }
  .lg\:p-12 { padding: 3rem; }
  .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
}

/* --- Responsive: xl (≥1280px) --- */
@media (min-width: 1280px) {
  .xl\:text-6xl { font-size: 3.75rem; line-height: 1; }
}
