/* Exact palette from logo */
:root{
  --bg: #EDE5D5;
  --ink: #2D201A;
  --ink-soft: #43332C;
  --line: #C5BAAA;
  --maxw: 1100px;
}
*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.6;
  font-size: 17px;
}
img{ max-width: 100%; display:block; }
.container{ width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Skip link for keyboard users */
.skip-link{
  position: absolute; left: -9999px; top: auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left: 12px; top: 12px; width: auto; height: auto; padding: 8px 12px;
  background: #fff; color: var(--ink); border: 2px solid var(--ink);
  border-radius: 8px; z-index: 3000;
}

/* Focus styles */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible{
  outline: 3px solid #5a7; outline-offset: 2px;
}

/* Header / Nav */
.site-header{ padding-top: 14px; }
.nav-bar{ display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img{ height: 154px; width: auto; opacity: 0.95; } /* larger logo per user change */

.main-nav ul{ 
justify-content: center; /* NOWE */
list-style: none; 
display: flex; 
gap: 92px; margin: 0; 
padding: 0; 
}
.main-nav a{ text-decoration: none; color: var(--ink); font-weight: 600; letter-spacing: 0.02em; }
.main-nav li.active a, .main-nav a:hover, .main-nav a:focus{ text-decoration: underline; text-underline-offset: 4px; }

.lang-switch{ display: flex; gap: 10px; align-items: center; }
.lang-switch .flag{ display: inline-flex; border-radius: 4px; padding: 2px; outline: 2px solid transparent; }
.lang-switch .flag.current{ outline-color: var(--line); }
.lang-switch img{ height: 22px; width: auto; }

/* Divider */
.divider{ border: 0; border-top: 1px solid var(--line); margin: 12px 0 0; }

/* Hero */
.hero{ padding: 48px 20px 30px; }
h1{ font-size: 34px; line-height: 1.1; margin: 0 0 10px; letter-spacing: 0.02em; }
h2{ font-size: 22px; font-weight: 600; margin: 0 0 18px; color: var(--ink-soft); }
p{ max-width: 75ch; margin: 0; }

/* Footer */
.site-footer{ padding: 40px 20px 60px; border-top: 1px solid var(--line); margin-top: 40px; font-size: 14px; color: var(--ink-soft); display:flex; align-items:center; justify-content:space-between; gap: 12px; flex-wrap: wrap;}
.legal-nav a{ color: var(--ink); text-decoration: none; }
.legal-nav a:hover, .legal-nav a:focus{ text-decoration: underline; }

/* Header right (flags + hamburger) */
.header-right{ display: flex; align-items: center; gap: 14px; }

/* Hamburger */
.menu-toggle{ display: none; width: 38px; height: 32px; border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: 6px 7px; cursor: pointer; }
.menu-toggle .bar{ display: block; width: 100%; height: 2px; background: var(--ink); margin: 4px 0; }

/* Mobile menu panel */
@media (max-width: 900px){
  .menu-toggle{ display: inline-block; }
  .nav-bar{ align-items: flex-start; }
  .header-right{ flex-direction: column; align-items: flex-end; gap: 8px; }
  .main-nav{ position: absolute; right: 20px; top: 98px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: 0 8px 16px rgba(0,0,0,0.06); display: none; z-index: 1000; }
  body.menu-open .main-nav{ display: block; }
  .main-nav ul{ display: block; }
  .main-nav li{ margin: 0; padding: 6px 2px; }
  .main-nav a{ display: block; padding: 6px 8px; }
  .divider{ margin-top: 10px; }
}

/* Cookie banner */
.cookie-banner{ display: none; position: fixed; left: 0; right: 0; bottom: 0; background: rgba(45,32,26,0.98); color: #fff; padding: 14px 0; z-index: 2000; }
.cookie-inner{ display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 15px; }
.cookie-actions{ display: flex; gap: 10px; flex-shrink: 0; }
.cookie-more{ color: #fff; text-decoration: underline; }
.cookie-accept{ border: 0; border-radius: 8px; padding: 8px 14px; background: #EDE5D5; color: #2D201A; font-weight: 700; cursor: pointer; }
.cookie-accept:hover{ filter: brightness(0.95); }

@media (max-width: 560px){
  .cookie-inner{ flex-direction: column; align-items: stretch; }
  .cookie-actions{ justify-content: flex-end; }
}



/*nizej jest do form */

.contact-form{
  max-width:600px;
  margin-top:40px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.form-group{
  display:flex;
  flex-direction:column;
}
label{ font-weight:600; margin-bottom:4px; }
input, textarea{
  border:1px solid var(--line);
  border-radius:8px;
  padding:10px;
  font:inherit;
  background:#fff;
}
button[type=submit]{
  align-self:flex-start;
  border:0;
  background:var(--ink);
  color:#fff;
  padding:10px 18px;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
}
button[type=submit]:hover{ filter:brightness(1.1); }
.form-message{
  margin-top:10px;
  font-weight:600;
}


/*koniec do form */


.blog-topic-list a {
    color: #5A3E2B; /* elegancki ciemny brąz */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.blog-topic-list a:hover {
    color: #7A5238;   /* jaśniejszy brąz */
    text-decoration: underline;
    text-decoration-color: #7A5238;
}

.blog-topic-list a:visited {
    color: #5A3E2B; /* zachowujemy elegancki wygląd */
}

.blog-topic-list a:active {
    color: #7A5238;
}





