 /* --------- Kolorystyka --------- */
 :root {
    --primary: rgb(138, 40, 107);
    --secondary: #333;
    --accent: rgb(196, 171, 195);
    --bg-light: #f9f9f9;
    --bg-alt: #f0f0f0;
    --text-dark: #222;
    --text-light: #fff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    letter-spacing: 2px;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* --------- Header --------- */
header {
    background: var(--primary);
    color: var(--text-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
header .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}
.logo img { width: 220px; height: auto; }
nav { position: relative; }
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav ul li a {
    padding: 8px;
    display: block;
    transition: color 0.3s;
}
nav ul li a:hover { color: var(--accent); }

/* Hamburger */
#menu-toggle { display: none; }
label[for="menu-toggle"] {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}
label[for="menu-toggle"] span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-light);
}



/* --------- Sekcje ogólne --------- */
section { padding: 100px 20px; }
section .container { max-width: 1200px; margin: auto; }
.section-title {
    font-size: 2em;
    color: var(--secondary);
    margin-bottom: 20px;
    text-align: center;
}
.cta {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
    margin-top: 20px;
}
.cta:hover { background: var(--primary); color: var(--text-light); }

/* --------- Hero --------- */
#hero {
    background: url('/pic/hero.jpg') center/cover no-repeat;
    color: var(--text-light);
    text-align: center;
    padding: 160px 20px;
    letter-spacing: 3px;
}
#hero h1 { font-size: 2em; margin-bottom: 20px; line-height:1.2; }
#hero p { font-size: 1.1em; max-width: 800px; margin: auto; }

/* --------- Usługi --------- */
#uslugi .container { padding-top: 40px; }
#uslugi .section-title + p {
    margin-bottom: 30px; font-size: 1em;
    text-align: center; color: var(--text-dark);
}
#uslugi .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 20px;
}
.grid {
  display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
    justify-content: center;
}
.section-card {
    background: var(--text-light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
    line-height: 1.2;
    width:300px;
}

p.textcenter {
  text-align: center;
}
.section-card:hover { transform: translateY(-5px); }
.section-card h3 {
    font-size: 1.4em; color: var(--primary);
    margin-bottom: 10px;
}
.section-card p {
    font-size: 14px; letter-spacing: 2px; font-weight: 100;
}

.faq-intro {
  margin-top: 0px;
  text-align: center;
}
.faq-intro h2 {
  font-size: 28px;
  margin-bottom: 20px;
}


.h2p-columns {
  margin-top: -120px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.h2p-columns .column h2 {
  margin-bottom: 15px;
  font-size: 1.4em;
}

.h2p-columns .column p {
  line-height: 1.6;
}


/* --------- Przed Experience --------- */
.pre-experience .container {
    display: flex; flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap; gap: 40px;
    padding: 10px 20px; text-align: center;
}
.pre-experience div {
    flex: 1; min-width: 200px;
}
.pre-experience span, .header-span {
    display: block; font-weight: bold; margin-bottom: 5px; width: 100%; text-align: center;
}
.pre-experience p {
    font-size: 14px; color: var(--text-dark); line-height:1.4;
}

/* --------- Experience / Hours / Private --------- */
#experience, #hours, #private { background: var(--bg-alt); }
#experience .container, #hours .container, #private .container {
    max-width: 800px; margin: auto; text-align: center;
}
#experience h2, #hours h2, #private h2 {
    font-size:2.2em; color: var(--primary);
    margin-bottom:15px; border-bottom:3px solid var(--accent);
    display:inline-block; padding-bottom:5px;
}
#experience p, #hours p, #private p {
    font-size:1em; margin-top:10px;
}

/* --------- Galeria --------- */
#gallery { padding: 0; }
#gallery .image-gallery { display: flex; }
#gallery .image-gallery img {
    flex:1; width:25%; margin:0;
}

/* --------- Po galerii --------- */
.pod-gallery .container {
    display: flex; flex-direction: row;
    justify-content: space-between; flex-wrap: nowrap;
    gap: 40px; padding:10px 20px; text-align:center;
}
.pod-gallery div {
    flex:1; min-width:200px;
}
.pod-gallery h3 {
    font-size:1.4em; color: var(--primary);
    margin-bottom:10px;
}
.pod-gallery p {
    font-size:14px; color: var(--text-dark);
    line-height:1.4;
}

