/* === Mirage Artystyczny – Scandinavian Clean CSS === */

/* RESET & NORMALIZE */
html { box-sizing: border-box; font-size: 16px; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #21272B;
  background-color: #F7F8FA;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-width: 100vw;
}
img { max-width: 100%; height: auto; vertical-align: middle; border-style: none; }
a { color: #2A3D56; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #E04F5F; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
ul, ol { list-style: none; }
::-webkit-input-placeholder { color: #666; }
::-moz-placeholder { color: #666; }
:-ms-input-placeholder { color: #666; }
::placeholder { color: #666; }

/* === TYPOGRAPHY SCALE & STYLE === */
h1, .h1 { font-family: 'Montserrat', Arial, sans-serif; font-size: 2.5rem; font-weight: 700; color: #2A3D56; margin-bottom: 20px; }
h2, .h2 { font-family: 'Montserrat', Arial, sans-serif; font-size: 2rem; font-weight: 600; color: #2A3D56; margin-bottom: 18px; }
h3, .h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.25rem; font-weight: 600; color: #2A3D56; margin-bottom: 14px; }
h4, .h4 { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; }
p, ul li, ol li, .body-text { font-size: 1rem; color: #21272B; margin-bottom: 10px; letter-spacing: 0.01em; }
strong, b { font-weight: 600; }

/* === CONTAINER & LAYOUT === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(42,61,86,0.08);
}

/* === FLEX PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { margin-bottom: 20px; position: relative; background: #fff; border-radius: 16px; box-shadow: 0 2px 10px rgba(42,61,86,0.06); padding: 24px 20px; transition: box-shadow .2s; }
.card:hover { box-shadow: 0 4px 20px rgba(42,61,86,0.14); }
.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: flex-start;
  gap: 12px;
  background: #F7F8FA;
  border-radius: 16px;
  padding: 20px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(42,61,86,0.07);
  border-left: 4px solid #FFD269;
  max-width: 420px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HERO === */
.hero {
  background: #F4F7F6;
  border-radius: 0 0 32px 32px;
  margin-bottom: 60px;
  padding: 56px 0 36px 0;
}
.hero .content-wrapper { align-items: flex-start; }
.hero h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  color: #2A3D56;
  margin-bottom: 14px;
}
.hero p {
  max-width: 640px;
  font-size: 1.15rem;
  margin-bottom: 24px;
}

/* === NAVIGATION (DESKTOP) === */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(42,61,86,0.06);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 70;
}
header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #2A3D56;
  font-weight: 600;
  padding: 6px 6px;
  position: relative;
  transition: color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #E04F5F;
  text-decoration: underline;
}
/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* === BUTTONS === */
.button {
  display: inline-block;
  padding: 12px 34px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #F4F7F6;
  color: #2A3D56;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(42,61,86,0.06);
}
.button.primary {
  background: #2A3D56;
  color: #fff;
  box-shadow: 0 2px 10px rgba(42,61,86,0.09);
}
.button.secondary {
  background: #FFD269;
  color: #2A3D56;
}
.button:hover, .button:focus {
  background: #E04F5F;
  color: #fff;
  box-shadow: 0 6px 22px rgba(42,61,86,0.14);
  outline: none;
}
.button.primary:hover, .button.primary:focus {
  background: #E04F5F;
  color: #fff;
}
.button.secondary:hover, .button.secondary:focus {
  background: #2A3D56;
  color: #FFD269;
}

/* === FEATURES-GRID & CATEGORIES === */
.features-grid, .categories-grid, .ideas-grid, .guides-list, .products-overview, .product-cards, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div, .categories-grid > div, .ideas-grid > div, .guides-list > div, .team-list > div, .product-cards > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(42,61,86,0.05);
  padding: 24px 18px 18px 18px;
  min-width: 225px;
  flex: 1 1 265px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.features-grid > div:hover, .categories-grid > div:hover, .ideas-grid > div:hover, .guides-list > div:hover, .team-list > div:hover, .product-cards > div:hover {
  box-shadow: 0 6px 24px rgba(42,61,86,0.14);
  transform: translateY(-4px) scale(1.02);
}
.features-grid img, .categories-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}

/* === SHOP FILTERS & INPUTS === */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  align-items: center;
}
.shop-filters input[type="text"],
.shop-filters select {
  background: #F4F7F6;
  border: 1px solid #D5DBE3;
  border-radius: 20px;
  padding: 10px 22px;
  font-size: 1rem;
  color: #2A3D56;
  transition: border 0.16s;
  outline: none;
}
.shop-filters input[type="text"]:focus,
.shop-filters select:focus {
  border-color: #E04F5F;
}

/* === TESTIMONIALS === */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 10px;
}
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: #2A3D56;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
  color: #3E505F;
  font-weight: 600;
  margin-top: 4px;
}

/* === CTA SECTION === */
.cta {
  background: #FFD269;
  color: #2A3D56;
  text-align: center;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 48px 0 64px 0;
  box-shadow: 0 3px 12px rgba(42,61,86,0.08);
}
.cta h2, .cta p {
  color: #2A3D56;
}
.cta .button {
  margin-top: 20px;
  background: #2A3D56;
  color: #fff;
}
.cta .button:hover { background: #E04F5F; color: #fff; }

/* === FOOTER === */
footer {
  background: #F4F7F6;
  border-top: 2px solid #E6ECEF;
  padding: 44px 0 18px 0;
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 8px;
}
footer .legal {
  font-size: 0.98rem;
  color: #67788c;
  margin-top: 10px;
}
footer .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 30px;
  color: #2A3D56;
  align-items: center;
  font-size: 0.98rem;
  margin-top: 6px;
}
footer .contact-details p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
}
footer .contact-details img {
  width: 20px;
  height: 20px;
}

