/* style.css for SheenLand Wędrówki — industrial_modern theme */
/* 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 { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #222829; color: #efefef; min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; background: none; border: none; outline: none; color: inherit; }
:focus { outline: 2px solid #E5D28C; outline-offset: 2px; }

/* Typography */
:root {
  --color-primary: #204C36;
  --color-secondary: #E5D28C;
  --color-accent: #FFFFFF;
  --color-bg: #222829;
  --color-bg-alt: #292f30;
  --color-text: #F6F6F6;
  --color-light: #F9F7E8;
  --color-card: #262C2C;
  --color-input: #33393A;
  --color-border: #49594B;
  --shadow-card: 0 4px 24px 0 rgba(32,76,54, 0.10), 0 1.5px 0px 0 #3A413B;
  --shadow-btn: 0 2px 10px 0 rgba(20, 34, 29, 0.12); 
  --radius-lg: 18px;
  --radius-md: 9px;
  --radius-sm: 5px;
  --gap-lg: 32px;
  --gap-md: 24px;
  --gap-sm: 20px;
  --gap-xs: 12px;
  --font-display: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-light);
  margin-bottom: 20px;
}
h1 { font-size: 2.25rem; line-height: 1.15; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.15rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
strong, b {
  font-weight: 700;
}
p, ul, ol, li { font-size: 1rem; margin-bottom: 10px; line-height: 1.7; }
ul, ol { padding-left: 24px; }
ul li, ol li { margin-bottom: 8px; position: relative; }
ul li:before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--color-secondary);
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Layout containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}