/* --------- Stopka --------- */
footer {
    background: var(--secondary);
    color: var(--text-light);
    padding:40px 20px;
}
.footer-container {
    max-width:1200px; margin:auto;
    display:flex; flex-wrap:wrap; gap:20px;
}
.footer-col { flex:1 1 200px; }
.footer-col h4 { font-size:1.2em; margin-bottom:10px; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin:8px 0; }
.footer-col ul li a {
    color: var(--text-light);
    transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-logo img { width:150px; height:auto; margin-top:10px; }

footer span {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}
.footer-logo {
    width: 25% ;
}

.footer-logo h2 {
    font-size: 1em;
    line-height: 1.2;
}

article.blog-post .container {
    margin-top: 120px;
    margin-bottom: 70px;
    max-width: 70%;
    margin: 100px auto;
}

article.blog-post .container h1{
    margin-bottom: 30px;
    letter-spacing:3px;
}

.blog-listing {
    list-style: none;
    padding: 0;
  }
  .blog-listing li {
    margin-bottom: 2em;
  }
  .blog-listing li a {
    display: block;
    text-decoration: none;
    color: inherit;
  }
  .blog-listing li .post-thumb {
    width: 100%;
    max-width: 300px;
    display: block;
    margin-bottom: .5em;
    object-fit: cover;
  }
/* Lista wpisów jako siatka 4 kolumny */
.blog-listing {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* odstępy między kartami */
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .blog-listing li {
    background: var(--text-light);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform .2s;
  }
  
  .blog-listing li:hover {
    transform: translateY(-5px);
  }
  
  .blog-listing li a {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 16px;
  }
  
  .blog-listing .post-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    margin-bottom: 12px;
  }
  
  .blog-listing h2 {
    font-size: 1.2em;
    margin: 0;
  }

  section#blog-list h1 {
    text-align: center;
    margin-bottom: 30px;
}

article.blog-post h1, h2, h3, h4 {
    padding-top: 40px;
    padding-bottom: 20px;
    line-height: 1.3;
}
article.blog-post p {
    padding-bottom: 20px;
}

article.blog-post img {
    padding-bottom: 40px;
}

button#acceptCookiesBtn {
  background: steelblue;
  color:#fff;
}
button#acceptCookiesBtn, button#denyCookiesBtn {
  padding: 8px 12px;
  border: none;
  text-transform: uppercase;
  cursor: pointer;
}
div#cookieConsentBanner span {
  font-size: 13px;
  display: block;
  margin-bottom: 10px;
}

/* --------- Cookie Banner --------- */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
  z-index: 10000;
}

.cookie-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 1.2em 1em;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  text-align: center;
  font-size: 0.95em;
  color: var(--text-dark);
}

.cookie-title {
  font-size: 1.2em;
  margin-bottom: 0.4em;
  font-weight: bold;
}

.cookie-text {
  display: block;
  margin-bottom: 0.8em;
  line-height: 1.4;
}

.cookie-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}

.cookie-options label {
  display: flex;
  align-items: flex-start;
  gap: 0.4em;
  font-size: 0.9em;
  color: var(--text-dark);
  max-width: 300px;
  font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
    padding: 4px;
    text-align: left;
}

.cookie-options input[type="checkbox"] {
  margin-top: 0.1em;
  accent-color: var(--primary);
}

.cookie-options strong {
  color: var(--primary);
}

.cookie-actions {
  margin-top: 0.5em;
}