/* === MOBILE NAVIGATION BURGER MENU === */
.mobile-menu-toggle {
  display: none;
  background: #F4F7F6;
  color: #2A3D56;
  border-radius: 12px;
  font-size: 2rem;
  padding: 5px 18px;
  cursor: pointer;
  border: none; margin-left: auto;
  transition: background 0.18s, color 0.18s;
  z-index: 201;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { background: #FFD269; color: #2A3D56; }
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform .33s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  width: 100vw;
  height: 100vh;
  box-shadow: 0 6px 36px rgba(42,61,86,0.12);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 28px 10px 0;
  background: none;
  border: none;
  font-size: 2rem;
  color: #2A3D56;
  cursor: pointer;
  z-index: 1202;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #E04F5F; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 28px 0 0 40px;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2A3D56;
  padding: 13px 0;
  display: block;
  width: 100%;
  font-weight: 600;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus { color: #E04F5F; }

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -3px 18px rgba(42,61,86,0.09);
  border-top: 3px solid #FFD269;
  padding: 30px 10% 18px 10%;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-size: 1rem;
  animation: cookieSlideIn 0.5s cubic-bezier(.5,0,0,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner .cookie-btn {
  background: #2A3D56;
  color: #fff;
  padding: 11px 26px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .cookie-btn.secondary {
  background: #FFD269;
  color: #2A3D56;
}
.cookie-banner .cookie-btn.settings {
  background: #E04F5F;
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #E04F5F;
  color: #fff;
}
/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50vw;
  top: 50vh;
  transform: translate(-50%, -50%) scale(0.95);
  min-width: 320px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 36px rgba(42,61,86,0.14);
  padding: 32px 22px 22px 22px;
  z-index: 1600;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s, transform .32s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 { font-size: 1.4rem; margin-bottom: 8px; }
.cookie-modal .cookie-category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal label {
  font-size: 1.04rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #E04F5F;
  width: 20px; height: 20px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 12px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #2A3D56;
  position: absolute;
  top: 14px;
  right: 18px;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus { color: #E04F5F; }

/* === GENERAL CARDS & MISC === */
.products-overview, .product-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.products-overview ul, .product-cards ul { margin-left: 16px; }
.shop-list { gap: 20px; }

/* === ACCORDION STYLE (for FAQ or similar if any) === */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.accordion-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(42,61,86,0.05);
  padding: 16px 22px;
  cursor: pointer;
  transition: box-shadow .19s;
}
.accordion-item.open { box-shadow: 0 8px 24px rgba(42,61,86,0.1); }

/* === SECTION ALIGNMENT === */
.section, .hero, .cta {
  margin-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
}

/**** RESPONSIVE (MOBILE-FIRST) ****/
@media (max-width: 1024px) {
  h1, .h1 { font-size: 2.12rem; }
  h2, .h2 { font-size: 1.6rem; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 900px) {
  .container, .section { padding-left: 12px; padding-right: 12px; }
  .features-grid > div, .categories-grid > div, .ideas-grid > div, .guides-list > div, .team-list > div, .product-cards > div {
    flex: 1 1 170px;
    min-width: 170px;
  }
}
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .section, .hero, .cta  {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 38px;
  }
  .content-grid, .features-grid, .categories-grid, .ideas-grid, .guides-list, .team-list, .product-cards, .card-container, .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .hero { padding: 40px 0 24px 0; border-radius: 0 0 18px 18px; }
  .cta { border-radius: 10px; padding: 26px 0 32px 0; }
  footer .container {
    gap: 10px;
    padding-top: 10px;
  }
  footer .contact-details { gap: 8px 12px; flex-direction: column; }
  /* Mobile menu shown */
  header nav    { display: none; }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .mobile-menu {
    padding: 0;
  }
  .mobile-nav { margin: 30px 0 0 23px; }
  .button { padding: 11px 20px; font-size: 0.97rem; }
  .shop-filters {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 490px) {
  h1, .hero h1, .h1 { font-size: 1.3rem; }
  h2, .h2 { font-size: 1.04rem; }
  .hero p { font-size: 1rem; }
  .card, .features-grid > div, .categories-grid > div, .ideas-grid > div, .guides-list > div, .product-cards > div {
    padding: 14px 8px 14px 12px;
    border-radius: 11px;
  }
  .cta { border-radius: 7px; font-size: 1rem; }
  .testimonial-card { padding: 13px 11px; border-radius: 7px; }
  .cookie-banner { padding: 15px 2% 12px 2%; font-size: 0.93rem; }
  .cookie-modal { min-width: 90vw; padding: 18px 6px; }
}

/**** UTILITIES & INTERACTIONS ****/
.section ul, .section ol { margin: 10px 0 15px 24px; }
.section ul li, .section ol li {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #3E505F;
  position: relative;
}
.section ul li:before {
  content: '•';
  color: #FFD269;
  position: absolute;
  left: -18px;
  font-size: 1.2em;
  top: 2px;
}
.table, table { width: 100%; border-collapse: collapse; margin: 22px 0; }
table th, table td { padding: 10px; border: 1px solid #E1E7ED; text-align: left; }

/* === MICRO-ANIMATIONS === */
.button, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.17s;
}
.button:active, .cookie-btn:active {
  transform: scale(.98);
  box-shadow: 0 1px 2px rgba(180,180,160,.08);
}
.features-grid > div, .categories-grid > div, .ideas-grid > div, .guides-list > div, .team-list > div {
  transition: box-shadow 0.19s, transform 0.19s;
}

/* === Z-INDEX FIXES FOR LAYERED ELEMENTS === */
header { z-index: 70; }
.mobile-menu { z-index: 1200; }
.cookie-banner { z-index: 1500; }
.cookie-modal { z-index: 1600; }

/* === SCANDINAVIAN CLEAN CUES === */
body {
  background: #F7F8FA;
}
.section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(42,61,86,0.07);
}
.card, .features-grid > div, .categories-grid > div {
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(42,61,86,0.05);
  background: #fff;
}

/* === ACCESSIBILITY CONTRAST ENHANCEMENTS === */
.testimonial-card { background: #F7F8FA; color: #21272B; }
.testimonial-card p, .testimonial-card span { color: #2A3D56; }
.cookie-banner { color: #21272B; background: #fff; }
.cookie-banner a { color: #2A3D56; text-decoration: underline; }

/* END CSS */
