@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap");

/* Osobne style dla promocje.html — nawigacja i stopka */
:root {
  --green: #0a9f61;
  --green-dark: #087c4c;
  --dark: #1a1a1a;
  --text: #333;
}

.li{
    color: black;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%; max-width: 100%; margin: 0; padding: 0;
  overflow-x: clip; background: #fff; color: var(--text);
  font-family: 'Open Sans', sans-serif; line-height: 1.6;
}
h3, h4, .logo-text { font-family: 'Montserrat', sans-serif; }
img { max-width: 100%; height: auto; }

/* Górna nawigacja */
header {
  position: sticky; top: 0; z-index: 1000; width: 100%;
  background: rgba(255,255,255,.98); box-shadow: 0 2px 14px rgba(0,0,0,.07);
  backdrop-filter: blur(8px);
}
header nav {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; max-width: 1200px; margin: 0 auto; padding: 10px 20px;
}
.logo-box { display: flex; align-items: center; gap: 9px; min-width: 0; text-decoration: none; }
.nav-logo-img { width: auto; height: 38px; max-width: 48px; object-fit: contain; }
.logo-text { display: block; color: var(--green); font-size: 1.3rem; font-weight: 800; line-height: 1; }
.logo-sub { display: block; margin-top: 2px; color: #666; font-size: .68rem; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; }
.nav-links > li { display: flex; align-items: center; }
header .nav-links a {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 12px; color: #222; font-family: 'Open Sans', sans-serif; font-size: .82rem; font-weight: 600;
  letter-spacing: .8px; text-decoration: none; text-transform: uppercase; transition: color .25s;
}
header .nav-links a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: #00a878; transform: scaleX(0); transform-origin: center; transition: transform .25s;
}
header .nav-links a:hover { color: #00a878; }
header .nav-links a:hover::after { transform: scaleX(1); }
.mobile-menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(0,0,0,.1);
  border-radius: 12px; background: #fff; cursor: pointer; align-items: center;
  justify-content: center; flex-direction: column; gap: 5px; box-shadow: 0 6px 18px rgba(0,0,0,.07);
}
.mobile-menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 3px; background: #202020; transition: transform .22s, opacity .18s; }
.mobile-menu-toggle.is-open { background: #202020; }
.mobile-menu-toggle.is-open span { background: #fff; }
.mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Stopka */
.premium-footer {
    position: relative;
    width: 100%;
    bottom: auto;
    left: auto;
    overflow: hidden;
    background: #171513;
    color: #e8e3dc;
    font-family: inherit;
}
.footer-main {
  display: grid; grid-template-columns: 1.25fr 1fr .85fr 1fr; gap: 65px;
  max-width: 1440px; margin: 0 auto; padding: 75px 5% 60px;
}
.footer-column { min-width: 0; }
.footer-column h3 { margin: 0 0 20px; color: #c5a477; font-size: 15px; font-weight: 600; letter-spacing: 4px; }
.footer-line { display: block; width: 46px; height: 2px; margin-bottom: 28px; background: #c5a477; }
.footer-about h4 { margin: 0 0 12px; color: #f1ece5; font-size: 25px; font-weight: 500; }
.footer-about p { max-width: 320px; margin: 0; color: #c5c0b9; font-size: 16px; line-height: 1.8; }
.footer-about-line { display: block; width: 85px; height: 2px; margin-top: 30px; background: #c5a477; }
.footer-contact-list, .footer-links { margin: 0; padding: 0; list-style: none; }
.footer-contact-list { display: flex; flex-direction: column; gap: 22px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 18px; color: #ded8d0; font-size: 16px; line-height: 1.6; }
.footer-contact-list i { flex-shrink: 0; width: 20px; margin-top: 5px; color: #c5a477; font-size: 17px; }
.footer-contact-list a { color: inherit; text-decoration: none; transition: color .3s; }
.footer-contact-list a:hover { color: #c5a477; }
.footer-links { display: flex; flex-direction: column; gap: 18px; }
.footer-links a { position: relative; display: inline-block; color: #ded8d0; font-size: 16px; text-decoration: none; transition: color .3s, transform .3s; }
.footer-links a::before { content: '›'; display: inline-block; margin-right: 15px; color: #c5a477; font-size: 21px; transition: transform .3s; }
.footer-links a:hover { color: #c5a477; transform: translateX(4px); }
.footer-social-description { margin: 0 0 20px; color: #bdb6ad; font-size: 14px; line-height: 1.8; }
.footer-social-icons { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; }
.footer-social-icons, .footer-social-icons li { list-style: none; }
.footer-social-icons li { margin: 0; padding: 0; }
.footer-social-icons li::marker { content: none; }
.footer-social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(197,164,119,.65); border-radius: 50%; background: rgba(255,255,255,.04); color: #c5a477; font-size: 19px; text-decoration: none; transition: color .3s, background .3s, border-color .3s, transform .3s; }
.footer-social-icons a::before { display: none; }
.footer-social-icons a:hover { color: #fff; background: #c5a477; border-color: #c5a477; transform: translateY(-3px); }
.footer-bottom { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: auto; padding: 16px 20px 18px; background: transparent; text-align: center; }
.footer-bottom p { margin: 0; color: #aaa39a; font-size: 13px; line-height: 1.6; text-align: center; }

.promocje {
    min-height: 0;
    padding: 20px;
    margin-bottom: 0;
}

.promocje-komunikat {
  text-align: center;
  font-size: 18px;
  color: #555;
  margin: 40px auto;
}



.pkl {
    display: block;
    width: fit-content;
    text-align: center;
    font-size: 16px;
    text-decoration: none;
    color: black;
    border: 2px solid #0a9f61;
    padding: 10px;
    margin: 0 auto;
    background-color: white;
    border-radius: 15px;
    transition: background-color 0.3s, color 0.3s;
}
.pkl:hover {
    background-color: #0a9f61;
    color: white;
}

@media (max-width: 1000px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px; padding: 60px 6% 50px; }
}
@media (max-width: 760px) {
  header nav { min-height: 66px; padding: 9px 14px; }
}

/* Układ całej strony: treść wypełnia wolne miejsce, stopka dochodzi do dołu */
html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
  width: 100%;
}

body > footer.premium-footer {
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
}

/* Więcej białej przestrzeni w sekcji promocji przy krótkiej zawartości */
.promocje {
  min-height: 240px;
  padding: 20px;
  margin-bottom: 0;
}

/* Wyśrodkowanie komunikatu i przycisku w całym main */
main {
    display: flex;
    flex: 1;
}

.promocje {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
}

/* Tekst komunikatu */
.promocje-komunikat {
    width: 100%;
    text-align: center;
    margin: 0 0 25px;
    font-size: 18px;
    color: #555;
}

/* Przycisk */
.pkl {
    display: block;
    width: fit-content;
    margin: 0 auto;
}
/* Style dla rozwijanego paska promocji */
.promo-banner-wrapper {
  width: 100%;
  margin-bottom: 20px;
  border: 2px solid #0a9f61;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: left;
}

.promo-banner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background-color: #f0fdf4;
  cursor: pointer;
  font-weight: 600;
  color: #087c4c;
  transition: background-color 0.2s;
}

.promo-banner-header:hover {
  background-color: #dcfce7;
}

.promo-banner-title {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-arrow {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.promo-banner-wrapper.is-open .promo-arrow {
  transform: rotate(180deg);
}

.promo-banner-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 22px;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
}

.promo-banner-wrapper.is-open .promo-banner-content {
  max-height: 300px; /* Dostosuj w razie potrzeby większej ilości tekstu */
  padding: 18px 22px 22px;
  border-top: 1px solid #e5e7eb;
}
/* Styl osobnych kafelków / wiadomości z promocjami */
#dynamiczny-pasek-promocji {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.promo-panel {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #0a9f61;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  text-align: left;
}

.promo-panel:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Nagłówek paska (zawsze widoczny) */
.promo-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #f8fafc;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.promo-panel-header:hover {
  background: #f1f5f9;
}

.promo-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  padding-right: 15px;
}

.promo-time {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.promo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  font-family: 'Montserrat', sans-serif;
}

.promo-short-desc {
  font-size: 0.92rem;
  color: #475569;
  margin-top: 2px;
}

/* Ładny przycisk rozwijania */
.promo-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0a9f61;
  color: #ffffff;
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
}

.promo-toggle-btn:hover {
  background: #087c4c;
}

.promo-arrow {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

/* Ciało paska (domyślnie ukryte) */
.promo-panel-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 24px;
  background: #ffffff;
}

/* Po rozwinięciu paska */
.promo-panel.is-open .promo-panel-body {
  max-height: 1000px;
  padding: 22px 24px 24px;
  border-top: 1px solid #e2e8f0;
}

.promo-panel.is-open .promo-toggle-btn .promo-arrow {
  transform: rotate(180deg);
}

.promo-full-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Galeria zdjęć wewnątrz rozwinięcia */
.promo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.promo-gallery img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
/* Okno powiększenia zdjęcia (Lightbox) */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 25px; 
  right: 35px;
  color: #fff; 
  font-size: 40px; 
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #0a9f61;
}
/* Kontener miniatury z pozycjonowaniem względnym dla kwadracika */
.promo-img-wrapper {
  position: relative;
  width: 100%;
  height: 110px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  background: #f1f5f9;
}

.promo-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.promo-img-wrapper:hover img {
  transform: scale(1.03);
}

/* Mały kwadracik w lewym górnym rogu na symbol */
.promo-symbol-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  z-index: 2;
  letter-spacing: 0.5px;
}

/* Styl dla kontenera powiększonego zdjęcia i wymiarów w modalu */
.lightbox-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90%;
  max-height: 90vh;
}

.lightbox-content {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 8px;
  object-fit: contain;
}

/* Panel na dole powiększonego zdjęcia na 3 wymiary */
.lightbox-dimensions {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 10px 20px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
}

.lightbox-dimensions span {
  font-weight: 600;
  color: #0a9f61;
}