/* =========================
   GLOBAL
========================= */

body {
  margin: 0;
  background: #ffffff;
  font-family: Verdana, Tahoma, Geneva, sans-serif;
  color: #000;
}

/* =========================
   NAV + LOGO
========================= */

.nav {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 80px;
  display: block;
  margin-left: 0px;
}

/* MENU */


.nav-links {
  display: flex;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 12px 55px;
  background: #bfbfbf;
  color: white;
  text-decoration: none;
  border-left: 1px solid #9a9a9a;
  font-size: 20px;
  letter-spacing: 0.5px;
  font-family: Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif;
}

.nav-links a:hover {
  background: #36ae2d;
}

/* =========================
   PASEK TYTUŁU 
========================= */

.hero-title {
  max-width: 1200px;
  width: 100%;
  margin: 25px auto 25px auto;
  height: 36px;

  background: linear-gradient(#f3f3f3, #cfcfcf);
  position: relative;

  display: flex;              /* 🔥 centrowanie */
  align-items: center;        /* 🔥 pionowo środek */

  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* zielony pasek */
.hero-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;

  width: 40px;
  height: 100%;

  background: linear-gradient(#7ed957, #36ae2d);

  box-shadow:
    inset 0 0 8px rgba(0,0,0,0.6),
    0 0 10px rgba(0,0,0,0.5);
}

/* tekst */
.hero-title h1 {
  margin-left: 55px;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.5px;
  color: #36ae2d;
  font-family: Verdana, Tahoma, Geneva, sans-serif;

  /* 🔥 obwódka (hack Muse style) */
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

/* =========================
   SERVICES
========================= */

.services {
  max-width: 1200px;
  width: 100%;
  margin: 35px auto 20px auto;
  display: flex;
  justify-content: space-between;
}

.service {
  width: 300px;
  text-align: center;
}

.service img {
  width: 100%;
  max-width: 300px;
  height: 200px;              /* 🔥 KLUCZOWE */
  object-fit: cover;          /* 🔥 przycina zamiast rozciąga */

  box-shadow: 0 10px 18px rgba(0,0,0,0.45);
}

.service h3 {
  margin-top: 12px;
  font-size: 20px;
  color: #36ae2d;
  font-weight: bold;
  font-family: Verdana, Tahoma, Geneva, sans-serif;

  text-shadow: 0 1px 2px rgba(0,0,0,0.25);  /* 🔥 brakował ; */

  letter-spacing: 0.5px;
}

/* =========================
   MAPA + BOX
========================= */

.contact-map {
  max-width: 1200px;
  width: 100%;
  margin: 30px auto;
  position: relative;
}

/* zielony box NA MAPIE */
.contact-overlay {
  position: absolute;
  top: 15px;
  right: 15px;

  width: 280px;
  padding: 8px 20px 8px 20px;

  background: #ffffff;              
  color: #333;

  border-radius: 16px;

  box-shadow: 0 20px 40px rgba(0,0,0,0.25);

  font-size: 14px;
  line-height: 1.5;
  z-index: 10;
}

.contact-overlay h3 {

  margin-bottom: 10px;
  font-size: 15px;
  color: #36ae2d;
  letter-spacing: 0.5px;
}
.contact-overlay i {
  color: #36ae2d;
  width: 20px;
  margin-right: 8px;
}
.contact-overlay p {
  margin: 6px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.contact-overlay p:first-child {
  font-weight: bold;
  color: #36ae2d;
}
.gallery-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.gallery-inner {
   max-width: 1200px;
   width: 100%;
   display: grid;
   grid-template-columns: repeat(4, 1fr); /* desktop */
   gap: 15px
}
/* =========================
   FOOTER
========================= */

.footer {
  max-width: 1200px;
  width: 100%;
  margin: 20px auto;
  background: #36ae2d;
  text-align: center;
  padding: 12px;
  font-size: 13px;
}


/* =========================
   RESPONSIVE (FIXED)
========================= */

@media (max-width: 1200px) {

  nav,
  .hero-title,
  .services,
  .contact-map,
  .footer {
    width: 100%;
    padding: 0 15px;
  }

  .services {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .service img {
    width: 90%;
  }

  .contact-map {
    width: 100%;
  }

  .footer {
    width: 100%;
  }
}

#lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999999;
}

/* kontener */
.lightbox-content {
  position: relative;
  display: inline-block;
}

/* obraz */
#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  display: block;
}

/* przyciski wspólne */
.lightbox-content .nav {
  position: absolute;
}

#close {
  position: fixed;   
  top: 20px;
  right: 25px;

  font-size: 32px;
  color: #fff;
  cursor: pointer;
  z-index: 9999999999;
}
.lightbox-nav {
  position: absolute;
  color: #fff;
  font-size: 42px;
  cursor: pointer;

  background: rgba(0,0,0,0.4);
  padding: 10px;
  border-radius: 50%;
}
#lightbox .nav {
  background: rgba(0,0,0,0.4);
  padding: 10px;
  border-radius: 50%;
}
/* ⬅ lewa */
#prev {
  top: 50%;
  left: 20px;              
  transform: translateY(-50%);
}

