/* ==========================
   Przestrzeń Premium CSS
   CREATIVE ARTISTIC THEME
   ==========================
   Author: AI Web UI Team 2024 
   Guidelines: Artistic, vibrant, professional, flexbox-only layout
   Brand Colors: #184A63 (primary), #BFA66A (secondary), #F6F6F2 (accent)
   Font-Display: Montserrat, Font-Body: Open Sans
   ========================== */

/* 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  background: #F6F6F2;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #24292f;
  min-height: 100vh;
  background: #F6F6F2;
  letter-spacing: 0.01em;
  line-height: 1.65;
}
*, *:before, *:after { box-sizing: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; }

/* TYPOGRAPHY & ARTISTIC FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #184A63;
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; line-height: 1.17; }
h2 { font-size: 2rem; line-height: 1.22; }
h3 { font-size: 1.4rem; line-height: 1.25; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

p, ul, ol, li, address {
  font-size: 1rem;
  color: #232c34;
  margin-bottom: 16px;
  line-height: 1.7;
}

b, strong { color: #BFA66A; font-weight: 700; }

/* SEPARATORS & ACCENTS */
hr {
  border: 0; height: 2px;
  background: #BFA66A; opacity: 0.25;
  margin: 32px 0;
}

/* UTILITY: CONTAINER */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* LAYOUT RULES - SECTION & WRAPPERS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 44px 0 rgba(24,74,99,0.07), 0 2px 6px 0 rgba(191,166,106,0.04);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FLEX CONTAINER PATTERNS AS REQUIRED */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(24,74,99,0.10);
  padding: 32px 24px;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F6F6F2;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(24,74,99,0.10);
  margin-bottom: 24px;
  min-width: 260px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  .content-grid, .card-container { flex-direction: column; gap: 20px; }
  .text-image-section { flex-direction: column; gap: 22px; }
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  padding: 0;
  background: #184A63;
  box-shadow: 0 2px 10px rgba(24,74,99,0.05);
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
header nav a {
  color: #F6F6F2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 2px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: #BFA66A;
  background: rgba(191,166,106,0.10);
}
.btn-primary {
  background: #BFA66A;
  color: #184A63;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.14rem;
  padding: 12px 32px;
  border: none;
  border-radius: 24px;
  margin-left: 16px;
  box-shadow: 0 2px 12px 0 rgba(191,166,106,0.13);
  transition: background 0.21s, box-shadow 0.21s, color 0.16s;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #184A63;
  color: #BFA66A;
  box-shadow: 0 4px 30px 0 rgba(24,74,99,0.17);
}
.btn-secondary {
  background: #184A63;
  color: #BFA66A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 11px 28px;
  border: none;
  border-radius: 24px;
  margin-left: 0;
  margin-top: 18px;
  box-shadow: 0 2px 10px 0 rgba(24,74,99,0.08);
  transition: background 0.21s, color 0.14s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #BFA66A;
  color: #184A63;
  box-shadow: 0 4px 18px 0 rgba(191,166,106,0.15);
}

/* Hamburger menu button - mobile */
.mobile-menu-toggle {
  display: none;
  background: #BFA66A;
  border: none;
  color: #184A63;
  font-size: 2.1rem;
  padding: 7px 16px;
  border-radius: 32px;
  margin-left: 20px;
  cursor: pointer;
  transition: background 0.17s, color 0.14s;
  z-index: 101;
  box-shadow: 0 2px 8px 0 rgba(191,166,106,0.12);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #184A63;
  color: #BFA66A;
}

/* Responsive navigation for mobile */
@media (max-width: 1100px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .btn-primary {
    margin-left: auto;
    padding: 9px 22px;
    font-size: 1rem;
  }
  header .container { gap: 8px; }
}

/* MOBILE SLIDE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,74,99,0.95);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.6,.06,.23,.98);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F6F6F2;
  font-size: 2.2rem;
  padding: 16px 22px 10px 0;
  cursor: pointer;
  transition: color 0.15s;
  align-self: flex-end;
  z-index: 202;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #BFA66A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  align-items: flex-start;
  padding-left: 30px;
  margin-top: 10vh;
  gap: 22px;
}
.mobile-nav a {
  color: #F6F6F2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 12px 0;
  width: 92vw;
  display: block;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #BFA66A;
  color: #184A63;
}
@media (min-width: 1101px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* MAIN: HEADINGS & HOME HERO */
main section:first-child h1 {
  font-size: 2.8rem;
  color: #184A63;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
@media (max-width: 900px) { 
  main section:first-child h1 { font-size: 2rem; }  
}

/* Home hero: subtle geometric artistic background */
main section:first-child { 
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 64px 0 rgba(191,166,106,0.09);
  position: relative;
}
main section:first-child::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -60px;
  width: 260px; height: 220px;
  background: rgba(191,166,106,0.13);
  border-radius: 45% 55% 55% 49% / 44% 44% 66% 66%;
  z-index: 0;
  pointer-events: none;
  filter: blur(6px);
}
main section:first-child > .container > .content-wrapper {
  position: relative;
  z-index: 2;
}

