/* Jasna Kuchnia – style.css – SOFT PASTEL + BRANDING */

/* ==== CSS RESET & BASE ==== */
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 { font-size: 16px; }
body {
  background: #FCFBFA;
  color: #28445C;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  transition: background 0.5s;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { padding-left: 1.5em; }
li { margin-bottom: 0.5em; }

/* ==== CSS VARIABLES (PASTEL PALETTE) ==== */
:root {
  --primary: #28445C;
  --secondary: #F7F6F3;
  --accent: #F5A14E;
  /* Soft Pastels */
  --pastel-1: #FFEDF3;
  --pastel-2: #E7F5FA;
  --pastel-3: #EAF9E5;
  --pastel-4: #FFF7E8;
  --pastel-5: #F7E7FB;
  --pastel-grey: #F3F3F4;
  --pastel-info: #C4E4F7;
  --pastel-green: #DDF3E7;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --shadow-card: 0 2px 16px 0 rgba(40, 68, 92, 0.07);
  --shadow-nav: 0 1px 8px rgba(40,68,92,0.08);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

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

/* ==== HEADER ==== */
header {
  background: var(--pastel-1);
  box-shadow: var(--shadow-nav);
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 22px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.01em;
  padding: 7px 7px;
  border-radius: var(--radius-sm);
  transition: background .2s,color .2s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: var(--pastel-2);
  color: var(--accent);
  outline: none;
}
nav .btn-primary {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  padding: 9px 22px;
  box-shadow: 0 3px 15px rgba(245,161,78,.07), 0 1.5px 1.5px rgba(0,0,0,0.01);
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
nav .btn-primary:hover, nav .btn-primary:focus {
  background: #ea900e;
  color: #fff1e1;
  box-shadow: 0 6px 28px rgba(245,161,78,0.15);
}

/* ==== MOBILE BURGER MENU ==== */
.mobile-menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  margin-left: 8px;
  padding: 6px 9px;
  border-radius: var(--radius-md);
  transition: background .2s;
  z-index: 1102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pastel-3);
}
@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(240,244,250,0.98);
  box-shadow: var(--shadow-nav);
  z-index: 1200;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(0.65,0,0.35,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--primary);
  align-self: flex-end;
  margin: 30px 28px 0 0;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  align-items: flex-start;
  padding: 38px 34px 16px 32px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: var(--primary);
  font-family: var(--font-display);
  padding: 10px 0;
  border-radius: var(--radius-md);
  width: 100%;
  transition: background .18s, color .18s;
  font-weight: 500;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-4);
  color: var(--accent);
}

/* ==== MAIN STRUCTURE & LAYOUT ==== */
main {
  min-height: 60vh;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-md);
}
.content-wrapper, .content-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (min-width: 780px) {
  .content-wrapper, .content-grid {
    flex-direction: row;
    gap: 36px;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.section:last-child { margin-bottom: 0; }

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.14;
  color: var(--primary);
  margin-top: 12px;
  margin-bottom: 22px;
}
h2 {
  font-size: 1.7rem;
  color: var(--primary);
}
h3 {
  font-size: 1.18rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 7px;
}
p, ul, ol, blockquote {
  margin-bottom: 1.1em;
  color: #4d6782;
  font-size: 1rem;
  font-family: var(--font-body);
}
strong, b { color: var(--primary); font-weight: bold; }
blockquote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  background: var(--pastel-2);
  border-left: 5px solid var(--accent);
  padding: 18px 30px;
  border-radius: var(--radius-md);
  margin: 24px 0 24px 0;
  font-size: 1.13rem;
  box-shadow: var(--shadow-card);
}

/* ==== BUTTONS ==== */
.btn-primary, .btn-secondary {
  display: inline-block;
  border: none;
  padding: 13px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(245,161,78, 0.1);
  margin-top: 8px;
  text-align: center;
  transition: background .21s, color .18s, transform .15s, box-shadow 0.19s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ea900e;
  color: #fff1e1;
  transform: translateY(-3px) scale(1.022);
  box-shadow: 0 6px 28px rgba(245,161,78,0.18);
}
.btn-secondary {
  background: var(--pastel-2);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.018);
}

