/* 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  line-height: 1.6;
  background: #F5F0E9;
  color: #25303A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
*, *:before, *:after { box-sizing: inherit; }
img, picture, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
:root {
  --primary: #25303A;
  --secondary: #F5F0E9;
  --accent: #E3B056;
  --accent2: #E67955;
  --bold-accent: #B1345C;
  --green-accent: #67A987;
  --shadow: 0 6px 20px 0 rgba(37,48,58,0.10), 0 2px 4px 0 rgba(227,176,86,0.10);
}

/* CONTAINER & FLEX LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.header-flex,
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* SECTION SPACING & ARTISTIC TOUCHES */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px 80px 32px 16px/24px 32px 24px 64px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
main section:nth-child(odd) {
  background: #F5F0E9;
  box-shadow: none;
}
/* Artistic colored splashes */
section::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  width: 120px;
  height: 120px;
  right: -40px;
  top: -40px;
  background: var(--accent2);
  opacity: 0.10;
  border-radius: 50px 80px 60px 40px;
}
section:nth-child(even)::after {
  left: -40px;
  right: auto;
  top: auto;
  bottom: -40px;
  background: var(--green-accent);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, serif;
  color: var(--primary);
}
h1 {
  font-size: 2.2rem; font-weight: 700; margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-size: 1.75rem; font-weight: 700; margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem; font-weight: 600; margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.1rem; font-weight: 500; }