/* SERVICE & OFFER LISTS */
.service-list ul, .content-wrapper ul {
  padding-left: 20px;
  list-style: disc inside;
  margin-bottom: 0;
}
.service-list ul li {
  margin-bottom: 13px;
  font-size: 1.13rem;
  line-height: 1.6;
  color: #184A63;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.015em;
}
.service-list b {
  color: #BFA66A;
}

/* PRICELIST EFFECTS */
.service-list ul li::marker {
  color: #BFA66A;
  font-size: 1.2em;
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.testimonial-card p {
  font-size: 1.13rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #184A63;
  line-height: 1.6;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #8D7C57;
  letter-spacing: 0.022em;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 3px;
}
.testimonial-card {
  background: #fff;
  color: #184A63;
  box-shadow: 0 2px 16px 0 rgba(24,74,99,0.10);
  border-radius: 16px;
  border: 2px solid #F3EAD0;
  min-width: 270px;
  max-width: 420px;
  min-height: 130px;
  transition: box-shadow 0.19s, border-color 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 44px 0 rgba(191,166,106,0.13);
  border-color: #BFA66A;
}

/* FEATURED ARTICLES and BLOG CATEGORIES */
.featured-articles-list ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 4px;
}
.featured-articles-list li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  color: #184A63;
  background: #F6F6F2;
  border: 2px solid #BFA66A;
  border-radius: 14px;
  padding: 10px 22px;
  transition: background 0.18s, color 0.13s, border 0.14s;
}
.featured-articles-list li a:hover,
.featured-articles-list li a:focus {
  background: #BFA66A;
  color: #184A63;
  border: 2px solid #184A63;
}
.blog-categories {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  padding: 4px 0 12px 0;
}
.blog-categories li {
  color: #BFA66A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  background: #fff8e1;
  border-radius: 8px;
  padding: 6px 18px;
}

.blog-search input {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.11rem;
  border-radius: 16px;
  border: 1px solid #BFA66A;
  padding: 10px 16px;
  outline: none;
  background: #F6F6F2;
  color: #184A63;
  width: 240px;
}
.blog-search input::placeholder {
  color: #BFA66A;
  opacity: 0.73;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ADDRESS & CONTACT */
address {
  font-style: normal;
  color: #24292f;
  background: #fff9e5;
  border-radius: 10px;
  padding: 19px 20px;
  margin-bottom: 0;
  box-shadow: 0 1px 7px 2px rgba(191,166,106,0.07);
}
address b {
  color: #184A63;
  font-weight: 700;
}
address a {
  color: #184A63;
  text-decoration: underline;
  font-weight: 600;
}

/* FOOTER STYLES */
footer {
  background: #184A63;
  color: #F6F6F2;
  padding: 28px 0 20px 0;
  margin-top: 64px;
  font-size: 1rem;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 10px;
}
footer nav a {
  color: #BFA66A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.012em;
  padding: 2px 12px;
  border-radius: 5px;
  transition: background 0.17s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #BFA66A;
  color: #184A63;
}
.footer-brand {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-top: 8px;
  font-size: 1.01rem;
}
.footer-brand img {
  width: 38px;
  height: auto;
  margin-right: 8px;
}

/* ANIMATION (micro-interactions & elements)
Artistic, smooth, not distracting */
.btn-primary, .btn-secondary, .mobile-menu-toggle,
.mobile-nav a, footer nav a, .testimonial-card {
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, border 0.14s;
}
.card, .testimonial-card {
  transition: box-shadow 0.2s, border-color 0.16s;
}

/* CARDS & SHADOWS */
.card, .section, .testimonial-card {
  box-shadow: 0 4px 24px 0 rgba(24,74,99,0.09);
}
.card {
  border: 2px solid #F6F6F2;
}
.card:hover {
  box-shadow: 0 10px 46px 0 rgba(191,166,106,0.13);
  border-color: #BFA66A;
}

/* MARGIN PATTERNS FOR LAYOUTS */
.card-container > *, .content-grid > *, .section > *, .testimonial-slider > *, .featured-articles-list > * {
  margin-bottom: 0 !important;
}
.section, .card, .testimonial-card, .card-container > *, .content-grid > * {
  margin-bottom: 24px;
}
@media (max-width: 700px) {
  .section, .card, .testimonial-card, .content-grid > *, .card-container > * {
    margin-bottom: 18px;
  }
}

/* COOKIE CONSENT BANNER */
#cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 2999;
  width: 100vw;
  background: #fffbee;
  color: #184A63;
  border-top: 2px solid #BFA66A;
  padding: 24px 16px 22px 16px;
  box-shadow: 0 -3px 26px 0 rgba(24,74,99,0.08);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transition: transform 0.33s ease;
}
#cookie-consent-banner.hide {
  transform: translateY(130%);
}
#cookie-consent-banner p {
  color: #184A63;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin: 0 18px 0 0;
  max-width: 440px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  border-radius: 20px;
  border: none;
  padding: 10px 22px;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.17s, color 0.13s;
}
.cookie-btn.accept {
  background: #BFA66A;
  color: #184A63;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #184A63; color: #BFA66A;
}
.cookie-btn.reject {
  background: #f8e5dc;
  color: #804040;
  border: 1.5px solid #bfa66a;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: #C05050;
}
.cookie-btn.settings {
  background: #fff;
  color: #184A63;
  border: 1.5px solid #BFA66A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #BFA66A; color: #184A63;
}
@media (max-width: 900px) {
  #cookie-consent-banner {
    flex-direction: column;
    gap: 20px;
    padding: 22px 10px 19px 10px;
    font-size: 0.98rem;
    text-align: center;
  }
  #cookie-consent-banner p { margin: 0 auto; }
}