/* ➡ prawa */
#next {
  top: 50%;
  right: 20px;            
  transform: translateY(-50%);
}

.accordion-content p {
  color: #666;
  font-size: 15px;
  margin-bottom: 15px;
}

.section {
  max-width: 1200px;
  width: 100%;
  margin: 40px auto 80px auto;
  display: flex;
  gap: 60px;
}

.service-box,
.service-info {
  background: #f3f3f3;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  padding: 15px 20px;
  width: 95%;
  margin: 0 auto;
  height: fit-content;

  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.service-info h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #555;
}
.service-info {
  text-align: center;
  padding: 15px 20px;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 🔥 wyśrodkowanie pionowe */
  align-items: center;
  text-align: center;
  min-height: 100%;
}
.service-info p {
  margin-top: 10px;
  font-size: 16px;
  color: #333;
}
.service-info a {
  font-size: 14px;
  font-weight: 600;
  color: #36ae2d;
}

.service-info a:hover {
  text-decoration: underline;
}
.service-info:active {
  transform: scale(0.98);
}
.service-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #555;
}
.service-box {
  text-align: center;
}
.service-box p {
  color: #777;
  font-size: 14px;
  line-height: 1.5;
  text-align: left
  
}



.btn {
  display: block;
  padding: 14px 35px;
  background: #36ae2d;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
  width: fit-content;
  margin: 20px auto 0 auto;
}

.btn:hover {
  background: #2a8a23;
}
.accordion-header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  background: none;
  border: none;
  padding: 0;
  color: #333;
  transform: none;
}
.accordion-header:hover {
  transform: scale(1.05);
}
/* =========================
   CONTACT PAGE
========================= */

.contact-section {
  max-width: 1200px;
  width: 100%;
  margin: 40px auto;
}

/* CTA */

.contact-cta {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  background: #f8faf9;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  border-radius: 20px;
}

.cta-left {
flex: 1;
}
.cta-left strong {
  color: #36ae2d;
}

.cta-left h2 {
  margin-bottom: 15px;
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
}

/* FORM */

.contact-form {
  background: #f1f3f2;
  padding: 30px;
  border-radius: 16px;
  width: 380px;
  margin-left: auto;
  border: 1px solid #36ae2d;
  box-shadow: 0 30px 70px rgba(29, 154, 72, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center
  
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #ffffff;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid #282828;
  transition: 0.3s;
  font-size: 14px;
}

.contact-form textarea {
  height: 80px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #36ae2d;
  outline: none;
  box-shadow: 0 0 3px rgba(54,174,45,0.2);
}
.contact-form button {
  padding: 10px 20px;
  background: #36ae2d;
  border: none;
  color: white;
  cursor: pointer;
  transition: 0.3s;
   padding: 12px 30px;
  font-weight: bold;
}
.contact-form button:hover {
  background: #2a8a23;
  transform: scale(1.05);
}

/* hamburger */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #36ae2d;
  margin: 5px 0;
  transition: 0.3s;
  box-shadow: 0 0 4px rgba(54,174,45,0.6);

}

@media (max-width: 768px) {

  .contact-row {
    flex-direction: column;
    gap: 20px;
    grid-template-columns: 1fr;
    grid-template-columns: 380px 1fr;
    align-items: stretch; 

  }
    .contact-info,
  .map {
    width: 100%;
  }

  .contact-cta {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .contact-form {
    width: 100%;
    margin: 0;
  }

  .section {
    flex-direction: column;
    gap: 30px;
  }
}
.btn,
.contact-form button {
  cursor: pointer;
}
.service-box,
.contact-info {
  transition: 0.3s;
}

.cta-left {
  color: #fff;
  position: relative;
}

.cta-left::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -40px;

  width: 220px;
  height: 220px;

  background: url('img/phone.png') no-repeat center/contain;
  opacity: 0.15;
}