/* ==== FLEXBOX CARD/CONTENT LAYOUTS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  background: var(--pastel-grey);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 18px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .card:focus-within {
  transform: translateY(-4px) scale(1.016);
  box-shadow: 0 5px 32px rgba(40,68,92, 0.13);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  font-size: 1.08rem;
  color: #23313f;
  margin-bottom: 20px;
  flex: 1 1 330px;
  min-width: 240px;
  max-width: 500px;
}
.testimonial-card p {
  font-size: 1.12rem;
  line-height: 1.6;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--primary);
  margin-bottom: 6px;
}
.testimonial-card span {
  color: var(--accent);
  font-size: 0.97rem;
  font-weight: 600;
  margin-right: auto;
  display: block;
}
.testimonial-card img {
  width: 26px; height: 26px; display: inline-block; margin-right: 2px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid, .tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div, .tips-grid > div {
  background: var(--pastel-4);
  border-radius: var(--radius-lg);
  flex: 1 1 210px;
  min-width: 170px;
  max-width: 270px;
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: box-shadow .23s, transform .15s;
}
.feature-grid > div:hover, .tips-grid > div:hover {
  transform: translateY(-3px) scale(1.018);
  box-shadow: 0 4px 19px rgba(245,161,78,0.14);
}
.feature-grid img, .tips-grid img {
  width: 38px; height: 38px; margin-bottom: 13px;
}
.feature-grid h3, .tips-grid strong {
  font-size: 1.12rem;
  color: var(--primary);
  margin-bottom: 7px;
  font-weight: 700;
  font-family: var(--font-display);
}
.feature-grid p, .tips-grid p {
  font-size: 1rem;
  color: #4d6782;
}

/* === RECIPE & LIST STYLES === */
.recipe-list, .category-list, .timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}
.recipe-list li, .category-list li, .timeline li {
  background: var(--pastel-5);
  color: var(--primary);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  box-shadow: 0 1px 6px #F4EAF7;
  transition: box-shadow .18s;
}
.recipe-list li strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
}
.category-list li {
  background: var(--pastel-3);
  color: #2b562c;
  font-weight: 600;
  margin-bottom: 10px;
}
.timeline li {
  background: var(--pastel-info);
  border-left: 6px solid var(--accent);
  color: #29599a;
  margin-bottom: 13px;
  font-family: var(--font-display);
  font-weight: 500;
}

/* === MISC & SECTION SUBBLOCKS === */
.commitment-section, .map-section, .instructions, .milestones, .story_blocks {
  background: var(--pastel-3);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 1.01rem;
  box-shadow: 0 1px 10px #EAF9E5;
  margin-bottom: 15px;
}
.milestones, .story_blocks { background: var(--pastel-2); }
.instructions { background: var(--pastel-4); }

.text-section {
  margin-bottom: 20px;
  font-size: 1.06rem;
  color: #46688a;
}

/* === FOOTER === */
footer {
  background: var(--secondary);
  border-top: 2.5px solid var(--pastel-5);
  font-size: 0.97rem;
  padding: 35px 0 15px 0;
}
footer .container {
  flex-direction: column;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
.footer-nav a {
  padding: 6px 11px;
  border-radius: var(--radius-md);
  color: var(--primary);
  background: var(--pastel-4);
  font-family: var(--font-display);
  transition: background .16s, color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--accent);
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 17px;
  font-size: 0.98rem;
  color: #46688a;
  margin-bottom: 4px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}
footer span:last-child {
  font-size: 0.96rem;
  color: #678;
  margin-top: 5px;
}

