/* VEELMAX — skonsolidowane style globalne */
/* Kolory brandowe */
:root {
  --blue: #0b6ffb;
  --blue-dark: #084db1;
  --blue-ink: #0b2545;
  --sky: #eaf2ff;
  --ink: #111827;
  --muted: #6b7280;
  --success: #16a34a;
}

/* Globalne tło + typografia */
body {
  background-color: var(--sky);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* Nagłówki — lekko „premium”, bez rozwalania Tailwinda */
h1, h2, h3, h4 {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--blue-ink);
}

h1 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h3 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Jasne nagłówki na ciemnych tłach (hero + parallax) */
#hero h1,
#hero h2,
#hero h3,
.parallax h1,
.parallax h2,
.parallax h3 {
  color: #ffffff;
}

#hero p,
.parallax p {
  color: #f9fafb;
}

/* Delikatny cień pod tekstem na zdjęciach dla lepszej czytelności */
#hero h1,
#hero h2,
.parallax h2 {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

#hero p,
.parallax p {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

/* Akcenty brandowe */
.brand-blue { color: var(--blue); }
.brand-bg-blue { background-color: var(--blue); }
.brand-hover-blue:hover { background-color: var(--blue-dark); }
.brand-bg-sky { background-color: var(--sky); }
.text-ink { color: var(--ink); }
.text-ink-dark { color: var(--blue-ink); }
.transition { transition: all .2s; }

/* Focus ring */
.focus-blue:focus { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Karty / kafelki */
.card { transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 30px -15px rgba(0,0,0,.25); }
.card-border-blue { border-top: 4px solid var(--blue); }

/* Kafelki materiałów */
.tile {
  background:#fff; border-radius:1rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  padding:1.5rem;
}
.tile-title { font-weight:600; font-size:1.125rem; margin-bottom:.5rem; color:var(--blue); }
.tile-text { color:#374151; }

/* Opinie — wyraźniejsze dymki */
.review-card {
  background: #fff;                /* było: var(--sky) */
  border: 1px solid rgba(0,0,0,.06);
  border-left: 4px solid var(--blue); /* subtelny akcent brandowy */
  border-radius: 1rem;
  box-shadow: 0 14px 24px -12px rgba(0,0,0,.2), 0 6px 10px -6px rgba(0,0,0,.1);
  padding: 2rem;
  display: flex; flex-direction: column;
  min-width: 300px; max-width: 300px;
  transition: transform .2s, box-shadow .2s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 32px -16px rgba(0,0,0,.25), 0 8px 16px -8px rgba(0,0,0,.12);
}

/* Reviews — gwiazdki + badge */
.review-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:.65rem;
}

/* Reviews: force gold stars (niezależnie od Tailwind build/purge) */
.review-stars{
  color:#d4af37 !important;
  letter-spacing:2px;
  text-shadow:0 1px 0 rgba(0,0,0,.06);
}

.review-badge{
  font-size:.75rem;
  padding:.2rem .55rem;
  border-radius:999px;
  border:1px solid rgba(212,175,55,.35);
  background:rgba(212,175,55,.12);
  color:#7a5b00;
  font-weight:600;
}

/* Linki */
a.link-blue { color: var(--blue); }
a.link-blue:hover { color: var(--blue-dark); }

/* Hero — obrazki dla slidera */
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1s ease;
  z-index: 0; pointer-events: none; user-select: none;
}
.hero-slide.active { opacity: 1; z-index: 1; }

/* Parallax (automatycznie wyłączony na mobile) */
.parallax { background-attachment: fixed; background-size: cover; background-position: center; }
@media (max-width:1024px) { .parallax { background-attachment: scroll; } }

/* Przyciski — spójne, wygodne na desktopie i mobile */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.4rem;
  border-radius: 9999px;           /* nowoczesne „pill-buttons” */
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow:
    0 10px 18px -8px rgba(11, 111, 251, 0.45),
    0 4px 8px -6px rgba(11, 111, 251, 0.25);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow:
    0 14px 24px -10px rgba(11, 111, 251, 0.55),
    0 6px 10px -6px rgba(11, 111, 251, 0.3);
}

.btn-ghost {
  background: #ffffffE6;
  color: var(--blue-ink);
  border: 2px solid var(--blue);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-ghost:hover {
  background: #ffffff;
  color: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow:
    0 10px 20px -12px rgba(15, 23, 42, 0.25);
}

/* Focus — dostępność i lepszy UX klawiatury */
.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Mobilne menu — miękkie rozwijanie */
#vmx-mobile-menu[data-open="true"] { max-height: 480px; }
#vmx-mobile-menu { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
#vmx-mobile-menu.hidden { max-height: 0 !important; }

/* Kotwice sekcji nie chowają się pod sticky headerem */
section[id] { scroll-margin-top: 96px; }

/* =========================================
   VEELMAX – Cookie banner
   ======================================= */

.vmx-cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0 1rem;
    display: none; /* domyślnie ukryty – pokaże go JS */
    font-size: 0.95rem;
    font-family: inherit;
}

.vmx-cookie-banner--visible {
    display: block;
}

.vmx-cookie-banner__inner {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    color: var(--ink);
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vmx-cookie-banner__text {
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.vmx-cookie-banner__link {
    color: var(--blue);
    text-decoration: underline;
    font-weight: 500;
}

.vmx-cookie-banner__link:hover {
    text-decoration: none;
}

.vmx-cookie-banner__actions {
    flex-shrink: 0;
}

.vmx-cookie-banner__button {
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 0.5rem 1.3rem;
    font-weight: 600;
    font-family: inherit;
    background: var(--blue);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.vmx-cookie-banner__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

/* Mobile layout – stacked */
@media (max-width: 768px) {
    .vmx-cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .vmx-cookie-banner__actions {
        width: 100%;
    }

    .vmx-cookie-banner__button {
        width: 100%;
        text-align: center;
    }
}