/* =========================
   CONTACT FIX (FINAL)
========================= */

/* ROW */
.contact-row {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 30px;
  align-items: start;
}

/* LEWY BOX */
.contact-info {
  background: #f3f3f3;
  padding: 15px 15px;
  border-radius: 10px;

  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* NAGŁÓWEK */
.contact-info h3 {
  display: inline-flex;
  align-items: center;
  gap: 6px;            
  background: linear-gradient(#f3f3f3, #cfcfcf);
  padding: 8px 12px;
  margin-bottom: 15px;
  margin-left: -15px;      
  padding-left: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);

  width: fit-content;
}
.contact-info p {
  margin: 4px 0;
  line-height: 1.4;
}
.contact-info a {
  color: #36ae2d;        /* 🔥 zielony */
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}
/* ZIELONY KWADRAT */
.contact-info h3::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background: linear-gradient(#7ed957, #36ae2d);
  border-radius: 3px;
  margin: 0;   

  box-shadow:
    inset 0 0 3px rgba(0,0,0,0.4),
    0 0 4px rgba(0,0,0,0.2);

  flex-shrink: 0;
}

/* MAPA */
.map {
 width: 100%;
 margin: 0;
 position: relative;
}

.map iframe {
width: 100%;
  height: 300px;
  border-radius: 10px;
  border: none;
  display: block; 

  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}
.map iframe:hover {
  transform: scale(1.02);
}

/* =========================
   MODERN CONTACT
========================= */

.contact-cta.modern {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
}

/* LEWA STRONA */


.cta-left h2 {
  font-size: 34px;
  margin-bottom: 15px;
  color: #222;
}

.cta-left p {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}
.cta-left p:first-of-type {
  font-size: 18px;
  margin-top: 10px;
}
.cta-left::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #36ae2d;
  margin-top: 20px;
  border-radius: 2px;
}

/* FORM */

.contact-form.modern {
  flex: 1;               /* 🔥 automatyczne dopasowanie */
  max-width: 500px;      /* 🔥 limit żeby nie był za duży */

  background: #fff;
  padding: 40px;
  border-radius: 16px;

  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}         

/* INPUTY */

.contact-form.modern input,
.contact-form.modern textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 14px;

  border: 1px solid #7b7b7b;
  border-radius: 8px;

  background: #fafafa;
  font-size: 15px;

  transition: 0.25s;
}

.contact-form.modern input:focus,
.contact-form.modern textarea:focus {
  border-color: #36ae2d;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(54,174,45,0.15);
  outline: none;
}

/* BUTTON */

.contact-form.modern button {
  width: 100%;
  padding: 16px;

  background: #36ae2d;
  border: none;
  color: #fff;

  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;

  cursor: pointer;
  transition: 0.25s;
}

.contact-form.modern button:hover {
  background: #2a8a23;
  transform: translateY(-2px);
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  padding: 16px 24px;
  border-radius: 10px;
  color: #ffffff;
  font-weight: bold;
  opacity: 0;
  transition: 0.3s;
  z-index: 9999;
  text-align: center;
  min-width: 250px;
}

.popup.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.popup.success {
  background: #28ac47;
}

.popup.error {
  background: #dc3545;
}
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1f1f1f;
  color: #fff;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 9999;
  gap: 30px;
}

.cookie-bar a {
  color: #32971e;
  text-decoration: none;
  font-weight: 500;
}

.cookie-bar a:hover {
  text-decoration: underline;
}

.cookie-bar p {
  margin: 0;
  font-size: 14px;
  flex: 0 1 auto; 
  min-width: 0;

  white-space: normal;
  overflow: visible;
  text-overflow: ellipsis;
}


.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0; 
  margin-left: auto;
  margin-right: 40px;
}

.cookie-actions button {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

#acceptCookies {
  background: #28a745;
  color: #fff;
}

#acceptCookies:hover {
  background: #218838;
}

#declineCookies {
  background: #444;
  color: #fff;
}

#declineCookies:hover {
  background: #666;
}
* {
  outline: none;
}
* {
  box-sizing: border-box;
}
body.menu-open {
  overflow: hidden;
  height: 100vh;
}
/* BOX */
.seo-box {
  background: #f3f3f3;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  max-width: 1200px;
  margin: 40px auto;
  overflow: hidden;
}