.cookie-actions .btn {
  border: none;
  padding: 0.6em 1.4em;
  border-radius: 4px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-accept {
  background: var(--primary);
  color: #fff;
  margin-right: 0.5em;
}

.btn-accept:hover {
  background: var(--secondary);
}

.btn-deny {
  background: #e0e0e0;
  color: #333;
}

.btn-deny:hover {
  background: #ccc;
}

.cookie-change {
  display: block;
  text-align: center;
  margin: 1em auto;
  font-size: 0.9em;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .cookie-container {
    padding: 1em;
  }
  .cookie-options {
    flex-direction: column;
    align-items: center;
  }
  .cookie-options label {
    max-width: 100%;
  }
}

    

/* Nav dropdown */
nav ul li {
    position: relative;
  }
  nav ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: var(--primary);
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  nav ul li.has-dropdown:hover > .dropdown {
    display: block;
  }
  nav ul li .dropdown li a {
    display: block;
    padding: 8px 12px;
    color: var(--text-light);
    white-space: nowrap;
  }
  nav ul li .dropdown li a:hover {
    background: var(--accent);
    color: var(--primary);
  }
  
  /* globalnie chowamy submenu */
nav ul li .dropdown {
    display: none;
  }
  
 /* --------- Dropdown: sliding collapse --------- */
/* 1. Globalnie chowamy submenu */
nav ul li .dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
     /* Dodaj strzałkę ▼ przy linkach z podmenu */
     nav ul li.has-dropdown > a::after {
        content: " ▼";       /* U+25BC downward black arrow */
        font-size: 0.75em;   /* możesz zmienić rozmiar */
        margin-left: 4px;    /* odstęp od tekstu */
        transition: transform .2s;
      }
  
  /* 2. Desktop: hover otwiera */
  @media (min-width: 769px) {
    nav ul li.has-dropdown:hover > .dropdown {
      max-height: 500px;
    }
  }
  
  /* 3. Mobile: tylko .open otwiera, hover jest wyłączony */
  @media (max-width: 768px) {
    /* Zabijamy wszelkie hover na mobile */
    nav ul li.has-dropdown:hover > .dropdown {
      max-height: 0 !important;
    }
  
    /* Domyślnie zamknięte (nadpisanie ewentualnych innych reguł) */
    nav ul li.has-dropdown > .dropdown {
      max-height: 0 !important;
    }
  
    /* .open = rozwinięte */
    nav ul li.has-dropdown.open > .dropdown {
      max-height: 500px !important;
    }

    #menu-toggle:checked ~ nav ul {
        z-index: 99999;
    }
    
    nav ul li.has-dropdown.open > a::after {
        transform: rotate(180deg)!important;
      }

      ul.dropdown li {
    margin: 0;
}
  }
  
  
  

/* --------- Mobile tweaks --------- */
@media (max-width: 768px) {
    label[for="menu-toggle"] { display: flex; }
    nav ul {
        display: none;
        flex-direction: column;
        background: var(--primary);
        position: fixed;
        top: 60px;
        left: 0; right: 0;
        margin: 0; padding: 0;
    }
    #menu-toggle:checked ~ nav ul { display: flex; }
    nav ul li { text-align: center; margin: 10px 0; }

    #hero h1 { font-size: 2em; }

    /* stack side-by-side sections vertically */
    .pre-experience .container,
    .post-gallery .container {
        display: block;
        flex-direction: column;
        gap: 20px;
    }
    .pre-experience div,
    .post-gallery div {
        width: 100%; min-width: unset;
    }
    .pre-experience div span,
    .post-gallery div h3 {
        padding-top: 40px;
    }

    /* center footer columns */
    .footer-col { text-align: center; }

    #gallery .image-gallery {
        display: block;
    }
#gallery .image-gallery img {
width: 100%;
    }
    .footer-logo {
        width: 100%;
        text-align: center;
    }

    .footer-logo  img{
        display: block;
        padding-top: 20px;
        margin: 0 auto;
    }

    section.pod-gallery .container {
      display: block !important;
  }
  section.pod-gallery .container .item {
    width: 100%;
    display: block;
  }

  .grid-2 {
    display: block;
  }
  .section-card {
    width: 100%;
  }

}

@media (max-width: 1024px) {
    .blog-listing {
      grid-template-columns: repeat(2, 1fr);
    }

    article.blog-post .container {
        margin: 50px 0;
        padding: 20px;
        max-width: 99%;
    }
  }
  @media (max-width: 600px) {
    .blog-listing {
      grid-template-columns: 1fr;
    }
  }
   
      