p, ul, ol { font-size: 1rem; margin-bottom: 16px; line-height: 1.7; }
strong { font-weight: bold; }
em, i { font-style: italic; }
ul li, ol li { padding-left: 0; margin-bottom: 10px; }
.code, code, pre { font-family: 'Fira Mono', monospace; background: #f7efdb; border-radius: 6px; padding: 2px 6px; }

.hero-subtext {
  color: var(--green-accent);
  font-size: 1.2rem;
  font-family: 'Lora', Georgia, serif;
  margin-bottom: 24px;
}

/* BUTTONS & CTAS */
.cta-btn, .mobile-menu .cta-btn {
  display: inline-block;
  cursor: pointer;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 12px 32px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 32px 8px 32px 8px;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 8px 0 rgba(227,176,86,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  margin-top: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--accent2);
  box-shadow: 0 4px 18px 0 rgba(37,48,58,0.09);
}

/* NAVIGATION */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
}
nav a {
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 12px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
nav a:hover, nav a:focus {
  color: var(--accent2);
  background: #f8eee7;
}
nav a.active {
  font-weight: bold;
  color: var(--accent);
  background: #FCE9C8;
}

/* HEADER/LOGO */
header {
  background: #ffffff;
  box-shadow: 0 2px 12px 0 rgba(37,48,58,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-flex a > img { height: 38px; width: auto; }

/* CONTENT LAYOUTS (NO GRID, FLEX ONLY) */
.content-wrapper, .feature-grid, .inspiration-grid, .arrangement-types-grid, .recipe-categories-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (min-width: 768px) {
  .feature-grid, .inspiration-grid, .arrangement-types-grid, .recipe-categories-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 36px;
    justify-content: space-between;
  }
  .content-wrapper {
    gap: 38px;
    padding-right: 24px;
    padding-left: 24px;
  }
  .feature-grid > div, .inspiration-grid > div, .arrangement-types-grid > div, .recipe-categories-grid > div {
    flex: 1 1 200px;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 28px 20px 20px;
    min-width: 220px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .feature-grid > div:hover, .inspiration-grid > div:hover, .arrangement-types-grid > div:hover, .recipe-categories-grid > div:hover {
    transform: translateY(-7px) scale(1.04) rotate(-1deg);
    box-shadow: 0 12px 28px 0 rgba(37,48,58,0.16);
  }
}

/* CARD-LIKE LISTS */
.recent-articles, .advice-list, .recipe-shortlist {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.recent-articles li, .advice-list li, .recipe-shortlist li {
  background: #fff;
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 2px 12px 0 rgba(37,48,58,0.07);
  position: relative;
  transition: box-shadow 0.18s, background 0.18s;
  margin-bottom: 8px;
}
.recent-articles li:hover, .advice-list li:hover, .recipe-shortlist li:hover {
  background: #FCE9C8;
  box-shadow: 0 6px 18px 0 rgba(227,176,86,0.09);
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  color: #1f2530;
  border-radius: 24px;
  box-shadow: 0 4px 16px 0 rgba(37,48,58,0.09);
  padding: 20px;
  margin-bottom: 24px;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.18rem;
  position: relative;
  min-width: 220px;
  transition: box-shadow 0.19s;
}
.testimonial-card span {
  color: var(--bold-accent);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: .5px;
}
.testimonial-card:before {
  content: '\201C';
  font-size: 2.5rem;
  color: var(--green-accent);
  opacity: .18;
  position: absolute;
  top: -22px;
  left: 16px;
  z-index: 0;
}


/* FLEXBOX UTILITY CLASSES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 15px 0 rgba(37,48,58,0.10);
  padding: 28px;
  min-width: 200px;
  z-index: 1;
  transition: box-shadow 0.15s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(37,48,58,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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TABS/CARD SELECTORS */
.categories-tabs, .room-categories-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.categories-tabs a, .room-categories-tabs a {
  color: var(--primary);
  padding: 7px 16px;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  border: 2px solid var(--accent);
  border-radius: 17px 7px 17px 7px;
  background: #FCE9C8;
  transition: background .18s, color .15s, border .12s;
}
.categories-tabs a:hover, .categories-tabs a:focus,
.room-categories-tabs a:hover, .room-categories-tabs a:focus {
  background: var(--accent2);
  color: #fff;
  border-color: var(--accent2);
}
.categories-tabs a.active, .room-categories-tabs a.active {
  background: var(--bold-accent);
  color: #fff;
  font-weight: 700;
  border-color: var(--bold-accent);
}

/* SMALL CARDS/LISTS (contact details, tips, footers) */
.contact-details, .kitchen-tips, .storage-tricks, .step-by-step-tips {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 1.05rem;
}
.contact-details img { height: 20px; width: 20px; }

/* MAP BLOCK */
.map {
  margin-top: 12px;
  background: #FCE9C8;
  border-radius: 16px;
  padding: 16px;
  font-size: 1.1rem;
  color: var(--primary);
  box-shadow: 0 2px 6px 0 rgba(227,176,86,0.06);
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 2px solid var(--accent);
  padding: 38px 0 28px 0;
  font-size: 0.95rem;
}
.footer-flex > div,
.footer-flex > nav {
  margin-bottom: 10px;
}
footer img[alt='Cień Domu'] { height: 32px; margin-bottom: 8px; }
.footer-flex > div span {
  display: block;
  color: var(--primary);
  opacity: .7;
  font-family: 'Lora', serif;
  font-size: 1rem;
}
footer nav {
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.97em;
}
footer nav a {
  padding: 4px 10px;
  border-radius: 8px;
  color: var(--primary);
  background: #f9f6ef;
  transition: background .15s, color .15s;
}
footer nav a:hover {
  color: var(--bold-accent);
  background: #fbc0c8;
}


/* HAMBURGER & MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: var(--accent2);
  color: #fff;
  padding: 7px 17px;
  border-radius: 12px;
  margin-left: 16px;
  border: none;
  cursor: pointer;
  z-index: 205;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--bold-accent);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,48,58,0.94);
  color: #fff;
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.68,.01,.41,1.02);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu .mobile-menu-close {
  align-self: flex-end;
  margin: 22px 22px 0 0;
  font-size: 2.2rem;
  color: var(--accent);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 206;
  transition: color 0.18s;
}
.mobile-menu .mobile-menu-close:hover {
  color: var(--bold-accent);
}
.mobile-menu .mobile-nav { 
  display: flex;
  flex-direction: column;
  margin: 34px auto 0 auto;
  gap: 30px;
  align-items: center;
  width: 100%;
  max-width: 360px;
  z-index: 205;
}
.mobile-nav a {
  padding: 12px 0;
  font-size: 1.28rem;
  font-family: 'Lora', serif;
  border-radius: 18px;
  width: 100%;
  text-align: center;
  color: #fff;
  background: none;
  letter-spacing: 1px;
  position: relative;
  transition: background 0.18s, color 0.18s, font-weight 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent2);
  background: rgba(255,255,255,0.07);
  font-weight: 700;
}
.mobile-nav a.active {
  color: var(--accent);
  background: rgba(227,176,86,0.13);
  font-weight: 800;
}
.mobile-menu .cta-btn {
  margin: 46px auto 0 auto;
  width: 80%;
  display: block;
}
body.menu-open {
  overflow: hidden;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 -2px 10px 0 rgba(37,48,58,0.19);
  padding: 18px 20px 16px 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: slideUpBanner .7s cubic-bezier(0.11, 0.68, 0.21, 0.99);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%);} to { transform: none;}
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 7px;
}
.cookie-banner .cookie-btn {
  font-family: 'Lora', serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 11px 4px 11px 4px;
  border: none;
  background: var(--accent);
  color: var(--primary);
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 8px 0 rgba(227,176,86,0.13);
  transition: background 0.16s, color 0.16s;
}
.cookie-banner .cookie-btn.reject {
  background: var(--bold-accent);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: var(--green-accent);
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--accent2);
  color: #fff;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #92386c;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #549673;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right:0; top:0; bottom:0;
  background: rgba(37,48,58,.74);
  z-index: 3050;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModal .6s cubic-bezier(0.33,1,0.68,1);
}
@keyframes fadeInModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: 22px;
  padding: 38px 30px 30px 30px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 2px 32px 0 rgba(37,48,58,0.16);
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--bold-accent);
  cursor: pointer;
  z-index: 10;
  transition: color 0.17s;
}
.cookie-modal-close:hover { color: var(--accent2); }
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 18px;
  color: var(--bold-accent);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-weight: bold;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.cookie-category.disabled label { opacity: 0.7; }
.cookie-modal .cookie-btns { gap: 14px; margin-top: 10px; justify-content: flex-end; }

/* FORMS, INPUTS - (for cookie toggles, future forms) */
input, textarea, select {
  background: #f7f2e8;
  border-radius: 7px;
  border: 1.5px solid #ced4da;
  padding: 8px 13px;
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1rem;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent2);
  outline: none;
}

/* ICONS */
img[src*='icon-'] {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 12px;
}
.feature-grid img, .inspiration-grid img, .arrangement-types-grid img, .recipe-categories-grid img {
  margin-left: 0; margin-right: 0; margin-bottom: 14px;
}

/* RESPONSIVE DESIGN (MOBILE-FIRST) */
@media (max-width: 1024px) {
  .container { max-width: 950px; }
  section { padding: 30px 10px; margin-bottom: 38px; }
  .content-wrapper, .feature-grid, .inspiration-grid, .arrangement-types-grid, .recipe-categories-grid { gap: 18px; }
}
@media (max-width: 768px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .header-flex, .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  Section { border-radius: 24px; }
  .content-wrapper, .feature-grid, .arrangement-types-grid, .inspiration-grid, .recipe-categories-grid {
    flex-direction: column;
    gap: 19px;
  }
  .feature-grid > div, .inspiration-grid > div, .arrangement-types-grid > div, .recipe-categories-grid > div {
    min-width: unset;
    padding: 18px 14px;
    margin-bottom: 20px;
  }
  .recent-articles li, .advice-list li, .recipe-shortlist li { padding: 13px 10px; }
  .testimonial-card {font-size: 1rem; padding: 15px;}
  .map {padding:12px;font-size:1rem;}
}
@media (max-width: 600px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1rem; }
  section { padding: 18px 7px; margin-bottom: 26px; border-radius: 14px; }
  .content-wrapper { gap: 13px; }
  .feature-grid > div, .inspiration-grid > div, .arrangement-types-grid > div, .recipe-categories-grid > div { padding: 11px 6px; }
  .card, .testimonial-card { border-radius: 7px; }
}

/* HAMBURGER - SHOW ON MOBILE */
@media (max-width: 960px) {
  .mobile-menu-toggle { display: inline-block; }
  nav {
    display: none;
  }
  .header-flex nav { display: none; }
}
@media (min-width: 961px) {
  .mobile-menu { display: none !important; }
}

/* ARTISTIC FONTS LOADING (for completeness) */
@font-face {
  font-family: 'Lora';
  font-display: swap;
  src: local('Lora'), url('https://fonts.googleapis.com/css?family=Lora:400,700&display=swap');
}
@font-face {
  font-family: 'Open Sans';
  font-display: swap;
  src: local('Open Sans'), url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
}


/* ANIMATIONS & MICRO-INTERACTIONS */
.card,
.feature-grid > div, .inspiration-grid > div, .arrangement-types-grid > div, .recipe-categories-grid > div {
  transition: box-shadow .18s, transform .19s, background .11s;
}
.cta-btn, .categories-tabs a, .room-categories-tabs a, .nav a, .footer nav a {
  transition: background .19s, color .14s, border .14s, box-shadow .13s;
}
.cta-btn:active, nav a:active {
  transform: scale(0.97);
}


/* ENSURE MODAL & BANNER ON TOP */
.cookie-modal-overlay, .mobile-menu, .cookie-banner { z-index: 3000 !important; }

/* Utility: Hide elements (for scripts) */
.hidden, [hidden] { display: none !important; }

/* Accessibility: focus */
:focus-visible { outline: 2px dashed var(--accent2); outline-offset: 2px; }

/* Prevent overlaps: spacing rules */
.card-container > *, .content-grid > *, .feature-grid > *, .arrangement-types-grid > *, .inspiration-grid > *, .recipe-categories-grid > * {
  margin-bottom: 20px;
}
.footer-flex > *, .header-flex > * {
  margin-right: 16px;
  margin-bottom: 10px;
}
.footer-flex > *:last-child, .header-flex > *:last-child { margin-right: 0;  }


/* White space utility */
.whitespace-lg { margin-bottom: 40px; }
.whitespace-md { margin-bottom: 20px; }

/* END OF CSS */