/* COOKIE CONSENT MODAL */
#cookie-consent-modal {
  display: none;
  position: fixed; 
  z-index: 4500;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,74,99,0.89);
  align-items: center;
  justify-content: center;
  animation: modalAppear 0.27s cubic-bezier(.63,.11,.24,1.01);
}
#cookie-consent-modal.open { display: flex; }

@keyframes modalAppear {
  0%{ opacity: 0; transform: scale(0.9) }
  100%{ opacity: 1; transform: scale(1) }
}
.cookie-modal-content {
  background: #fff;
  color: #184A63;
  border-radius: 20px;
  box-shadow: 0 10px 60px 0 rgba(191,166,106,0.19);
  padding: 38px 28px 24px 28px;
  min-width: 300px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalAppear 0.20s;
  position: relative;
}
.cookie-modal-content h4 {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 12px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.04rem;
  margin-bottom: 11px;
}
.cookie-modal-category input[type=checkbox] {
  accent-color: #BFA66A;
}
.cookie-modal-category .essential {
  color: #BFA66A;
  font-weight: 700;
  font-size: 1.06rem;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 17px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 14px;
  background: none;
  border: none;
  color: #184A63;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #BFA66A;
}
@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 28px 7vw 18px 7vw;
    border-radius: 14px;
    min-width: unset;
  }
}

/* ANIMATIONS FOR VISUAL INTEREST */
.section,
.card, .testimonial-card, .btn-primary, .btn-secondary {
  transition: box-shadow 0.18s, border 0.13s, background 0.17s, color 0.14s, transform 0.18s;
}
.section:hover {
  box-shadow: 0 14px 64px 0 rgba(191,166,106,0.14);
  transform: translateY(-2px) scale(1.01);
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
}

/* ::selection for vibrance */
::selection {
  background: #BFA66A;
  color: #184A63;
}

/* Scrollbar Styling (for accent artistic touch) */
::-webkit-scrollbar {
  width: 10px; background: #F6F6F2; }
::-webkit-scrollbar-thumb {
  background: #BFA66A; border-radius: 11px;
  border: 2px solid #F6F6F2;
}

/* ACCESSIBILITY & FOCUS STATES */
:focus {
  outline: 2px solid #BFA66A;
  outline-offset: 1px;
}

/* 404, THANK YOU, ETC. */
.text-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}

/* Responsive improvements for all */
@media (max-width: 600px) {
  h1, .main-title { font-size: 1.40rem !important; }
  h2 { font-size: 1.13rem !important; }
  main { padding: 0 !important; }
  .container { padding: 0 8px; }
  .section, .card { padding-left: 7px; padding-right: 7px; }
}

/* Decorative artistic touches (SVG, curves, etc. - for future use, kept simple here) */

/* END CSS */
