/* =================== CSS RESET & NORMALIZE =================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0;
  font-size: 100%; font: inherit; vertical-align: baseline;
  box-sizing: border-box;
}

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.6;
  min-height: 100vh;
  background: #faf6f8;
  color: #232328;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  background-color: #F5F3ED;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* =================== BRAND VARIABLES & FONT IMPORTS =================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
:root {
  --clr-primary: #7E1F86;
  --clr-secondary: #E2592F;
  --clr-accent: #F5F3ED;
  --clr-bg-dark: #2A0527;
  --clr-white: #FFFFFF;
  --clr-shadow: rgba(126, 31, 134, 0.08);
  --clr-shadow-2: rgba(226, 89, 47, 0.09);
  --radius: 18px;
  --transition: 0.28s cubic-bezier(.57,.21,.69,.94);
  --shadow-1: 0 3px 24px var(--clr-shadow);
  --shadow-2: 0 8px 32px var(--clr-shadow-2);
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
}

/* =================== TYPOGRAPHY =================== */
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 900; color: var(--clr-primary); margin-bottom: 12px; letter-spacing: .02em; }
h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 18px; }
h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; color: var(--clr-secondary); }
h3 { font-size: 1.325rem; font-weight: 700; color: var(--clr-primary); }
h4, h5, h6 { font-size: 1.125rem; font-weight: 700; }
p, ul, ol, li { font-size: 1rem; color: #232328; margin-bottom: 0.6em; }
strong, b { font-weight: 700; color: var(--clr-primary); }
.text-section h2, .text-section h1 { color: var(--clr-primary); }

input[type="search"] {
  border: 2px solid var(--clr-primary);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
  margin-bottom: 1em;
}
input[type="search"]:focus {
  border-color: var(--clr-secondary);
}

/* =================== MAIN LAYOUT STRUCTURE =================== */
.container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
}

/* =================== SPACING & FLEX PATTERNS =================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--clr-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  min-width: 240px;
  flex: 1 1 300px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--clr-accent);
  box-shadow: var(--shadow-1);
  border-radius: var(--radius);
  flex-direction: column;
  width: 100%;
  color: #232328;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ========== BUTTONS & CTA ========== */
.cta,
button.cta {
  background-color: var(--clr-secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  padding: 14px 34px;
  border-radius: 48px;
  font-size: 1.25rem;
  box-shadow: 0 4px 22px rgba(226,89,47,0.14);
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
  margin-top: 20px;
  outline: none;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.cta:hover,
button.cta:hover, .cta:focus, button.cta:focus {
  background-color: var(--clr-primary);
  box-shadow: 0 6px 32px rgba(126,31,134, 0.13);
  transform: translateY(-3px) scale(1.03);
  color: #fff;
}

/* =================== HEADER AND NAVIGATION =================== */
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px var(--spacing-sm);
  background: var(--clr-white);
  box-shadow: 0 1px 16px rgba(126,31,134, 0.06);
  min-height: 74px;
  position: sticky;
  top: 0;
  z-index: 1003;
}
header img {
  height: 48px; width: auto; margin-right: 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 8px 12px;
  font-size: 1rem;
  border-radius: 18px;
  color: var(--clr-primary);
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, header nav a:focus {
  background: var(--clr-accent);
  color: var(--clr-secondary);
}
header nav .cta {
  margin-left: 18px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--clr-secondary);
  color: #fff;
  font-size: 2.1rem;
  border-radius: 12px;
  border: none;
  padding: 3px 16px 3px 12px;
  margin-left: 20px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 1004;
  line-height: 1;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--clr-primary);
}

