/*
 * utilities.css
 * Pure CSS replacement for Tailwind CDN
 * Generated from: header.php, footer.php, index.php, produkty.php, produkt.php, kontakt.php, regulamin.php, 404.php
 */

/* ============================================
   CSS RESET / BOX-SIZING
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

/* ============================================
   CUSTOM COLORS (from tailwind.config)
   ============================================ */
:root {
    --color-warm-1: #ff6b35;
    --color-warm-2: #f7c948;
    --color-warm-3: #1dd3b0;
    --color-warm-4: #086375;
}

/* ============================================
   FONT FAMILY
   ============================================ */
.font-dm { font-family: 'DM Sans', sans-serif; }
.font-syne { font-family: 'Syne', sans-serif; }

/* ============================================
   DISPLAY
   ============================================ */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }

/* ============================================
   POSITION
   ============================================ */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

/* ============================================
   INSET / TOP / RIGHT / BOTTOM / LEFT
   ============================================ */
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.top-5 { top: 1.25rem; }
.right-0 { right: 0; }
.right-5 { right: 1.25rem; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

/* ============================================
   Z-INDEX
   ============================================ */
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ============================================
   OVERFLOW
   ============================================ */
.overflow-hidden { overflow: hidden; }

/* ============================================
   WIDTH
   ============================================ */
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.w-full { width: 100%; }

/* ============================================
   HEIGHT
   ============================================ */
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-18 { height: 4.5rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-full { height: 100%; }
.h-auto { height: auto; }

/* ============================================
   MIN-HEIGHT
   ============================================ */
.min-h-screen { min-height: 100vh; }
.min-h-\[60vh\] { min-height: 60vh; }

/* ============================================
   MAX-WIDTH
   ============================================ */
.max-w-xs { max-width: 20rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* ============================================
   ASPECT RATIO
   ============================================ */
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-square { aspect-ratio: 1 / 1; }

/* ============================================
   OBJECT FIT
   ============================================ */
.object-cover { object-fit: cover; }

/* ============================================
   FLEXBOX
   ============================================ */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.grow { flex-grow: 1; }

/* ============================================
   GRID
   ============================================ */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ============================================
   GAP
   ============================================ */
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* ============================================
   SPACE (between children)
   ============================================ */
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.75rem; }
.space-x-10 > :not([hidden]) ~ :not([hidden]) { margin-left: 2.5rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem; }

/* ============================================
   MARGIN
   ============================================ */
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

/* ============================================
   PADDING
   ============================================ */
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-1 { padding-top: 0.25rem; }

/* ============================================
   TYPOGRAPHY - FONT SIZE
   ============================================ */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

/* Arbitrary font sizes */
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[0\.92rem\] { font-size: 0.92rem; }
.text-\[0\.95rem\] { font-size: 0.95rem; }

/* ============================================
   TYPOGRAPHY - FONT WEIGHT
   ============================================ */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* ============================================
   TYPOGRAPHY - TEXT ALIGNMENT
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================
   TYPOGRAPHY - LETTER SPACING
   ============================================ */
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }

/* ============================================
   TYPOGRAPHY - LINE HEIGHT
   ============================================ */
.leading-relaxed { line-height: 1.625; }

/* ============================================
   TYPOGRAPHY - TEXT TRANSFORM
   ============================================ */
.uppercase { text-transform: uppercase; }

/* ============================================
   TYPOGRAPHY - TEXT DECORATION
   ============================================ */
.line-through { text-decoration-line: line-through; }

/* ============================================
   TYPOGRAPHY - WHITESPACE / RESIZE
   ============================================ */
.resize-none { resize: none; }

/* ============================================
   TEXT COLORS
   ============================================ */
.text-white { color: #ffffff; }
.text-white\/8 { color: rgba(255, 255, 255, 0.08); }
.text-white\/25 { color: rgba(255, 255, 255, 0.25); }
.text-white\/30 { color: rgba(255, 255, 255, 0.30); }
.text-white\/35 { color: rgba(255, 255, 255, 0.35); }
.text-white\/40 { color: rgba(255, 255, 255, 0.40); }
.text-white\/45 { color: rgba(255, 255, 255, 0.45); }
.text-white\/50 { color: rgba(255, 255, 255, 0.50); }
.text-white\/60 { color: rgba(255, 255, 255, 0.60); }
.text-white\/70 { color: rgba(255, 255, 255, 0.70); }
.text-white\/90 { color: rgba(255, 255, 255, 0.90); }

/* Custom theme colors */
.text-warm-1 { color: var(--color-warm-1); }
.text-warm-2 { color: var(--color-warm-2); }
.text-warm-3 { color: var(--color-warm-3); }
.text-warm-4 { color: var(--color-warm-4); }

/* Warm color with opacity */
.text-warm-2\/40 { color: rgba(247, 201, 72, 0.4); }

/* Arbitrary text colors */
.text-\[\#f0ece4\] { color: #f0ece4; }
.text-\[\#25D366\] { color: #25D366; }

/* text-accent (used in 404.php) */
.text-accent { color: var(--color-warm-1); }

/* ============================================
   BACKGROUND COLORS
   ============================================ */
.bg-transparent { background-color: transparent; }
.bg-\[\#0a0a0b\]\/95 { background-color: rgba(10, 10, 11, 0.95); }
.bg-\[\#0a0a0b\]\/98 { background-color: rgba(10, 10, 11, 0.98); }
.bg-\[\#25D366\]\/10 { background-color: rgba(37, 211, 102, 0.1); }
.bg-warm-1\/10 { background-color: rgba(255, 107, 53, 0.1); }
.bg-warm-2\/10 { background-color: rgba(247, 201, 72, 0.1); }
.bg-warm-3\/10 { background-color: rgba(29, 211, 176, 0.1); }
.bg-white\/\[0\.02\] { background-color: rgba(255, 255, 255, 0.02); }

/* ============================================
   BACKGROUND GRADIENTS
   ============================================ */
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-\[\#0a0a0b\] { --tw-gradient-from: #0a0a0b; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(10, 10, 11, 0)); }
.from-\[\#141416\] { --tw-gradient-from: #141416; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(20, 20, 22, 0)); }
.to-transparent { --tw-gradient-to: transparent; }
.to-\[\#1a1a1e\] { --tw-gradient-to: #1a1a1e; --tw-gradient-stops: var(--tw-gradient-from, rgba(26, 26, 30, 0)), var(--tw-gradient-to); }

/* Combined gradient shorthand helpers */
.bg-gradient-to-t.from-\[\#0a0a0b\].to-transparent {
    background-image: linear-gradient(to top, #0a0a0b, transparent);
}
.bg-gradient-to-br.from-\[\#141416\].to-\[\#1a1a1e\] {
    background-image: linear-gradient(to bottom right, #141416, #1a1a1e);
}

/* ============================================
   BORDER
   ============================================ */
.border { border-width: 1px; border-style: solid; }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
.border-white\/\[0\.04\] { border-color: rgba(255, 255, 255, 0.04); }

/* ============================================
   BORDER RADIUS
   ============================================ */
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-\[20px\] { border-radius: 20px; }

/* ============================================
   OPACITY
   ============================================ */
.opacity-30 { opacity: 0.3; }

/* ============================================
   BACKDROP FILTER
   ============================================ */
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }

/* ============================================
   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, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; 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
   ============================================ */
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* ============================================
   HOVER STATES
   ============================================ */
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-\[\#25D366\]:hover { color: #25D366; }

/* ============================================
   FOCUS STATES
   ============================================ */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

/* ============================================
   GROUP HOVER
   ============================================ */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:text-warm-2 { color: var(--color-warm-2); }
.group:hover .group-hover\:-translate-x-1 { transform: translateX(-0.25rem); }

/* ============================================
   RESPONSIVE: sm (640px+)
   ============================================ */
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================
   RESPONSIVE: md (768px+)
   ============================================ */
@media (min-width: 768px) {
    .md\:h-12 { height: 3rem; }
    .md\:h-14 { height: 3.5rem; }
    .md\:h-16 { height: 4rem; }
    .md\:h-18 { height: 4.5rem; }
    .md\:h-20 { height: 5rem; }
    .md\:h-24 { height: 6rem; }
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .md\:text-8xl { font-size: 6rem; line-height: 1; }
    .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
    .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .md\:mb-2 { margin-bottom: 0.5rem; }
    .md\:mb-6 { margin-bottom: 1.5rem; }
    .md\:mb-12 { margin-bottom: 3rem; }
    .md\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
    .md\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
    .md\:text-left { text-align: left; }
    .md\:text-right { text-align: right; }
    .md\:py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .md\:p-8 { padding: 2rem; }
    .md\:mb-14 { margin-bottom: 3.5rem; }
    .md\:mb-16 { margin-bottom: 4rem; }
    .md\:mx-0 { margin-left: 0; margin-right: 0; }
    .md\:gap-8 { gap: 2rem; }
    .md\:gap-12 { gap: 3rem; }
    .md\:gap-14 { gap: 3.5rem; }
    .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\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .lg\:text-8xl { font-size: 6rem; line-height: 1; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:col-span-3 { grid-column: span 3 / span 3; }
}