/* === MODAL, COOKIE, ALERT STYLES === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--pastel-1);
  color: var(--primary);
  box-shadow: 0 -2px 24px rgba(40,68,92,0.09);
  border-top: 2px solid var(--pastel-5);
  z-index: 2050;
  padding: 21px 16px 21px 18px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: fadeInUp .5s cubic-bezier(.31,1,.62,1) 1;
}
.cookie-banner p {
  margin-bottom: 1px;
  color: var(--primary);
  font-size: 1rem;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  justify-content: center;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background .17s, color .16s;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #ea900e;
  color: #fffde6;
}
.cookie-btn.reject {
  background: var(--pastel-2);
  color: var(--primary);
  border: 1.2px solid var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--pastel-5);
  color: var(--primary);
  border: 1.2px solid var(--pastel-4);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--accent);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(34,41,56,0.19);
  z-index: 2055;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity .23s;
}
.cookie-modal.hidden {
  opacity: 0;
  visibility: hidden;
}
.cookie-modal-content {
  background: var(--pastel-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 36px rgba(40,68,92,.18);
  min-width: 320px;
  max-width: 96vw;
  padding: 40px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal-content h3 {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 1.18rem;
  font-family: var(--font-display);
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}
.cookie-category-label {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.01rem;
}
.cookie-toggle {
  width: 44px; height: 22px;
  background: var(--pastel-1);
  border-radius: 21px;
  position: relative;
  cursor: pointer;
  border: 1.2px solid var(--accent);
  transition: background .18s;
}
.cookie-toggle:after {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 1.5px;
  transition: left .18s, background .2s;
  box-shadow: 0 1px 6px #EAF9E5;
}
.cookie-toggle.active { background: var(--accent); }
.cookie-toggle.active:after {
  background: var(--accent);
  left: 22px;
}
.cookie-category .small {
  font-size: 0.93rem;
  color: #607586;
  margin-left: 8px;
}
.cookie-modal-close {
  font-size: 1.6rem;
  position: absolute;
  right: 18px;
  top: 10px;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  z-index: 5;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px) }
  to { opacity: 1; transform: translateY(0)}
}

/* === FORMS, INPUTS, etc === */
input, textarea, select {
  border: 1.5px solid var(--pastel-5);
  padding: 13px 9px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--primary);
  transition: border .17s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 2px 10px var(--pastel-info);
}
label { display:block; margin-bottom:6px;font-size:1rem; font-weight:500; }

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  footer .container {
    padding: 0 8px;
  }
  .feature-grid, .tips-grid {gap:18px;}
}
@media (max-width: 840px) {
  h1{font-size:1.6rem;}
  h2{font-size:1.22rem;}
  h3{font-size:1.02rem;}
  .feature-grid > div, .tips-grid > div {
    max-width: 100%;
    min-width: 130px;
    padding: 19px 10px 13px 10px;
  }
}
@media (max-width: 600px) {
  header .container { flex-direction: row; gap:10px; padding:8px 5px; }
  .container { padding: 0 5px; }
  .section { padding: 21px 4px; }
  .content-wrapper, .content-grid, .feature-grid, .tips-grid {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    justify-content: flex-start;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
}

/* === OVERRIDES & UTILITIES === */
.bg-accent { background: var(--accent) !important; color: #fff !important; }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.rounded { border-radius: var(--radius-lg); }
.shadow { box-shadow: var(--shadow-card); }
.mt-2 { margin-top: 18px; }
.mb-2 { margin-bottom: 18px; }
.pt-2 { padding-top: 18px; }
.pb-2 { padding-bottom: 18px; }

/* === VISUAL FEEDBACK === */
a:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  z-index: 10;
  background: var(--pastel-info);
  color: var(--primary);
}

/* === HIDE/SHOW UTILS === */
.hide { display: none!important; }
.show { display: block!important; }

/* === COOKIE CATEGORIES ICONS === */
.cookie-category[aria-disabled="true"] .cookie-toggle {
  opacity: 0.5;
  pointer-events: none;
}

/* === END === */