/* ============ MOBILE NAVIGATION ============= */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--clr-primary);
  color: #fff;
  box-shadow: 0 8px 32px rgba(126,31,134,0.23);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.66,.09,.34,.97);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 26px 30px 18px 0;
  background: var(--clr-secondary);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 12px;
  padding: 2px 20px 4px 10px;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(226,89,47,0.10);
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--clr-accent);
  color: var(--clr-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  padding-left: 34px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 14px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--clr-secondary);
  color: #fff;
}
@media (max-width: 1000px) {
  header nav {
    gap: var(--spacing-sm);
  }
}
@media (max-width: 900px) {
  header {
    gap: 12px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header img {
    height: 42px;
  }
}


/* ====================== FOOTER ======================= */
footer {
  background: var(--clr-accent);
  color: var(--clr-primary);
  padding: 48px 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  font-size: 0.97rem;
  border-top: 5px solid var(--clr-secondary);
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 10px;
}
footer nav a {
  color: var(--clr-primary);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 10px;
  padding: 6px 14px;
  transition: background var(--transition), color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  background: var(--clr-secondary);
}
footer .text-section {
  color: #232328;
  font-size: 0.95rem;
  text-align: center;
}
@media (max-width: 768px) {
  footer nav {
    flex-direction: column;
    gap: 8px;
    text-align: center;
 }
}

/* ================== FLEX RESPONSIVE PATTERNS ================== */
@media (max-width: 900px) {
  .section { padding: 28px 10px; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .section { margin-bottom: 36px; padding: 18px 8px; }
  .card-container, .content-grid {
    flex-direction: column !important;
    gap: 20px;
  }
  .content-wrapper, .content-grid, .text-image-section {
    flex-direction: column !important;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }
}

/* ========== CARDS, CONTENT BLOCKS, FEATURES, HOVER EFFECTS ========== */
.card, .card-container > div, .content-grid > div {
  background: var(--clr-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 28px 20px;
  color: #232328;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card-container > div:hover, .content-grid > div:hover {
  box-shadow: 0 12px 40px rgba(126,31,134,0.13);
  transform: scale(1.025) translateY(-2px);
}
.card h3, .card-container h3, .content-grid h3 {
  margin-bottom: 8px;
}
.feature-item img, .content-wrapper img[alt^="Społeczność"], .content-wrapper img[alt^="Inspiracja"], .content-wrapper img[alt^="Warsztaty"], .content-wrapper img[alt^="Zaufanie"], .content-wrapper img[alt^="Nagrody"] {
  width: 26px; height: 26px; margin-right: 10px;
}

/* ========== TESTIMONIALS (REVIEWS) ========== */
.testimonial-card {
  background: #fff;
  border-left: 10px solid var(--clr-secondary);
  box-shadow: 0 2px 22px rgba(126,31,134,0.08);
  color: #232328;
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 240px;
  flex: 1 1 280px;
}
.testimonial-card p {
  color: #232328;
  font-style: italic;
  font-size: 1.18rem;
  text-shadow: none;
}
.testimonial-card strong {
  color: var(--clr-primary);
  font-weight: 900;
}
.testimonial-card span {
  color: var(--clr-secondary);
  font-size: 1.21rem;
  letter-spacing: 0.08em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(226, 89, 47, 0.12);
  border-color: var(--clr-primary);
}

/* ================== SECTIONS & SPECIAL BLOCKS ================== */
section {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}
.container > .content-wrapper > div > div,
.container > .content-wrapper > div {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 900px) {
  .container > .content-wrapper > div > div,
  .container > .content-wrapper > div {
    flex-direction: column;
    gap: 18px;
  }
}

/* ========== LISTS & UL STYLES ========== */
ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 12px;
}
ul > li {
  padding-left: 0;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  line-height: 1.7;
  font-size: 1.07rem;
}
ul > li img {
  margin-right: 12px;
  width: 22px;
}
/* Bullets for About page values and Q&A */
.content-wrapper > ul > li::before, .text-section > ul > li::before {
  content: '🔥';
  color: var(--clr-secondary);
  font-size: 1.05em;
  margin-right: 12px;
  line-height: 1;
   display: inline-block;
}
.content-wrapper > ul > li img, .text-section > ul > li img {margin-right: 0; display: none;}

/* ========== SPECIAL: BLOG CATEGORIES (BADGES) ========== */
strong, .content-wrapper strong {
  font-weight: 800;
  color: var(--clr-primary);
}
.content-wrapper > div > strong {
  font-size: 1.13em;
}
.content-wrapper ul li a {
  background: var(--clr-secondary);
  color: #fff;
  padding: 3px 15px;
  border-radius: 14px;
  font-size: 1em;
  margin-right: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}
.content-wrapper ul li a:hover, .content-wrapper ul li a:focus {
  background: var(--clr-primary);
}

/* ========== CONTACT / INFO ICONS ========== */
.text-section img[alt^="Adres"],
.text-section img[alt^="Telefon"],
.text-section img[alt^="Email"],
.text-section img[alt^="Godziny"],
.text-section img[alt^="icon-"],
.content-wrapper img[alt^="icon-"] {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}

/* ========== MODAL, OVERLAYS, ACCESSIBILITY ========== */
[tabindex]:focus {
  outline: 2px solid var(--clr-primary);
  outline-offset: 2px;
}

/* =================== COOKIE CONSENT BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  z-index: 2000;
  background: linear-gradient(90deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
  color: #fff;
  padding: 28px 14px 22px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: 0 -3px 24px rgba(126,31,134,0.10);
  font-size: 1.08rem;
  border-radius: 22px 22px 0 0;
  animation: slideUpCookie 0.7s cubic-bezier(.63,.21,.88,.83);
}
@keyframes slideUpCookie {
  from { transform: translateY(140px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  padding: 10px 22px;
  border-radius: 16px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  background: var(--clr-white);
  color: var(--clr-secondary);
  margin-right: 0;
  box-shadow: 0 2px 10px rgba(226,89,47,0.06);
  transition: background var(--transition), color var(--transition);
}
.cookie-banner button.accept {
  background: var(--clr-secondary);
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: var(--clr-primary);
}
.cookie-banner button.reject {
  background: var(--clr-accent);
  color: var(--clr-primary);
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: var(--clr-secondary);
  color: #fff;
}
.cookie-banner button.settings {
  background: var(--clr-primary);
  color: #fff;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: var(--clr-secondary);
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    font-size: 1em;
    padding: 18px 6px 18px 6px;
  }
  .cookie-banner .banner-actions {
    flex-direction: column;
    gap: 8px;
  }
}

/* ========== COOKIE - MODAL ==================== */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(36, 6, 46, 0.70);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(.63,.29,.41,.81);
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal-content {
  background: var(--clr-accent);
  color: #232328;
  border-radius: 30px;
  padding: 38px 34px 28px 34px;
  max-width: 390px;
  width: 95%;
  box-shadow: 0 14px 38px rgba(126,31,134,0.14);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: fadeInModal 0.4s cubic-bezier(.63,.25,.52,.84);
}
@keyframes fadeInModal {
  from { transform: translateY(24px) scale(.97); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal-content h2 {
  color: var(--clr-primary);
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.cookie-modal-content .category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.cookie-modal-content .category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--clr-secondary);
  margin-right: 8px;
}
.cookie-modal-content .essential-label {
  color: var(--clr-secondary); font-weight: 700; font-size: 0.98em;
}
.cookie-modal-content .modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal-content button {
  padding: 10px 22px;
  border-radius: 14px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  background: var(--clr-secondary);
  color: #fff;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal-content button.close {
  background: var(--clr-primary);
}
.cookie-modal-content button.close:hover, .cookie-modal-content button.close:focus {
  background: #64216E;
}

/* ========== ANIMATIONS & MICRO-INTERACTIONS ========== */
.cta, button.cta, .card, .testimonial-card, .cookie-banner, .cookie-modal-content {
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition), color var(--transition), opacity var(--transition);
}
.cta:active {
  transform: scale(0.96);
}
.card:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* ============= UTILS: HELPERS, ETC ============= */
.d-none { display: none !important; }
.w-100 { width: 100%!important; }
.mt-2 { margin-top: 16px!important; }
.mb-2 { margin-bottom: 16px!important; }

/* ========== FOCUS STYLES (WCAG/KEYBOARD NAV) ========== */
a:focus, button:focus, .cta:focus {
  outline: 2.5px solid var(--clr-secondary);
  outline-offset: 3px;
}


/* ============ SPECIAL: MISC AND OVERRIDES ============= */
.section:last-child { margin-bottom: 32px; }
.content-wrapper > ul > li:last-child,
.text-section > ul > li:last-child { margin-bottom: 0; }
.content-wrapper > div > div > div,
.text-section > div > div {
  margin-bottom: 20px;
  min-width: 230px;
  flex: 1 1 300px;
}

/* ========== RESPONSIVE TYPOGRAPHY ========== */
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .cta, button.cta { font-size: 1.05rem; padding: 11px 20px; }
}

/* ========== END OF STYLE ========== */