/* Section spacing patterns */
section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: var(--color-card); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.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; background: var(--color-light); color: #232623; border-radius: var(--radius-md); box-shadow: 0 1.5px 4px 0 rgba(32,76,54,0.09); margin-bottom: 20px; min-width: 0; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
/* Hierarchy for testimonials */
.testimonial-card p {
  font-size: 1.02rem; font-family: var(--font-body); font-weight: 500; color: #30331b; margin: 0;
}
.testimonial-card span {
  font-size: 15px;
  color: #616457;
  font-weight: 600;
}
.testimonial-card strong { color: #204C36; }

/* Header */
header {
  width: 100%;
  background: var(--color-bg-alt);
  box-shadow: 0 2px 10px rgba(18,18,16,0.08);
  position: relative;
  z-index: 1002;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 12px 20px;
  gap: 24px;
  position: relative;
}
header img {
  height: 44px; width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  letter-spacing: .01em;
  color: #D2D3C9;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-secondary);
  background: #23372B;
}

.cta-primary {
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  border: 2.5px solid var(--color-secondary);
  padding: 10.5px 28px;
  margin-left: 15px;
  box-shadow: var(--shadow-btn);
  transition: background 0.19s, color 0.19s, border 0.19s, box-shadow 0.19s, transform 0.16s;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 4px 18px 0 rgba(229, 210, 140, 0.18);
}

/* Hamburger Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 2.1rem;
  border-radius: var(--radius-md);
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.16s;
  margin-left: 18px;
  z-index: 1060;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #dbc769; color: var(--color-bg-alt);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,40,41,0.98);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.76,.16,.44,1);
  z-index: 1100;
  box-shadow: 0 0 40px 20px rgba(32,76,54,0.12);
  display: flex;
  flex-direction: column;
  padding: 36px 20px 24px 20px;
  opacity: 1;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 24px;
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 2.1rem;
  border-radius: var(--radius-md);
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 1120;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 18px;
  margin-top: 80px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-accent);
  font-weight: 600;
  padding: 10px 0;
  width: 100%;
  border-bottom: 1.5px solid #334139;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: #22302a;
}

/* Footer */
footer {
  margin-top: 24px;
  background: var(--color-bg-alt);
  color: #d0d2cc;
  border-top: 2px solid #222829;
  padding: 28px 0;
  width: 100%;
}
footer .container { flex-direction: column; align-items: center; gap: 20px; }
footer nav { display: flex; flex-direction: row; gap: 18px; margin-bottom: 10px; }
footer nav a { font-family: var(--font-body); color: #DDD6B0; font-size: 0.98rem; }
footer nav a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}
footer p { font-size: 0.95rem; color: #B1B194; }

/* Utility classes */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-lg { gap: var(--gap-lg); }
.gap-md { gap: var(--gap-md); }
.gap-sm { gap: var(--gap-sm); }
.hide { display: none !important; }

/* Card pattern */
.card {
  background: var(--color-card);
  border: 1.8px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border 0.16s, transform 0.16s;
  display: flex; flex-direction: column; gap: 10px;
}
.card:hover, .card:focus-within {
  border-color: var(--color-secondary);
  box-shadow: 0 6px 28px 0 rgba(32,76,54,0.13);
  transform: translateY(-2px) scale(1.018);
}

/* Links */
a {
  transition: color 0.16s;
}
a:hover, a:focus {
  color: var(--color-secondary);
}

/* Images within text blocks */
.text-section img, .content-wrapper img {
  vertical-align: middle; width: 20px; height: 20px; margin-right: 8px; display: inline-block;
}

/* Lists with icons (About, Wartości, etc.) */
.content-wrapper ul li img {
  margin-right: 10px; margin-bottom: -3px; width: 22px; height: 22px; filter: grayscale(50%) brightness(0.95);
}

/* Section titles accent underline */
h2 {
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 4px;
  background: var(--color-secondary);
  border-radius: 3px;
  margin-top: 5px;
}

/* Responsive Design — mobile first approach */
@media (max-width: 980px) {
  .container {
    max-width: 97vw;
    padding: 0 7vw;
  }
  header .container {
    flex-direction: row; gap: 11px; padding: 14px 10px 8px 10px;
  }
  .content-wrapper, .card {
    padding: 22px 10px;
  }
  section { padding: 24px 7px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
    padding: 12px 8px 5px 8px;
  }
  header nav {
    display: none;
  }
  .cta-primary { display: none; }
  .mobile-menu-toggle { display: flex; }
  .content-grid, .card-container { flex-direction: column; gap: 20px; }
  .feature-item { gap: 7px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 10px; }
  .content-wrapper, .card { padding: 16px 3vw; }
  section { padding: 18px 3vw; }
}
@media (max-width: 540px) {
  .container { padding: 0 4vw; }
  .content-wrapper, .card { padding: 12px 2vw; }
  section { padding: 10px 0px; }
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.05rem; }
}

/* Animations for micro-interactions */
.card, .content-wrapper, .testimonial-card {
  transition: box-shadow 0.16s, border 0.18s, transform 0.13s, background 0.15s;
}
button, .cta-primary {
  transition: background 0.18s, border 0.18s, color 0.18s, box-shadow 0.18s, transform 0.16s;
}
.mobile-menu, .mobile-menu.open {
  transition: transform 0.34s cubic-bezier(.76, .16, .44, 1), opacity 0.18s;
}

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #191D1D;
  color: #fff; border-top: 2.5px solid var(--color-primary);
  box-shadow: 0 -3px 18px 0 rgba(32,76,54, 0.18), 0 1.5px 0px 0 #314035;
  z-index: 2000;
  padding: 22px 24px 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-family: var(--font-body);
  animation: slideupCookie 0.44s cubic-bezier(.66,.04,.44,1);
}
@keyframes slideupCookie {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-text {
  max-width: 540px;
  margin-bottom: 9px;
  color: #f6f7f3;
}
.cookie-banner .cookie-banner-btns {
  display: flex; flex-direction: row; gap: 12px;
}
.cookie-banner button {
  border-radius: var(--radius-md);
  padding: 9px 19px;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  border-width: 2px;
  border-style: solid;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.16s;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.cookie-banner .reject {
  background: #232928;
  color: #fff;
  border-color: #6d6544;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #232828;
  color: var(--color-secondary);
}
.cookie-banner .settings {
  background: var(--color-bg-alt);
  color: #d1d1d1;
  border-color: var(--color-border);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #151A15;
  color: var(--color-secondary);
}
@media (max-width: 720px) {
  .cookie-banner { flex-direction: column; gap: 16px; align-items: flex-start; padding: 11px 8vw 13px 8vw; }
  .cookie-banner .cookie-banner-btns { width: 100%; justify-content: flex-start; }
}

/* Cookie Modal Popup */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,40,41,0.88);
  z-index: 3001;
  align-items: center;
  justify-content: center;
  animation: fadeinModal 0.25s cubic-bezier(.84,.06,.24,1);
}
.cookie-modal.open { display: flex; }
@keyframes fadeinModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--color-bg-alt);
  color: #fff;
  border-radius: var(--radius-lg);
  max-width: 420px;
  min-width: 260px;
  width: 94vw;
  padding: 36px 26px 30px 26px;
  box-shadow: 0 2px 38px 0 rgba(32,76,54,0.19);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-content h3 {
  font-size: 1.25rem; margin-bottom: 11px; color: var(--color-secondary);
}
.cookie-modal-content .cookie-category {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #27462c;
}
.cookie-modal-content label {
  font-size: 0.98rem;
  color: #FCF9EA;
  font-family: var(--font-body);
  font-weight: 400;
}
.cookie-modal-content .toggle-switch {
  position: relative; width: 41px; height: 22px;
}
.toggle-switch input[type="checkbox"] {
  opacity: 0; width: 0; height: 0;
}
.toggle-slider {
  position: absolute;
  top: 2px; left: 0;
  width: 41px; height: 18px;
  background: #C8C8C3;
  border-radius: 14px;
  transition: background 0.18s;
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--color-secondary);
}
.toggle-slider:before {
  content: '';
  position: absolute; left: 2px; top: 2px;
  width: 15px; height: 15px;
  border-radius: 50%; background: var(--color-primary);
  transition: transform 0.18s, background 0.18s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(18px);
  background: var(--color-primary);
}
/* Always on for essential cookies */
.cookie-modal-content .cookie-category .toggle-switch input[disabled] + .toggle-slider {
  background: #9caa98;
  opacity: 0.59;
}
.cookie-modal-content .cookie-close-btn {
  position: absolute;
  top: 18px; right: 22px;
  color: var(--color-secondary);
  background: none;
  font-size: 1.45rem;
  cursor: pointer;
}
.cookie-modal-content .cookie-close-btn:hover, .cookie-modal-content .cookie-close-btn:focus {
  color: var(--color-primary);
}
.cookie-modal-content .cookie-modal-btns {
  display: flex; gap: 14px;
  margin-top: 12px;
}
.cookie-modal-content button {
  padding: 9px 15px; border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  border: 2px solid var(--color-secondary);
  background: var(--color-secondary);
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, border 0.14s;
}
.cookie-modal-content button:hover, .cookie-modal-content button:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.cookie-modal-content .cookie-cancel {
  background: #232928;
  border-color: var(--color-border);
  color: #dbc289;
}
.cookie-modal-content .cookie-cancel:hover, .cookie-modal-content .cookie-cancel:focus{
  background: #302721;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* --- End of cookie/modal styles --- */

/* Accessibility: focus states */
button:focus-visible, a:focus-visible, .cta-primary:focus-visible {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Misc/Details */
::-webkit-scrollbar { width: 11px; background: #191D1D; }
::-webkit-scrollbar-thumb { background: #33393A; border-radius: 7px; }

/* Custom metallic details */
.cta-primary, .cookie-banner .accept, .mobile-menu-close {
  box-shadow: 0 4px 18px 0 rgba(229,210,140,0.11),0 1.5px 0px 0 #9f956b;
}
nav a, .cta-primary, button {
  text-shadow: 0px 1px 1.5px rgba(119,116,101,0.12);
}

/* --- Ensure minimum spacing between all cards/sections --- */
section > .container > * + * { margin-top: 24px; }
.card + .card, .testimonial-card + .testimonial-card, .content-wrapper + .content-wrapper {
  margin-top: 20px;
}

/* Prevent overlapping, add extra breathing room for last section before footer */
section:last-of-type { margin-bottom: 75px; }


/* ---------------------------
  END OF STYLE.CSS
---------------------------- */