/* HEADER */
.seo-header {
  display: flex;
  align-items: center;
  gap: 10px;

  background: linear-gradient(#f3f3f3, #cfcfcf);
  padding: 12px 20px;
  cursor: pointer;

  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* zielony kwadrat jak wszędzie */
.seo-icon {
  width: 16px;
  height: 16px;
  background: linear-gradient(#7ed957, #36ae2d);
  border-radius: 3px;

  box-shadow:
    inset 0 0 3px rgba(0,0,0,0.4),
    0 0 4px rgba(0,0,0,0.2);
}

/* tytuł */
.seo-header h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

/* strzałka */
.seo-arrow {
  margin-left: auto;
  color: #36ae2d;
  font-weight: bold;
  transition: 0.3s;
}

/* CONTENT */
#seoContent {
  display: none;
  padding: 20px;
  color: #555;
  line-height: 1.7;
  font-size: 15px;
}

/* nagłówki */
#seoContent h3 {
  color: #36ae2d;
  margin-top: 15px;
}

/* animacja */
.seo-box.open #seoContent {
  display: block;
}

.seo-box.open .seo-arrow {
  transform: rotate(180deg);
}

@media (max-width: 768px) {

  .nav {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .logo img {
    height: 70px;
    margin-right: auto;
  }

  body {
    overflow-x: hidden;
  }

  .contact-row {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    order: 3; 
  }

  .nav-links a {
    width: 100%;
    padding: 12px 15px !important;  /* 🔥 KLUCZ */
    font-size: 15px;
    border-left: none;
    border-bottom: 1px solid #999;
    box-sizing: border-box; /* 🔥 ważne */
  
  }
  .map {
    width: 100%;
  }

  .map iframe {
    width: 100%;
    height: 220px;
  }

  .hero-title {
    width: 100%;
    margin: 10px 0;
    overflow: hidden;
  }
  .hero-title::before {
    width: 40px;
    left: 0px;
  }

  .hero-title h1 {
    margin-left: 45px;
    font-size: 15px;
  }

  .services {
    gap: 30px;
  }

  .service {
    width: 100% !important;
  }

    .service-box {
    width: 95%;
    margin: 0 auto
  }
    .page-container {
    padding: 15px;
  }
  .service img {
    max-width: 100%;
    height: auto;;
  }

  .contact-map {
    width: 100%;
  }
  .contact-info {
    width: 100% !important;
    margin: 0 !important;
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
  }
  .contact-info h3 {
  
  gap: 8px;
  font-size: 15px;
  }

  .contact-info a {
  color: #36ae2d;
  text-decoration: none;
  font-weight: 600;
  }

  .contact-info a:hover {
  text-decoration: underline;
  }
  .contact-info h3::before {
  
  width: 20px;
  height: 20px;
  }

  .contact-overlay {
    position: static;
    width: 100%;
    margin-top: 15px;
  }
  
  .albums {
    grid-template-columns: repeat(2, 1fr); /* 🔥 2 kolumny */
    gap: 12px;
  }

  .gallery-inner img {
    width: 100%; 
  }
  .contact-cta.modern {
    flex-direction: column;
    align-items: center;   /* 🔥 zamiast stretch */
    gap: 20px;
  }

  .cta-left {
    flex: unset;         /* 🔥 klucz */
    width: 100%;
  }

  .cta-left::after {
    display: none;
  }
  .contact-form.modern {
    width: 100%;
  }

  .footer {
    width: 100%;
    font-size: 12px;
  }
   .hamburger {
    display: block;
    margin-left: auto
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background: #bfbfbf;
  }

  .nav-links.active {
    display: flex;
  }

  .cookie-bar {
    flex-direction: column;
    align-items: stretch; /* 🔥 KLUCZ */
    gap: 12px;
  }

  .cookie-bar p {
    width: 100%;
    font-size: 13px;
    white-space: normal;
  }

  .cookie-actions {
    width: 100%;
    display: flex;
    justify-content: space-between; /* 🔥 przyciski na boki */
    margin: 0;
  }

  .cookie-actions button {
    flex: 1; /* 🔥 oba przyciski równe */
  }

  #acceptCookies {
    margin-right: 10px;
  }
  #prev,
  #next {
    display: none !important;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}